]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix sysdeps/m68k/fpu_control.h preprocessor indentation.
[glibc.git] / ChangeLog
CommitLineData
f91f1c0f
MR
12013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2
3d0f5d0c
MR
3 * dlfcn/modstatic5.c: New file.
4 * dlfcn/tststatic5.c: New file.
5 * dlfcn/Makefile (tests): Add tststatic5.
6 (tests-static): Likewise.
7 (modules-names): Add modstatic5.
8 (tststatic5-ENV): New variable.
9 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10
f91f1c0f
MR
11 [BZ #15022]
12 * elf/dl-support.c (_dl_main_map): New variable.
13 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14 (_dl_nns, _dl_load_adds): Set to 1.
15 (_dl_initial_searchlist): Refer to _dl_main_map.
16 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18 call to _dl_get_origin.
19 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20 around call_map.
21 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22 * dlfcn/modstatic3.c: New file.
23 * dlfcn/tststatic3.c: New file.
24 * dlfcn/tststatic4.c: New file.
25 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26 (tests-static): Likewise.
27 (modules-names): Add modstatic3.
28 (tststatic3-ENV, tststatic4-ENV): New variables.
29 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31
cbe7d24b
JM
322013-06-26 Joseph Myers <joseph@codesourcery.com>
33
34 * configure.in (CC): Require GCC version 4.4 or later.
35 * configure: Regenerated.
36 * manual/install.texi (Tools for Compilation): Update GCC version
37 requirement.
38 * INSTALL: Regenerated.
39
11b8a0e1
LD
402013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41
42 [BZ #15674]
bb5bb87c
L
43 * string/test-memcmp.c (check2): New.
44 (main): Call check2.
45
11b8a0e1
LD
46 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47
b0037103
MR
482013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
49
50 [BZ #15022]
51 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
52 over to...
53 (dl_open_worker) [!SHARED]: ... here.
54
c18c701d
RA
552013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56
57 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58
1d17fa5f
RH
592013-06-25 Richard Henderson <rth@redhat.com>
60
61 * locale/programs/locarchive.c: Include <libc-internal.h>
62
8fcb833a
JM
632013-06-25 Joseph Myers <joseph@codesourcery.com>
64
65 * manual/texinfo.tex: Update to version 2013-06-21.17, with
66 trailing whitespace removed.
67
17db6e8d
MF
682013-06-24 Mike Frysinger <vapier@gentoo.org>
69
70 [BZ #10283]
17db6e8d
MF
71 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
72 * locale/programs/locarchive.c: Include libc-mmap.h.
73 (prepare_address_space): Take two new outputs (the mmap base and len).
74 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
75 values.
76 (create_archive): Declare new mmap base and len values for
77 prepare_address_space, and store the result in ah.
78 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
79 (enlarge_archive): If ah->mmap_base is not NULL, use that and
80 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
81 Declare new mmap base and len values for
82 prepare_address_space, and store the result in new_ah.
83 (open_archive): Declare new mmap base and len values for
84 prepare_address_space, and store the result in ah.
85 (close_archive): If ah->mmap_base is not NULL, use that and
86 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
87 * sysdeps/generic/libc-mmap.h: New file.
88
d605071e
MF
892013-06-24 Mike Frysinger <vapier@gentoo.org>
90
91 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
92 (ALIGN_UP): Likewise.
93 (PTR_ALIGN_DOWN): Likewise.
94 (PTR_ALIGN_UP): Likewise.
95
2f063a6e
RA
962013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
97
98 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
99 entry mapped to PPC_PLATFORM_POWER8.
100 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
101 POWER8.
102 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
103 (_dl_string_platform): Add case for exporting platform position for
104 POWER8.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
106 search path to sysdeps/powerpc/powerpc32/power8 directory.
107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
108 search path to sysdeps/powerpc/powerpc64/power8 directory.
109 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
110 power7 directories.
111 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
112 power7 directories.
113
a31ee4b3
SP
1142013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
115
a74ca98f
SP
116 * INSTALL: Regenerate.
117
a31ee4b3
SP
118 * nscd/connections.c (nscd_init): Fix comment.
119
695c378f
JM
1202013-06-22 Joseph Myers <joseph@codesourcery.com>
121
d8412221
JM
122 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
123
695c378f
JM
124 [BZ #15667]
125 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
126 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
127
d1d54715
MR
1282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
129
130 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
131 DL_DST_REQ_STATIC.
132 (DL_DST_REQ_STATIC): Remove macro.
133
8fdda7af
JM
1342013-06-21 Joseph Myers <joseph@codesourcery.com>
135
136 [BZ #7006]
137 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
138 with a shift of 0 bits.
139
f3bc5e5a
MR
1402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
141
142 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
143 $(tststatic-ENV).
144
be09e8c9
KK
1452013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
146
147 [BZ #15655]
148 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
149
85c2e611
AZ
1502013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151
152 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
153 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
154 accepts -fno-tree-loop-distribute-patterns.
155 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
156 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
157 recursive call.
158 * string/memset.c (memset): Likewise.
159 * string/test-memmove.c (simple_memmove): Disable loop transformation
160 to library calls.
161 * string/test-memset.c (simple_memset): Likewise.
162 * benchtests/bench-memmove.c (simple_memmove): Likewise.
163 * benchtests/bench-memset.c (simple_memset): Likewise.
164 * configure: Regenerated.
165
c91e0825
JM
1662013-06-20 Joseph Myers <joseph@codesourcery.com>
167
b8c792af
JM
168 * math/test-misc.c (main): Ignore fesetround failure when failures
169 of subsequent rounding tests would be ignored.
170
c91e0825
JM
171 [BZ #15654]
172 * math/fedisblxcpt.c (fedisableexcept): Return 0.
173 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
174 * math/fegetenv.c (__fegetenv): Return 0.
175 * math/fegetexcept.c (fegetexcept): Return 0.
176 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
177 FE_TONEAREST.
178 * math/feholdexcpt.c (feholdexcept): Return 0.
179 * math/fesetenv.c (__fesetenv): Return 0.
180 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
181 argument FE_TONEAREST.
182 * math/feupdateenv.c (__feupdateenv): Return 0.
183 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
184
bfcacbde
RM
1852013-06-18 Roland McGrath <roland@hack.frob.com>
186
187 * elf/rtld-Rules (rtld-compile-command.S): New variable.
188 (rtld-compile-command.s, rtld-compile-command.c): New variables.
189 ($(objpfx)rtld-%.os rules): Use them.
190
e55a9b25
AZ
1912013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192
193 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
194 fields.
195
346d65b3
RM
1962013-06-17 Roland McGrath <roland@hack.frob.com>
197
12086fb4
RM
198 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
199 length of target pattern, then descending length of dependency pattern.
200 * configure.in (AWK): Require gawk 3.1.2 or newer.
201 * manual/install.texi (Tools for Compilation): Say that we do.
202 * configure: Regenerated.
203
346d65b3
RM
204 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
205 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
206 * scripts/sysd-rules.awk: ... this new script.
207 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
208 than a glob-style pattern.
209
1a846317
JM
2102013-06-17 Joseph Myers <joseph@codesourcery.com>
211
212 * math/test-misc.c (main): Do not treat incorrectly rounded
213 conversions as failure unless ROUNDING_TESTS passes.
214
8fc75e6f
JM
2152013-06-15 Joseph Myers <joseph@codesourcery.com>
216
3711a167
JM
217 [BZ #15631]
218 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
219 restore exception state around main square root computation, then
220 check for inexactness explicitly.
221
8fc75e6f
JM
222 * math/libm-test.inc (fma_test_data): Add another test.
223
61dd6208
SP
2242013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
225
adf23d2c
SP
226 * manual/threads.texi (Non-POSIX Extensions): New document
227 node. Document pthread_getattr_default_np and
228 pthread_setattr_default_np.
229
61dd6208
SP
230 * Versions.def (libpthread): Add GLIBC_2.18.
231 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
233 Likewise.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
235 Likewise.
236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
237 Likewise.
238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
239 Likewise.
240 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
241 Likewise.
242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
243 Likewise.
244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
245 Likewise.
246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
247 Likewise.
248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
249 Likewise.
250
d086fc7b
LD
2512013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
252
253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
254 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
255
747ef469
SP
2562013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
257 H.J. Lu <hjl.tools@gmail.com>
258
259 [BZ #15627]
260 * sysdeps/x86_64/rtld-memset.c: Remove file.
261 * sysdeps/x86_64/rtld-memset.S: New file.
262
1b2feed2
JM
2632013-06-14 Joseph Myers <joseph@codesourcery.com>
264
265 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
266 (test_in_one_mode): Take arguments for whether the rounding mode
267 is supported for each floating-point type.
268 (do_test): Pass new arguments to test_in_one_mode using
269 ROUNDING_TESTS.
270
a58ad3f8
RM
2712013-06-13 Roland McGrath <roland@hack.frob.com>
272
273 * posix/tst-waitid.c (do_test): Distinguish different instances of
274 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
275 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
276 before entering the kernel for waitpid.
277
c204ab28
SP
2782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
279
280 * NEWS: Fix note on clock function precision. Text by Roland
281 McGrath.
282
f4a29fba
RM
2832013-06-13 Roland McGrath <roland@hack.frob.com>
284
285 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
286 it into place only when and if the sanity check passes.
287
1f24b9ad
JM
2882013-06-13 Joseph Myers <joseph@codesourcery.com>
289
290 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
291 output for whether conversion result is exact. Take argument
292 indicating whether type is IBM long double.
293 (round_for_all): Change need_exact field to ibm_ld.
294 * stdlib/tst-strtod-round.c (struct exactness): New type.
295 (struct test): Change bool ld_ok field to struct exactness exact.
296 (TEST): Update all definitions for change to field.
297 (tests): Regenerate array contents.
298 (test_in_one_mode): Take pointer to new field instead of old ld_ok
299 field value. Check for IBM long double here.
300 (do_test): Update calls to test_in_one_mode.
301
58206c68
SP
3022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
303
304 [BZ #12515]
305 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
306 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
307
2d6f4c5b 3082013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
309
310 [BZ #15605]
311 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
312 generated by the compiler on loop optimizations.
313 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
314 general definitions.
315
94f2c076
JM
3162013-06-12 Joseph Myers <joseph@codesourcery.com>
317
318 * math/bug-nextafter.c: Include <math-tests.h>.
319 (main): Only test for exceptions if EXCEPTION_TESTS is true for
320 the relevant type.
321 * math/bug-nexttoward.c: Include <math-tests.h>.
322 (main): Only test for exceptions if EXCEPTION_TESTS is true for
323 the relevant type.
324 * math/test-misc.c: Include <math-tests.h>.
325 (main): Only test for exceptions if EXCEPTION_TESTS is true for
326 the relevant type.
327
e0e50a0a
AJ
3282013-06-12 Andreas Jaeger <aj@suse.de>
329
330 * po/ia.po: Update Interlingua translation from translation
331 project.
332
25061094
SP
3332013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
334
335 * include/fenv.h: Include stdbool.h.
336 (struct rm_ctx): New structure.
337 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
338 Define macro.
339 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
340 (SET_RESTORE_ROUNDF): Likewise.
341 (SET_RESTORE_ROUNDL): Likewise.
342 (SET_RESTORE_ROUND_NOEX): Likewise.
343 (SET_RESTORE_ROUND_NOEXF): Likewise.
344 (SET_RESTORE_ROUND_NOEXL): Likewise.
345 (SET_RESTORE_ROUND_53BIT): Likewise.
346 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
347 (libc_feresetround_noexf_ctx): Likewise.
348 (libc_feresetround_noexl_ctx): Likewise.
349 (libc_feholdsetround_53bit_ctx): Likewise.
350 (libc_feresetround_53bit_ctx): Likewise.
351 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
352 (libc_feholdexcept_setround_sse_ctx): New function.
353 (libc_fesetenv_sse_ctx): Likewise.
354 (libc_feupdateenv_sse_ctx): Likewise.
355 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
356 (libc_feholdexcept_setround_387_ctx): Likewise.
357 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
358 (libc_feholdsetround_387_prec_ctx): Likewise.
359 (libc_feholdsetround_387_ctx): Likewise.
360 (libc_feholdsetround_387_53bit_ctx): Likewise.
361 (libc_feholdsetround_sse_ctx): Likewise.
362 (libc_feresetround_sse_ctx): Likewise.
363 (libc_feresetround_387_ctx): Likewise.
364 (libc_feupdateenv_387_ctx): Likewise.
365 (libc_feholdexcept_setroundf_ctx): Define macro.
366 (libc_fesetenvf_ctx): Likewise.
367 (libc_feupdateenvf_ctx): Likewise.
368 (libc_feholdsetroundf_ctx): Likewise.
369 (libc_feresetroundf_ctx): Likewise.
370 (libc_feholdexcept_setround_ctx): Likewise.
371 (libc_fesetenv_ctx): Likewise.
372 (libc_feupdateenv_ctx): Likewise.
373 (libc_feholdsetround_ctx): Likewise.
374 (libc_feresetround_ctx): Likewise.
375 (libc_feholdexcept_setroundl_ctx): Likewise.
376 (libc_feupdateenvl_ctx): Likewise.
377 (libc_feholdsetroundl_ctx): Likewise.
378 (libc_feresetroundl_ctx): Likewise.
379 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
380 (libc_feresetround_53bit_ctx): Likewise.
381
59b30555
SP
3822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 * locale/iso-639.def: Convert to UTF-8.
385
f1d73d30
JM
3862013-06-11 Joseph Myers <joseph@codesourcery.com>
387
388 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
389 (EXCEPTION_TESTS_double): Likewise.
390 (EXCEPTION_TESTS_long_double): Likewise.
391 (EXCEPTION_TESTS): Likewise.
392 * math/libm-test.inc (test_exceptions): Only test exceptions if
393 EXCEPTION_TESTS (FLOAT).
394
94aca5e7
SP
3952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
396
397 * benchtests/Makefile (string-bench): Add strcpy_chk and
398 stpcpy_chk.
399 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
400 * benchtests/bench-stpcpy_chk.c: New file.
401 * benchtests/bench-strcpy_chk-ifunc.c: New file.
402 * benchtests/bench-strcpy_chk.c: New file.
403 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
404 code.
405 (do_test): Likewise.
406
fac0c5f2
RA
4072013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
408
409 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
410 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
411 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
412 with tabs where appropriate.
413 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
414 dl-procinfo.h.
415 [PPC_PLATFORM_PPC440]: Likewise.
416 [PPC_PLATFORM_PPC464]: Likewise.
417 [PPC_PLATFORM_PPC476]: Likewise.
418 (_dl_string_platform): Add support for detecting ppc405, ppc440,
419 ppc464, and ppc476 platform strings merging from ports/
420 dl-procinfo.h.
421
f22bc486
AS
4222013-06-11 Andreas Schwab <schwab@suse.de>
423
424 [BZ #14991]
425 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
426 (from_ucs4_idx): Regenerate.
427 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
428 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
429 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
430 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
431 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
432 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
433 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
434 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
435 from FROM_LOOP and TO_LOOP specific macros.
436 (BODY): Handle combining characters.
437 * iconvdata/BIG5HKSCS.irreversible: Update.
438 * iconvdata/BIG5HKSCS.precomposed: New file.
439 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
440 characters.
441 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
442
c1f75dc3
SP
4432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
444
4eacded2
SP
445 * include/sys/time.h: Fix indentation and add copyright header.
446
fec799f8
SP
447 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
448 (do_test): Likewise.
449 * string/test-memchr.c (do_one_test): Likewise.
450 (do_test): Likewise.
451 * string/test-memcmp.c (do_one_test): Likewise.
452 (do_test): Likewise.
453 * string/test-memcpy.c (do_one_test): Likewise.
454 (do_test): Likewise.
455 * string/test-memmem.c (do_one_test): Likewise.
456 (do_test): Likewise.
457 (do_random_tests): Likewise.
458 * string/test-memmove.c (do_one_test): Likewise.
459 (do_test): Likewise.
460 * string/test-memset.c (do_one_test): Likewise.
461 (do_test): Likewise.
462 * string/test-rawmemchr.c (do_one_test): Likewise.
463 (do_test): Likewise.
464 * string/test-strcasecmp.c (do_one_test): Likewise.
465 (do_test): Likewise.
466 * string/test-strcasestr.c (do_one_test): Likewise.
467 (do_test): Likewise.
468 * string/test-strcat.c (do_one_test): Likewise.
469 (do_test): Likewise.
470 * string/test-strchr.c (do_one_test): Likewise.
471 (do_test): Likewise.
472 * string/test-strcmp.c (do_one_test): Likewise.
473 (do_test): Likewise.
474 * string/test-strcpy.c (do_one_test): Likewise.
475 (do_test): Likewise.
476 * string/test-string.h: Likewise.
477 (test_init): Likewise.
478 * string/test-strlen.c (do_one_test): Likewise.
479 (do_test): Likewise.
480 * string/test-strncasecmp.c (do_one_test): Likewise.
481 (do_test): Likewise.
482 * string/test-strncat.c (do_one_test): Likewise.
483 (do_test): Likewise.
484 * string/test-strncmp.c (do_one_test): Likewise.
485 (do_test_limit): Likewise.
486 (do_test): Likewise.
487 * string/test-strncpy.c (do_one_test): Likewise.
488 (do_test): Likewise.
489 * string/test-strnlen.c (do_one_test): Likewise.
490 (do_test): Likewise.
491 * string/test-strpbrk.c (do_one_test): Likewise.
492 (do_test): Likewise.
493 * string/test-strrchr.c (do_one_test): Likewise.
494 (do_test): Likewise.
495 * string/test-strspn.c (do_one_test): Likewise.
496 (do_test): Likewise.
497 * string/test-strstr.c (do_one_test): Likewise.
498 (do_test): Likewise.
499
97020474
SP
500 * benchtests/Makefile (string-bench): Add string benchmarks.
501 * benchtests/bench-bcopy-ifunc.c: New file.
502 * benchtests/bench-bcopy.c: New file.
503 * benchtests/bench-bzero-ifunc.c: New file.
504 * benchtests/bench-bzero.c: New file.
505 * benchtests/bench-memccpy-ifunc.c: New file.
506 * benchtests/bench-memccpy.c: New file.
507 * benchtests/bench-memchr-ifunc.c: New file.
508 * benchtests/bench-memchr.c: New file.
509 * benchtests/bench-memcmp-ifunc.c: New file.
510 * benchtests/bench-memcmp.c: New file.
511 * benchtests/bench-memmem-ifunc.c: New file.
512 * benchtests/bench-memmem.c: New file.
513 * benchtests/bench-memmove-ifunc.c: New file.
514 * benchtests/bench-memmove.c: New file.
515 * benchtests/bench-mempcpy-ifunc.c: New file.
516 * benchtests/bench-mempcpy.c: New file.
517 * benchtests/bench-memset-ifunc.c: New file.
518 * benchtests/bench-memset.c: New file.
519 * benchtests/bench-rawmemchr-ifunc.c: New file.
520 * benchtests/bench-rawmemchr.c: New file.
521 * benchtests/bench-stpcpy-ifunc.c: New file.
522 * benchtests/bench-stpcpy.c: New file.
523 * benchtests/bench-stpncpy-ifunc.c: New file.
524 * benchtests/bench-stpncpy.c: New file.
525 * benchtests/bench-strcasecmp-ifunc.c: New file.
526 * benchtests/bench-strcasecmp.c: New file.
527 * benchtests/bench-strcasestr-ifunc.c: New file.
528 * benchtests/bench-strcasestr.c: New file.
529 * benchtests/bench-strcat-ifunc.c: New file.
530 * benchtests/bench-strcat.c: New file.
531 * benchtests/bench-strchr-ifunc.c: New file.
532 * benchtests/bench-strchr.c: New file.
533 * benchtests/bench-strchrnul-ifunc.c: New file.
534 * benchtests/bench-strchrnul.c: New file.
535 * benchtests/bench-strcmp-ifunc.c: New file.
536 * benchtests/bench-strcmp.c: New file.
537 * benchtests/bench-strcpy-ifunc.c: New file.
538 * benchtests/bench-strcpy.c: New file.
539 * benchtests/bench-strcspn-ifunc.c: New file.
540 * benchtests/bench-strcspn.c: New file.
541 * benchtests/bench-strlen-ifunc.c: New file.
542 * benchtests/bench-strlen.c: New file.
543 * benchtests/bench-strncasecmp-ifunc.c: New file.
544 * benchtests/bench-strncasecmp.c: New file.
545 * benchtests/bench-strncat-ifunc.c: New file.
546 * benchtests/bench-strncat.c: New file.
547 * benchtests/bench-strncmp-ifunc.c: New file.
548 * benchtests/bench-strncmp.c: New file.
549 * benchtests/bench-strncpy-ifunc.c: New file.
550 * benchtests/bench-strncpy.c: New file.
551 * benchtests/bench-strnlen-ifunc.c: New file.
552 * benchtests/bench-strnlen.c: New file.
553 * benchtests/bench-strpbrk-ifunc.c: New file.
554 * benchtests/bench-strpbrk.c: New file.
555 * benchtests/bench-strrchr-ifunc.c: New file.
556 * benchtests/bench-strrchr.c: New file.
557 * benchtests/bench-strspn-ifunc.c: New file.
558 * benchtests/bench-strspn.c: New file.
559 * benchtests/bench-strstr-ifunc.c: New file.
560 * benchtests/bench-strstr.c: New file.
561
c1f75dc3
SP
562 * benchtests/Makefile: Disable parallel execution of targets.
563 (string-bench): Add memcpy.
564 (benchset): New variable to store a list of benchmark sets.
565 (bench-func): Renamed from bench.
566 (bench-set): New target.
567 (bench): Depend on bench-func and bench-set.
568 * benchtests/README: Add section on benchmark sets.
569 * benchtests/bench-memcpy-ifunc.c: New file.
570 * benchtests/bench-memcpy.c: New file.
571 * benchtests/bench-string.h: New file.
572
50fd745b
AS
5732013-06-11 Andreas Schwab <schwab@suse.de>
574
575 [BZ #15577]
576 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
577 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
578 values in the triple.
579 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
580 terminator in the group key.
581
3ee7e9fe
AJ
5822013-06-11 Andreas Jaeger <aj@suse.de>
583
584 * po/zh_TW.po: Update Chinese (traditional) translation from
585 translation project.
586
89fb6835
SP
5872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
588
589 * include/time.h (__clock_gettime): Add libc_hidden_proto.
590 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
591 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
592 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
593 (clock_getcpuclockid): Likewise.
594 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
595 Add weak_alias and libc_hidden_def.
596 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
597 * rt/clock_gettime.c (clock_gettime): Rename to
598 __clock_gettime. Add weak_alias and libc_hidden_def.
599 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
600 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
601 __clock_nanosleep. Add weak_alias and libc_hidden_def.
602 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
603 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
604 Likewise.
605 * rt/clock_settime.c (clock_settime): Rename to
606 __clock_settime. Add weak_alias and libc_hidden_def.
607 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
608
0efa6f8b
JM
6092013-06-10 Joseph Myers <joseph@codesourcery.com>
610
b8c61b4b
JM
611 * mach/err_boot.sub: Remove trailing whitespace.
612 * mach/err_ipc.sub: Likewise.
613 * mach/err_mach.sub: Likewise.
614
0efa6f8b
JM
615 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
616 (ROUNDING_TESTS_double): Likewise.
617 (ROUNDING_TESTS_long_double): Likewise.
618 (ROUNDING_TESTS): Likewise.
619 * math/libm-test.inc: Include <math-tests.h>.
620 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
621 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
622 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
623 (IF_ROUND_INIT_FE_UPWARD): Likewise.
624
50b818bf
SP
6252013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
626
627 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
628 of assigning.
629
60d2f8f3
JM
6302013-06-08 Joseph Myers <joseph@codesourcery.com>
631
4902d2c3
JM
632 * sysdeps/gnu/errlist.awk: Do not generate space at end of
633 otherwise empty TRANS lines.
634 * sysdeps/gnu/errlist.c: Regenerated.
635
60d2f8f3
JM
636 * catgets/gencat.c (error_print): Use (void) in function
637 definition.
638 * crypt/crypt_util.c (__init_des): Likewise.
639 * crypt/speeds.c (Stop): Likewise.
640 (main): Likewise.
641 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
642 * inet/ruserpass.c (token): Likewise.
643 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
644 * intl/localealias.c (extend_alias_table): Likewise.
645 * intl/plural-exp.c (init_germanic_plural): Likewise.
646 * libio/fcloseall.c (__fcloseall): Likewise.
647 * libio/genops.c (_IO_flush_all): Likewise.
648 (_IO_flush_all_linebuffered): Likewise.
649 (_IO_cleanup): Likewise.
650 (_IO_iter_begin): Likewise.
651 (_IO_iter_end): Likewise.
652 (_IO_list_lock): Likewise.
653 (_IO_list_unlock): Likewise.
654 (_IO_list_resetlock): Likewise.
655 * libio/getchar.c (getchar): Likewise.
656 * libio/getchar_u.c (getchar_unlocked): Likewise.
657 * libio/getwchar.c (getwchar): Likewise.
658 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
659 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
660 * login/getpt.c (__getpt): Likewise.
661 * login/tst-utmp.c (main): Likewise.
662 * malloc/hooks.c (__malloc_check_init): Likewise.
663 * malloc/malloc.c (__malloc_stats): Likewise.
664 * malloc/mtrace.c (tr_break): Likewise.
665 (mtrace): Likewise.
666 (muntrace): Likewise.
667 * misc/fstab.c (endfsent): Likewise.
668 * misc/getclktck.c (__getclktck): Likewise.
669 * misc/getdtsz.c (__getdtablesize): Likewise.
670 * misc/gethostid.c (gethostid): Likewise.
671 * misc/getpagesize.c (__getpagesize): Likewise.
672 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
673 (__get_nprocs): Likewise.
674 (__get_phys_pages): Likewise.
675 (__get_avphys_pages): Likewise.
676 * misc/getttyent.c (getttyent): Likewise.
677 (setttyent): Likewise.
678 (endttyent): Likewise.
679 * misc/getusershell.c (getusershell): Likewise.
680 (endusershell): Likewise.
681 (setusershell): Likewise.
682 (initshells): Likewise.
683 * misc/hsearch.c (__hdestroy): Likewise.
684 * misc/sync.c (sync): Likewise.
685 * misc/syslog.c (closelog_internal): Likewise.
686 (closelog): Likewise.
687 * misc/ttyslot.c (ttyslot): Likewise.
688 * misc/vhangup.c (vhangup): Likewise.
689 * posix/fork.c (__fork): Likewise.
690 * posix/getegid.c (__getegid): Likewise.
691 * posix/geteuid.c (__geteuid): Likewise.
692 * posix/getgid.c (__getgid): Likewise.
693 * posix/getpid.c (__getpid): Likewise.
694 * posix/getppid.c (__getppid): Likewise.
695 * posix/getuid.c (__getuid): Likewise.
696 * posix/pause.c (pause): Likewise.
697 * posix/setpgrp.c (setpgrp): Likewise.
698 * posix/setsid.c (__setsid): Likewise.
699 * posix/test-vfork.c (noop): Likewise.
700 * resolv/gethnamaddr.c (_endhtent): Likewise.
701 (_gethtent): Likewise.
702 (ht_endhostent): Likewise.
703 (gethostent): Likewise.
704 (dns_service): Likewise.
705 * stdlib/drand48.c (drand48): Likewise.
706 * stdlib/lrand48.c (lrand48): Likewise.
707 * stdlib/mrand48.c (mrand48): Likewise.
708 * stdlib/rand.c (rand): Likewise.
709 * stdlib/random.c (__random): Likewise.
710 * stdlib/setenv.c (clearenv): Likewise.
711 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
712 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
713 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
714 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
715 (__get_nprocs): Likewise.
716 (__get_phys_pages): Likewise.
717 (__get_avphys_pages): Likewise.
718 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
719 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
720 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
721 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
722 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
723 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
724 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
725 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
726 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
727 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
728 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
729 * sysdeps/mach/hurd/sync.c (sync): Likewise.
730 * sysdeps/posix/clock.c (clock): Likewise.
731 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
732 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
733 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
734 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
735 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
737 (__get_nprocs_conf): Likewise.
738 (__get_phys_pages): Likewise.
739 (__get_avphys_pages): Likewise.
740 * time/clock.c (clock): Likewise.
741 * time/tzset.c (__tzname_max): Likewise.
742
2e09a79a
JM
7432013-06-07 Joseph Myers <joseph@codesourcery.com>
744
745 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
746 (__bswap_32): Do not use "register".
747 * crypt/crypt.c (_ufc_doit_r): Likewise.
748 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
749 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
750 * gmon/gmon.c (__monstartup): Likewise.
751 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
752 * hurd/hurdmalloc.c (more_memory): Likewise.
753 (malloc): Likewise.
754 (free): Likewise.
755 (realloc): Likewise.
756 (malloc_fork_prepare): Likewise.
757 (malloc_fork_parent): Likewise.
758 (malloc_fork_child): Likewise.
759 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
760 (_svcauth_des): Likewise.
761 * inet/inet_lnaof.c (inet_lnaof): Likewise.
762 * inet/inet_net.c (inet_network): Likewise.
763 * inet/inet_netof.c (inet_netof): Likewise.
764 * inet/rcmd.c (__validuser2_sa): Likewise.
765 * io/fts.c (fts_open): Likewise.
766 (fts_load): Likewise.
767 (fts_close): Likewise.
768 (fts_read): Likewise.
769 (fts_children): Likewise.
770 (fts_build): Likewise.
771 (fts_stat): Likewise.
772 (fts_sort): Likewise.
773 (fts_alloc): Likewise.
774 (fts_lfree): Likewise.
775 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
776 (_IO_file_xsgetn): Likewise.
777 (_IO_file_xsgetn_mmap): Likewise.
778 * libio/iofopncook.c (_IO_cookie_read): Likewise.
779 (_IO_cookie_write): Likewise.
780 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
781 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
782 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
783 * malloc/obstack.c (_obstack_begin): Likewise.
784 (_obstack_begin_1): Likewise.
785 (_obstack_newchunk): Likewise.
786 (_obstack_allocated_p): Likewise.
787 (obstack_free): Likewise.
788 (_obstack_memory_used): Likewise.
789 * misc/getttyent.c (getttynam): Likewise.
790 (getttyent): Likewise.
791 (skip): Likewise.
792 (value): Likewise.
793 * misc/getusershell.c (initshells): Likewise.
794 * misc/syslog.c (__vsyslog_chk): Likewise.
795 * misc/ttyslot.c (ttyslot): Likewise.
796 * nis/nis_hash.c (__nis_hash): Likewise.
797 * posix/fnmatch_loop.c (FCT): Likewise.
798 * posix/getconf.c (print_all): Likewise.
799 (main): Likewise.
800 * posix/getopt.c (exchange): Likewise.
801 * posix/glob.c (globfree): Likewise.
802 (prefix_array): Likewise.
803 (__glob_pattern_type): Likewise.
804 * resolv/arpa/nameser.h (NS_GET16): Likewise.
805 (NS_GET32): Likewise.
806 (NS_PUT16): Likewise.
807 (NS_PUT32): Likewise.
808 * resolv/gethnamaddr.c (getanswer): Likewise.
809 (gethostbyname2): Likewise.
810 (gethostbyaddr): Likewise.
811 (_gethtent): Likewise.
812 (_gethtbyname2): Likewise.
813 (_gethtbyaddr): Likewise.
814 * resolv/ns_print.c (dst_s_get_int16): Likewise.
815 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
816 * resolv/res_init.c (__res_vinit): Likewise.
817 (net_mask): Likewise.
818 * resolv/res_mkquery.c (outchar): Likewise.
819 (PRINT): Likewise.
820 * stdio-common/printf_fp.c (outchar): Likewise.
821 (PRINT): Likewise.
822 * stdio-common/printf_fphex.c (outchar): Likewise.
823 (PRINT): Likewise.
824 * stdio-common/printf_size.c (outchar): Likewise.
825 (PRINT): Likewise.
826 * stdio-common/test_rdwr.c (main): Likewise.
827 * stdio-common/tfformat.c (matches): Likewise.
828 * stdio-common/vfprintf.c (outchar): Likewise.
829 (printf_unknown): Likewise.
830 (buffered_vfprintf): Likewise.
831 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
832 * stdio-common/xbug.c (AppendToBuffer): Likewise.
833 (ReadFile): Likewise.
834 * stdlib/qsort.c (SWAP): Likewise.
835 (_quicksort): Likewise.
836 * stdlib/setenv.c (__add_to_environ): Likewise.
837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
838 * stdlib/strtol_l.c (__strtol_l): Likewise.
839 * stdlib/tst-strtod.c (main): Likewise.
840 * stdlib/tst-strtol.c (main): Likewise.
841 * stdlib/tst-strtoll.c (main): Likewise.
842 * string/bits/string2.h (__strcmp_cc): Likewise.
843 (__strcmp_cg): Likewise.
844 (__strcspn_c1): Likewise.
845 (__strcspn_c2): Likewise.
846 (__strcspn_c3): Likewise.
847 (__strspn_c1): Likewise.
848 (__strspn_c2): Likewise.
849 (__strspn_c3): Likewise.
850 (__strsep_1c): Likewise.
851 (__strsep_2c): Likewise.
852 (__strsep_3c): Likewise.
853 * string/memccpy.c (__memccpy): Likewise.
854 * string/stpcpy.c (__stpcpy): Likewise.
855 * string/strcmp.c (strcmp): Likewise.
856 * string/strrchr.c (strrchr): Likewise.
857 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
858 Likewise.
859 * sysdeps/mach/hurd/getcwd.c
860 (_hurd_canonicalize_directory_name_internal): Likewise.
861 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
862 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
863 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
864 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
865 Likewise, in both definitions.
866 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
867 definitions.
868 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
869 64] (__bswap_64): Likewise.
870 * time/test_time.c (main): Likewise.
871 * time/tzfile.c (__tzfile_read): Likewise.
872 (__tzfile_compute): Likewise.
873 * time/tzset.c (__tzset_parse_tz): Likewise.
874 (tzset_internal): Likewise.
875 (compute_change): Likewise.
876 * wcsmbs/wcscat.c (__wcscat): Likewise.
877 * wcsmbs/wcschr.c (wcschr): Likewise.
878 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
879 * wcsmbs/wcscspn.c (wcscspn): Likewise.
880 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
881 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
882 * wcsmbs/wcsspn.c (wcsspn): Likewise.
883 * wcsmbs/wcsstr.c (wcsstr): Likewise.
884 * wcsmbs/wmemchr.c (wmemchr): Likewise.
885 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
886 * wcsmbs/wmemset.c (wmemset): Likewise.
887
9e54314b
JM
8882013-06-06 Joseph Myers <joseph@codesourcery.com>
889
890 * scripts/config.guess: Update to version 2013-05-16.
891 * scripts/config.sub: Update to version 2013-04-24.
892 * scripts/install-sh: Update to version 2011-11-20.07.
893 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
894 * scripts/move-if-change: Update to version 2012-01-06 07:23.
895
350635a5
OB
8962013-06-06 Ondřej Bílka <neleai@seznam.cz>
897
898 * debug/fgetws_u_chk.c: Fix leading whitespaces.
899 * elf/sln.c: Likewise.
900 * hurd/hurd/ioctl.h: Likewise.
901 * hurd/hurdmalloc.c: Likewise.
902 * hurd/xattr.c: Likewise.
903 * include/shlib-compat.h: Likewise.
904 * inet/ruserpass.c: Likewise.
905 * libio/iofgets_u.c: Likewise.
906 * libio/iofgetws_u.c: Likewise.
907 * locale/programs/ld-identification.c: Likewise.
908 * locale/programs/ld-time.c: Likewise.
909 * mach/msg-destroy.c: Likewise.
910 * nss/nss_files/files-netgrp.c: Likewise.
911 * resolv/res_data.c: Likewise.
912 * soft-fp/op-1.h: Likewise.
913 * soft-fp/op-2.h: Likewise.
914 * soft-fp/op-4.h: Likewise.
915 * soft-fp/op-common.h: Likewise.
916 * stdio-common/printf_fphex.c: Likewise.
917 * stdlib/strtod_l.c: Likewise.
918 * sunrpc/rpc/clnt.h: Likewise.
919 * sysdeps/generic/framestate.c: Likewise.
920 * sysdeps/i386/bsd-_setjmp.S: Likewise.
921 * sysdeps/i386/bsd-setjmp.S: Likewise.
922 * sysdeps/i386/__longjmp.S: Likewise.
923 * sysdeps/i386/setjmp.S: Likewise.
924 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
925 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
926 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
927 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
929 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
930 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
931 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
932 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
933 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
934 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
935 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
936 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
937 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
938 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
939 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
940 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
941 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
942 * sysdeps/ieee754/support.c: Likewise.
943 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
944 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
945 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
946 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
947 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
948 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
949 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
950 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
951 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
952 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
953 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
954 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
955 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
956 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
957 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
958 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
959 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
961
44a988af
OB
9622013-06-05 Ondřej Bílka <neleai@seznam.cz>
963
25506f09 964 * posix/transbug.c: Remove executable mode.
44a988af 965
9c84384c
JM
9662013-06-05 Joseph Myers <joseph@codesourcery.com>
967
968 * crypt/speeds.c: Remove trailing whitespace.
969 * dlfcn/default.c: Likewise.
970 * elf/ifuncdep2.c: Likewise.
971 * elf/ifuncmain1.c: Likewise.
972 * elf/ifuncmain1vis.c: Likewise.
973 * elf/testobj.h: Likewise.
974 * elf/tst-stackguard1.c: Likewise.
975 * gmon/sys/gmon.h: Likewise.
976 * hurd/hurdmsg.c: Likewise.
977 * hurd/new-fd.c: Likewise.
978 * hurd/ports-get.c: Likewise.
979 * iconvdata/ibm1008_420.c: Likewise.
980 * inet/tst-getni1.c: Likewise.
981 * inet/tst-getni2.c: Likewise.
982 * libio/ioungetc.c: Likewise.
983 * libio/wfiledoalloc.c: Likewise.
984 * manual/libm-err-tab.pl: Likewise.
985 * math/w_dremf.c: Likewise.
986 * misc/ftruncate.c: Likewise.
987 * posix/bug-glob2.c: Likewise.
988 * posix/tst-pcre.c: Likewise.
989 * posix/wait4.c: Likewise.
990 * resolv/README: Likewise.
991 * resolv/res_debug.h: Likewise.
992 * resolv/tst-inet_ntop.c: Likewise.
993 * setjmp/bug269-setjmp.c: Likewise.
994 * soft-fp/extended.h: Likewise.
995 * soft-fp/op-1.h: Likewise.
996 * soft-fp/op-2.h: Likewise.
997 * soft-fp/op-4.h: Likewise.
998 * soft-fp/op-8.h: Likewise.
999 * soft-fp/testit.c: Likewise.
1000 * stdio-common/bug16.c: Likewise.
1001 * stdlib/random.c: Likewise.
1002 * sunrpc/rpcsvc/rquota.x: Likewise.
1003 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1004 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1005 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1006 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1007 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1008 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1009 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1010 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1011 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1012 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1013 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1014 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1015 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1016 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1017 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1018 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1020 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1021 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1022 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1023 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1024 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1025 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1026 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1027 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1028 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1029 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1030 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1031 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1032 * sysdeps/ieee754/s_lib_version.c: Likewise.
1033 * sysdeps/mach/hurd/check_fds.c: Likewise.
1034 * sysdeps/mach/hurd/getsockname.c: Likewise.
1035 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1036 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1037 * sysdeps/powerpc/bits/link.h: Likewise.
1038 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1039 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1040 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1041 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1042 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1043 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1044 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1045 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1046 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1047 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1048 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1049 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1050 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1051 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1052 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1053 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1055 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1057 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1058 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1059 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1060 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1061 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1062 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1064 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1065 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1066 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1068 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1070 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1071 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1072 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1073 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1074 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1075 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1076 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1077 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1078 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1079 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1080 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1081 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1082 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1083 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1084 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1085 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1086 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1087 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1090 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1091 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1092 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1094 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1095 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1096 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1097 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1098 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1101 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1102 * sysdeps/powerpc/sysdep.h: Likewise.
1103 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1104 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1105 * sysdeps/sh/dl-trampoline.S: Likewise.
1106 * sysdeps/sh/memset.S: Likewise.
1107 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1108 * sysdeps/sh/strlen.S: Likewise.
1109 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1110 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1111 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1112 * sysdeps/sparc/sparc32/rem.S: Likewise.
1113 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1114 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1115 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1116 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1117 * sysdeps/sparc/sparc32/urem.S: Likewise.
1118 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1119 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1120 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1121 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1123 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1124 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1125 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1126 * sysdeps/unix/bsd/times.c: Likewise.
1127 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1128 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1132 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1134 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1136 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1137 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1138 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1139 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1140 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1141 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1142 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1143 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1144 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1145 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1146 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1147 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1148 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1149 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1150 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1151 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1152 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1153 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1154 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1155 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1156 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1157 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1158 * sysdeps/x86_64/strcspn.S: Likewise.
1159
869378a5
RA
11602013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1161
1162 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1163 generated file. Regenerate properly from gen-translit.pl.
1164 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1165 locale/C-translit.h.
1166
840e2943
AS
11672013-06-05 Andreas Schwab <schwab@suse.de>
1168
1169 [BZ #15100]
1170 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1171 week as 6 instead of -1.
1172 * time/tst-strptime.c (day_tests): Add test case.
1173
4c60cb0c
SP
11742013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1175
1176 * sysdeps/generic/math_private.h
1177 (libc_feholdexcept_setround_53bit): Replace with
1178 libc_feholdsetround_53bit.
1179 (libc_feupdateenv_53bit): Replace with
1180 libc_feresetround_53bit.
1181 (SET_RESTORE_ROUND_53BIT): Adjust.
1182
d180203e
SP
11832013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1184
96df079a
SP
1185 * string/test-strchrnul.c: Add copyright header.
1186
d180203e
SP
1187 * posix/tst-getaddrinfo4.c: Increase test timeout.
1188
8b0ccb2d
CD
11892013-06-03 Carlos O'Donell <carlos@redhat.com>
1190
1191 [BZ #15536]
1192 * math/libm-test.inc (MAX_EXP): Remove
1193 (MIN_EXP): Define.
1194 (ulp): Use MIN_EXP - MANT_DIG.
1195 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1196
3b3c4d40
CD
11972013-05-31 Carlos O'Donell <carlos@redhat.com>
1198
1199 * po/be.po: Revert last change.
1200 * po/zh_CN.po: Likewise.
1201 * po/header.pot: Likewise.
1202
fab7ce3f
JM
12032013-05-31 Joseph Myers <joseph@codesourcery.com>
1204
1205 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1206 link-libc-deps to empty as target-specific variable.
1207 * Makerules (link-libc-args): New variable.
1208 (libc-for-link): Likewise.
1209 (link-libc-deps): Likewise.
1210 (lib%.so): Depend on $(link-libc-deps). Link with
1211 $(link-libc-args).
1212 (build-module): Link with $(link-libc-args).
1213 (build-module-asneeded): Likewise.
1214 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1215 list of objects.
1216 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1217 target-specific variable.
1218 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1219 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1220 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1221 libc.
1222 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1223 libc and ld.so.
1224 ($(objpfx)libpcprofile.so): Likewise.
1225 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1226 libc_nonshared.a.
1227 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1228 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1229 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1230 $(link-libc-deps).
1231 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1232 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1233 * login/Makefile ($(objpfx)libutil.so): Likewise.
1234 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1235 * math/Makefile ($(objpfx)libm.so): Likewise.
1236 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1237 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1238 variable instead of depending directly on libc.
1239 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1240 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1241 $(link-libc-deps).
1242 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1243 libc.
1244 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1245 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1246 ($(objpfx)libanl.so): Likewise.
1247 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1248 ld.so.
1249 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1250 $(link-libc-deps).
1251 * sysdeps/i386/fpu/Makefile: Remove file.
1252 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1253 ($(objpfx)libm.so): Remove dependency on ld.so.
1254
eca5920c
PF
12552013-05-30 Patsy Franklin <pfrankli@redhat.com>
1256
1257 [BZ # 15553]
1258 * nis/yp_xdr.c (XDRMAXNAME): Define.
1259 (XDRMAXRECORD): Define.
1260 (xdr_domainname): Use XDRMAXNAME.
1261 (xdr_mapname): Likewise.
1262 (xdr_peername): Likewise.
1263 (xdr_keydat): Use XDRMAXRECORD.
1264 (xdr_valdat): Likewise.
1265
12662013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1267
1268 [BZ #14256]
1269 * manual/errno.texi (ESTALE): Update to account for more than
1270 just NFS file systems.
1271 * sysdeps/gnu/errlist.c: Regenerated.
1272
b9375348
SP
12732013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1274
1275 [BZ #15465]
1276 * elf/Makefile (tests): Add tst-null-argv.
1277 (modules-names): Add tst-null-argv-lib.
1278 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1279 (tst-null-argv-ENV): Set environment for tst-null-argv.
1280 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1281 (RTLD_PROGNAME): New macro.
1282 * elf/tst-null-argv.c: New test case.
1283 * elf/tst-null-argv-lib.c: Library for test case.
1284 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1285 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1286 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1287 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1288 * elf/dl-init.c (call_init): Likewise.
1289 (_dl_init): Likewise.
1290 * elf/dl-load.c (print_search_path): Likewise.
1291 (_dl_map_object): Likewise.
1292 * elf/dl-lookup.c (do_lookup_x): Likewise.
1293 (add_dependency): Likewise.
1294 (_dl_lookup_symbol_x): Likewise.
1295 (_dl_debug_bindings): Likewise.
1296 * elf/dl-open.c (_dl_show_scope): Likewise.
1297 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1298 * elf/dl-version.c (match_symbol): Likewise.
1299 (_dl_check_map_versions): Likewise.
1300 * elf/rtld.c (dl_main): Likewise.
1301 (print_unresolved): Use RTLD_PROGNAME.
1302 (print_missing_version): Likewise.
1303 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1304 (elf_machine_rela): Likewise.
1305 * sysdeps/powerpc/powerpc32/dl-machine.c
1306 (__process_machine_rela): Likewise.
1307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1308 Likewise.
1309 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1310 Likewise.
1311 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1312 Likewise.
1313 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1314 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1315 Likewise.
1316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1317 Likewise.
1318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1319
8a9f20c8
CD
13202013-05-28 Carlos O'Donell <carlos@redhat.com>
1321
1322 * po/be.po: Add descriptive title.
1323 * po/zh_CN.po: Likewise.
1324 * po/header.pot: Likewise.
1325
0e60d68e
MF
13262013-05-28 Mike Frysinger <vapier@gentoo.org>
1327
1328 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1329 error message.
1330 (enlarge_archive): Likewise.
1331
56b672e9
BN
13322013-05-28 Ben North <ben@redfrontdoor.org>
1333
1334 * manual/arith.texi (frexp): It is the magnitude of the return
1335 value which lies in [0.5, 1), not the return value itself.
1336
5e056687
AZ
13372013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338
1339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1340
2b66ef5d
TS
13412013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1342
528c2405
TS
1343 * stdio-common/bug26.c (main): Correct fscanf template.
1344
07b4c13d
TS
1345 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1346 declare _dl_skip_args.
1347
ec9dd97c
TS
1348 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1349 Don't declare.
1350
2b66ef5d
TS
1351 * manual/platform.texi: Add missing @end deftypefun.
1352
4f8dfe27
JM
13532013-05-24 Joseph Myers <joseph@codesourcery.com>
1354
0323d086
JM
1355 [BZ #15529]
1356 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1357 bit of mantissa of 2^16382.
1358 * math/libm-test.inc (hypot_test_data): Add more tests.
1359
dd4259b9
JM
1360 * math/libm-test.inc: Add drem and pow10 to list of tested
1361 functions.
1362 (pow10_test): New function.
1363 (drem_test): Likewise.
1364 (drem_test_tonearest): Likewise.
1365 (drem_test_towardzero): Likewise.
1366 (drem_test_downward): Likewise.
1367 (drem_test_upward): Likewise.
1368 (main): Call the new functions.
1369
4f8dfe27
JM
1370 * math/libm-test.inc (finite_test_data): Remove.
1371 (finite_test): Run tests from isfinite_test_data.
1372 (gamma_test_data): Remove.
1373 (gamma_test): Run tests from lgamma_test_data.
1374 * sysdeps/i386/fpu/libm-test-ulps: Update.
1375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1376
d116b7c4
AZ
13772013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1378
1379 * manual/platform.texi: Add PowerPC PPR function set documentation.
1380 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1381 implementation.
1382
e96e3767
CD
13832013-05-24 Carlos O'Donell <carlos@redhat.com>
1384
1385 * math/libm-test.inc (MAX_EXP): Define.
1386 (ULPDIFF): Define.
1387 (ulp): New function.
1388 (check_float_internal): Use ULPDIFF.
1389 (cpow_test): Disable failing test.
1390 (check_ulp): Test ulp() implemetnation.
1391 (main): Call check_ulp before starting tests.
1392
b679a606
JM
13932013-05-24 Joseph Myers <joseph@codesourcery.com>
1394
e8bdba36
JM
1395 * math/gen-libm-test.pl (generate_testfile): Do not handle
1396 START_DATA and END_DATA.
1397 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1398 END_DATA.
1399 (acos_tonearest_test_data): Likewise.
1400 (acos_towardzero_test_data): Likewise.
1401 (acos_downward_test_data): Likewise.
1402 (acos_upward_test_data): Likewise.
1403 (acosh_test_data): Likewise.
1404 (asin_test_data): Likewise.
1405 (asin_tonearest_test_data): Likewise.
1406 (asin_towardzero_test_data): Likewise.
1407 (asin_downward_test_data): Likewise.
1408 (asin_upward_test_data): Likewise.
1409 (asinh_test_data): Likewise.
1410 (atan_test_data): Likewise.
1411 (atanh_test_data): Likewise.
1412 (atan2_test_data): Likewise.
1413 (cabs_test_data): Likewise.
1414 (cacos_test_data): Likewise.
1415 (cacosh_test_data): Likewise.
1416 (carg_test_data): Likewise.
1417 (casin_test_data): Likewise.
1418 (casinh_test_data): Likewise.
1419 (catan_test_data): Likewise.
1420 (catanh_test_data): Likewise.
1421 (cbrt_test_data): Likewise.
1422 (ccos_test_data): Likewise.
1423 (ccosh_test_data): Likewise.
1424 (ceil_test_data): Likewise.
1425 (cexp_test_data): Likewise.
1426 (cimag_test_data): Likewise.
1427 (clog_test_data): Likewise.
1428 (clog10_test_data): Likewise.
1429 (conj_test_data): Likewise.
1430 (copysign_test_data): Likewise.
1431 (cos_test_data): Likewise.
1432 (cos_tonearest_test_data): Likewise.
1433 (cos_towardzero_test_data): Likewise.
1434 (cos_downward_test_data): Likewise.
1435 (cos_upward_test_data): Likewise.
1436 (cosh_test_data): Likewise.
1437 (cosh_tonearest_test_data): Likewise.
1438 (cosh_towardzero_test_data): Likewise.
1439 (cosh_downward_test_data): Likewise.
1440 (cosh_upward_test_data): Likewise.
1441 (cpow_test_data): Likewise.
1442 (cproj_test_data): Likewise.
1443 (creal_test_data): Likewise.
1444 (csin_test_data): Likewise.
1445 (csinh_test_data): Likewise.
1446 (csqrt_test_data): Likewise.
1447 (ctan_test_data): Likewise.
1448 (ctan_tonearest_test_data): Likewise.
1449 (ctan_towardzero_test_data): Likewise.
1450 (ctan_downward_test_data): Likewise.
1451 (ctan_upward_test_data): Likewise.
1452 (ctanh_test_data): Likewise.
1453 (ctanh_tonearest_test_data): Likewise.
1454 (ctanh_towardzero_test_data): Likewise.
1455 (ctanh_downward_test_data): Likewise.
1456 (ctanh_upward_test_data): Likewise.
1457 (erf_test_data): Likewise.
1458 (erfc_test_data): Likewise.
1459 (exp_test_data): Likewise.
1460 (exp_tonearest_test_data): Likewise.
1461 (exp_towardzero_test_data): Likewise.
1462 (exp_downward_test_data): Likewise.
1463 (exp_upward_test_data): Likewise.
1464 (exp10_test_data): Likewise.
1465 (exp2_test_data): Likewise.
1466 (expm1_test_data): Likewise.
1467 (fabs_test_data): Likewise.
1468 (fdim_test_data): Likewise.
1469 (finite_test_data): Likewise.
1470 (floor_test_data): Likewise.
1471 (fma_test_data): Likewise.
1472 (fma_towardzero_test_data): Likewise.
1473 (fma_downward_test_data): Likewise.
1474 (fma_upward_test_data): Likewise.
1475 (fmax_test_data): Likewise.
1476 (fmin_test_data): Likewise.
1477 (fmod_test_data): Likewise.
1478 (fpclassify_test_data): Likewise.
1479 (frexp_test_data): Likewise.
1480 (gamma_test_data): Likewise.
1481 (hypot_test_data): Likewise.
1482 (ilogb_test_data): Likewise.
1483 (isfinite_test_data): Likewise.
1484 (isgreater_test_data): Likewise.
1485 (isgreaterequal_test_data): Likewise.
1486 (isinf_test_data): Likewise.
1487 (isless_test_data): Likewise.
1488 (islessequal_test_data): Likewise.
1489 (islessgreater_test_data): Likewise.
1490 (isnan_test_data): Likewise.
1491 (isnormal_test_data): Likewise.
1492 (issignaling_test_data): Likewise.
1493 (isunordered_test_data): Likewise.
1494 (j0_test_data): Likewise.
1495 (j1_test_data): Likewise.
1496 (jn_test_data): Likewise.
1497 (ldexp_test_data): Likewise.
1498 (lgamma_test_data): Likewise.
1499 (lrint_test_data): Likewise.
1500 (lrint_tonearest_test_data): Likewise.
1501 (lrint_towardzero_test_data): Likewise.
1502 (lrint_downward_test_data): Likewise.
1503 (lrint_upward_test_data): Likewise.
1504 (llrint_test_data): Likewise.
1505 (llrint_tonearest_test_data): Likewise.
1506 (llrint_towardzero_test_data): Likewise.
1507 (llrint_downward_test_data): Likewise.
1508 (llrint_upward_test_data): Likewise.
1509 (log_test_data): Likewise.
1510 (log10_test_data): Likewise.
1511 (log1p_test_data): Likewise.
1512 (log2_test_data): Likewise.
1513 (logb_test_data): Likewise.
1514 (logb_downward_test_data): Likewise.
1515 (lround_test_data): Likewise.
1516 (llround_test_data): Likewise.
1517 (modf_test_data): Likewise.
1518 (nearbyint_test_data): Likewise.
1519 (nextafter_test_data): Likewise.
1520 (nexttoward_test_data): Likewise.
1521 (pow_test_data): Likewise.
1522 (pow_tonearest_test_data): Likewise.
1523 (pow_towardzero_test_data): Likewise.
1524 (pow_downward_test_data): Likewise.
1525 (pow_upward_test_data): Likewise.
1526 (remainder_test_data): Likewise.
1527 (remainder_tonearest_test_data): Likewise.
1528 (remainder_towardzero_test_data): Likewise.
1529 (remainder_downward_test_data): Likewise.
1530 (remainder_upward_test_data): Likewise.
1531 (remquo_test_data): Likewise.
1532 (rint_test_data): Likewise.
1533 (rint_tonearest_test_data): Likewise.
1534 (rint_towardzero_test_data): Likewise.
1535 (rint_downward_test_data): Likewise.
1536 (rint_upward_test_data): Likewise.
1537 (round_test_data): Likewise.
1538 (scalb_test_data): Likewise.
1539 (scalbn_test_data): Likewise.
1540 (scalbln_test_data): Likewise.
1541 (signbit_test_data): Likewise.
1542 (sin_test_data): Likewise.
1543 (sin_tonearest_test_data): Likewise.
1544 (sin_towardzero_test_data): Likewise.
1545 (sin_downward_test_data): Likewise.
1546 (sin_upward_test_data): Likewise.
1547 (sincos_test_data): Likewise.
1548 (sinh_test_data): Likewise.
1549 (sinh_tonearest_test_data): Likewise.
1550 (sinh_towardzero_test_data): Likewise.
1551 (sinh_downward_test_data): Likewise.
1552 (sinh_upward_test_data): Likewise.
1553 (sqrt_test_data): Likewise.
1554 (tan_test_data): Likewise.
1555 (tan_tonearest_test_data): Likewise.
1556 (tan_towardzero_test_data): Likewise.
1557 (tan_downward_test_data): Likewise.
1558 (tan_upward_test_data): Likewise.
1559 (tanh_test_data): Likewise.
1560 (tgamma_test_data): Likewise.
1561 (trunc_test_data): Likewise.
1562 (y0_test_data): Likewise.
1563 (y1_test_data): Likewise.
1564 (yn_test_data): Likewise.
1565 (significand_test_data): Likewise.
1566
b679a606
JM
1567 * math/gen-libm-test.pl (@functions): Remove variable.
1568 (generate_testfile): Don't handle START and END lines.
1569 * math/libm-test.inc (START): New macro.
1570 (END): Likewise.
1571 (END_COMPLEX): Likewise.
1572 (acos_test): Use END macro without arguments.
1573 (acos_test_tonearest): Likewise.
1574 (acos_test_towardzero): Likewise.
1575 (acos_test_downward): Likewise.
1576 (acos_test_upward): Likewise.
1577 (acosh_test): Likewise.
1578 (asin_test): Likewise.
1579 (asin_test_tonearest): Likewise.
1580 (asin_test_towardzero): Likewise.
1581 (asin_test_downward): Likewise.
1582 (asin_test_upward): Likewise.
1583 (asinh_test): Likewise.
1584 (atan_test): Likewise.
1585 (atanh_test): Likewise.
1586 (atan2_test): Likewise.
1587 (cabs_test): Likewise.
1588 (cacos_test): Use END_COMPLEX macro without arguments.
1589 (cacosh_test): Likewise.
1590 (carg_test): Use END macro without arguments.
1591 (casin_test): Use END_COMPLEX macro without arguments.
1592 (casinh_test): Likewise.
1593 (catan_test): Likewise.
1594 (catanh_test): Likewise.
1595 (cbrt_test): Use END macro without arguments.
1596 (ccos_test): Use END_COMPLEX macro without arguments.
1597 (ccosh_test): Likewise.
1598 (ceil_test): Use END macro without arguments.
1599 (cexp_test): Use END_COMPLEX macro without arguments.
1600 (cimag_test): Use END macro without arguments.
1601 (clog_test): Use END_COMPLEX macro without arguments.
1602 (clog10_test): Likewise.
1603 (conj_test): Likewise.
1604 (copysign_test): Use END macro without arguments.
1605 (cos_test): Likewise.
1606 (cos_test_tonearest): Likewise.
1607 (cos_test_towardzero): Likewise.
1608 (cos_test_downward): Likewise.
1609 (cos_test_upward): Likewise.
1610 (cosh_test): Likewise.
1611 (cosh_test_tonearest): Likewise.
1612 (cosh_test_towardzero): Likewise.
1613 (cosh_test_downward): Likewise.
1614 (cosh_test_upward): Likewise.
1615 (cpow_test): Use END_COMPLEX macro without arguments.
1616 (cproj_test): Likewise.
1617 (creal_test): Use END macro without arguments.
1618 (csin_test): Use END_COMPLEX macro without arguments.
1619 (csinh_test): Likewise.
1620 (csqrt_test): Likewise.
1621 (ctan_test): Likewise.
1622 (ctan_test_tonearest): Likewise.
1623 (ctan_test_towardzero): Likewise.
1624 (ctan_test_downward): Likewise.
1625 (ctan_test_upward): Likewise.
1626 (ctanh_test): Likewise.
1627 (ctanh_test_tonearest): Likewise.
1628 (ctanh_test_towardzero): Likewise.
1629 (ctanh_test_downward): Likewise.
1630 (ctanh_test_upward): Likewise.
1631 (erf_test): Use END macro without arguments.
1632 (erfc_test): Likewise.
1633 (exp_test): Likewise.
1634 (exp_test_tonearest): Likewise.
1635 (exp_test_towardzero): Likewise.
1636 (exp_test_downward): Likewise.
1637 (exp_test_upward): Likewise.
1638 (exp10_test): Likewise.
1639 (exp2_test): Likewise.
1640 (expm1_test): Likewise.
1641 (fabs_test): Likewise.
1642 (fdim_test): Likewise.
1643 (finite_test): Likewise.
1644 (floor_test): Likewise.
1645 (fma_test): Likewise.
1646 (fma_test_towardzero): Likewise.
1647 (fma_test_downward): Likewise.
1648 (fma_test_upward): Likewise.
1649 (fmax_test): Likewise.
1650 (fmin_test): Likewise.
1651 (fmod_test): Likewise.
1652 (fpclassify_test): Likewise.
1653 (frexp_test): Likewise.
1654 (gamma_test): Likewise.
1655 (hypot_test): Likewise.
1656 (ilogb_test): Likewise.
1657 (isfinite_test): Likewise.
1658 (isgreater_test): Likewise.
1659 (isgreaterequal_test): Likewise.
1660 (isinf_test): Likewise.
1661 (isless_test): Likewise.
1662 (islessequal_test): Likewise.
1663 (islessgreater_test): Likewise.
1664 (isnan_test): Likewise.
1665 (isnormal_test): Likewise.
1666 (issignaling_test): Likewise.
1667 (isunordered_test): Likewise.
1668 (j0_test): Likewise.
1669 (j1_test): Likewise.
1670 (jn_test): Likewise.
1671 (ldexp_test): Likewise.
1672 (lgamma_test): Likewise.
1673 (lrint_test): Likewise.
1674 (lrint_test_tonearest): Likewise.
1675 (lrint_test_towardzero): Likewise.
1676 (lrint_test_downward): Likewise.
1677 (lrint_test_upward): Likewise.
1678 (llrint_test): Likewise.
1679 (llrint_test_tonearest): Likewise.
1680 (llrint_test_towardzero): Likewise.
1681 (llrint_test_downward): Likewise.
1682 (llrint_test_upward): Likewise.
1683 (log_test): Likewise.
1684 (log10_test): Likewise.
1685 (log1p_test): Likewise.
1686 (log2_test): Likewise.
1687 (logb_test): Likewise.
1688 (logb_test_downward): Likewise.
1689 (lround_test): Likewise.
1690 (llround_test): Likewise.
1691 (modf_test): Likewise.
1692 (nearbyint_test): Likewise.
1693 (nextafter_test): Likewise.
1694 (nexttoward_test): Likewise.
1695 (pow_test): Likewise.
1696 (pow_test_tonearest): Likewise.
1697 (pow_test_towardzero): Likewise.
1698 (pow_test_downward): Likewise.
1699 (pow_test_upward): Likewise.
1700 (remainder_test): Likewise.
1701 (remainder_test_tonearest): Likewise.
1702 (remainder_test_towardzero): Likewise.
1703 (remainder_test_downward): Likewise.
1704 (remainder_test_upward): Likewise.
1705 (remquo_test): Likewise.
1706 (rint_test): Likewise.
1707 (rint_test_tonearest): Likewise.
1708 (rint_test_towardzero): Likewise.
1709 (rint_test_downward): Likewise.
1710 (rint_test_upward): Likewise.
1711 (round_test): Likewise.
1712 (scalb_test): Likewise.
1713 (scalbn_test): Likewise.
1714 (scalbln_test): Likewise.
1715 (signbit_test): Likewise.
1716 (sin_test): Likewise.
1717 (sin_test_tonearest): Likewise.
1718 (sin_test_towardzero): Likewise.
1719 (sin_test_downward): Likewise.
1720 (sin_test_upward): Likewise.
1721 (sincos_test): Likewise.
1722 (sinh_test): Likewise.
1723 (sinh_test_tonearest): Likewise.
1724 (sinh_test_towardzero): Likewise.
1725 (sinh_test_downward): Likewise.
1726 (sinh_test_upward): Likewise.
1727 (sqrt_test): Likewise.
1728 (tan_test): Likewise.
1729 (tan_test_tonearest): Likewise.
1730 (tan_test_towardzero): Likewise.
1731 (tan_test_downward): Likewise.
1732 (tan_test_upward): Likewise.
1733 (tanh_test): Likewise.
1734 (tgamma_test): Likewise.
1735 (trunc_test): Likewise.
1736 (y0_test): Likewise.
1737 (y1_test): Likewise.
1738 (yn_test): Likewise.
1739 (significand_test): Likewise.
1740
bae143d2
OB
17412013-05-24 Ondřej Bílka <neleai@seznam.cz>
1742
1743 [BZ #15381]
1744 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1745
9323d39b
EM
17462013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1747
d4ea44a0 1748 [BZ #14894]
9323d39b
EM
1749 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1750 __ppc_mdoio and __ppc_mdoom.
1751 * manual/platform.texi: Document new functions __ppc_yield,
1752 __ppc_mdoio and __ppc_mdoom.
1753
13e23af7
CD
17542013-05-22 Carlos O'Donell <carlos@redhat.com>
1755
1756 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1757 (main): Mention "tls" pseudo-hwcap is legacy.
1758 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1759
351fe550
JM
17602013-05-22 Joseph Myers <joseph@codesourcery.com>
1761
1762 * math/gen-libm-test.pl (parse_args): Output only string of
1763 arguments as text for test name, not full call or descriptions of
1764 tests for extra outputs.
1765 (generate_testfile): Do not pass function name to parse_args.
1766 Generate this_func variable from START.
1767 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1768 field to arg_str.
1769 (struct test_ff_f_data): Likewise.
1770 (test_ff_f_data_nexttoward): Likewise.
1771 (struct test_fi_f_data): Likewise.
1772 (struct test_fl_f_data): Likewise.
1773 (struct test_if_f_data): Likewise.
1774 (struct test_fff_f_data): Likewise.
1775 (struct test_c_f_data): Likewise.
1776 (struct test_f_f1_data): Likewise. Remove field extra_name.
1777 (struct test_fF_f1_data): Likewise.
1778 (struct test_ffI_f1_data): Likewise.
1779 (struct test_c_c_data): Rename test_name field to arg_str.
1780 (struct test_cc_c_data): Likewise.
1781 (struct test_f_i_data): Likewise.
1782 (struct test_ff_i_data): Likewise.
1783 (struct test_f_l_data): Likewise.
1784 (struct test_f_L_data): Likewise.
1785 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1786 and extra2_name.
1787 (COMMON_TEST_SETUP): New macro.
1788 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1789 (COMMON_TEST_CLEANUP): Likewise.
1790 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1791 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1792 macros.
1793 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1794 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1795 macros.
1796 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1797 (RUN_TEST_fff_f): Take argument string. Call new setup and
1798 cleanup macros.
1799 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1800 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1801 macros.
1802 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1803 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1804 macros.
1805 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1806 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1807 cleanup macros.
1808 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1809 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1810 cleanup macros.
1811 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1812 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1813 cleanup macros.
1814 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1815 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1816 macros.
1817 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1818 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1819 macros.
1820 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1821 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1822 macros.
1823 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1824 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1825 cleanup macros.
1826 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1827 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1828 cleanup macros.
1829 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1830 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1831 macros.
1832 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1833 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1834 cleanup macros.
1835 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1836 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1837 macros.
1838 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1839 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1840 macros.
1841 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1842 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1843 cleanup macros.
1844 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1845
85118d4d
EBM
18462013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1847
1848 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1849 to _sifields.sigfault.
1850 (si_addr_lsb): Define new macro.
1851 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1853 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1854
7a44c18f
CD
18552013-05-03 Carlos O'Donell <carlos at redhat.com>
1856
1857 [BZ #15441]
1858 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1859 returns -1.
1860 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1861 null return -1.
1862 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1863 loading the domain.
1864
b50a7181
JM
18652013-05-22 Joseph Myers <joseph@codesourcery.com>
1866
1867 * math/gen-libm-test.pl (parse_args): Do not include expected
1868 result in test name.
1869 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1871 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1872 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1873 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1875
051063c8
SP
18762013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1877
3ce9e010
SP
1878 * benchtests/Makefile: Sort function entries.
1879
051063c8
SP
1880 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1881 tanh, asinh, acosh, atanh.
1882 * benchtests/acos-inputs: New file.
1883 * benchtests/acosh-inputs: New file.
1884 * benchtests/asin-inputs: New file.
1885 * benchtests/asinh-inputs: New file.
1886 * benchtests/atanh-inputs: New file.
1887 * benchtests/cosh-inputs: New file.
1888 * benchtests/log-inputs: New file.
1889 * benchtests/sinh-inputs: New file.
1890 * benchtests/tanh-inputs: New file.
1891
47c22455
DL
18922013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1893
1894 [BZ #15339]
1895 * posix/tst-getaddrinfo4.c: New test.
1896 * posix/Makefile (tests): Add it.
1897
3d04f5db
SP
18982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1899
1900 [BZ #15339]
1901 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1902 when no services were used.
1903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1904 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1905
d5dd6189
AS
19062013-05-21 Andreas Schwab <schwab@suse.de>
1907
1908 [BZ #15014]
1909 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1910 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1911 successful.
1912 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1913 redundant variable declarations and reallocation of buffer when
1914 parsing as IPv6 address. Always set NSS status when called from
1915 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1916 buffer too small. Correct computation of needed size.
1917 * nss/Makefile (tests): Add test-digits-dots.
1918 * nss/test-digits-dots.c: New test.
1919
fef94eab
SP
19202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1921
1922 * benchtests/Makefile: Remove instructions for adding
1923 benchmark tests.
1924 * benchtests/README: New file to explain how to execute and
1925 enhance the benchmark tests.
1926
e39adf43
AS
19272013-05-21 Andreas Schwab <schwab@suse.de>
1928
1929 [BZ #15493]
1930 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1931 * setjmp/tst-sigsetjmp.c: New test.
1932
b2b671b6
OB
19332013-05-20 Ondřej Bílka <neleai@seznam.cz>
1934
1935 * sysdeps/x86_64/memset.S (memset): New implementation.
1936 (__bzero): Likewise.
1937 (__memset_tail): New function.
1938
2d48b41c
OB
19392013-05-20 Ondřej Bílka <neleai@seznam.cz>
1940
1941 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1942 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1943 __memcpy_sse2_unaligned ifunc selection.
1944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1945 Add memcpy-sse2-unaligned.S.
1946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1947 Add: __memcpy_sse2_unaligned.
1948
f16cc3eb
JM
19492013-05-19 Joseph Myers <joseph@codesourcery.com>
1950
3e694268
JM
1951 [BZ #15490]
1952 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1953 math_force_eval before restoring floating-point envrionment.
1954 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1955 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1956 Likewise.
1957 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1958 <math_private.h>.
1959 (__nearbyintl): Use math_force_eval before restoring
1960 floating-point environment.
1961 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1962
db62a907
JM
1963 * math/gen-libm-test.pl (special_functions): Remove.
1964 (parse_args): Don't handle TEST_extra. Handle functions with no
1965 return value.
1966 * math/libm-test.inc (struct test_sincos_data): Replace with
1967 struct test_fFF_11_data.
1968 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1969 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1970 (sincos_test_data): Change element type to struct
1971 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1972 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1973 RUN_TEST_LOOP_sincos.
1974 * math/README.libm-test: Don't mention special handling of
1975 individual functions.
1976 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1978 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1979 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1980 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1982
f16cc3eb
JM
1983 * math/gen-libm-test.pl (get_variable): Remove function.
1984 (parse_args): Don't show pointer parameters to call in test
1985 names. Use "extra output N" in test names for extra outputs
1986 rather than naming variables.
1987
3779b5b6
JM
19882013-05-18 Joseph Myers <joseph@codesourcery.com>
1989
2ee094ff
JM
1990 [BZ #15488]
1991 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1992 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1993 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1994 double tests.
1995 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1996 disable.
1997 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1998 check_long_double.
1999
3779b5b6
JM
2000 * math/gen-libm-test.pl (@tests): Remove variable.
2001 ($count): Likewise.
2002 (new_test): Remove function.
2003 (show_exceptions): New function.
2004 (special_functions): Use show_exceptions instead of new_test.
2005 (parse_args): Likewise.
2006 (generate_testfile): Pass only function name in generated call to
2007 print_max_error or print_complex_max_error.
2008 (get_ulps): Do not handle complex tests specially.
2009 (output_test): Rename to ...
2010 (get_all_ulps_for_test): ... this. Return a string rather than
2011 printing to a file. Require ulps to be present.
2012 (output_ulps): Generate arrays rather than #defines.
2013 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2014 (struct ulp_data): New type.
2015 (BUILD_COMPLEX_ULP): Remove macro.
2016 (compare_ulp_data): New function.
2017 (find_ulps): Likewise.
2018 (find_test_ulps): Likewise.
2019 (find_function_ulps): Likewise.
2020 (find_complex_function_ulps): Likewise.
2021 (print_max_error): Determine allowed ulps using
2022 find_function_ulps.
2023 (print_complex_max_error): Determine allowed ulps using
2024 find_complex_function_ulps.
2025 (check_float_internal): Determine max ulps using find_test_ulps.
2026 (check_float): Do not take max_ulp parameter. Update call to
2027 check_float_internal.
2028 (check_complex): Likewise.
2029 (check_int): Do not take max_ulp parameter.
2030 (check_long): Likewise.
2031 (check_bool): Likewise.
2032 (check_longlong): Likewise.
2033 (struct test_f_f_data): Remove max_ulp field.
2034 (struct test_ff_f_data): Likewise.
2035 (struct test_ff_f_data_nexttoward): Likewise.
2036 (struct test_fi_f_data): Likewise.
2037 (struct test_fl_f_data): Likewise.
2038 (struct test_if_f_data): Likewise.
2039 (struct test_fff_f_data): Likewise.
2040 (struct test_c_f_data): Likewise.
2041 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2042 (struct test_fF_f1_data): Likewise.
2043 (struct test_ffI_f1_data): Likewise.
2044 (struct test_c_c_data): Remove max_ulp field.
2045 (struct test_cc_c_data): Likewise.
2046 (struct test_f_i_data): Likewise.
2047 (struct test_ff_i_data): Likewise.
2048 (struct test_f_l_data): Likewise.
2049 (struct test_f_L_data): Likewise.
2050 (struct test_sincos_data): Likewise.
2051 (RUN_TEST_f_f): Do not handle ulps.
2052 (RUN_TEST_LOOP_f_f): Likewise.
2053 (RUN_TEST_2_f): Likewise.
2054 (RUN_TEST_LOOP_2_f): Likewise.
2055 (RUN_TEST_fff_f): Likewise.
2056 (RUN_TEST_LOOP_fff_f): Likewise.
2057 (RUN_TEST_c_f): Likewise.
2058 (RUN_TEST_LOOP_c_f): Likewise.
2059 (RUN_TEST_f_f1): Likewise.
2060 (RUN_TEST_LOOP_f_f1): Likewise.
2061 (RUN_TEST_fF_f1): Likewise.
2062 (RUN_TEST_LOOP_fF_f1): Likewise.
2063 (RUN_TEST_fI_f1): Likewise.
2064 (RUN_TEST_LOOP_fI_f1): Likewise.
2065 (RUN_TEST_ffI_f1): Likewise.
2066 (RUN_TEST_LOOP_ffI_f1): Likewise.
2067 (RUN_TEST_c_c): Likewise.
2068 (RUN_TEST_LOOP_c_c): Likewise.
2069 (RUN_TEST_cc_c): Likewise.
2070 (RUN_TEST_LOOP_cc_c): Likewise.
2071 (RUN_TEST_f_i): Likewise.
2072 (RUN_TEST_LOOP_f_i): Likewise.
2073 (RUN_TEST_f_i_tg): Likewise.
2074 (RUN_TEST_LOOP_f_i_tg): Likewise.
2075 (RUN_TEST_ff_i_tg): Likewise.
2076 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2077 (RUN_TEST_f_b): Likewise.
2078 (RUN_TEST_LOOP_f_b): Likewise.
2079 (RUN_TEST_f_b_tg): Likewise.
2080 (RUN_TEST_LOOP_f_b_tg): Likewise.
2081 (RUN_TEST_f_l): Likewise.
2082 (RUN_TEST_LOOP_f_l): Likewise.
2083 (RUN_TEST_f_L): Likewise.
2084 (RUN_TEST_LOOP_f_L): Likewise.
2085 (RUN_TEST_sincos): Likewise.
2086 (RUN_TEST_LOOP_sincos): Likewise.
2087
8269107f
JM
20882013-05-17 Joseph Myers <joseph@codesourcery.com>
2089
bb38759d
JM
2090 [BZ #15480]
2091 [BZ #15485]
2092 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2093 main case of finite arguments, set rounding mode to FE_TONEAREST
2094 and discard exceptions.
2095 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2096 exceptions.
2097 (remainder_tonearest_test_data): New variable.
2098 (remainder_test_tonearest): New function.
2099 (remainder_towardzero_test_data): New variable.
2100 (remainder_test_towardzero): New function.
2101 (remainder_downward_test_data): New variable.
2102 (remainder_test_downward): New function.
2103 (remainder_upward_test_data): New variable.
2104 (remainder_test_upward): New function.
2105 (main): Call the new test functions.
2106
a00bdcf0
JM
2107 * math/libm-test.inc (struct test_f_f1_data): Remove field
2108 extra_init.
2109 (struct test_fF_f1_data): Likewise.
2110 (struct test_ffI_f1_data): Likewise.
2111 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2112 based on value of EXTRA_EXPECTED.
2113 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2114 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2115 EXTRA_VAR based on value of EXTRA_EXPECTED.
2116 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2117 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2118 EXTRA_VAR based on value of EXTRA_EXPECTED.
2119 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2120 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2121 EXTRA_VAR based on value of EXTRA_EXPECTED.
2122 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2123 * math/gen-libm-test.pl (parse_args): Don't output initializers
2124 for extra output values.
2125
de407f79
JM
2126 * math/libm-test.inc (check_int): Expect result to be exactly
2127 equal to expected value and do not handle ulps.
2128 (check_long): Likewise.
2129 (check_longlong): Likewise.
2130
8269107f
JM
2131 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2132 exceptions.
2133 (cimag_test_data): Likewise.
2134 (conj_test_data): Likewise.
2135 (copysign_test_data): Likewise.
2136 (cproj_test_data): Likewise.
2137 (creal_test_data): Likewise.
2138 (fabs_test_data): Likewise.
2139 (fdim_test_data): Likewise.
2140 (finite_test_data): Likewise.
2141 (floor_test_data): Likewise.
2142 (fmax_test_data): Likewise.
2143 (fmin_test_data): Likewise.
2144 (fmod_test_data): Likewise.
2145 (fpclassify_test_data): Likewise.
2146 (frexp_test_data): Likewise.
2147 (ilogb_test_data): Likewise.
2148 (isfinite_test_data): Likewise.
2149 (isgreater_test_data): Likewise.
2150 (isgreaterequal_test_data): Likewise.
2151 (isinf_test_data): Likewise.
2152 (isless_test_data): Likewise.
2153 (islessequal_test_data): Likewise.
2154 (islessgreater_test_data): Likewise.
2155 (isnan_test_data): Likewise.
2156 (isnormal_test_data): Likewise.
2157 (issignaling_test_data): Likewise.
2158 (isunordered_test_data): Likewise.
2159 (ldexp_test_data): Likewise.
2160 (lrint_test_data): Likewise.
2161 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2162 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2163 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2164 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2165 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2166 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2167 test input.
2168 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2169 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2170 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2171 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2172 that test input.
2173 (lrint_downward_test_data): Test for "inexact" exceptions.
2174 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2175 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2176 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2177 test input.
2178 (lrint_upward_test_data): Test for "inexact" exceptions.
2179 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2180 test input.
2181 (llrint_test_data): Test for "inexact" exceptions.
2182 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2183 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2184 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2185 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2186 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2187 (llrint_downward_test_data): Test for "inexact" exceptions.
2188 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2189 (llrint_upward_test_data): Test for "inexact" exceptions.
2190 (logb_test_data): Likewise.
2191 (logb_downward_test_data): Likewise.
2192 (nextafter_test_data): Likewise.
2193 (nexttoward_test_data): Likewise.
2194 (remainder_test_data): Likewise.
2195 (remquo_test_data): Likewise.
2196 (scalbn_test_data): Likewise.
2197 (scalbln_test_data): Likewise.
2198 (signbit_test_data): Likewise.
2199 (sqrt_test_data): Likewise.
2200 (significand_test_data): Likewise.
2201
48a18de1
SP
22022013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2203
2204 [BZ #15424]
2205 * benchtests/bench-modf.c (struct args): Mark arg0 as
2206 volatile.
2207 * scripts/bench.pl: Mark members of struct args as volatile.
2208
13d3b41a
AZ
22092013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2210
68191c1d 2211 [BZ # 15497]
13d3b41a
AZ
2212 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2213 negative infinity on POWER6 or lower.
2214 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2215
2848b105
MR
22162013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2217
2218 [BZ #15442]
2219 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2220 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2221 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2222 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2223 (_FP_SETQNAN): New macro.
2224 (_FP_SETQNAN_SEMIRAW): Likewise.
2225 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2226 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2227 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2228 (FP_EXTEND): Use _FP_FRAC_SNANP.
2229 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2230 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2231 into account.
2232 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2233 New macro.
2234 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2235 Likewise.
2236
323e5cb7
JM
22372013-05-16 Joseph Myers <joseph@codesourcery.com>
2238
c58b274f
JM
2239 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2240 with DIVIDE_BY_ZERO_EXCEPTION.
2241 (gamma_test_data): Likewise.
2242 (lgamma_test_data): Likewise.
2243 (log_test_data): Likewise.
2244 (log10_test_data): Likewise.
2245 (log2_test_data): Likewise.
2246 (tgamma_test_data): Likewise.
2247
0ab34904
JM
2248 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2249 (acos_test_tonearest): Likewise.
2250 (acos_test_towardzero): Likewise.
2251 (acos_test_downward): Likewise.
2252 (acos_test_upward): Likewise.
2253 (acosh_test): Likewise.
2254 (asin_test): Likewise.
2255 (asin_test_tonearest): Likewise.
2256 (asin_test_towardzero): Likewise.
2257 (asin_test_downward): Likewise.
2258 (asin_test_upward): Likewise.
2259 (asinh_test): Likewise.
2260 (atan_test): Likewise.
2261 (atanh_test): Likewise.
2262 (atan2_test): Likewise.
2263 (cabs_test): Likewise.
2264 (cacos_test): Likewise.
2265 (cacosh_test): Likewise.
2266 (casin_test): Likewise.
2267 (casinh_test): Likewise.
2268 (catan_test): Likewise.
2269 (catanh_test): Likewise.
2270 (cbrt_test): Likewise.
2271 (ccos_test): Likewise.
2272 (ccosh_test): Likewise.
2273 (cexp_test): Likewise.
2274 (clog_test): Likewise.
2275 (clog10_test): Likewise.
2276 (cos_test): Likewise.
2277 (cos_test_tonearest): Likewise.
2278 (cos_test_towardzero): Likewise.
2279 (cos_test_downward): Likewise.
2280 (cos_test_upward): Likewise.
2281 (cosh_test): Likewise.
2282 (cosh_test_tonearest): Likewise.
2283 (cosh_test_towardzero): Likewise.
2284 (cosh_test_downward): Likewise.
2285 (cosh_test_upward): Likewise.
2286 (cpow_test): Likewise.
2287 (csin_test): Likewise.
2288 (csinh_test): Likewise.
2289 (csqrt_test): Likewise.
2290 (ctan_test): Likewise.
2291 (ctan_test_tonearest): Likewise.
2292 (ctan_test_towardzero): Likewise.
2293 (ctan_test_downward): Likewise.
2294 (ctan_test_upward): Likewise.
2295 (ctanh_test): Likewise.
2296 (ctanh_test_tonearest): Likewise.
2297 (ctanh_test_towardzero): Likewise.
2298 (ctanh_test_downward): Likewise.
2299 (ctanh_test_upward): Likewise.
2300 (erf_test): Likewise.
2301 (erfc_test): Likewise.
2302 (exp_test): Likewise.
2303 (exp_test_tonearest): Likewise.
2304 (exp_test_towardzero): Likewise.
2305 (exp_test_downward): Likewise.
2306 (exp_test_upward): Likewise.
2307 (exp10_test): Likewise.
2308 (exp2_test): Likewise.
2309 (expm1_test): Likewise.
2310 (fmod_test): Likewise.
2311 (gamma_test): Likewise.
2312 (hypot_test): Likewise.
2313 (j0_test): Likewise.
2314 (j1_test): Likewise.
2315 (jn_test): Likewise.
2316 (lgamma_test): Likewise.
2317 (log_test): Likewise.
2318 (log10_test): Likewise.
2319 (log1p_test): Likewise.
2320 (log2_test): Likewise.
2321 (logb_test_downward): Likewise.
2322 (pow_test): Likewise.
2323 (pow_test_tonearest): Likewise.
2324 (pow_test_towardzero): Likewise.
2325 (pow_test_downward): Likewise.
2326 (pow_test_upward): Likewise.
2327 (remainder_test): Likewise.
2328 (remquo_test): Likewise.
2329 (sin_test): Likewise.
2330 (sin_test_tonearest): Likewise.
2331 (sin_test_towardzero): Likewise.
2332 (sin_test_downward): Likewise.
2333 (sin_test_upward): Likewise.
2334 (sincos_test): Likewise.
2335 (sinh_test): Likewise.
2336 (sinh_test_tonearest): Likewise.
2337 (sinh_test_towardzero): Likewise.
2338 (sinh_test_downward): Likewise.
2339 (sinh_test_upward): Likewise.
2340 (sqrt_test): Likewise.
2341 (tan_test): Likewise.
2342 (tan_test_tonearest): Likewise.
2343 (tan_test_towardzero): Likewise.
2344 (tan_test_downward): Likewise.
2345 (tan_test_upward): Likewise.
2346 (tanh_test): Likewise.
2347 (tgamma_test): Likewise.
2348 (y0_test): Likewise.
2349 (y1_test): Likewise.
2350 (yn_test): Likewise.
2351
323e5cb7
JM
2352 * math/gen-libm-test.pl (adjust_arg): Remove function.
2353 (special_function): Remove argument $in_func. Only handle
2354 generating output for tables of tests, not inside functions.
2355 (parse_args): Likewise.
2356 (generate_testfile): Remove variable $in_func. Update call to
2357 parse_args.
2358 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2359 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2360 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2361 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2362 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2363 (MAX_VALUE_INIT): Rename macro to max_value.
2364 (MIN_VALUE_INIT): Rename macro to min_value.
2365 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2366 (plus_zero): Remove variable.
2367 (minus_zero): Likewise.
2368 (plus_infty): Likewise.
2369 (minus_infty): Likewise.
2370 (qnan_value): Likewise.
2371 (max_value): Likewise.
2372 (min_value): Likewise.
2373 (min_subnorm_value): Likewise.
2374
e054f494
RA
23752013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2376
2377 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2378 uint64_t or uint32_t usage.
2379 * crypt/sha256-block.c: Likewise.
2380 * crypt/sha256-crypt.c: Likewise.
2381 * crypt/sha256.c: Likewise.
2382 * crypt/sha512-block.c: Likewise.
2383 * crypt/sha512-crypt.c: Likewise.
2384 * crypt/sha512.c: Likewise.
2385 * debug/backtrace-tst.c: Likewise.
2386 * debug/pcprofiledump.c: Likewise.
2387 * elf/cache.c: Likewise.
2388 * elf/dl-cache.c: Likewise.
2389 * elf/dl-misc.c: Likewise.
2390 * elf/dl-profile.c: Likewise.
2391 * elf/dl-support.c: Likewise.
2392 * elf/ldconfig.c: Likewise.
2393 * elf/sprof.c: Likewise.
2394 * iconv/dummy-repertoire.c: Likewise.
2395 * iconv/iconv_charmap.c: Likewise.
2396 * iconv/skeleton.c: Likewise.
2397 * iconvdata/8bit-generic.c: Likewise.
2398 * iconvdata/cp737.h: Likewise.
2399 * iconvdata/cp775.h: Likewise.
2400 * iconvdata/ibm1008.h: Likewise.
2401 * iconvdata/ibm1025.h: Likewise.
2402 * iconvdata/ibm1046.h: Likewise.
2403 * iconvdata/ibm1097.h: Likewise.
2404 * iconvdata/ibm1112.h: Likewise.
2405 * iconvdata/ibm1122.h: Likewise.
2406 * iconvdata/ibm1123.h: Likewise.
2407 * iconvdata/ibm1124.h: Likewise.
2408 * iconvdata/ibm1129.h: Likewise.
2409 * iconvdata/ibm1130.h: Likewise.
2410 * iconvdata/ibm1132.h: Likewise.
2411 * iconvdata/ibm1133.h: Likewise.
2412 * iconvdata/ibm1137.h: Likewise.
2413 * iconvdata/ibm1140.h: Likewise.
2414 * iconvdata/ibm1141.h: Likewise.
2415 * iconvdata/ibm1142.h: Likewise.
2416 * iconvdata/ibm1143.h: Likewise.
2417 * iconvdata/ibm1144.h: Likewise.
2418 * iconvdata/ibm1145.h: Likewise.
2419 * iconvdata/ibm1146.h: Likewise.
2420 * iconvdata/ibm1147.h: Likewise.
2421 * iconvdata/ibm1148.h: Likewise.
2422 * iconvdata/ibm1149.h: Likewise.
2423 * iconvdata/ibm1153.h: Likewise.
2424 * iconvdata/ibm1154.h: Likewise.
2425 * iconvdata/ibm1155.h: Likewise.
2426 * iconvdata/ibm1156.h: Likewise.
2427 * iconvdata/ibm1157.h: Likewise.
2428 * iconvdata/ibm1158.h: Likewise.
2429 * iconvdata/ibm1160.h: Likewise.
2430 * iconvdata/ibm1161.h: Likewise.
2431 * iconvdata/ibm1162.h: Likewise.
2432 * iconvdata/ibm1163.h: Likewise.
2433 * iconvdata/ibm1164.h: Likewise.
2434 * iconvdata/ibm1166.h: Likewise.
2435 * iconvdata/ibm1167.h: Likewise.
2436 * iconvdata/ibm12712.h: Likewise.
2437 * iconvdata/ibm1390.h: Likewise.
2438 * iconvdata/ibm1399.h: Likewise.
2439 * iconvdata/ibm16804.h: Likewise.
2440 * iconvdata/ibm4517.h: Likewise.
2441 * iconvdata/ibm4899.h: Likewise.
2442 * iconvdata/ibm4909.h: Likewise.
2443 * iconvdata/ibm4971.h: Likewise.
2444 * iconvdata/ibm5347.h: Likewise.
2445 * iconvdata/ibm803.h: Likewise.
2446 * iconvdata/ibm856.h: Likewise.
2447 * iconvdata/ibm901.h: Likewise.
2448 * iconvdata/ibm902.h: Likewise.
2449 * iconvdata/ibm9030.h: Likewise.
2450 * iconvdata/ibm9066.h: Likewise.
2451 * iconvdata/ibm921.h: Likewise.
2452 * iconvdata/ibm922.h: Likewise.
2453 * iconvdata/ibm9448.h: Likewise.
2454 * iconvdata/isiri-3342.h: Likewise.
2455 * iconvdata/jis0201.h: Likewise.
2456 * include/link.h: Likewise.
2457 * include/netdb.h: Likewise.
2458 * inet/check_native.c: Likewise.
2459 * inet/check_pf.c: Likewise.
2460 * inet/getipv4sourcefilter.c: Likewise.
2461 * inet/getnameinfo.c: Likewise.
2462 * inet/getsourcefilter.c: Likewise.
2463 * inet/htonl.c: Likewise.
2464 * inet/setipv4sourcefilter.c: Likewise.
2465 * inet/setsourcefilter.c: Likewise.
2466 * inet/test-inet6_opt.c: Likewise.
2467 * inet/tst-network.c: Likewise.
2468 * locale/C-collate.c: Likewise.
2469 * locale/C-ctype.c: Likewise.
2470 * locale/C-time.c: Likewise.
2471 * locale/C-translit.h: Likewise.
2472 * locale/loadarchive.c: Likewise.
2473 * locale/programs/3level.h: Likewise.
2474 * locale/programs/charmap.c: Likewise.
2475 * locale/programs/charmap.h: Likewise.
2476 * locale/programs/ld-address.c: Likewise.
2477 * locale/programs/ld-collate.c: Likewise.
2478 * locale/programs/ld-ctype.c: Likewise.
2479 * locale/programs/ld-identification.c: Likewise.
2480 * locale/programs/ld-measurement.c: Likewise.
2481 * locale/programs/ld-messages.c: Likewise.
2482 * locale/programs/ld-monetary.c: Likewise.
2483 * locale/programs/ld-name.c: Likewise.
2484 * locale/programs/ld-numeric.c: Likewise.
2485 * locale/programs/ld-paper.c: Likewise.
2486 * locale/programs/ld-telephone.c: Likewise.
2487 * locale/programs/ld-time.c: Likewise.
2488 * locale/programs/linereader.c: Likewise.
2489 * locale/programs/locale.c: Likewise.
2490 * locale/programs/locarchive.c: Likewise.
2491 * locale/programs/locfile.h: Likewise.
2492 * locale/programs/repertoire.c: Likewise.
2493 * locale/programs/simple-hash.c: Likewise.
2494 * locale/programs/simple-hash.h: Likewise.
2495 * malloc/memusage.c: Likewise.
2496 * malloc/memusagestat.c: Likewise.
2497 * nis/nis_defaults.c: Likewise.
2498 * nis/nis_hash.c: Likewise.
2499 * nis/nis_print.c: Likewise.
2500 * nis/nis_xdr.c: Likewise.
2501 * nscd/connections.c: Likewise.
2502 * nscd/hstcache.c: Likewise.
2503 * nscd/nscd_gethst_r.c: Likewise.
2504 * nscd/nscd_getserv_r.c: Likewise.
2505 * nscd/nscd_helper.c: Likewise.
2506 * nscd/servicescache.c: Likewise.
2507 * nss/makedb.c: Likewise.
2508 * nss/nss_db/db-XXX.c: Likewise.
2509 * nss/nss_db/db-initgroups.c: Likewise.
2510 * nss/nss_db/db-netgrp.c: Likewise.
2511 * nss/nss_files/files-network.c: Likewise.
2512 * nss/nss_files/files-parse.c: Likewise.
2513 * posix/bug-regex5.c: Likewise.
2514 * posix/fnmatch_loop.c: Likewise.
2515 * posix/regcomp.c: Likewise.
2516 * posix/regexec.c: Likewise.
2517 * posix/tst-rfc3484-2.c: Likewise.
2518 * posix/tst-rfc3484-3.c: Likewise.
2519 * posix/tst-rfc3484.c: Likewise.
2520 * resolv/nss_dns/dns-canon.c: Likewise.
2521 * resolv/nss_dns/dns-network.c: Likewise.
2522 * resolv/res_init.c: Likewise.
2523 * resolv/res_mkquery.c: Likewise.
2524 * resolv/tst-aton.c: Likewise.
2525 * stdlib/cxa_atexit.c: Likewise.
2526 * stdlib/cxa_finalize.c: Likewise.
2527 * stdlib/gen-fpioconst.c: Likewise.
2528 * stdlib/strtol_l.c: Likewise.
2529 * string/tst-endian.c: Likewise.
2530 * sunrpc/auth_des.c: Likewise.
2531 * sunrpc/clnt_udp.c: Likewise.
2532 * sunrpc/rtime.c: Likewise.
2533 * sunrpc/svcauth_des.c: Likewise.
2534 * sunrpc/xdr.c: Likewise.
2535 * sunrpc/xdr_intXX_t.c: Likewise.
2536 * sunrpc/xdr_rec.c: Likewise.
2537 * sysdeps/generic/ldconfig.h: Likewise.
2538 * sysdeps/generic/ldsodefs.h: Likewise.
2539 * sysdeps/generic/memusage.h: Likewise.
2540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2541 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2542 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2543 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2546 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2548 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2549 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2550 * sysdeps/posix/getaddrinfo.c: Likewise.
2551 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2552 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2553 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2554 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2555 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2556 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2557 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2558 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2559 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2560 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2561 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2562 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2563 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2564 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2565 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2566 * sysdeps/x86_64/dl-tls.h: Likewise.
2567 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2568 * time/alt_digit.c: Likewise.
2569 * time/era.c: Likewise.
2570 * wcsmbs/tst-c16c32-1.c: Likewise.
2571
8c75f674
JM
25722013-05-16 Joseph Myers <joseph@codesourcery.com>
2573
2574 * math/libm-test.inc (struct test_sincos_data): New type.
2575 (RUN_TEST_LOOP_sincos): New macro.
2576 (sincos_test_data): New variable.
2577 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2578
e6e49e59
RH
25792013-05-16 Richard Henderson <rth@redhat.com>
2580
2581 * math/atest-exp2.c (LIMB64): New macro.
2582 (CONSTSZ): New macro.
2583 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2584 (hexdig): Move ...
2585 (print_mpn_fp): ... to function scope.
2586 (read_mpn_hex): Remove.
2587 (get_log2): Remove.
2588 (exp2_mpn): Use mp_log2.
2589 (main): Use mp_exp1.
2590
15c7c18d
JM
25912013-05-16 Joseph Myers <joseph@codesourcery.com>
2592
105a07df
JM
2593 * math/libm-test.inc: Remove comment about not testing "inexact"
2594 exceptions.
2595 (INEXACT_EXCEPTION): New macro.
2596 (NO_INEXACT_EXCEPTION): Likewise.
2597 (INVALID_EXCEPTION_OK): Update value.
2598 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2599 (OVERFLOW_EXCEPTION_OK): Likewise.
2600 (UNDERFLOW_EXCEPTION_OK): Likewise.
2601 (IGNORE_ZERO_INF_SIGN): Likewise.
2602 (ERRNO_UNCHANGED): Likewise.
2603 (ERRNO_EDOM): Likewise.
2604 (ERRNO_ERANGE): Likewise.
2605 (test_exceptions): Handle testing "inexact" exceptions.
2606 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2607 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2608 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2609 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2610 INEXACT_EXCEPTION.
2611 (rint_towardzero_test_data): Likewise.
2612 (rint_downward_test_data): Likewise.
2613 (rint_upward_test_data): Likewise.
2614
e9eee333
JM
2615 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2616 with OVERFLOW_EXCEPTION.
2617 (exp10_test_data): Likewise.
2618 (exp2_test_data): Likewise.
2619 (expm1_test_data): Likewise.
2620 (lgamma_test_data): Likewise.
2621 (pow_test_data): Likewise.
2622 (tgamma_test_data): Likewise.
2623 (yn_test_data): Remove duplicate test of overflow.
2624
1c38ff73
JM
2625 * math/libm-test.inc (struct test_cc_c_data): New type.
2626 (RUN_TEST_LOOP_cc_c): New macro.
2627 (cpow_test_data): New variable.
2628 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2629
15c7c18d
JM
2630 * math/libm-test.inc (struct test_f_L_data): New type.
2631 (RUN_TEST_LOOP_f_L): New macro.
2632 (llrint_test_data): New variable.
2633 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2634 (llrint_tonearest_test_data): New variable.
2635 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2636 (llrint_towardzero_test_data): New variable.
2637 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2638 (llrint_downward_test_data): New variable.
2639 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2640 (llrint_upward_test_data): New variable.
2641 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2642 (llround_test_data): New variable.
2643 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2644
f137ff13
PC
26452013-05-13 Peter Collingbourne <pcc@google.com>
2646
2647 * math/atest-exp2.c (get_log2): Remove const attribute.
2648
3608cb24
JM
26492013-05-15 Joseph Myers <joseph@codesourcery.com>
2650
2651 * math/libm-test.inc (struct test_f_l_data): New type.
2652 (RUN_TEST_LOOP_f_l): New macro.
2653 (lrint_test_data): New variable.
2654 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2655 (lrint_tonearest_test_data): New variable.
2656 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2657 (lrint_towardzero_test_data): New variable.
2658 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2659 (lrint_downward_test_data): New variable.
2660 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2661 (lrint_upward_test_data): New variable.
2662 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2663 (lround_test_data): New variable.
2664 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2665
39b1f617
PC
26662013-05-15 Peter Collingbourne <pcc@google.com>
2667
1deff3dc
PC
2668 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2669 (EXTRACT_WORDS64) Use where appropriate.
2670 (INSERT_WORDS64) Likewise.
2671
791f3ba0
PC
2672 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2673 constraints with x constraints.
2674 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2675
39b1f617
PC
2676 * malloc/obstack.c (_obstack_compat): Add initializer.
2677
12fba011
EM
26782013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2679
2680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2681 si_trapno and add si_addr_lsb to _sifields.sigfault.
2682 (si_trapno): Remove macro.
2683 (si_addr_lsb): Define new macro.
2684 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2685
d369f531
JM
26862013-05-15 Joseph Myers <joseph@codesourcery.com>
2687
b861c6c4
JM
2688 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2689 instead of TEST_f_l.
2690 (llrint_test_tonearest): Likewise.
2691 (llrint_test_towardzero): Likewise.
2692 (llrint_test_downward): Likewise.
2693 (llrint_test_upward): Likewise.
2694 (llround_test): Likewise.
2695
7abeee12
JM
2696 * math/libm-test.inc (struct test_f_i_data): Add comment.
2697 (RUN_TEST_LOOP_f_b): New macro.
2698 (RUN_TEST_LOOP_f_b_tg): Likewise.
2699 (finite_test_data): New variable.
2700 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2701 (isfinite_test_data): New variable.
2702 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2703 (isinf_test_data): New variable.
2704 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2705 (isnan_test_data): New variable.
2706 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2707 (isnormal_test_data): New variable.
2708 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2709 (issignaling_test_data): New variable.
2710 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2711 (signbit_test_data): New variable.
2712 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2713
cbe8c4d3
JM
2714 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2715 with INVALID_EXCEPTION.
2716 (acosh_test_data): Likewise.
2717 (asin_test_data): Likewise.
2718 (atanh_test_data): Likewise.
2719 (fmod_test_data): Likewise.
2720 (log_test_data): Likewise.
2721 (log10_test_data): Likewise.
2722 (log2_test_data): Likewise.
2723 (pow_test_data): Likewise.
2724 (sqrt_test_data): Likewise.
2725 (y0_test_data): Likewise.
2726 (y1_test_data): Likewise.
2727 (yn_test_data): Likewise.
2728
5575c0e5
JM
2729 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2730 function contents.
2731
d369f531
JM
2732 * math/libm-test.inc (struct test_ff_i_data): New type.
2733 (RUN_TEST_LOOP_ff_i_tg): New macro.
2734 (isgreater_test_data): New variable.
2735 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2736 (isgreaterequal_test_data): New variable.
2737 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2738 (isless_test_data): New variable.
2739 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2740 (islessequal_test_data): New variable.
2741 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2742 (islessgreater_test_data): New variable.
2743 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2744 (isunordered_test_data): New variable.
2745 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2746
781fd748
DM
27472013-05-14 David S. Miller <davem@davemloft.net>
2748
2749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2750
87aa21df
JM
27512013-05-14 Joseph Myers <joseph@codesourcery.com>
2752
5e908270
JM
2753 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2754
f71172e5
JM
2755 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2756 extra_test to int.
2757 (struct test_f_i_data): Change type of max_ulp to int.
2758
8cfa635a
JM
2759 * math/libm-test.inc (test_ffI_f1_data): New type.
2760 (RUN_TEST_LOOP_ffI_f1): New macro.
2761 (remquo_test_data): New variable.
2762 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2763
2bcb36b2
JM
2764 * setjmp/tst-setjmp-fp.c: New file.
2765 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2766 (link-libm): New variable.
2767 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2768
acbd839a
JM
2769 * math/libm-test.inc (struct test_f_i_data): New type.
2770 (RUN_TEST_LOOP_f_i): New macro.
2771 (RUN_TEST_LOOP_f_i_tg): Likewise.
2772 (fpclassify_test_data): New variable.
2773 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2774 (ilogb_test_data): New variable.
2775 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2776
e414d745
JM
2777 * math/libm-test.inc (scalbln_test): Correct function name in END
2778 call.
2779
d9c2a0fd
JM
2780 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2781 (RUN_TEST_LOOP_fI_f1): New macro.
2782 (frexp_test_data): New variable.
2783 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2784
9dc9095d
JM
2785 * math/libm-test.inc (struct test_fF_f1_data): New type.
2786 (RUN_TEST_LOOP_fF_f1): New macro.
2787 (modf_test_data): New variable.
2788 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2789
87aa21df
JM
2790 * math/libm-test.inc (struct test_f_f1_data): New type.
2791 (RUN_TEST_LOOP_f_f1): New macro.
2792 (gamma_test_data): New variable.
2793 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2794 (lgamma_test_data): New variable.
2795 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2796
141af660
CD
27972013-05-13 Carlos O'Donell <carlos@redhat.com>
2798
2799 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2800 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2801 (main): Comment "tls" pseudo-hwcap.
2802
6d33265c
JM
28032013-05-13 Joseph Myers <joseph@codesourcery.com>
2804
68fc074c
JM
2805 * math/libm-test.inc (struct test_fl_f_data): New type.
2806 (RUN_TEST_LOOP_fl_f): New variable.
2807 (scalbln_test_data): New variable.
2808 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2809
243216e1
JM
2810 * math/libm-test.inc (struct test_fi_f_data): New type.
2811 (RUN_TEST_LOOP_fi_f): New macro.
2812 (ldexp_test_data): New variable.
2813 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2814 (scalbn_test_data): New variable.
2815 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2816
6a1992e2
JM
2817 * math/libm-test.inc (struct test_c_f_data): New type.
2818 (RUN_TEST_LOOP_c_f): New macro.
2819 (cabs_test_data): New variable.
2820 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2821 (carg_test_data): New variable.
2822 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2823 (cimag_test_data): New variable.
2824 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2825 (creal_test_data): New variable.
2826 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2827
0e400df5
JM
2828 * math/libm-test.inc (struct test_if_f_data): New type.
2829 (RUN_TEST_LOOP_if_f): New macro.
2830 (jn_test_data): New variable.
2831 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2832 (yn_test_data): New variable.
2833 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2834
6d33265c
JM
2835 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2836
f98ece5f
AZ
28372013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2838
2839 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2840 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2841
0f7d347b
SP
28422013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2843
43fe811b
SP
2844 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2845 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2846 (bench-deps): Add bench-timing.h.
2847 * benchtests-bench-skeleton.c: Include bench-timing.h.
2848 (main): Use TIMING_* macros instead of clock_gettime.
2849 * benchtests/bench-timing.h: New file.
2850
0f7d347b
SP
2851 [BZ #14582]
2852 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2853 Renamed from _LIB_VERSION.
2854 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2855
601a3a5f
JM
28562013-05-12 Joseph Myers <joseph@codesourcery.com>
2857
4f184d30
JM
2858 * math/libm-test.inc (struct test_fff_f_data): New type.
2859 (RUN_TEST_LOOP_fff_f): New macro.
2860 (fma_test_data): New variable.
2861 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2862 (fma_towardzero_test_data): New variable.
2863 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2864 (fma_downward_test_data): New variable.
2865 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2866 (fma_upward_test_data): New variable.
2867 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2868
08198877
JM
2869 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2870 (struct test_c_c_data): New type.
2871 (RUN_TEST_LOOP_c_c): New macro.
2872 (cacos_test_data): New variable.
2873 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2874 (cacosh_test_data): New variable.
2875 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2876 (casin_test_data): New variable.
2877 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2878 (casinh_test_data): New variable.
2879 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2880 (catan_test_data): New variable.
2881 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2882 (catanh_test_data): New variable.
2883 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2884 (ccos_test_data): New variable.
2885 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2886 (ccosh_test_data): New variable.
2887 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2888 (cexp_test_data): New variable.
2889 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2890 (clog_test_data): New variable.
2891 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2892 (clog10_test_data): New variable.
2893 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2894 (conj_test_data): New variable.
2895 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2896 (cproj_test_data): New variable.
2897 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2898 (csin_test_data): New variable.
2899 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2900 (csinh_test_data): New variable.
2901 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2902 (csqrt_test_data): New variable.
2903 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2904 (ctan_test_data): New variable.
2905 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2906 (ctan_tonearest_test_data): New variable.
2907 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2908 (ctan_towardzero_test_data): New variable.
2909 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2910 (ctan_downward_test_data): New variable.
2911 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2912 (ctan_upward_test_data): New variable.
2913 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2914 (ctanh_test_data): New variable.
2915 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2916 (ctanh_tonearest_test_data): New variable.
2917 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2918 (ctanh_towardzero_test_data): New variable.
2919 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2920 (ctanh_downward_test_data): New variable.
2921 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2922 (ctanh_upward_test_data): New variable.
2923 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2924 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2925 of BUILD_COMPLEX.
2926
601a3a5f
JM
2927 * math/libm-test.inc (struct test_ff_f_data): New type.
2928 (struct test_ff_f_data_nexttoward): Likewise.
2929 (RUN_TEST_LOOP_2_f): New macro.
2930 (RUN_TEST_LOOP_ff_f): Likewise.
2931 (atan2_test_data): New variable.
2932 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2933 (copysign_test_data): New variable.
2934 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2935 (fdim_test_data): New variable.
2936 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2937 (fmax_test_data): New variable.
2938 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2939 (fmin_test_data): New variable.
2940 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2941 (fmod_test_data): New variable.
2942 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2943 (hypot_test_data): New variable.
2944 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2945 (nextafter_test_data): New variable.
2946 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2947 (nexttoward_test_data): New variable.
2948 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2949 (pow_test_data): New variable.
2950 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2951 (pow_tonearest_test_data): New variable.
2952 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2953 (pow_towardzero_test_data): New variable.
2954 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2955 (pow_downward_test_data): New variable.
2956 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2957 (pow_upward_test_data): New variable.
2958 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2959 (remainder_test_data): New variable.
2960 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2961 (scalb_test_data): New variable.
2962 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2963 * sysdeps/i386/fpu/libm-test-ulps: Update.
2964
74c57478
JM
29652013-05-11 Joseph Myers <joseph@codesourcery.com>
2966
8329e4da
JM
2967 * math/libm-test.inc (fma_test): Use max_value instead of local
2968 variable fltmax.
2969 (nextafter_test): Likewise.
2970
74c57478
JM
2971 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2972 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2973 (acos_downward_test_data): New variable.
2974 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2975 (acos_upward_test_data): New variable.
2976 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2977 (acosh_test_data): New variable.
2978 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2979 (asin_test_data): New variable.
2980 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2981 (asin_tonearest_test_data): New variable.
2982 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2983 (asin_towardzero_test_data): New variable.
2984 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2985 (asin_downward_test_data): New variable.
2986 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2987 (asin_upward_test_data): New variable.
2988 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2989 (asinh_test_data): New variable.
2990 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2991 (atan_test_data): New variable.
2992 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2993 (atanh_test_data): New variable.
2994 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2995 (cbrt_test_data): New variable.
2996 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2997 (ceil_test_data): New variable.
2998 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2999 (cos_test_data): New variable.
3000 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3001 (cos_tonearest_test_data): New variable.
3002 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3003 (cos_towardzero_test_data): New variable.
3004 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3005 (cos_downward_test_data): New variable.
3006 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3007 (cos_upward_test_data): New variable.
3008 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3009 (cosh_test_data): New variable.
3010 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3011 (cosh_tonearest_test_data): New variable.
3012 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3013 (cosh_towardzero_test_data): New variable.
3014 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3015 (cosh_downward_test_data): New variable.
3016 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3017 (cosh_upward_test_data): New variable.
3018 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3019 (erf_test_data): New variable.
3020 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3021 (erfc_test_data): New variable.
3022 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3023 (exp_test_data): New variable.
3024 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3025 (exp_tonearest_test_data): New variable.
3026 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3027 (exp_towardzero_test_data): New variable.
3028 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3029 (exp_downward_test_data): New variable.
3030 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3031 (exp_upward_test_data): New variable.
3032 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3033 (exp10_test_data): New variable.
3034 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3035 (exp2_test_data): New variable.
3036 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3037 (expm1_test_data): New variable.
3038 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3039 (fabs_test_data): New variable.
3040 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3041 (floor_test_data): New variable.
3042 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3043 (j0_test_data): New variable.
3044 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3045 (j1_test_data): New variable.
3046 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3047 (log_test_data): New variable.
3048 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3049 (log10_test_data): New variable.
3050 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3051 (log1p_test_data): New variable.
3052 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3053 (log2_test_data): New variable.
3054 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3055 (logb_test_data): New variable.
3056 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3057 (logb_downward_test_data): New variable.
3058 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3059 (nearbyint_test_data): New variable.
3060 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3061 (rint_test_data): New variable.
3062 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3063 (rint_tonearest_test_data): New variable.
3064 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3065 (rint_towardzero_test_data): New variable.
3066 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3067 (rint_downward_test_data): New variable.
3068 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3069 (rint_upward_test_data): New variable.
3070 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3071 (round_test_data): New variable.
3072 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3073 (sin_test_data): New variable.
3074 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3075 (sin_tonearest_test_data): New variable.
3076 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3077 (sin_towardzero_test_data): New variable.
3078 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3079 (sin_downward_test_data): New variable.
3080 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3081 (sin_upward_test_data): New variable.
3082 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3083 (sinh_test_data): New variable.
3084 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3085 (sinh_tonearest_test_data): New variable.
3086 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3087 (sinh_towardzero_test_data): New variable.
3088 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3089 (sinh_downward_test_data): New variable.
3090 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3091 (sinh_upward_test_data): New variable.
3092 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3093 (sqrt_test_data): New variable.
3094 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3095 (tan_test_data): New variable.
3096 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3097 (tan_tonearest_test_data): New variable.
3098 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3099 (tan_towardzero_test_data): New variable.
3100 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3101 (tan_downward_test_data): New variable.
3102 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3103 (tan_upward_test_data): New variable.
3104 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3105 (tanh_test_data): New variable.
3106 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3107 (tgamma_test_data): New variable.
3108 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3109 (trunc_test_data): New variable.
3110 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3111 (y0_test_data): New variable.
3112 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3113 (y1_test_data): New variable.
3114 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3115 (significand_test_data): New variable.
3116 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3117
7187d844
CG
31182013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3119
3120 [BZ #12387]
3121 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3122
f63fae73
PT
31232013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3124
3125 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3126
8a67a4b3
AJ
31272013-05-10 Andreas Jaeger <aj@suse.de>
3128
3129 [BZ #15448]
3130 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3131 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3132
51df539d
JM
31332013-05-10 Joseph Myers <joseph@codesourcery.com>
3134
3135 * math/gen-libm-test.pl (adjust_arg): New function.
3136 (special_functions): Handle generating output in both functions
3137 and arrays.
3138 (parse_args): Likewise.
3139 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3140 $in_func argument to parse_args.
3141 * math/libm-test.inc (struct test_f_f_data): New type.
3142 (IF_ROUND_INIT_): New macro.
3143 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3144 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3145 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3146 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3147 (ROUND_RESTORE_): Likewise.
3148 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3149 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3150 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3151 (ROUND_RESTORE_FE_UPWARD): Likewise.
3152 (RUN_TEST_LOOP_f_f): New macro.
3153 (acos_test_data): New variable.
3154 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3155 (acos_tonearest_test_data): New variable.
3156 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3157
5c637fe5
SP
31582013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3159
3160 * benchtests/bench-skeleton.c (startup): Fix coding style.
3161
ab2b9461
JM
31622013-05-10 Joseph Myers <joseph@codesourcery.com>
3163
3164 [BZ #6809]
3165 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3166 negative infinity argument.
3167 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3168 negative infinity argument.
3169 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3170 negative infinity argument.
3171 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3172 domain errors.
3173
4c0fe6fe
FW
31742013-05-10 Florian Weimer <fweimer@redhat.com>
3175
3176 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3177 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3178 * iconv/iconv_prog.c (main): Likewise.
3179 * locale/programs/charmap-dir.c (charmap_readdir)
3180 (fopen_uncompressed): Likewise.
3181 * locale/programs/locfile.c (siblings_uncached)
3182 (write_locale_data): Use lstat64 instead of lstat.
3183 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3184 stat.
3185
a3375d29
AJ
31862013-05-10 Andreas Jaeger <aj@suse.de>
3187
3188 [BZ #15395]
3189 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3190 localization.
3191 Include <locale.h>.
3192
36129722
CD
31932013-05-09 Carlos O'Donell <carlos@redhat.com>
3194
3195 * elf/dl-close.c (_dl_close_worker): Add comments.
3196
faa7f811
JM
31972013-05-09 Joseph Myers <joseph@codesourcery.com>
3198
ed41ffef
JM
3199 [BZ #15359]
3200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3201 high part of pi/2.
3202 (__ieee754_rem_pio2l): Update comments.
3203
d0213cd0
JM
3204 [BZ #15429]
3205 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3206 high part of pi/2.
3207 (__ieee754_rem_pio2l): Update comments.
3208
0d3e777a
JM
3209 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3210 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3211
24f56066
JM
3212 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3213 M_PI_4l.
3214
faa7f811
JM
3215 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3216 (M_PI_34_LOG10El): Likewise.
3217 (M_PI2_LOG10El): Likewise.
3218 (M_PI4_LOG10El): Likewise.
3219 (M_PI_LOG10El): Likewise.
3220
e9a5e0fd
AZ
32212013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3222
3223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3224
d8cd06db
JM
32252013-05-08 Joseph Myers <joseph@codesourcery.com>
3226
a0d9f9d7
JM
3227 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3228 (MINUS_ZERO_INIT): Likewise.
3229 (PLUS_INFTY_INIT): Likewise.
3230 (MINUS_INFTY_INIT): Likewise.
3231 (QNAN_VALUE_INIT): Likewise.
3232 (MAX_VALUE_INIT): Likewise.
3233 (MIN_VALUE_INIT): Likewise.
3234 (MIN_SUBNORM_VALUE_INIT): Likewise.
3235 (plus_zero): Initialize with PLUS_ZERO_INIT.
3236 (minus_zero): Initialize with MINUS_ZERO_INIT.
3237 (plus_infty): Initialize with PLUS_INFTY_INIT.
3238 (minus_infty): Initialize with MINUS_INFTY_INIT.
3239 (qnan_value): Initialize with QNAN_VALUE_INIT.
3240 (max_value): Initialize with MAX_VALUE_INIT.
3241 (min_value): Initialize with MIN_VALUE_INIT.
3242 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3243
ae08db3b
JM
3244 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3245 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3246 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3247 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3248
f44bf14a
JM
3249 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3250 (RUN_TEST_2_f): Likewise.
3251 (RUN_TEST_ff_f): Likewise.
3252 (RUN_TEST_fi_f): Likewise.
3253 (RUN_TEST_fl_f): Likewise.
3254 (RUN_TEST_fff_f): Likewise.
3255 (RUN_TEST_c_f): Likewise.
3256 (RUN_TEST_f_f1): Likewise.
3257 (RUN_TEST_fF_f1): Likewise.
3258 (RUN_TEST_fI_f1): Likewise.
3259 (RUN_TEST_ffI_f1): Likewise.
3260 (RUN_TEST_c_c): Likewise.
3261 (RUN_TEST_cc_c): Likewise.
3262 (RUN_TEST_f_i): Likewise.
3263 (RUN_TEST_f_i_tg): Likewise.
3264 (RUN_TEST_ff_i_tg): Likewise.
3265 (RUN_TEST_f_b): Likewise.
3266 (RUN_TEST_f_b_tg): Likewise.
3267 (RUN_TEST_f_l): Likewise.
3268 (RUN_TEST_f_L): Likewise.
3269 (RUN_TEST_sincos): Likewise.
3270 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3271 whether to show exceptions. Do not include ");\n" in return
3272 value.
3273 (special_functions): Output call to RUN_TEST_sincos instead of
3274 check_float calls. Update calls to new_test.
3275 (parse_args): Output call to single RUN_TEST_* macro instead of
3276 check_* calls and other assignments. Update calls to new_test.
3277
d8cd06db
JM
3278 [BZ #2546]
3279 [BZ #2560]
3280 [BZ #5159]
3281 [BZ #15426]
3282 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3283 input to result for tgamma overflow.
3284 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3285 (gamma_coeff): New variable.
3286 (NCOEFF): New macro.
3287 (gamma_positive): New function.
3288 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3289 underflow here. Use gamma_positive instead of exp (lgamma) for
3290 other arguments.
3291 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3292 (gamma_coeff): New variable.
3293 (NCOEFF): New macro.
3294 (gammaf_positive): New function.
3295 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3296 underflow here. Use gamma_positive instead of exp (lgamma) for
3297 other arguments.
3298 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3299 (gamma_coeff): New variable.
3300 (NCOEFF): New macro.
3301 (gammal_positive): New function.
3302 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3303 underflow here. Use gamma_positive instead of exp (lgamma) for
3304 other arguments.
3305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3306 (gamma_coeff): New variable.
3307 (NCOEFF): New macro.
3308 (gammal_positive): New function.
3309 (__ieee754_gammal_r): Handle positive infinity, overflow and
3310 underflow here. Handle NaN the same as positive infinity. Remove
3311 check x < 0xffffffff for negative integers. Use gamma_positive
3312 instead of exp (lgamma) for other arguments.
3313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3314 (gamma_coeff): New variable.
3315 (NCOEFF): New macro.
3316 (gammal_positive): New function.
3317 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3318 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3322 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3323 * sysdeps/generic/math_private.h (__gamma_productf): New
3324 prototype.
3325 (__gamma_product): Likewise.
3326 (__gamma_productl): Likewise.
3327 * math/Makefile (libm-calls): Add gamma_product.
3328 * math/libm-test.inc (tgamma_test): Add more tests.
3329 * sysdeps/i386/fpu/libm-test-ulps: Update.
3330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3331
bb7cf681
OB
33322013-05-08 Ondřej Bílka <neleai@seznam.cz>
3333
3334 * benchtests/bench-skeleton.c (main): Preheat CPU.
3335
ba853947
AJ
33362013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3337
3338 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3339
8347c74c
RM
33402013-05-07 Roland McGrath <roland@hack.frob.com>
3341
3342 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3343 and _dl_skip_args_internal.
3344
e8dd4791
CD
33452013-05-07 Carlos O'Donell <carlos@redhat.com>
3346
3347 * manual/message.texi (Message Translation): Talk about users.
3348 Message to key mapping impacts design.
3349
c7405830
RM
33502013-05-06 Roland McGrath <roland@hack.frob.com>
3351
a9173057
RM
3352 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3353
976e2f03
RM
3354 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3355
9723ffc5
RM
3356 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3357 * sysdeps/wordsize-64/glob64.c: ... here.
3358
962e6658
RM
3359 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3360 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3361 New macros.
3362
ee586a6d
RM
3363 * debug/getlogin_r_chk.c: Moved to ...
3364 * login/getlogin_r_chk.c: ... here.
3365 * debug/Makefile (routines): Move getlogin_r_chk to ...
3366 * login/Makefile (routines): ... here.
3367 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3368 * login/Versions (libc: GLIBC_2.4): ... here.
3369
355f9165
RM
3370 * io/poll.c (__poll): Renamed from poll.
3371 Add libc_hidden_def.
3372 (poll): Define as weak alias.
3373
bd9ffde6
RM
3374 * debug/ptsname_r_chk.c: Moved to ...
3375 * login/ptsname_r_chk.c: ... here.
3376 * debug/Makefile (routines): Move ptsname_r_chk to ...
3377 * login/Makefile (routines): ... here.
3378 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3379 * login/Versions (libc: GLIBC_2.4): ... here.
3380
8fb16a04
RM
3381 * posix/getlogin.c: Moved to ...
3382 * login/getlogin.c: ... here.
3383 * posix/getlogin_r.c: Moved to ...
3384 * login/getlogin_r.c: ... here.
3385 * posix/getlogin_r.c: Moved to ...
3386 * login/getlogin_r.c: ... here.
3387 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3388 * login/Makefile (routines): ... here.
3389 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3390 * login/Versions (libc: GLIBC_2.0): ... here.
3391
b99b892f
RM
3392 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3393 (setrlimit): Define as weak alias.
3394
c7405830
RM
3395 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3396 Call __ names for open, ftruncate, and close.
3397 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3398 (truncate): Define as weak alias.
3399
5bf96de5
JM
34002013-05-06 Joseph Myers <joseph@codesourcery.com>
3401
9ea3513c
JM
3402 * math/gen-libm-test.pl (parse_args): Initialize x before each
3403 test of frexp, modf and remquo.
3404
5bf96de5
JM
3405 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3406 test signgam value.
3407
16e616a7
AZ
34082013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3409
3410 [BZ #15418]
3411 [BZ #15419]
3412 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3413 internal tests.
3414 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3415
d5e82754
RM
34162013-05-06 Roland McGrath <roland@hack.frob.com>
3417
3418 * elf/dl-writev.h: New file.
3419 * elf/dl-misc.c: Include it.
3420 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3421 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3422
a7548d41
JM
34232013-05-04 Joseph Myers <joseph@codesourcery.com>
3424
b7dab1e4
JM
3425 * math/libm-test.inc (noXFails): Remove variable.
3426 (noXPasses): Likewise.
3427 (BUILD_COMPLEX_INT): Remove macro.
3428 (print_screen): Remove xfail argument.
3429 (print_screen_max_error): Likewise.
3430 (update_stats): Likewise.
3431 (print_max_error): Likewise. Update calls to other affected
3432 functions.
3433 (print_complex_max_error): Likewise.
3434 (test_single_exception): Update calls to print_screen.
3435 (test_single_errno): Likewise.
3436 (check_float_internal): Remove xfail argument. Update calls to
3437 other affected functions.
3438 (check_float): Likewise.
3439 (check_complex): Likewise.
3440 (check_int): Likewise.
3441 (check_long): Likewise.
3442 (check_bool): Likewise.
3443 (check_longlong): Likewise.
3444 (main): Don't print noXFails and noXPasses.
3445 * math/gen-libm-test.pl (top level): Don't mention expected
3446 failure handling in comment.
3447 (new_test): Don't handle expected failures.
3448 (parse_args): Don't mention expected failure handling in comment.
3449 (generate_testfile): Don't handle expected failures.
3450 (parse_ulps): Likewise.
3451 (print_ulps_file): Likewise.
3452 (get_failure): Remove function.
3453 (output_test): Don't handle expected failures.
3454 * make/README.libm-test: Don't mention expected failure handling.
3455
a7548d41
JM
3456 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3457 (minus_zero): Likewise.
3458 (plus_infty): Likewise.
3459 (minus_infty): Likewise.
3460 (qnan_value): Likewise.
3461 (max_value): Likewise.
3462 (min_value): Likewise.
3463 (min_subnorm_value): Likewise.
3464 (initialize): Do not initialize those variables dynamically.
3465
60bfd54c
RM
34662013-05-03 Roland McGrath <roland@hack.frob.com>
3467
cc0e6ed8
RM
3468 * io/open.c (__open_2): Moved to ...
3469 * io/open_2.c: ... this new file.
3470 * io/open64.c (__open64_2): Moved to ...
3471 * io/open64_2.c: ... this new file.
3472 * io/openat.c (__openat_2): Moved to ...
3473 * io/openat_2.c: ... this new file.
3474 * io/openat64.c (__openat64_2): Moved to ...
3475 * io/openat64_2.c: ... this new file.
3476 * io/Makefile (routines): Add them.
3477 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3478 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3479 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3480 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3481 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3482 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3483 (__openat64): Add hidden_ver.
3484 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3485 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3486
60bfd54c
RM
3487 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3488 Separately conditionalize setting of GLRO(dl_sysinfo) so
3489 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3490 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3491
83e7640f
AZ
34922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3493
3494 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3495 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3496 definition.
3497 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3498 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3499 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3500 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3501 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3502
d5dc2af3
JM
35032013-05-03 Joseph Myers <joseph@codesourcery.com>
3504
c31a5b1e
JM
3505 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3506 test signgam value.
3507
d5dc2af3
JM
3508 * math/libm-test.inc (hypot_test): Do not use
3509 IGNORE_ZERO_INF_SIGN.
3510
164fd39d
AJ
35112013-05-03 Andreas Jaeger <aj@suse.de>
3512
3513 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3514 Linux 3.9.
3515 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3516 (PF_MAX): Adjust for VSOCK change.
3517
8237f48c
AZ
35182013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3519
3520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3521
9df02941
CD
35222013-05-02 Carlos O'Donell <carlos@redhat.com>
3523
3524 [BZ #15264]
3525 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3526 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3527 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3528
d422395e
DM
35292013-05-02 David S. Miller <davem@davemloft.net>
3530
3531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3532
a07c5731
OB
35332013-05-01 Ondřej Bílka <neleai@seznam.cz>
3534
3535 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3536
1324e37f
RM
35372013-05-01 Roland McGrath <roland@hack.frob.com>
3538
3539 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3540
0695940b
RS
35412013-05-01 Richard Smith <richard@metafoo.co.uk>
3542
bb5f27ad 3543 [BZ #14952]
0695940b
RS
3544 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3545 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3546 Use __attribute__ ((__gnu_inline__)).
3547 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3548 Don't use __attribute__ ((__gnu_inline__)).
3549
10de07f5
JM
35502013-05-01 Joseph Myers <joseph@codesourcery.com>
3551
3552 [BZ #15423]
3553 * math/s_catan.c (__catan): Handle small real or imaginary part of
3554 input specially to avoid spurious underflow.
3555 * math/s_catanf.c (__catanf): Likewise.
3556 * math/s_catanh.c (__catanh): Likewise.
3557 * math/s_catanhf.c (__catanhf): Likewise.
3558 * math/s_catanhl.c (__catanhl): Likewise.
3559 * math/s_catanl.c (__catanl): Likewise.
3560 * math/libm-test.inc (catan_test): Add more tests.
3561 (catanh_test): Likewise.
3562 * sysdeps/i386/fpu/libm-test-ulps: Update.
3563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3564
cb4d5414
AZ
35652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3566
3567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3568
caf84319
JM
35692013-04-30 Joseph Myers <joseph@codesourcery.com>
3570
3571 [BZ #15416]
3572 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3573 accurately for denominator in atan2.
3574 * math/s_catanf.c (__catanf): Likewise.
3575 * math/s_catanh.c (__catanh): Likewise.
3576 * math/s_catanhf.c (__catanhf): Likewise.
3577 * math/s_catanhl.c (__catanhl): Likewise.
3578 * math/s_catanl.c (__catanl): Likewise.
3579 * math/libm-test.inc (catan_test): Add more tests.
3580 (catanh_test): Likewise.
3581 * sysdeps/i386/fpu/libm-test-ulps: Update.
3582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3583
d569c6ee
SP
35842013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3585
6dbe713d
SP
3586 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3587
f0ee064b
SP
3588 * benchtests/Makefile (bench): Remove slow benchmarks.
3589 * benchtests/atan-inputs: Add slow benchmark inputs.
3590 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3591 (BENCH_FUNC): Accept variant offset.
3592 (VARIANT): Define.
3593 * benchtests/bench-skeleton.c (main): Run benchmark for each
3594 variant.
3595 * benchtests/cos-inputs: Add slow benchmark inputs.
3596 * benchtests/exp-inputs: Likewise.
3597 * benchtests/pow-inputs: Likewise.
3598 * benchtests/sin-inputs: Likewise.
3599 * benchtests/slowatan-inputs: Remove.
3600 * benchtests/slowatan.c: Remove.
3601 * benchtests/slowcos-inputs: Remove.
3602 * benchtests/slowcos.c: Remove.
3603 * benchtests/slowexp-inputs: Remove.
3604 * benchtests/slowexp.c: Remove.
3605 * benchtests/slowpow-inputs: Remove.
3606 * benchtests/slowpow.c: Remove.
3607 * benchtests/slowsin-inputs: Remove.
3608 * benchtests/slowsin.c: Remove.
3609 * benchtests/slowtan-inputs: Remove.
3610 * benchtests/slowtan.c: Remove.
3611 * benchtests/tan-inputs: Add slow benchmark inputs.
3612 * scripts/bench.pl: Parse comments and directives.
3613
d569c6ee
SP
3614 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3615 in CPPFLAGS.
3616 ($(objpfx)bench-%.c): Remove *-ITER.
3617 * benchtests/bench-modf.c: Remove definition of ITER.
3618 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3619 (main): Loop for DURATION seconds instead of fixed number of
3620 iterations.
3621 * scripts/bench.pl: Don't expect iterations in parameters.
3622
a6a242fe
RM
36232013-04-29 Roland McGrath <roland@hack.frob.com>
3624
3625 * io/fchdir.c (__fchdir): Renamed from fchdir.
3626 (fchdir): Define as weak alias.
3627
f2da7793
JM
36282013-04-29 Joseph Myers <joseph@codesourcery.com>
3629
3630 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3631 (ERRNO_EDOM): Likewise.
3632 (ERRNO_ERANGE): Likewise.
3633 (noErrnoTests): New variable.
3634 (init_max_error): Set errno to 0.
3635 (test_single_errno): New function.
3636 (test_errno): Likewise.
3637 (check_float_internal): Call test_errno. Set errno to 0.
3638 (check_complex): Refer to errno tests in comment.
3639 (check_int): Call test_errno. Set errno to 0.
3640 (check_long): Likewise.
3641 (check_bool): Likewise.
3642 (check_longlong): Likewise.
3643 (cos_test): Use ERRNO_* flags for errno tests instead of
3644 check_int.
3645 (expm1_test): Likewise.
3646 (fmod_test): Likewise.
3647 (ilogb_test): Likewise.
3648 (lgamma_test): Likewise.
3649 (pow_test): Likewise.
3650 (remainder_test): Likewise.
3651 (sin_test): Likewise.
3652 (tan_test): Likewise.
3653 (yn_test): Likewise.
3654 (initialize): Set errno to 0.
3655 (main): Print number of errno tests.
3656 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3657
b1a36ceb
AJ
36582013-04-29 Andreas Jaeger <aj@suse.de>
3659
c3ed8088
AJ
3660 [BZ #15084]
3661 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3662 and RES_USEVC.
3663
f1a24198
AJ
3664 [BZ #15085]
3665 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3666 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3667 unimplemented.
3668
9ce3b2cb
AJ
3669 [BZ #15380]
3670 * stdlib/random.c (__initstate): Return NULL if
3671 __initstate fails.
3672
f1a24198 3673 [BZ #15086]
b1a36ceb
AJ
3674 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3675 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3676 RES_SNGLKUPREOP.
3677
7e7b6f36
AZ
36782013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3679
3680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3681
4d14f449
JM
36822013-04-29 Joseph Myers <joseph@codesourcery.com>
3683
3684 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3685 of individual tests.
3686 (casin_test): Likewise.
3687 (casinh_test): Likewise.
3688
5b4217d7
JM
36892013-04-27 Joseph Myers <joseph@codesourcery.com>
3690
3691 [BZ #15409]
3692 * math/s_catan.c (__catan): Handle arguments with large real or
3693 imaginary part separately without squaring.
3694 * math/s_catanf.c (__catanf): Likewise.
3695 * math/s_catanh.c (__catanh): Likewise.
3696 * math/s_catanhf.c (__catanhf): Likewise.
3697 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3698 and redefine.
3699 (__catanhl): Handle arguments with large real or imaginary part
3700 separately without squaring.
3701 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3702 and redefine.
3703 (__catanl): Handle arguments with large real or imaginary part
3704 separately without squaring.
3705 * math/libm-test.inc (catan_test): Add more tests.
3706 (catanh_test): Likewise.
3707 * sysdeps/i386/fpu/libm-test-ulps: Update.
3708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3709
4220c3ef
AJ
37102013-04-27 Andreas Jaeger <aj@suse.de>
3711
3712 [BZ #15007]
3713 * stdlib/stdlib.h: Update guards for qecvt.
3714 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3715 <stdlib.h>.
3716
4721b2d1
AM
37172013-04-27 Allan McRae <allan@archlinux.org>
3718
3719 * sysdeps/i386/fpu/libm-test-ulps: Update.
3720
f0302940
JM
37212013-04-26 Joseph Myers <joseph@codesourcery.com>
3722
9457fd95
JM
3723 [BZ #15406]
3724 * math/s_catan.c: Include <float.h>.
3725 (__catan): Ensure underflow exception occurs for underflowed
3726 result.
3727 * math/s_catanf.c: Include <float.h>.
3728 (__catanf): Ensure underflow exception occurs for underflowed
3729 result.
3730 * math/s_catanh.c: Include <float.h>.
3731 (__catanh): Ensure underflow exception occurs for underflowed
3732 result.
3733 * math/s_catanhf.c: Include <float.h>.
3734 (__catanhf): Ensure underflow exception occurs for underflowed
3735 result.
3736 * math/s_catanhl.c: Include <float.h>.
3737 (__catanhl): Ensure underflow exception occurs for underflowed
3738 result.
3739 * math/s_catanl.c: Include <float.h>.
3740 (__catanl): Ensure underflow exception occurs for underflowed
3741 result.
3742 * math/libm-test.inc (catan_test): Add more tests.
3743 (catanh_test): Likewise.
3744
f0302940
JM
3745 [BZ #15405]
3746 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3747 underflowed result.
3748 * math/s_ccoshf.c (__ccoshf): Likewise.
3749 * math/s_ccoshl.c (__ccoshl): Likewise.
3750 * math/s_csin.c (__csin): Likewise.
3751 * math/s_csinf.c (__csinf): Likewise.
3752 * math/s_csinh.c (__csinh): Likewise.
3753 * math/s_csinhf.c (__csinhf): Likewise.
3754 * math/s_csinhl.c (__csinhl): Likewise.
3755 * math/s_csinl.c (__csinl): Likewise.
3756 * math/libm-test.inc (ccos_test): Add more tests.
3757 (ccosh_test): Likewise.
3758 (csin_test): Likewise.
3759 (csinh_test): Likewise.
3760
aa630f59
AZ
37612013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3762
3763 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3764 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3765 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3766 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3767 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3768 powerpc/power5+/fpu folders.
3769 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3770
3771
1b835983
MT
37722013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3773
3774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3775
73709b26
JM
37762013-04-25 Joseph Myers <joseph@codesourcery.com>
3777
3778 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3779 additions to variable.
3780 [$(config-machine) = x86_64] (modules-names): Likewise.
3781 ($(objpfx)tst-audit3): Remove dependency.
3782 ($(objpfx)tst-audit3.out): Likewise.
3783 ($(objpfx)tst-audit4): Likewise.
3784 ($(objpfx)tst-audit4.out): Likewise.
3785 ($(objpfx)tst-audit5): Likewise.
3786 ($(objpfx)tst-audit5.out): Likewise.
3787 ($(objpfx)tst-audit6): Likewise.
3788 ($(objpfx)tst-audit6.out): Likewise.
3789 ($(objpfx)tst-audit7): Likewise.
3790 ($(objpfx)tst-audit7.out): Likewise.
3791 (tst-audit3-ENV): Remove variable.
3792 (tst-audit4-ENV): Likewise.
3793 (tst-audit5-ENV): Likewise.
3794 (tst-audit6-ENV): Likewise.
3795 (tst-audit7-ENV): Likewise.
3796 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3797 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3798 addition to variable.
3799 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3800 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3801 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3802 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3803 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3804 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3805 tst-audit3, tst-audit4 and tst-audit5.
3806 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3807 tst-audit6 and tst-audit7.
3808 [$(subdir) = elf] (modules-names): Add audit modules for those
3809 tests.
3810 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3811 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3812 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3813 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3814 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3815 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3816 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3817 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3818 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3819 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3820 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3821 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3822 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3823 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3824 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3825 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3826 Likewise.
3827 [$(subdir) = elf && $(config-cflags-avx) = yes]
3828 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3829 [$(subdir) = elf && $(config-cflags-avx) = yes]
3830 (CFLAGS-tst-auditmod4a.c): Likewise.
3831 [$(subdir) = elf && $(config-cflags-avx) = yes]
3832 (CFLAGS-tst-auditmod4b.c): Likewise.
3833 [$(subdir) = elf && $(config-cflags-avx) = yes]
3834 (CFLAGS-tst-auditmod6b.c): Likewise.
3835 [$(subdir) = elf && $(config-cflags-avx) = yes]
3836 (CFLAGS-tst-auditmod6c.c): Likewise.
3837 [$(subdir) = elf && $(config-cflags-avx) = yes]
3838 (CFLAGS-tst-auditmod7b.c): Likewise.
3839 * elf/tst-audit3.c: Move to ...
3840 * sysdeps/x86_64/tst-audit3.c: ... here.
3841 * elf/tst-audit4.c: Move to ...
3842 * sysdeps/x86_64/tst-audit4.c: ... here.
3843 * elf/tst-audit5.c: Move to ...
3844 * sysdeps/x86_64/tst-audit5.c: ... here.
3845 * elf/tst-audit6.c: Move to ...
3846 * sysdeps/x86_64/tst-audit6.c: ... here.
3847 * elf/tst-audit7.c: Move to ...
3848 * sysdeps/x86_64/tst-audit7.c: ... here.
3849 * elf/tst-auditmod3a.c: Move to ...
3850 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3851 * elf/tst-auditmod3b.c: Move to ...
3852 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3853 * elf/tst-auditmod4a.c: Move to ...
3854 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3855 * elf/tst-auditmod4b.c: Move to ...
3856 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3857 * elf/tst-auditmod5a.c: Move to ...
3858 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3859 * elf/tst-auditmod5b.c: Move to ...
3860 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3861 * elf/tst-auditmod6a.c: Move to ...
3862 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3863 * elf/tst-auditmod6b.c: Move to ...
3864 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3865 * elf/tst-auditmod6c.c: Move to ...
3866 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3867 * elf/tst-auditmod7a.c: Move to ...
3868 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3869 * elf/tst-auditmod7b.c: Move to ...
3870 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3871
1ef74943
PP
38722013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3873
3874 [BZ #15366]
3875 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3876 define unconditionally.
3877 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3878 define unconditionally.
3879 (INT8_C, INT16_C, etc.): Likewise.
3880
93fd48c5
MR
38812013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3882
ae9552cf
MR
3883 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3884 __ehdr_start with hidden visibility.
3885
93fd48c5
MR
3886 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3887
418601aa
CD
38882013-04-24 Carlos O'Donell <carlos@redhat.com>
3889
3890 * math/libm-test.inc (cos_test): Use accurate hex constants.
3891 (sincost_test): Likewise.
3892
2f38fbfe
JM
38932013-04-24 Joseph Myers <joseph@codesourcery.com>
3894
5e221800
JM
3895 * math/libm-test.inc (catan_test): Add more tests.
3896 (catanh_test): Likewise.
3897
77f143fd
JM
3898 * math/s_catanf.c (__catanf): Use suffixed floating-point
3899 constants.
3900 * math/s_catanhf.c (__catanhf): Likewise.
3901 * math/s_catanhl.c (__catanhl): Likewise.
3902 * math/s_catanl.c (__catanl): Likewise.
3903
2f38fbfe
JM
3904 [BZ #15394]
3905 * math/s_catan.c (__catan): Calculate imaginary part of result
3906 with log1p not log unless computing log of number close to 0.
3907 * math/s_catanf.c (__catanf): Likewise.
3908 * math/s_catanl.c (__catanl): Likewise.
3909 * math/s_catanh.c (__catanh): Calculate real part of result with
3910 log1p not log unless computing log of number close to 0.
3911 * math/s_catanhf.c (__catanhf): Likewise.
3912 * math/s_catanhl.c (__catanhl): Likewise.
3913 * math/libm-test.inc (catan_test): Add more tests.
3914 (catanh_test): Likewise.
3915 * sysdeps/i386/fpu/libm-test-ulps: Update.
3916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3917
45d69176
SP
39182013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3919
3920 * benchtests/Makefile: Mention files in which fast and slow
3921 paths of math functions are implemented.
3922
87f51853
RM
39232013-04-23 Roland McGrath <roland@hack.frob.com>
3924
3925 * sysdeps/posix/timespec_get.c: New file.
3926
3c026539
AZ
39272013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3928
3929 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3930 POWER.
3931 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3932 for POWER.
3933 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3934 powerpc/power5/fpu folders.
3935 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3936 * benchtests/Makefile: Add modf testcase.
3937 * benchtests/bench-modf.c: New file: Benchmark test for mo
3938
ff491d14
SP
39392013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3940
3941 [BZ #14888]
3942 * time/Makefile (tests): Add tst-strptime-whitespace.
3943 * time/strptime_l.c (get_number): Use ISSPACE.
3944 (__strptime_internal): Likewise.
3945 * time/tst-strptime-whitespace.c: New test case.
3946
7ed3f4e8
AS
39472013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3948
3949 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3950 member.
3951 (_nss_files_init): Set it here.
3952
5c95f7b6
HC
39532013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3954
3955 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3956 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3957 unsigned.
3958
d34c9158
JBG
39592013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3960
3961 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3962
2169712d
SP
39632013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3964
3965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3966 size just once.
3967
29c5de99
DM
39682013-04-21 David S. Miller <davem@davemloft.net>
3969
3970 * po/ru.po: Update Russion translation from translation project.
3971
ccdad15d
AC
39722013-04-17 Adam Conrad <adconrad@0c3.net>
3973
3974 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3975 and setfsgid.
3976
0f122b8d
CD
39772013-04-17 Carlos O'Donell <carlos@redhat.com>
3978
5c5b07da 3979 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3980 * configure: Regenerate.
5c5b07da 3981 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3982 Add example to error message.
3983 * sysdeps/i386/configure: Regenerate.
3984
037714dd
SP
39852013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3986
3987 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3988 slowtan.
3989 * benchtests/cos-inputs: New file.
3990 * benchtests/slowcos-inputs: New file.
3991 * benchtests/slowcos.c: New file.
3992 * benchtests/slowtan-inputs: New file.
3993 * benchtests/slowtan.c: New file.
3994 * benchtests/tan-inputs: New file.
3995
e913141d
RM
39962013-04-16 Roland McGrath <roland@hack.frob.com>
3997
3998 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3999 considered kosher.
4000
a2964074
SP
40012013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4002
4856bcd2
SP
4003 * benchtests/Makefile: Include cppflags-iterator.mk to add
4004 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4005
a2964074
SP
4006 * Makefile.in (bench-clean): New target.
4007 * benchtests/Makefile (bench-clean): Likewise.
4008
9fbf9aca
DH
40092013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4010
4011 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4012
207d1e2a
TS
40132013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4014
4015 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4016
306dfba9
AS
40172013-04-15 Andreas Schwab <schwab@suse.de>
4018
4019 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4021 * nscd/pwdcache.c (cache_addpw): Likewise.
4022 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4023 more than recsize.
4024
206a6699
SP
40252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4026
4027 * benchtests/Makefile (bench): Write all output to
4028 bench-out.tmp together.
4029
0582f6b3
AS
40302013-04-15 Andreas Schwab <schwab@suse.de>
4031
4032 * nscd/nscd.c (main): Don't fork again after closing files.
4033
acb4325f
SP
40342013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4035
5cb26d0a
SP
4036 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4037
acb4325f
SP
4038 * benchtests/Rules (bench-deps): Collect dependencies into a
4039 single variable. Add Makefile to dependencies.
4040 ($(objpfx)bench-%.c): Depend on bench-deps.
4041
47792506
RM
40422013-04-12 Roland McGrath <roland@hack.frob.com>
4043 Xavier Roche <roche+kml2@exalead.com>
4044
4045 [BZ #15361]
4046 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4047 just that it's a file descriptor.
4048 * manual/llio.texi (Synchronizing AIO Operations): Update description
4049 for EBADF error from aio_fsync.
4050
8fc1bee5
SP
40512013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4052
4053 * Rules (bench): Move target definition...
4054 * benchtests/Makefile: ... here.
4055
aba5e333
CD
40562013-04-11 Carlos O'Donell <carlos@redhat.com>
4057
4058 * math/libm-test.inc (cos_test): Fix PI/2 test.
4059 (sincos_test): Likewise.
4060 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4061 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4062
273cdee8
AS
40632013-04-11 Andreas Schwab <schwab@suse.de>
4064
6ecec3b6
AS
4065 [BZ #13988]
4066 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4067 accept exponent character only when digits were seen.
4068 * stdio-common/Makefile (tests): Add bug26.
4069 * stdio-common/bug26.c: New file.
4070
273cdee8
AS
4071 [BZ #14293]
4072 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4073 non-freeable.
4074
8da491f5
SP
40752013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4076
01dc6df9
SP
4077 * Makeconfig (rtld-prefix): Define built linker prefix.
4078 * Rules (run-bench): Use it.
4079 * math/Makefile (run-regen-ulps): Likewise.
4080
8da491f5
SP
4081 * Rules (bench): Remove eval.
4082
abe7f530
SP
40832013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4084 Roland McGrath <roland@hack.frob.com>
4085 Ondrej Bilka <neleai@seznam.cz>
4086
4087 [BZ #15346]
4088 * time/getdate.c: Include ctype.h and alloca.h.
4089 (__getdate_r): Trim leading and trailing spaces of input.
4090 * time/tst-getdate.c (tests): Add tests with leading and
4091 trailing spaces.
4092
61c23e62
RM
40932013-04-08 Roland McGrath <roland@hack.frob.com>
4094
4095 [BZ #14280]
4096 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4097 when computing value.
4098
7208a313
CD
40992013-04-06 Carlos O'Donell <carlos@redhat.com>
4100
085b2d41
CD
4101 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4102 Use testrun.sh to run libm tests.
4103
7208a313
CD
4104 [BZ #15309]
4105 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4106
872c0acd
MM
41072013-04-06 Marko Myllynen <myllynen@redhat.com>
4108
4109 [BZ #15264]
4110 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4111
26510bdd
CD
41122013-04-06 Carlos O'Donell <carlos@redhat.com>
4113
4114 * Makefile.in (regen-ulps): New target.
4115 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4116 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4117 [ifneq (no,$(PERL)] (regen-ulps): New target.
4118 [ifeq (no,$(PERL)] (regen-ulps): New target.
4119 * math/libm-test.inc (ulps_file_name): Define.
4120 (output_dir): New variable.
4121 (options): Add "output-dir" option.
4122 (parse_opt): Handle 'o' case.
4123 (main): If output_dir is non-NULL use it as a prefix
4124 otherwise use "".
4125 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4126
a01f19c8
CD
41272013-04-06 Carlos O'Donell <carlos@redhat.com>
4128
4129 [BZ #10060, #10062]
4130 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4131 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4132 fail configure if __sync_val_compare_and_swap is not inlined.
4133 * sysdeps/i386/configure: Regenerate.
4134 * configure.in: Build for i686 when configured for i386.
4135 * configure: Regenerate.
4136 * README: Remove i386 reference.
4137
b7a329a5
CD
41382013-04-06 Carlos O'Donell <carlos@redhat.com>
4139
4140 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4142
bf0f50df
TS
41432013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4144
ee091edf
TS
4145 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4146 (lmsnanval): New variables.
4147 (F): Add conversion tests.
4148 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4149 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4150
a8b792d6
TS
4151 * stdio-common/tstdiomisc.c (F): Properly collect individual
4152 tests' results.
4153
a1cbf437
TS
4154 [BZ #14686, #15336]
4155 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4156 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4157 Instead, use input NaN values or generate a qNaN by arithmetic
4158 operation. Also fix bugs to comply with the standard.
4159 * math/libm-test.inc (remainder_test): Add more tests.
4160
8b43a0c9
TS
4161 [BZ #15335, #15342]
4162 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4164 input NaN values or generate a qNaN by arithmetic operation.
4165
d91da4ce
TS
4166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4167 unreachable code.
4168
bf0f50df
TS
4169 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4170 definitions.
4171
05e166c8
JM
41722013-04-03 Joseph Myers <joseph@codesourcery.com>
4173
4174 [BZ #14478]
4175 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4176 underflowed result.
4177 * math/s_cexpf.c (__cexpf): Likewise.
4178 * math/s_cexpl.c (__cexpl): Likewise.
4179 * math/libm-test.inc (cexp_test): Add more tests.
4180
1cef1b19
AS
41812013-04-03 Andreas Schwab <schwab@suse.de>
4182
4183 [BZ #15330]
4184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4185 order arrays from heap if bigger than alloca cutoff.
4186
74d87055
TS
41872013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4188
4189 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4190 (SNAN_TESTS_double): Refer to GCC PR56831.
4191 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4192 GCC PR56828.
4193
d755bba4
SP
41942013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4195
90d5d5bb
SP
4196 * Rules (bench): Move bench.out after the run is complete.
4197
73e0cd5d
SP
4198 * Rules (bench): Echo currently running benchmark.
4199
64aabd4b
SP
4200 * benchtests/Makefile (bench): Add atan and slowatan.
4201 * benchtests/atan-inputs: New file.
4202 * benchtests/slowatan-inputs: New file.
4203 * benchtests/slowatan.c: New file.
4204
c871eccd
SP
4205 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4206 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4207 its value.
4208
d755bba4
SP
4209 [BZ #15305]
4210 * sysdeps/unix/sysv/linux/kernel-features.h
4211 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4212 __ASSUME_XFS_RESTRICTED_CHOWN.
4213 * sysdeps/unix/sysv/linux/pathconf.c
4214 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4215 Save and restore errno.
4216
52ce4860
JM
42172013-04-02 Joseph Myers <joseph@codesourcery.com>
4218
4219 [BZ #15327]
4220 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4221 arguments using __kernel_casinh.
4222 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4223 arguments using __kernel_casinhf.
4224 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4225 arguments using __kernel_casinhl.
4226 * math/libm-test.inc (cacosh_test): Add more tests.
4227 * sysdeps/i386/fpu/libm-test-ulps: Update.
4228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229
81f311c2
SP
42302013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4231
e7906a47
SP
4232 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4234
92e3664b
SP
4235 * bench/Makefile (bench): Add sin and slowsin.
4236 * benchtests/sin-inputs: New file.
4237 * benchtests/slowsin-inputs: New file.
4238 * benchtests/slowsin.c: New file.
4239
81f311c2
SP
4240 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4241 (bench): Add slowexp and slowpow.
4242 (exp-ITER): Increase iterations.
4243 (pow-ITER): Likewise.
4244 * benchtests/exp-inputs: Change input.
4245 * benchtests/pow-inputs: Likewise.
4246 * benchtests/slowexp-inputs: New file.
4247 * benchtests/slowexp.c: New file.
4248 * benchtests/slowpow-inputs: New file.
4249 * benchtests/slowpow.c: New file.
4250
ab0f1aa9
AZ
42512013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4252
4253 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4254 instructions.
4255 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4256 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4257 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4258 * benchtests/Makefile: Add rint benchtest.
4259 * benchtests/rint-inputs: Input for rint benchtest.
4260
57267616
TS
42612013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4262
4263 * Versions.def (libm): Add GLIBC_2.18.
4264 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4265 hidden libm prototypes.
4266 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4267 * math/Makefile (libm-calls): Add s_issignaling.
4268 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4269 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4270 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4271 declaration.
4272 * math/math.h [__USE_GNU] (issignaling): New macro.
4273 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4274 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4276 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4279 * manual/arith.texi (issignaling): New section.
4280 * manual/libm-err-tab.pl (@all_functions): Update comment.
4281 * math/gen-libm-test.pl (parse_args): Apply special handling for
4282 issignaling.
4283 * math/libm-test.inc (print_float, issignaling_test): New
4284 functions.
4285 (check_float_internal): Add issignaling checks.
4286 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4287 default definition.
4288 * sysdeps/powerpc/math-tests.h: New file.
4289 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4290 tests.
4291 * math/test-snan.c (TEST_FUNC): Likewise.
4292
6142896d
DM
42932013-03-30 David S. Miller <davem@davemloft.net>
4294
4295 * po/de.po: Update from translation team.
4296
ccc8cadf
JM
42972013-03-30 Joseph Myers <joseph@codesourcery.com>
4298
4299 [BZ #10357]
4300 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4301 imaginary part less than 1.0 and real part less than 0.5
4302 specially.
4303 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4304 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4305 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4306 (cacos_test): Add more tests.
4307 (casin_test): Likewise.
4308 (casinh_test): Likewise.
4309 * sysdeps/i386/fpu/libm-test-ulps: Update.
4310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311
0f6a8d4b
SP
43122013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4313
0d1029de
SP
4314 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4315 ONE with its value.
4316
c2d94018
SP
4317 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4318 (__pow_mp): Replace ONE and MONE with their values.
4319 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4320 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4321 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4322 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4323 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4324 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4325
27ec37f1
SP
4326 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4327
a64d7e0e
SP
4328 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4329 (__pow_mp): Replace ZERO and MZERO with their values.
4330 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4331 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4332 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4334 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4335 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4336 (__sqr): Likewise.
4337
d26dd3eb
SP
4338 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4339
0f6a8d4b
SP
4340 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4341
e57b0c61
RM
43422013-03-28 Roland McGrath <roland@hack.frob.com>
4343
4344 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4345 Declare with __attribute__ ((weak)).
4346 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4347 Call __call_tls_dtors only if it's not NULL.
4348
356b3480
RM
43492013-03-28 Roland McGrath <roland@hack.frob.com>
4350
288f7d79
RM
4351 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4352 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4353 magic __ehdr_start linker symbol if it's defined.
4354 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4355 them up here if it was already done.
4356
dc0a0263
RM
4357 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4358 (_dl_aux_init): Use const in cast when setting it.
4359 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4360 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4361 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4362
3d3436ae
RM
4363 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4364 Declare them here.
4365 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4366 * csu/libc-tls.c: Nor here.
4367 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4368
356b3480
RM
4369 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4370 (__libc_message): Never call vsyslog.
4371
b0f1246a
AM
43722013-03-28 Alan Modra <amodra@gmail.com>
4373
4374 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4375 Define as empty.
4376 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4377 Likewise.
4378
fbbe2b9a
AZ
43792013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4380
4381 [BZ #15214]
4382 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4383 underflow.
4384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4385
1728ab37
SP
43862013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4387
7a86be6e
SP
4388 [BZ #15304]
4389 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4390 Don't add gid passed as argument.
4391
1728ab37
SP
4392 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4393
3a7182a1
JM
43942013-03-27 Joseph Myers <joseph@codesourcery.com>
4395
4396 [BZ #15307]
4397 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4398 imaginary part between 1.0 and 1.5 and real part less than 0.5
4399 specially.
4400 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4401 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4402 * math/libm-test.inc (cacos_test): Add more tests.
4403 (casin_test): Likewise.
4404 (casinh_test): Likewise.
4405 * sysdeps/i386/fpu/libm-test-ulps: Update.
4406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4407
6f2e90e7
SP
44082013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4409
5739f705
SP
4410 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4411 constants.
4412 (norm): Likewise.
4413 (denorm): Likewise.
4414 (__dbl_mp): Likewise.
4415 (add_magnitudes): Likewise.
4416 (sub_magnitudes): Likewise.
4417 (__add): Likewise.
4418 (__sub): Likewise.
4419 (__mul): Likewise.
4420 (__sqr): Likewise.
4421 (__inv): Likewise.
4422 (__dvd): Likewise.
4423
e375e83d
SP
4424 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4425 commented code.
4426 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4427 (__dubcos): Likewise.
4428 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4429 (__ieee754_acos): Likewise.
4430 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4431 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4432 (__exp1): Likewise.
4433 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4435 (log1): Likewise.
4436 (my_log2): Likewise.
4437 (checkint): Likewise.
4438 * sysdeps/ieee754/dbl-64/e_remainder.c
4439 (__ieee754_remainder): Likewise.
4440 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4441 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4442 (bsloww): Likewise.
4443 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4444
6f2e90e7
SP
4445 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4446 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4447 MANTISSA_STORE_T to store computations on mantissa. Use
4448 macros for rounding and division.
4449 (denorm): Likewise.
4450 (__dbl_mp): Likewise.
4451 (add_magnitudes): Likewise.
4452 (sub_magnitudes): Likewise.
4453 (__mul): Likewise.
4454 (__sqr): Likewise.
4455 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4456 powers of two in terms of TWOPOW macro.
4457 (mp_no): Make type of mantissa as MANTISSA_T.
4458 [!RADIXI]: Define RADIXI.
4459 [!TWO52]: Define TWO52.
4460 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4461
fce14d4e
AZ
44622013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4463
4464 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4465 llroundl symbol when building for PPC32.
4466
9ad027fb
MW
44672013-03-24 Mark H Weaver <mhw@netris.org>
4468
4469 * manual/arith.texi (Normalization Functions): Fix prototypes for
4470 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4471
e42a38dd
AZ
44722013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4473
4474 [BZ #13889]
4475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4476 high value to check if expl overflow.
4477 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4478 to check for underflow and overflow.
4479 * math/libm-test.inc: Add exp test.
4480
2e0fb521
DL
44812013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4482
4483 [BZ #11120]
4484 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4485 with NOT_IN_libc.
4486
b5784d95
AZ
44872013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4488
4489 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4490 symbol.
4491
5aa4a1a1
TS
44922013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4493
bdef0be7
TS
4494 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4495 wrap blocks consisting of several statements.
4496
5aa4a1a1
TS
4497 * sysdeps/generic/math-tests.h: New file.
4498 * sysdeps/i386/fpu/math-tests.h: Likewise.
4499 * math/test-snan.c: Include it.
4500 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4501
98c48fe5
JM
45022013-03-21 Joseph Myers <joseph@codesourcery.com>
4503
4504 [BZ #15285]
4505 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4506 (__ieee754_j0l): Do not improve calculations using cos of twice
4507 input for inputs above LDBL_MAX / 2.0L.
4508 (__ieee754_y0l): Likewise.
4509 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4510 (__ieee754_j1l): Do not improve calculations using cos of twice
4511 input for inputs above LDBL_MAX / 2.0L.
4512 (__ieee754_y1l): Likewise.
4513 * math/libm-test.inc (j0_test): Add another test.
4514 (j1_test): Likewise.
4515 (y0_test): Likewise.
4516 (y1_test): Likewise.
4517 * sysdeps/i386/fpu/libm-test-ulps: Update.
4518
3775a8bc
SP
45192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4520
4521 * Rules ($(objpfx)bench-%.c): Include code from a C source
4522 file.
4523
0a1b2ae6
JM
45242013-03-21 Joseph Myers <joseph@codesourcery.com>
4525
4526 [BZ #15287]
4527 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4528 imaginary part 1.0 and real part less than 0.5 specially.
4529 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4530 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4531 * math/libm-test.inc (cacos_test): Add more tests.
4532 (casin_test): Likewise.
4533 (casinh_test): Likewise.
4534 * sysdeps/i386/fpu/libm-test-ulps: Update.
4535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4536
b33d4ce4
SP
45372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4538
4539 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4540 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4541
bef0b507
JM
45422013-03-20 Joseph Myers <joseph@codesourcery.com>
4543
4544 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4545 * config.make.in (config-cflags-sse4): Remove variable.
4546 (config-cflags-avx): Likewise.
4547 (config-cflags-sse2avx): Likewise.
4548 (config-cflags-novzeroupper): Likewise.
4549 (config-asflags-i686): Likewise.
4550 (have-mfma4): Likewise.
4551 (have-as-vis3): Likewise.
4552 (MIG): Likewise.
4553 * configure.in (MIG): Do not AC_SUBST.
4554 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4555 (libc_cv_cc_sse4): Do not AC_SUBST.
4556 (libc_cv_cc_avx): Likewise.
4557 (libc_cv_cc_sse2avx): Likewise.
4558 (libc_cv_cc_novzeroupper): Likewise.
4559 (libc_cv_cc_fma4): Likewise.
4560 (libc_cv_as_i686): Likewise.
4561 (libc_cv_sparc_as_vis3): Likewise.
4562 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4563 LIBC_CONFIG_VAR.
4564 (config-asflags-i686): Likewise.
4565 (config-cflags-avx): Likewise.
4566 (config-cflags-sse2avx): Likewise.
4567 (have-mfma4): Likewise.
4568 (config-cflags-novzeroupper): Likewise.
4569 * sysdeps/mach/configure.in (MIG): Likewise.
4570 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4571 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4572 LIBC_CONFIG_VAR.
4573 (config-cflags-avx): Likewise.
4574 (config-cflags-sse2avx): Likewise.
4575 (have-mfma4): Likewise.
4576 (config-cflags-novzeroupper): Likewise.
4577 * configure: Regenerated.
4578 * sysdeps/i386/configure: Likewise.
4579 * sysdeps/mach/configure: Likewise.
4580 * sysdeps/sparc/configure: Likewise.
4581 * sysdeps/x86_64/configure: Likewise.
4582
912cc4b3
RM
45832013-03-20 Roland McGrath <roland@hack.frob.com>
4584
4585 [BZ #14812]
4586 * locale/programs/localedef.c (options): Put N_ translation marker
4587 on argument names, not just descriptions.
4588
04eed2b0
MS
45892013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4590
4591 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4592
a065ceff
OB
45932013-03-20 Ondřej Bílka <neleai@seznam.cz>
4594
9bb2a810 4595 [BZ #14176]
a065ceff
OB
4596 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4597
a600e5ce
RM
45982013-03-19 Roland McGrath <roland@hack.frob.com>
4599
4600 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4601 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4602 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4603 [!BEFORE_ABORT] (before_abort): New function.
4604 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4605 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4606 (writev_for_fatal): New function.
4607 (WRITEV_FOR_FATAL): New macro; call that.
4608 (backtrace_and_maps): New function.
4609 (BEFORE_ABORT): New macro; call that.
4610 (struct str_list): Type removed.
4611 (__libc_message, __libc_fatal): Functions removed.
4612 Include <sysdeps/posix/libc_fatal.c> instead.
4613
6b18bea6
JM
46142013-03-19 Joseph Myers <joseph@codesourcery.com>
4615
4616 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4617 constants.
4618 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4619 double constants.
4620
aaa8cb4b
AS
46212013-03-19 Andreas Schwab <schwab@suse.de>
4622
44673770
AS
4623 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4624 * sysdeps/gnu/configure: Regenerate.
4625
aaa8cb4b
AS
4626 * configure.in: Substitute libc_cv_rtlddir.
4627 * configure: Regenerate.
4628 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4629 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4630 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4631 * elf/Makefile (install-others, CFLAGS-interp.c)
4632 (ldso_install, common-ldd-rewrite): Likewise.
4633 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4634 $(inst_slibdir)/$(rtld-installed-name).
4635 * scripts/rellns-sh: Add -p option.
4636 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4637 for source.
4638
d3cfc668
SP
46392013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4640
4641 * manual/nptl.texi: Renamed to ...
4642 * manual/threads.texi: ... this.
4643 * manual/Makefile (chapters): Update.
4644
0e2b9cdd
RM
46452013-03-18 Roland McGrath <roland@hack.frob.com>
4646
4647 [BZ #14812]
4648 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4649 on argument names, not just descriptions.
0e2b9cdd
RM
4650 * malloc/memusagestat.c (options): Likewise.
4651 * nss/getent.c (options): Likewise.
63270c24
RM
4652
46532013-03-18 Benno Schulenberg <bensberg@justemail.net>
4654
4655 [BZ #14812]
4656 * iconv/iconv_prog.c (options): Put N_ translation marker
4657 on argument names, not just descriptions.
4658 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4659
b2e1393c
OB
46602013-03-18 Ondrej Bilka <neleai@seznam.cz>
4661
4662 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4663 implementation which is faster on all x86_64 architectures.
4664 Tested on AMD, Intel Nehalem, SNB, IVB.
4665 * sysdeps/x86_64/strnlen.S: Likewise.
4666
4667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4668 Remove all multiarch strlen and strnlen versions.
4669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4670 Remove strlen and strnlen related parts.
4671
4672 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4673 Inline strlen part.
4674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4675
4676 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4677 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4678 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4679 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4680 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4681 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4682
ec4ff04d
CD
46832013-03-17 Carlos O'Donell <carlos@redhat.com>
4684
4685 * manual/memory.texi (Malloc Tunable Parameters):
4686 Sort parameters alphabetically. Add comments for missing entries.
4687
cd18e90a
DM
46882013-03-17 David S. Miller <davem@davemloft.net>
4689
4690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4691
2a185d32
JM
46922013-03-16 Joseph Myers <joseph@codesourcery.com>
4693
d2f9799e
JM
4694 [BZ #15283]
4695 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4696 for arguments at most half maximum finite value.
4697 * math/libm-test.inc (j0_test): Add more tests.
4698 (j1_test): Likewise.
4699 (y0_test): Likewise.
4700 (y1_test): Likewise.
4701 * sysdeps/i386/fpu/libm-test-ulps: Update.
4702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4703
2a185d32
JM
4704 [BZ #14155]
4705 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4706 1 / x and functions P and Q for arguments above 0x1p256L.
4707 (__ieee754_y0l): Likewise.
4708 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4709 (__ieee754_y1l): Likewise.
4710 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4711 (j1_test): Likewise.
4712 (y0_test): Likewise.
4713 (y1_test): Likewise.
4714
6cbec759
TS
47152013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4716
4717 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4718 variable.
4719
bc16e260
RM
47202013-03-15 Roland McGrath <roland@hack.frob.com>
4721
aefc9b8c
RM
4722 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4723 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4724 zero since it's initialized to EXEC_PAGESIZE.
4725
bc16e260
RM
4726 * sysdeps/unix/sysv/linux/ldsodefs.h
4727 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4728 * sysdeps/generic/ldsodefs.h: ... here.
4729
a57da955
TS
47302013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4731
af00a34d
TS
4732 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4733
495ded2c
TS
4734 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4735 math/test-snan.c.
4736 * math/test-snan.c: Renamed from
4737 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4738 * math/Makefile (tests): Add test-snan.
4739 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4740 test-powerpc-snan.
4741
777b0332
TS
4742 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4743 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4744 functions.
4745 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4746 __builtin_nan family of functions.
4747 * math/libm-test.inc (initialize): Initialize qnan_value with
4748 __builtin_nan family of functions.
4749 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4750 Remove variables.
4751 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4752 Remove functions.
4753 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4754 storage class. Initialize qNaN_var and sNaN_var with
4755 __builtin_nan and __builtin_nans families of functions,
4756 respectively.
4757
64d063b8
TS
4758 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4759 (sqrt_test): Remove duplicate test with qNaN input.
4760 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4761 (round_test, signbit_test, significand_test): Note missing +/-Inf
4762 as well as qNaN tests.
4763
67e971f1
TS
4764 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4765 qNaN_var. Fix a few strings, too.
4766 * math/libm-test.inc (nan_value): Rename to qnan_value.
4767 * math/gen-libm-test.pl (%beautify): Adjust to that.
4768 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4769 * math/test-misc.c (main): Likewise.
4770 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4771 to __qnan_bytes, and __qnan_union, respectively.
4772 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4773 Likewise.
4774 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4775 and lqnanval, respectively.
4776 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4777 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4778 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4779 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4780
64487e12
TS
4781 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4782 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4783 doubles.
4784
e015e27b
TS
4785 * math/test-misc.c (main): Fix copy'n'pastos.
4786 * misc/tst-efgcvt.c (special): Likewise.
4787
a57da955
TS
4788 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4789 Remove declarations.
4790
1e380345
SP
47912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4792
4793 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4794 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4795 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4796 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4797
ef26eece
AZ
47982013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799
4800 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4801 macro to return vdso values correctly in IFUNC implementations.
4802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4803 Optimization by using IFUNC.
4804
8cfdb7e0
SP
48052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4806 Richard Henderson <rth@redhat.com>
4807 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4808
4809 * Makefile.in (bench): New target.
4810 * NEWS: Mention the benchmark framework.
4811 * Rules (bench): Likewise.
4812 (binaries-bench): Generate binaries for functions to
4813 benchmark.
4814 * benchtests/Makefile: New makefile for benchmark tests.
4815 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4816 programs.
4817 * benchtests/exp-inputs: New input file for EXP function.
4818 * benchtests/pow-inputs: New input file for POW function.
4819 * scripts/bench.pl: New script to generate source files for
4820 benchmark programs.
4821
bcda9880
SP
48222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4823
d22ca8cd
SP
4824 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4825 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4826 computations on mantissa. Use macros for rounding and
4827 division.
4828 (denorm): Likewise.
4829 (__dbl_mp): Likewise.
4830 (add_magnitudes): Likewise.
4831 (sub_magnitudes): Likewise.
4832 (__mul): Likewise.
4833 (__sqr): Likewise.
4834 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4835 powers of two in terms of TWOPOW macro.
4836 (mp_no): Make type of mantissa as MANTISSA_T.
4837 [!RADIXI]: Define RADIXI.
4838 [!TWO52]: Define TWO52.
4839 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4840
bcda9880
SP
4841 * manual/nptl.texi (cindex): Modify threads to pthreads.
4842
06d5adfb
JM
48432013-03-15 Joseph Myers <joseph@codesourcery.com>
4844
4845 * sysdeps/x86_64/preconfigure: Regenerated.
4846
41c7328e
JM
48472013-03-14 Joseph Myers <joseph@codesourcery.com>
4848
4849 [BZ #14155]
4850 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4851 0x1p28 and above.
4852 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4853 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4854 0x1p28 and above.
4855 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4856 * math/libm-test.inc (j0_test): Do not allow one spurious
4857 underflow exception.
4858 (y1_test): Likewise.
4859
e25cfa60
SP
48602013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4861
0409959c
SP
4862 * manual/Makefile (chapters): Add nptl.
4863 * manual/debug.texi (Debugging Support): Add link to Threads
4864 chapter.
4865 * manual/nptl.texi: New file.
4866
e25cfa60
SP
4867 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4868
58a1335e
PB
48692013-03-14 Petr Baudis <pasky@ucw.cz>
4870
4871 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4872 for non-NULL pointer before the memory validity test. Pointed
4873 out by Holger Brunck <holger.brunck@keymile.com>.
4874
9dc7c64f
AS
48752013-03-13 Andreas Schwab <schwab@suse.de>
4876
4877 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4878 instead of .os.
4879
54206aa6
JM
48802013-03-13 Joseph Myers <joseph@codesourcery.com>
4881
4882 * timezone/zic.c: Update from tzcode 2013b.
4883
e98cdb38
CD
48842013-03-12 Carlos O'Donell <carlos@redhat.com>
4885
4886 * manual/install.texi (Configuring and compiling):
4887 Mention i686 and i586.
4888 * INSTALL: Regenerate.
4889
9967e003
RM
48902013-03-12 Roland McGrath <roland@hack.frob.com>
4891
4892 * sysdeps/init_array/elf-init.c: New file.
4893 * csu/elf-init.c
4894 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4895 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4896
4897 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4898 __gmon_start__ as global, but as static with a .preinit_array pointer.
4899 * sysdeps/init_array/gmon-start.c: New file. Use that.
4900 * sysdeps/init_array/crti.S: New file, empty except for comments.
4901 * sysdeps/init_array/crtn.S: Likewise.
4902
e6b5a293 49032013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4904
4905 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4906 definining bcopy.
80f844c9
OB
4907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4908 Remove Prefer_SSE_for_memop.
4909 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4910 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4911 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4913 memset-x86-64.
80f844c9 4914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4915 Remove bzero, memset ifunc support.
80f844c9
OB
4916 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4917 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4918 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4919 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4920
fb6b0fcb
AS
49212013-03-11 Andreas Schwab <schwab@suse.de>
4922
4923 [BZ #15234]
4924 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4925 by SHLIB_COMPAT.
4926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4927 (GLIBC_2.16): Remove pthread_atfork.
4928
3e6bd4b1
PP
49292013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4930
4931 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4932 (ptestcases.h): Likewise.
4933
222d7f00
RM
49342013-03-08 Roland McGrath <roland@hack.frob.com>
4935
4936 * Makeconfig ($(common-objpfx)config.status): Depend on
4937 sysdeps/*/preconfigure{,.in} too.
4938
1ba4f030
JM
49392013-03-08 Joseph Myers <joseph@codesourcery.com>
4940
a222d91a
JM
4941 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4942 (__free_hook): Use void * instead of __malloc_ptr_t.
4943 (__malloc_hook): Likewise.
4944 (__realloc_hook): Likewise.
4945 (__memalign_hook): Likewise.
4946 (__after_morecore_hook): Likewise.
4947 * malloc/arena.c (save_malloc_hook): Likewise.
4948 (save_free_hook): Likewise.
4949 * malloc/hooks.c (malloc_hook_ini): Likewise.
4950 (realloc_hook_ini): Likewise.
4951 (memalign_hook_ini): Likewise.
4952 * malloc/malloc.c (malloc_hook_ini): Likewise.
4953 (realloc_hook_ini): Likewise.
4954 (memalign_hook_ini): Likewise.
4955 (__free_hook): Likewise.
4956 (__malloc_hook): Likewise.
4957 (__realloc_hook): Likewise.
4958 (__memalign_hook): Likewise.
4959 (__libc_malloc): Likewise.
4960 (__libc_free): Likewise.
4961 (__libc_realloc): Likewise.
4962 (__libc_memalign): Likewise.
4963 (__libc_valloc): Likewise.
4964 (__libc_pvalloc): Likewise.
4965 (__libc_calloc): Likewise.
4966 (__posix_memalign): Likewise.
4967 * malloc/morecore.c (__sbrk): Likewise.
4968 (__default_morecore): Likewise.
4969
5cc45e10
JM
4970 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4971
dd54b864
JM
4972 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4973 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4974 __malloc_ptrdiff_t.
4975
1ba4f030
JM
4976 * malloc/malloc.h (__malloc_size_t): Remove macro.
4977 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4978 __malloc_size_t.
4979 (old_memalign_hook): Likewise.
4980 (old_realloc_hook): Likewise.
4981 (struct hdr): Likewise.
4982 (flood): Likewise.
4983 (mallochook): Likewise.
4984 (memalignhook): Likewise.
4985 (reallochook): Likewise.
4986 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4987 (tr_old_realloc_hook): Likewise.
4988 (tr_old_memalign_hook): Likewise.
4989 (tr_mallochook): Likewise.
4990 (tr_reallochook): Likewise.
4991 (tr_memalignhook): Likewise.
4992
edf66e57
AZ
49932013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4994
4995 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4996 default_ldbl_pack and using as default implementation.
4997 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4998 implementation.
4999 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5000 redundant definition.
5001 (ldbl_insert_mantissa): Likewise.
5002 (ldbl_canonicalize): Likewise.
5003 (ldbl_nearbyint): Likewise.
5004 (ldbl_pack): Rename to ldbl_pack_ppc.
5005 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5006 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5007 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5008
6d9145d8
SP
50092013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5010
5011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5012 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5013 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5014 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5016 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5017 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5018 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5019
4dd4e157
AJ
50202013-03-07 Andreas Jaeger <aj@suse.de>
5021
5022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5023 bits/mman-linux.h.
5024
adbb8027
SP
50252013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5026
ce544b5b
SP
5027 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5028 Include mpa.h and declare __MPEXP.
5029 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5030 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5031 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5032 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5033 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5034 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5035 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5036
4cc149fd
SP
5037 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5038 (__slowpow): Use long double EXPL and LOGL functions to
5039 compute POW.
5040 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5041 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5042 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5044 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5045 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5046
e6ebd4a7
SP
5047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5048 intermediate variable to calculate exponent.
5049 (__sqr): Likewise.
5050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5051 Likewise.
5052 (__sqr): Likewise.
5053
82a9811d
SP
5054 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5055 [!NO__SQR]: Define __sqr.
5056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5057 and NO__SQR. Remove all code except __mul and __sqr. Include
5058 sysdeps/ieee754/dbl-64/mpa.c.
5059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5060
adbb8027
SP
5061 [BZ #12723]
5062 * posix/Makefile (tests): Add tst-pathconf.
5063 * posix/tst-pathconf.c: New test case.
5064 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5065 _PC_PIPE_BUF.
5066 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5067
39120df9
PF
50682013-03-06 Patsy Franklin <pfrankli@redhat.com>
5069
5070 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5071
67525cb8
AJ
50722013-03-06 Andreas Jaeger <aj@suse.de>
5073
664a9ce4
AJ
5074 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5075 definition via __MAP_ANONYMOUS.
5076
8e39047d
AJ
5077 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5078 it's not part of Linux headers.
5079
67525cb8
AJ
5080 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5081 (MAP_HUGE_MASK): Define.
5082
5083 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5084 Define.
5085 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5087 Define.
5088 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5089 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5090 Define.
5091 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5092 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5093 Define.
5094 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5095
5096 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5097 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5098 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5099 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5100 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5101 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5102
5103 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5104 Handle f2fs.
5105
5106 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5107 Handle f2fs and efivarfs.
5108
5109 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5110 f2fs.
5111
5112 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5113 (EFIVARFS_MAGIC): Add.
5114 (F2FS_LINK_MAX): Add.
5115
e1b42695
PP
51162013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5117
5118 * stdio-common/vfprintf.c: Replace __builtin_expect with
5119 __glibc_unlikely.
5120
2d67d91a
JM
51212013-03-06 Joseph Myers <joseph@codesourcery.com>
5122
5123 [BZ #13550]
5124 * sysdeps/generic/bp-sym.h: Remove file.
5125 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5126 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5127 <bp-sym.h> and <bp-asm.h>.
5128 (__longjmp): Don't use BP_SYM.
5129 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5130 and <bp-asm.h>.
5131 (memcpy): Don't use BP_SYM.
5132 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5133 <bp-sym.h> and <bp-asm.h>.
5134 (memcpy): Don't use BP_SYM.
5135 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5136 <bp-asm.h>.
5137 (memcpy): Don't use BP_SYM.
5138 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5139 <bp-asm.h>.
5140 (memset): Don't use BP_SYM.
5141 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5142 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5143 (__bzero): Don't use BP_SYM.
5144 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5145 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5146 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5147 <bp-sym.h> and <bp-asm.h>.
5148 (memcmp): Don't use BP_SYM. Remove comment about bounded
5149 pointers.
5150 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5151 <bp-sym.h> and <bp-asm.h>.
5152 (memcpy): Don't use BP_SYM.
5153 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5154 <bp-sym.h> and <bp-asm.h>.
5155 (memset): Don't use BP_SYM.
5156 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5157 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5158 (__bzero): Don't use BP_SYM.
5159 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5160 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5161 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5162 <bp-sym.h> and <bp-asm.h>.
5163 (strncmp): Don't use BP_SYM. Remove comment about bounded
5164 pointers.
5165 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5166 <bp-sym.h> and <bp-asm.h>.
5167 (memcpy): Don't use BP_SYM.
5168 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5169 <bp-sym.h> and <bp-asm.h>.
5170 (memset): Don't use BP_SYM.
5171 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5172 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5173 (__bzero): Don't use BP_SYM.
5174 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5175 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5177 <bp-sym.h> and <bp-asm.h>.
5178 (__memchr): Don't use BP_SYM.
5179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5180 <bp-sym.h> and <bp-asm.h>.
5181 (memcmp): Don't use BP_SYM. Remove comment about bounded
5182 pointers.
5183 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5184 <bp-sym.h> and <bp-asm.h>.
5185 (memcpy): Don't use BP_SYM.
5186 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5187 <bp-sym.h> and <bp-asm.h>.
5188 (__mempcpy): Don't use BP_SYM.
5189 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5190 <bp-sym.h> and <bp-asm.h>.
5191 (__memrchr): Don't use BP_SYM.
5192 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5193 <bp-sym.h> and <bp-asm.h>.
5194 (memset): Don't use BP_SYM.
5195 (__bzero): Likewise.
5196 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5197 <bp-sym.h> and <bp-asm.h>.
5198 (__rawmemchr): Don't use BP_SYM.
5199 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5200 <bp-sym.h> and <bp-asm.h>.
5201 (__STRCMP): Don't use BP_SYM.
5202 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5203 <bp-sym.h> and <bp-asm.h>.
5204 (strchr): Don't use BP_SYM.
5205 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5206 <bp-sym.h> and <bp-asm.h>.
5207 (__strchrnul): Don't use BP_SYM.
5208 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5209 <bp-sym.h> and <bp-asm.h>.
5210 (strlen): Don't use BP_SYM.
5211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5212 <bp-sym.h> and <bp-asm.h>.
5213 (strncmp): Don't use BP_SYM. Remove comment about bounded
5214 pointers.
5215 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5216 <bp-sym.h> and <bp-asm.h>.
5217 (__strnlen): Don't use BP_SYM.
5218 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5219 <bp-sym.h> and <bp-asm.h>.
5220 (__GI__setjmp): Don't use BP_SYM.
5221 (_setjmp): Likewise.
5222 (__sigsetjmp): Likewise.
5223 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5224 (L(start_addresses)): Don't use BP_SYM.
5225 (_start): Likewise.
5226 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5227 <bp-asm.h>.
5228 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5229 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5230 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5231 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5232 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5233 <bp-asm.h>.
5234 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5235 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5236 about bounded pointers.
5237 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5238 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5239 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5240 <bp-asm.h>.
5241 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5242 about bounded pointers. Remove GKM FIXME comments.
5243 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5244 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5245 <bp-asm.h>.
5246 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5247 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5248 Remove GKM FIXME comments.
5249 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5250 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5251 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5252 <bp-asm.h>.
5253 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5254 about bounded pointers. Remove GKM FIXME comment.
5255 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5256 and <bp-asm.h>.
5257 (strncmp): Don't use BP_SYM. Remove comment about bounded
5258 pointers.
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5260 <bp-sym.h> and <bp-asm.h>.
5261 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5263 <bp-sym.h> and <bp-asm.h>.
5264 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5265 comment.
5266
cdcf361f
PP
52672013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5268
5269 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5270 call free(NULL).
5271
3c4a2b15
DM
52722013-03-05 David S. Miller <davem@davemloft.net>
5273
5274 * po/es.po: Update from translation team.
5275
cdcf361f 52762013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5277
5278 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5279 <bits/mman-linux.h>.
5280 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5281 is fine.
5282 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5283 <bits/mman-linux.h> to end of file.
5284 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5285 is fine.
5286 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5287 <bits/mman-linux.h> to end of file.
5288 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5289 is fine.
5290 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5291 <bits/mman-linux.h> to end of file.
5292
5293 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5294 (MCL_CURRENT, MCL_FUTURE): Define here.
5295
5f67c04f
AK
52962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5297
8a4473cc 5298 [BZ #15232]
5f67c04f
AK
5299 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5300 attribute_hidden.
5301 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5302
c3e94a95
AK
53032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5304
5305 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5306 fourth parameter needed for rt_sigprocmask syscall.
5307 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5308 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5309 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5310 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5311 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5312 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5313
cfb6382a
JM
53142013-03-04 Joseph Myers <joseph@codesourcery.com>
5315
5316 [BZ #13550]
5317 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5318 comment about bounded pointers.
5319 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5320 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5321
539d8e01
AJ
53222013-03-04 Andreas Jaeger <aj@suse.de>
5323
5324 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5325 common definitions.
5326
5327 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5328 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5329 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5330 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5331 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5332 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5333
2e167a70 53342013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5335
5336 [BZ #15055]
5337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5338 __ieee754_sqrl instead of __sqrl.
5339
68508633
JM
53402013-03-01 Joseph Myers <joseph@codesourcery.com>
5341
5342 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5343 * sysdeps/powerpc/fpu_control.h: ... here.
5344 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5345 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5346 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5347 * sysdeps/powerpc/bits/mathinline.h: ... here.
5348
7775448e
RM
53492013-03-01 Roland McGrath <roland@hack.frob.com>
5350
5351 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5352 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5353 to just [NEED_DL_SYSINFO_DSO].
5354 * elf/dl-support.c: Likewise.
5355 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5356 * elf/rtld.c (dl_main): Likewise.
5357 * elf/setup-vdso.h (setup_vdso): Likewise.
5358 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5359 * sysdeps/unix/sysv/linux/dl-sysdep.c
5360 (_dl_discover_osversion): Likewise.
5361
4e9b5995
CD
53622013-03-01 Carlos O'Donell <carlos@redhat.com>
5363
5364 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5365 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5366
e23872c8
SP
53672013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5368
e5c74c63
SP
5369 * NEWS: Mention libm performance improvements and non-x86 PI
5370 futex support.
5371
e23872c8
SP
5372 * csu/libc-start.c (__pthread_initialize_minimal): Change
5373 function arguments.
5374 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5375
b5510883
JM
53762013-02-28 Joseph Myers <joseph@codesourcery.com>
5377
5378 [BZ #13550]
5379 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5380 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5381 <bp-sym.h> and <bp-asm.h>.
5382 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5383 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5384 and <bp-asm.h>.
5385 (memcpy): Don't use BP_SYM.
5386 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5387 <bp-asm.h>.
5388 (__mpn_add_n): Don't use BP_SYM.
5389 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5390 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5391 and <bp-asm.h>.
5392 (__mpn_addmul_1): Don't use BP_SYM.
5393 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5394 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5395 <bp-sym.h>.
5396 (_setjmp): Don't use BP_SYM.
5397 (__novmx_setjmp): Likewise.
5398 (__GI__setjmp): Likewise.
5399 (__vmx_setjmp): Likewise.
5400 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5401 <bp-sym.h>.
5402 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5403 (__bzero): Don't use BP_SYM.
5404 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5405 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5406 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5407 <bp-sym.h> and <bp-asm.h>.
5408 (memcpy): Don't use BP_SYM.
5409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5410 <bp-sym.h> and <bp-asm.h>.
5411 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5412 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5413 <bp-sym.h> and <bp-asm.h>.
5414 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5415 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5416 <bp-asm.h>.
5417 (__mpn_lshift): Don't use BP_SYM.
5418 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5419 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5420 <bp-asm.h>.
5421 (memset): Don't use BP_SYM.
5422 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5423 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5424 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5425 <bp-asm.h>.
5426 (__mpn_mul_1): Don't use BP_SYM.
5427 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5429 <bp-sym.h> and <bp-asm.h>.
5430 (memcmp): Don't use BP_SYM.
5431 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5432 <bp-sym.h> and <bp-asm.h>.
5433 (memcpy): Don't use BP_SYM.
5434 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5435 <bp-sym.h> and <bp-asm.h>.
5436 (memset): Don't use BP_SYM.
5437 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5438 <bp-sym.h> and <bp-asm.h>.
5439 (strncmp): Don't use BP_SYM.
5440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5441 <bp-sym.h> and <bp-asm.h>.
5442 (memcpy): Don't use BP_SYM.
5443 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5444 <bp-sym.h> and <bp-asm.h>.
5445 (memset): Don't use BP_SYM.
5446 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5447 <bp-sym.h> and <bp-asm.h>.
5448 (__memchr): Don't use BP_SYM.
5449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5450 <bp-sym.h> and <bp-asm.h>.
5451 (memcmp): Don't use BP_SYM.
5452 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5453 <bp-sym.h> and <bp-asm.h>.
5454 (memcpy): Don't use BP_SYM.
5455 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5456 <bp-sym.h> and <bp-asm.h>.
5457 (__mempcpy): Don't use BP_SYM.
5458 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5459 <bp-sym.h> and <bp-asm.h>.
5460 (__memrchr): Don't use BP_SYM.
5461 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5462 <bp-sym.h> and <bp-asm.h>.
5463 (memset): Don't use BP_SYM.
5464 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5465 <bp-sym.h> and <bp-asm.h>.
5466 (__rawmemchr): Don't use BP_SYM.
5467 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5468 <bp-sym.h> and <bp-asm.h>.
5469 (__STRCMP): Don't use BP_SYM.
5470 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5471 <bp-sym.h> and <bp-asm.h>.
5472 (strchr): Don't use BP_SYM.
5473 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5474 <bp-sym.h> and <bp-asm.h>.
5475 (__strchrnul): Don't use BP_SYM.
5476 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5477 <bp-sym.h> and <bp-asm.h>.
5478 (strlen): Don't use BP_SYM.
5479 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5480 <bp-sym.h> and <bp-asm.h>.
5481 (strncmp): Don't use BP_SYM.
5482 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5483 <bp-sym.h> and <bp-asm.h>.
5484 (__strnlen): Don't use BP_SYM.
5485 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5486 <bp-asm.h>.
5487 (__mpn_rshift): Don't use BP_SYM.
5488 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5489 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5490 <bp-sym.h> and <bp-asm.h>.
5491 (__sigsetjmp): Don't use BP_SYM.
5492 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5493 (L(start_addresses)): Don't use BP_SYM.
5494 (_start): Likewise.
5495 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5496 <bp-asm.h>.
5497 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5498 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5499 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5500 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5501 <bp-asm.h>.
5502 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5503 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5504 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5505 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5506 <bp-asm.h>.
5507 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5508 comments.
5509 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5510 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5511 <bp-asm.h>.
5512 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5513 FIXME comments.
5514 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5515 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5516 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5517 <bp-asm.h>.
5518 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5519 comment.
5520 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5521 and <bp-asm.h>.
5522 (strncmp): Don't use BP_SYM,
5523 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5524 <bp-asm.h>.
5525 (__mpn_sub_n): Don't use BP_SYM.
5526 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5527 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5528 and <bp-asm.h>.
5529 (__mpn_submul_1): Don't use BP_SYM.
5530 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5532 <bp-sym.h> and <bp-asm.h>.
5533 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5535 <bp-sym.h> and <bp-asm.h>.
5536 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5537 comment.
5538
8d19fe64
SP
55392013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5540
5541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5542 Use ZK to minimize writes to Z.
5543 (sub_magnitudes): Simplify code a bit.
5544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5545 Use ZK to minimize writes to Z.
5546 (sub_magnitudes): Simplify code a bit.
5547
85bd816a
RM
55482013-02-27 Roland McGrath <roland@hack.frob.com>
5549
5550 * csu/gmon-start.c: Add special exception to license text.
5551
b5977bf2
RH
55522013-02-27 Richard Henderson <rth@redhat.com>
5553
5554 * scripts/config.guess: Update from config.git.
5555 * scripts/config.sub: Likewise.
5556
11d6e2f2
SP
55572013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5558
09c14ed2
SP
5559 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5560
a688864e
SP
5561 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5562
6295157a
SP
5563 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5564
b8de2202
SP
5565 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5566
11d6e2f2
SP
5567 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5568
7e80ddb8
RM
55692013-02-26 Roland McGrath <roland@hack.frob.com>
5570
5571 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5572 [$(build-shared = yes].
7e80ddb8 5573
7da6d9ed
SP
55742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5575
45f05884
SP
5576 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5577 (__mul): Reduce iterations for calculating mantissa.
5578
2236d359
SP
5579 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5580 MPTWO.
5581 (__mpranred): Likewise.
5582
7da6d9ed
SP
5583 [BZ #15160]
5584 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5585 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5586
b7688c42
PE
55872013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5588
5589 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5590 Define __attribute__.
5591
53a5c423
SP
55922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5593
5594 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5595 unused.
5596 * posix/regex_internal.h (__attribute): Remove.
5597 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5598 (re_string_context_at): Likewise.
5599 (bitset_not): Use __attribute__ and mark function as possibly
5600 unused.
5601 (bitset_merge): Likewise.
5602 (bitset_mask): Likewise.
5603 (re_string_char_size_at): Likewise.
5604 (re_string_wchar_at): Likewise.
5605 (re_string_elem_size_at): Likewise.
5606
60f5a8b5
SP
56072013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5608
2a983a2e
SP
5609 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5610 code.
5611 (cc32): Likewise.
5612
e69804d1
SP
5613 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5614 (__acr): Likewise.
5615 (__cpy): Likewise.
5616 (norm): Likewise.
5617 (denorm): Likewise.
5618 (__dbl_mp): Likewise.
5619 (add_magnitudes): Likewise.
5620 (sub_magnitudes): Likewise.
5621 (__mul): Likewise.
5622 (__inv): Likewise.
5623
2f22a1e8
SP
5624 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5625 style.
5626
8930ddc7
SP
5627 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5628 style.
5629
dc60cb11
SP
5630 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5631 code.
5632
60f5a8b5
SP
5633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5634 up changes with default code.
5635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5636 Likewise.
5637
b4d1fd33
AM
56382013-02-24 Allan McRae <allan@archlinux.org>
5639
faf6f8bc
AM
5640 * manual/socket.texi (The Internet Namespace): Order menu items
5641 to match that in the file.
5642
b4d1fd33
AM
5643 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5644 node listing of the info page menu.
5645
2366713d
JM
56462013-02-21 Joseph Myers <joseph@codesourcery.com>
5647
5648 [BZ #13550]
5649 * sysdeps/i386/bp-asm.h: Remove file.
5650 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5651 (PARMS): Do not use macros from bp-asm.h.
5652 (S1): Likewise.
5653 (S2): Likewise.
5654 (SIZE): Likewise.
5655 (__mpn_add_n): Do not use BP_SYM
5656 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5657 "bp-asm.h".
5658 (PARMS): Do not use macros from bp-asm.h.
5659 (S1): Likewise.
5660 (SIZE): Likewise.
5661 (__mpn_addmul_1): Do not use BP_SYM
5662 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5663 "bp-asm.h".
5664 (PARMS): Do not use macros from bp-asm.h.
5665 (SIGMSK): Likewise.
5666 (_setjmp): Likewise. Do not use BP_SYM.
5667 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5668 "bp-asm.h".
5669 (PARMS): Do not use macros from bp-asm.h.
5670 (SIGMSK): Likewise.
5671 (setjmp): Likewise. Do not use BP_SYM.
5672 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5673 "bp-asm.h".
5674 (PARMS): Do not use macros from bp-asm.h.
5675 (__frexp): Do not use BP_SYM.
5676 (frexp): Likewise.
5677 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5678 "bp-asm.h".
5679 (PARMS): Do not use macros from bp-asm.h.
5680 (__frexpf): Do not use BP_SYM.
5681 (frexpf): Likewise.
5682 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5683 "bp-asm.h".
5684 (PARMS): Do not use macros from bp-asm.h.
5685 (__frexpl): Do not use BP_SYM.
5686 (frexpl): Likewise.
5687 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5688 "bp-asm.h".
5689 (PARMS): Do not use macros from bp-asm.h.
5690 (__remquo): Do not use BP_SYM.
5691 (remquo): Likewise.
5692 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5693 "bp-asm.h".
5694 (PARMS): Do not use macros from bp-asm.h.
5695 (__remquof): Do not use BP_SYM.
5696 (remquof): Likewise.
5697 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5698 "bp-asm.h".
5699 (PARMS): Do not use macros from bp-asm.h.
5700 (__remquol): Do not use BP_SYM.
5701 (remquol): Likewise.
5702 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5703 "bp-asm.h".
5704 (PARMS): Do not use macros from bp-asm.h.
5705 (DEST): Likewise.
5706 (SRC): Likewise.
5707 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5708 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5709 "bp-asm.h".
5710 (PARMS): Do not use macros from bp-asm.h.
5711 (strlen): Do not use BP_SYM.
5712 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5713 "bp-asm.h".
5714 (PARMS): Do not use macros from bp-asm.h.
5715 (S1): Likewise.
5716 (S2): Likewise.
5717 (SIZE): Likewise.
5718 (__mpn_add_n): Do not use BP_SYM.
5719 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5720 "bp-asm.h".
5721 (PARMS): Do not use macros from bp-asm.h.
5722 (S1): Likewise.
5723 (SIZE): Likewise.
5724 (__mpn_addmul_1): Do not use BP_SYM.
5725 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5726 weak_alias.
5727 (bzero): Likewise.
5728 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5729 "bp-asm.h".
5730 (PARMS): Do not use macros from bp-asm.h.
5731 (S): Likewise.
5732 (SIZE): Likewise.
5733 (__mpn_lshift): Do not use BP_SYM.
5734 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5735 "bp-asm.h".
5736 (PARMS): Do not use macros from bp-asm.h.
5737 (DEST): Likewise.
5738 (SRC): Likewise.
5739 (LEN): Likewise.
5740 (memcpy): Likewise. Do not use BP_SYM.
5741 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5742 libc_hidden_def and weak_alias.
5743 (mempcpy): Do not use BP_SYM in weak_alias.
5744 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5745 "bp-asm.h".
5746 (PARMS): Do not use macros from bp-asm.h.
5747 (DEST): Likewise.
5748 (LEN): Likewise.
5749 [!BZERO_P] (CHR): Likewise.
5750 (memset): Likewise. Do not use BP_SYM.
5751 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5752 "bp-asm.h".
5753 (PARMS): Do not use macros from bp-asm.h.
5754 (S1): Likewise.
5755 (SIZE): Likewise.
5756 (__mpn_mul_1): Do not use BP_SYM.
5757 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5758 "bp-asm.h".
5759 (PARMS): Do not use macros from bp-asm.h.
5760 (S): Likewise.
5761 (SIZE): Likewise.
5762 (__mpn_rshift): Do not use BP_SYM.
5763 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5764 "bp-asm.h".
5765 (PARMS): Do not use macros from bp-asm.h.
5766 (STR): Likewise.
5767 (CHR): Likewise.
5768 (strchr): Likewise. Do not use BP_SYM.
5769 (index): Do not use BP_SYM in weak_alias.
5770 * sysdeps/i386/i586/strcpy.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 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5776 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5777 "bp-asm.h".
5778 (PARMS): Do not use macros from bp-asm.h.
5779 (strlen): Do not use BP_SYM.
5780 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5781 "bp-asm.h".
5782 (PARMS): Do not use macros from bp-asm.h.
5783 (S1): Likewise.
5784 (S2): Likewise.
5785 (SIZE): Likewise.
5786 (__mpn_sub_n): Do not use BP_SYM.
5787 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5788 "bp-asm.h".
5789 (PARMS): Do not use macros from bp-asm.h.
5790 (S1): Likewise.
5791 (SIZE): Likewise.
5792 (__mpn_submul_1): Do not use BP_SYM.
5793 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5794 "bp-asm.h".
5795 (PARMS): Do not use macros from bp-asm.h.
5796 (S1): Likewise.
5797 (S2): Likewise.
5798 (SIZE): Likewise.
5799 (__mpn_add_n): Do not use BP_SYM.
5800 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5801 weak_alias.
5802 (bzero): Likewise.
5803 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5804 "bp-asm.h".
5805 (PARMS): Do not use macros from bp-asm.h.
5806 (BLK2): Likewise.
5807 (LEN): Likewise.
5808 (memcmp): Do not use BP_SYM.
5809 (bcmp): Do not use BP_SYM in weak_alias.
5810 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5811 "bp-asm.h".
5812 (PARMS): Do not use macros from bp-asm.h.
5813 (DEST): Likewise.
5814 (SRC): Likewise.
5815 (LEN): Likewise.
5816 (memcpy): Likewise. Do not use BP_SYM.
5817 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5818 "bp-asm.h".
5819 (PARMS): Do not use macros from bp-asm.h.
5820 (DEST): Likewise.
5821 (SRC): Likewise.
5822 (LEN): Likewise.
5823 (memmove): Likewise. Do not use BP_SYM.
5824 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5825 "bp-asm.h".
5826 (PARMS): Do not use macros from bp-asm.h.
5827 (DEST): Likewise.
5828 (SRC): Likewise.
5829 (LEN): Likewise.
5830 (__mempcpy): Likewise. Do not use BP_SYM.
5831 (mempcpy): Do not use BP_SYM in weak_alias.
5832 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5833 "bp-asm.h".
5834 (PARMS): Do not use macros from bp-asm.h.
5835 (DEST): Likewise.
5836 (LEN): Likewise.
5837 [!BZERO_P] (CHR): Likewise.
5838 (memset): Likewise. Do not use BP_SYM.
5839 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5840 "bp-asm.h".
5841 (PARMS): Do not use macros from bp-asm.h.
5842 (STR2): Likewise.
5843 (strcmp): Do not use BP_SYM.
5844 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5845 "bp-asm.h".
5846 (PARMS): Do not use macros from bp-asm.h.
5847 (STR): Likewise.
5848 (DELIM): Likewise.
5849 [USE_AS_STRTOK_R] (SAVE): Likewise.
5850 (FUNCTION): Likewise. Do not use BP_SYM.
5851 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5852 aliases.
5853 (strtok_r): Likewise.
5854 (__GI___strtok_r): Likewise.
5855 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5856 (PARMS): Do not use macros from bp-asm.h.
5857 (S): Likewise.
5858 (SIZE): Likewise.
5859 (__mpn_lshift): Do not use BP_SYM.
5860 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5861 (PARMS): Do not use macros from bp-asm.h.
5862 (STR): Likewise.
5863 (CHR): Likewise.
5864 (__memchr): Do not use BP_SYM.
5865 (memchr): Do not use BP_SYM in weak_alias.
5866 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5867 (PARMS): Do not use macros from bp-asm.h.
5868 (BLK2): Likewise.
5869 (LEN): Likewise.
5870 (memcmp): Do not use BP_SYM.
5871 (bcmp): Do not use BP_SYM in weak_alias.
5872 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5873 (PARMS): Do not use macros from bp-asm.h.
5874 (S1): Likewise.
5875 (SIZE): Likewise.
5876 (__mpn_mul_1): Do not use BP_SYM.
5877 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5878 "bp-asm.h".
5879 (PARMS): Do not use macros from bp-asm.h.
5880 (STR): Likewise.
5881 (CHR): Likewise.
5882 (__rawmemchr): Do not use BP_SYM.
5883 (rawmemchr): Do not use BP_SYM in weak_alias.
5884 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5885 (PARMS): Do not use macros from bp-asm.h.
5886 (S): Likewise.
5887 (SIZE): Likewise.
5888 (__mpn_rshift): Do not use BP_SYM.
5889 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5890 (PARMS): Do not use macros from bp-asm.h.
5891 (SIGMSK): Likewise.
5892 (__sigsetjmp): Likewise. Do not use BP_SYM.
5893 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5894 (_start): Do not use BP_SYM.
5895 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5896 (PARMS): Do not use macros from bp-asm.h.
5897 (DEST): Likewise.
5898 (SRC): Likewise.
5899 (__stpcpy): Likewise. Do not use BP_SYM.
5900 (stpcpy): Do not use BP_SYM in weak_alias.
5901 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5902 "bp-asm.h".
5903 (PARMS): Do not use macros from bp-asm.h.
5904 (DEST): Likewise.
5905 (SRC): Likewise.
5906 (LEN): Likewise.
5907 (__stpncpy): Likewise. Do not use BP_SYM.
5908 (stpncpy): Do not use BP_SYM in weak_alias.
5909 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5910 (PARMS): Do not use macros from bp-asm.h.
5911 (STR): Likewise.
5912 (CHR): Likewise.
5913 (strchr): Likewise. Do not use BP_SYM.
5914 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5915 "bp-asm.h".
5916 (PARMS): Do not use macros from bp-asm.h.
5917 (STR): Likewise.
5918 (CHR): Likewise.
5919 (__strchrnul): Likewise. Do not use BP_SYM.
5920 (strchrnul): Do not use BP_SYM in weak_alias.
5921 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5922 "bp-asm.h".
5923 (PARMS): Do not use macros from bp-asm.h.
5924 (STOP): Likewise.
5925 (strcspn): Do not use BP_SYM.
5926 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5927 "bp-asm.h".
5928 (PARMS): Do not use macros from bp-asm.h.
5929 (STR): Likewise.
5930 (STOP): Likewise.
5931 (strpbrk): Likewise. Do not use BP_SYM.
5932 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5933 "bp-asm.h".
5934 (PARMS): Do not use macros from bp-asm.h.
5935 (STR): Likewise.
5936 (CHR): Likewise.
5937 (strrchr): Likewise. Do not use BP_SYM.
5938 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5939 (PARMS): Do not use macros from bp-asm.h.
5940 (SKIP): Likewise.
5941 (strspn): Do not use BP_SYM.
5942 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5943 (PARMS): Do not use macros from bp-asm.h.
5944 (STR): Likewise.
5945 (DELIM): Likewise.
5946 (SAVE): Likewise.
5947 (FUNCTION): Likewise. Do not use BP_SYM.
5948 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5949 aliases.
5950 (strtok_r): Likewise.
5951 (__GI___strtok_r): Likewise.
5952 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5953 (PARMS): Do not use macros from bp-asm.h.
5954 (S1): Likewise.
5955 (S2): Likewise.
5956 (SIZE): Likewise.
5957 (__mpn_sub_n): Do not use BP_SYM.
5958 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5959 "bp-asm.h".
5960 (PARMS): Do not use macros from bp-asm.h.
5961 (S1): Likewise.
5962 (SIZE): Likewise.
5963 (__mpn_submul_1): Do not use BP_SYM.
5964 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5965 <bp-sym.h>.
5966 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5967 and <bp-asm.h>.
5968 (PARMS): Do not use macros from bp-asm.h.
5969 (FLAGS): Likewise.
5970 (PTID): Likewise.
5971 (TLS): Likewise.
5972 (CTID): Likewise.
5973 (__clone): Do not use BP_SYM.
5974 (clone): Do not use BP_SYM in weak_alias.
5975 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5976 and <bp-asm.h>.
5977 (PARMS): Do not use macros from bp-asm.h.
5978 (LEN): Likewise.
5979 (__mmap64): Do not use BP_SYM.
5980 (mmap64): Do not use BP_SYM in weak_alias.
5981 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5982 <bp-sym.h> and <bp-asm.h>.
5983 (PARMS): Do not use macros from bp-asm.h.
5984 (__posix_fadvise64_l64): Do not use BP_SYM.
5985 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5986 (PARMS): Do not use macros from bp-asm.h.
5987 (NSOPS): Likewise.
5988 (semtimedop): Do not use BP_SYM.
5989 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5990 and <bp-asm.h>.
5991
582a3cff
AM
59922013-02-21 Allan McRae <allan@archlinux.org>
5993
5994 * manual/message.texi (Charset conversion in gettext):
5995 Move @end statement to beginning of line.
5996
bab8a695
SP
59972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5998
80945231
SP
5999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6000 static.
6001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6002 Likewise.
6003
bab8a695
SP
6004 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6005 (denorm): Likewise.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6008
e21d7aa7
AK
60092013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6010
6011 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6012 tail-call to the resolved function if pltexit isn't needed.
6013
4c7a4263
SP
60142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6015
6016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6017 or Y being zero as being unlikely.
6018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6019 Likewise.
6020
41f49342
CD
60212013-02-20 Carlos O'Donell <carlos@redhat.com>
6022
6023 * manual/nss.texi (System Databases and Name Service Switch):
6024 Remove frobnicate @pxref.
6025
50022a93
TS
60262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6027
6028 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6029 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6030
08cbd996
PM
60312013-02-20 Petr Machata <pmachata@redhat.com>
6032
6033 * elf/elf.h (R_ARM_TARGET1): New macro.
6034 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6035 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6036 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6037 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6038 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6039 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6040 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6041 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6042 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6043 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6044 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6045 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6046 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6047 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6048 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6049 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6050 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6051 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6052 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6053 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6054 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6055 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6056 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6057 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6058 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6059 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6060 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6061 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6062 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6063 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6064 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6065 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6066 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6067 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6068 (R_ARM_THM_GOT_BREL12): Likewise.
6069 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6070 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6071 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6072 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6073 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6074 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6075 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6076 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6077 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6078
c7b275d6
TS
60792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6080
6081 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6082 __attribute_used__ to __attribute__ ((unused)).
6083
20cd7fb3
SP
60842013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6085
6086 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6087 powerpc mpa.c.
6088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6089 comment formatting.
6090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6091
92945b52
JM
60922013-02-19 Joseph Myers <joseph@codesourcery.com>
6093
6094 [BZ #13550]
6095 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6096 Remove macro.
6097 (ENTER): Remove both macro definitions.
6098 (LEAVE): Likewise.
6099 (CHECK_BOUNDS_LOW): Likewise.
6100 (CHECK_BOUNDS_HIGH): Likewise.
6101 (CHECK_BOUNDS_BOTH): Likewise.
6102 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6103 (RETURN_BOUNDED_POINTER): Likewise.
6104 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6105 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6106 (POP_ERRNO_LOCATION_RETURN): Likewise.
6107 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6108 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6109 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6110 macros.
6111 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6112 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6113 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6114 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6115 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6116 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6117 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6118 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6119 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6120 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6121 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6122 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6123 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6124 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6125 removed macros.
6126 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6127 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6128 macros.
6129 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6130 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6131 * sysdeps/i386/i586/memset.S (memset): Likewise.
6132 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6133 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6134 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6135 macros.
6136 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6137 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6138 Change uses of L(2) to L(out).
6139 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6140 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6141 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6142 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6143 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6144 removed macros.
6145 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6146 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6147 macros.
6148 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6149 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6150 (RETURN): Do not use macro LEAVE.
6151 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6152 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6153 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6154 * sysdeps/i386/i686/memset.S (memset): Likewise.
6155 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6156 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6157 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6158 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6159 Likewise.
6160 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6161 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6162 L(1_2) and L(1_3) into L(1).
6163 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6164 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6165 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6166 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6167 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6168 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6169 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6170 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6171 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6172 macros.
6173 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6174 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6175 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6176 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6177 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6178 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6179 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6180 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6181 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6182 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6183 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6184 * sysdeps/i386/strspn.S (strspn): Likewise.
6185 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6186 conditional code.
6187 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6188 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6189 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6190 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6191 L(1_3) into L(1_1).
6192 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6193 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6194 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6195 macros.
6196 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6197
2389741a
JJ
61982013-02-19 Jakub Jelinek <jakub@redhat.com>
6199
6200 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6201 macro.
6202
2016b3cd
SP
62032013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6204
e4f22324
SP
6205 * math/atest-exp.c (exp_mpn): Remove ROUND.
6206 * math/atest-exp2.c (exp_mpn): Likewise.
6207 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6208
2016b3cd
SP
6209 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6210 * stdlib/tst-tls-atexit-lib.c: Likewise.
6211 * stdlib/tst-tls-atexit.c: Likewise.
6212
4be9b544
MF
62132013-02-18 Mike Frysinger <vapier@gentoo.org>
6214
6215 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6216 and __attribute_alloc_size__.
6217
2f62b9ee
MF
62182013-02-18 Mike Frysinger <vapier@gentoo.org>
6219
6220 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6221 __attribute_alloc_size__.
6222 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6223 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6224
6ff444c4
MF
62252013-02-18 Mike Frysinger <vapier@gentoo.org>
6226
6227 * include/programs/xmalloc.h: New file.
6228 * catgets/gencat.c: Include it.
6229 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6230 * elf/pldd.c: Likewise.
6231 * iconv/iconv_charmap.c: Likewise.
6232 * iconv/iconvconfig.c: Likewise.
6233 * iconv/strtab.c: Likewise.
6234 * locale/programs/locale.c: Likewise.
6235 * locale/programs/localedef.h: Likewise.
6236 * locale/programs/simple-hash.c: Likewise.
6237 * nscd/nscd.h: Likewise.
6238 * nss/makedb.c: Likewise.
6239 * sysdeps/generic/ldconfig.h: Likewise.
6240
be179c8a
SP
62412013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6242
ba384f6e
SP
6243 * Versions.def: Add GLIBC_2.18.
6244 * include/link.h (struct link_map): New member l_tls_dtor_count.
6245 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6246 (__call_tls_dtors): Likewise.
6247 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6248 __cxa_thread_atexit_impl.
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6250 Likewise.
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6252 Likewise.
6253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6254 Likewise.
6255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6256 Likewise.
6257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6259 Likewise.
6260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6261 Likewise.
6262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6264 Likewise.
6265 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6266 (tests): Add test case tst-tls-atexit.
6267 (modules-names): Add shared library for tst-tls-atexit.
6268 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6269 (GLIBC_PRIVATE): Add __call_tls_dtors.
6270 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6271 for libstdc++.
6272 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6273 * stdlib/tst-tls-atexit.c: New test case.
6274 * stdlib/tst-tls-atexit-lib.c: New test case.
6275
ffaa74cf 6276 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6277
be179c8a
SP
6278 * elf/Versions (ld): Add _dl_find_dso_for_object.
6279 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6280 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6281 (dl_open_worker): Use _dl_find_dso_for_object.
6282 * elf/dl-sym.c (do_sym): Likewise.
6283 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6284
f78b5caa
AK
62852013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6286
6287 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6288 Syntactic changes only.
6289 (_dl_runtime_profile): Do a tail-call to the resolved function.
6290
29691210
JM
62912013-02-17 Joseph Myers <joseph@codesourcery.com>
6292
6293 [BZ #13550]
6294 * sysdeps/x86_64/bp-asm.h: Remove file.
6295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6296 <bp-sym.h> and <bp-asm.h>.
6297 (__clone): Do not use BP_SYM.
6298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6299 <bp-sym.h> and <bp-asm.h>.
6300 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6301 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6302 "bp-asm.h".
6303 (_setjmp): Do not use BP_SYM.
6304 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6305 "bp-asm.h".
6306 (setjmp): Do not use BP_SYM.
6307 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6308 libc_hidden_def.
6309 (mempcpy): Do not use BP_SYM in weak_alias.
6310 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6311 "bp-asm.h".
6312 (strchr): Do not use BP_SYM.
6313 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6314 "bp-asm.h".
6315 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6316 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6317 (_start): Do not use BP_SYM.
6318 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6319 "bp-asm.h".
6320 (strcat): Do not use BP_SYM.
6321 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6322 "bp-asm.h".
6323 (STRCMP): Do not use BP_SYM.
6324 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6325 "bp-asm.h".
6326 (STRCPY): Do not use BP_SYM.
6327 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6328 "bp-asm.h".
6329 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6330 "bp-asm.h".
6331 (FUNCTION): Do not use BP_SYM.
6332 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6333 weak_alias.
6334 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6335
f238fd19
AJ
63362013-02-17 Andreas Jaeger <aj@suse.de>
6337
6338 * time/Versions: Sort entries.
6339 * string/Versions: Likewise.
6340 * resolv/Versions: Likewise.
6341 * posix/Versions: Likewise.
6342 * iconv/Versions: Likewise.
6343 * elf/Versions: Likewise.
6344 * wcsmbs/Versions: Likewise.
6345
bd07f23c 63462013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6347
22af19f9
SP
6348 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6349 loop termination condition.
6350
4709fe76
SP
6351 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6352 variable to calculate EZ.
6353 (__sqr): Likewise.
2d0e0f29
SP
6354
6355 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6356 the lower precision input.
6357
daaa7713
JM
63582013-02-15 Joseph Myers <joseph@codesourcery.com>
6359
6360 [BZ #13550]
6361 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6362 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6363 (run-via-rtld-prefix): Do not handle %-bp tests.
6364 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6365 (all-object-suffixes): Remove .ob.
6366 (bppfx): Remove variable.
6367 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6368 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6369 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6370 [$(build-bounded) = yes] (libtype.ob): Likewise.
6371 * Makerules (elide-routines.ob): Remove variable.
6372 (do-tests-clean): Do not handle *-bp.out.
6373 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6374 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6375 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6376 (tests): Do not include $(tests-bp.out).
6377 (xtests): Do not include $(xtests-bp.out).
6378 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6379 [$(build-bounded) = yes] ($(addprefix
6380 $(objpfx),$(binaries-bounded))): Remove rule.
6381 ($(objpfx)%-bp.out): Remove rule.
6382 * config.make.in (build-bounded): Remove variable.
6383 * crypt/Makefile [$(build-bounded) = yes]
6384 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6385 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6386 append to variable.
6387 [$(build-bounded) = yes] (install-lib): Likewise.
6388 [$(build-bounded) = yes] (generated): Likewise.
6389 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6390 Remove rule.
6391 * intl/Makefile [$(build-bounded) = yes]
6392 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6393 * math/Makefile [$(build-bounded) = yes]
6394 ($(tests:%=$(objpfx)%-bp): Likewise.
6395 * misc/Makefile [$(build-bounded) = yes]
6396 ($(objpfx)tst-tsearch-bp): Likewise.
6397 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6398 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6399 Remove dependency.
6400 * string/Makefile (o-objects.ob): Remove variable.
6401 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6402 (CFLAGS-.ob): Remove variable.
6403 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6404 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6405 both definitions of variable.
6406 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6407 (ASFLAGS-.ob): Remove variable.
6408
e97ed6dd
JM
64092013-02-14 Joseph Myers <joseph@codesourcery.com>
6410
2bdd4ca6
JM
6411 [BZ #13550]
6412 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6413 Remove __BOUNDED_POINTERS__ from condition.
6414 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6415 * string/bits/string2.h [!__NO_STRING_INLINES &&
6416 !__BOUNDED_POINTERS__]: Likewise.
6417 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6418 Likewise.
6419 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6420 Remove conditional code.
6421 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6422 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6423 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6424 condition.
6425
e97ed6dd
JM
6426 [BZ #13550]
6427 * csu/libc-start.c: Do not include <bp-sym.h>.
6428 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6429 * elf/dl-open.c: Do not include <bp-sym.h>.
6430 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6431 * math/fegetenv.c: Do not include <bp-sym.h>.
6432 (fegetenv): Do not use BP_SYM in versioned symbols.
6433 * nptl/sysdeps/pthread/bits/libc-lockP.h
6434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6435 <bp-sym.h>.
6436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6437 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6439 (__pthread_mutex_destroy): Likewise.
6440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6441 (__pthread_mutex_lock): Likewise.
6442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6443 (__pthread_mutex_trylock): Likewise.
6444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6445 (__pthread_mutex_unlock): Likewise.
6446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6447 (__pthread_mutexattr_init): Likewise.
6448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6449 (__pthread_mutexattr_destroy): Likewise.
6450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6451 (__pthread_mutexattr_settype): Likewise.
6452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6453 (__pthread_rwlock_init): Likewise.
6454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6455 (__pthread_rwlock_destroy): Likewise.
6456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6457 (__pthread_rwlock_rdlock): Likewise.
6458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6459 (__pthread_rwlock_tryrdlock): Likewise.
6460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6461 (__pthread_rwlock_wrlock): Likewise.
6462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6463 (__pthread_rwlock_trywrlock): Likewise.
6464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6465 (__pthread_rwlock_unlock): Likewise.
6466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6467 (__pthread_key_create): Likewise.
6468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6469 (__pthread_setspecific): Likewise.
6470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6471 (__pthread_getspecific): Likewise.
6472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6473 Likewise.
6474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6475 (_pthread_cleanup_push_defer): Likewise.
6476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6477 (_pthread_cleanup_pop_restore): Likewise.
6478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6479 (pthread_setcancelstate): Likewise.
6480 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6481 <bp-sym.h>.
6482 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6483 (memchr): Do not use BP_SYM in weak_alias.
6484 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6485 (fegetenv): Do not use BP_SYM in versioned symbols.
6486 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6487 (fesetenv): Do not use BP_SYM in versioned symbols.
6488 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6489 (feupdateenv): Do not use BP_SYM in versioned symbols.
6490 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6491 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6492 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6493 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6494 (open64): Do not use BP_SYM in weak_alias.
6495 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6496 (fegetenv): Do not use BP_SYM in versioned symbols.
6497 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6498 (fesetenv): Do not use BP_SYM in versioned symbols.
6499 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6500 (feupdateenv): Do not use BP_SYM in versioned symbols.
6501 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6502 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6503 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6504 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6505 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6506 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6507 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6508 <bp-sym.h>.
6509 (__libc_start_main): Do not use BP_SYM.
6510
d6752ccd
SP
65112013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6512
cb57ce60
SP
6513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6514 redundant return line.
6515 (norm): Likewise.
6516 (denorm): Likewise.
6517 (dbl_mp): Likewise.
6518 (sub_magnitudes): Likewise.
6519 (__add): Likewise.
6520 (__sub): Likewise.
6521 (__mul): Likewise.
6522 (__inv): Likewise.
6523 (__dvd): Likewise.
6524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6525 (norm): Likewise.
6526 (denorm): Likewise.
6527 (dbl_mp): Likewise.
6528 (sub_magnitudes): Likewise.
6529 (__add): Likewise.
6530 (__sub): Likewise.
6531 (__mul): Likewise.
6532 (__inv): Likewise.
6533 (__dvd): Likewise.
6534
f414520d
SP
6535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6536 instead of __mul.
6537 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6538 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6539 (cc32): Likewise.
6540
d6752ccd
SP
6541 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6542 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6544 of __mul for squares.
6545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6546 function
6547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6548 Likewise.
6549 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6551
70d9946a
JM
65522013-02-13 Joseph Myers <joseph@codesourcery.com>
6553
6554 [BZ #13550]
6555 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6556 code.
6557 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6558 prototype or function definition. Rename ubp_* variables and
6559 parameters. Remove argv definitions conditional on
6560 [__BOUNDED_POINTERS__].
6561 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6562 * elf/dl-runtime.c (_dl_fixup): Likewise.
6563 * include/set-hooks.h (RUN_HOOK): Likewise.
6564 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6565 definition.
6566 * string/strcpy.c (strcpy): Do not use __unbounded.
6567 * sysdeps/generic/frame.h (struct layout): Likewise.
6568 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6569 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6570 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6571 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6572 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6573 (__backtrace): Likewise.
6574 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6575 use __ptrvalue.
6576 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6577 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6578 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6579 Likewise.
6580 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6581 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6582 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6583 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6584 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6585 Do not use __unbounded.
6586 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6587 Rename __unboundedrlimits parameter to rlimits in prototype.
6588 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6589 Do not use __unbounded.
6590 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6591 not use __ptrvalue.
6592 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6593 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6594 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6595 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6596 __ptrvalue or __unbounded.
6597 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6598 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6599 use __unbounded.
6600 (__new_msgctl): Do not use __ptrvalue.
6601 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6602 __unbounded.
6603 (__libc_msgrcv): Do not use __ptrvalue.
6604 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6605 startup_info): Do not use __unbounded.
6606 (__libc_start_main): Likewise. Rename ubp_* variables and
6607 parameters. Remove argv definitions conditional on
6608 [__BOUNDED_POINTERS__].
6609 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6610 __ptrvalue.
6611 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6612 use __unbounded.
6613 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6614 or __ptrvalue.
6615 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6616 use __unbounded.
6617 (__new_shmctl): Do not use __ptrvalue.
6618 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6619 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6620 Likewise.
6621 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6623 (__libc_sigaction): Likewise.
6624 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6625 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6626 Likewise.
6627 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6628
cc7834d6
OB
66292013-02-13 Ondřej Bílka <neleai@seznam.cz>
6630
ffb1ec7b 6631 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6632
6633 * string/mempcpy.c: Implement by calling memcpy.
6634
bdf02814
SP
66352013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6636
c2af38aa
SP
6637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6638
4e92d59e
SP
6639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6640 evaluation.
6641
909279a5
SP
6642 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6643 values in the mantissa.
6644
bdf02814
SP
6645 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6646 minimize writes to Z.
6647 (sub_magnitudes): Simplify code a bit.
6648
cd525923
RM
66492013-02-12 Roland McGrath <roland@hack.frob.com>
6650
6651 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6652 from the message. The linker prefixes all warnings with that already.
6653
7e2f0d2d
AS
66542013-02-12 Andreas Schwab <schwab@suse.de>
6655
a445af0b
AS
6656 [BZ #15078]
6657 * posix/regexec.c (extend_buffers): Add parameter min_len.
6658 (check_matching): Pass minimum needed length.
6659 (clean_state_log_if_needed): Likewise.
6660 (get_subexp): Likewise.
6661 * posix/Makefile (tests): Add bug-regex34.
6662 (bug-regex34-ENV): Define.
6663 * posix/bug-regex34.c: New file.
6664
7e2f0d2d
AS
6665 [BZ #11561]
6666 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6667 elements compare against the byte sequence of it, not its name.
6668 * posix/Makefile (tests): Add bug-regex35.
6669 (bug-regex35-ENV): Define.
6670 * posix/bug-regex35.c: New file.
6671
a175b684
TV
66722013-02-11 Tom de Vries <tom@codesourcery.com>
6673
6674 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6675 comment.
6676 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6677 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6678 (CHECK_EOL): Add undef.
6679
310998fe 66802013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6681
6682 * bits/stdlib-bsearch.h: New file.
6683 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6684 * stdlib/stdlib.h: Likewise.
41eda41d 6685
8ded91fb
RM
66862013-02-11 Roland McGrath <roland@hack.frob.com>
6687
6688 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6689 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6690 declaration.
6691 * manual/search.texi (Array Search Function): Add missing const in
6692 lfind prototype.
6693 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6694 declaration to use rlim_t.
6695 (Basic Scheduling Functions): Remove erroneous const from
6696 sched_getparam prototype. Remove erroneous * from
6697 sched_get_priority_max and sched_get_priority_min prototypes.
6698 (Resource Usage): Fix summary @comment on vtimes to refer to
6699 sys/vtimes.h rather than vtimes.h.
6700 Add missing *s in vtimes prototype.
6701 (Limits on Resources): Fix ulimit prototype to return long int.
6702 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6703 prototypes to use long int rather than double.
6704 (BSD Random): Fix initstate and setstate to use char *, not void *.
6705 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6706 prototype to make second argument 'struct aiocb64 *const[]'.
6707 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6708 (Status of AIO Operations): Remove erroneous const in aio_return and
6709 aio_return64 prototypes.
6710 (Synchronizing I/O): Fix sync prototype to return void.
6711 * manual/startup.texi (Suboptions): Remove an erroneous const in
6712 getsubopt prototype.
6713 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6714 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6715 use size_t rather than int.
6716 (Scanning All Users): Likewise for getpwent_r.
6717 (Setting Groups): Add missing const to setgroups prototype.
6718 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6719 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6720 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6721 'const void *' rather than 'const char *'.
6722 (Host Address Functions): Likewise for inet_ntop.
6723 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6724 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6725 ssize_t for return value.
6726 (Sending Data): Likewise for send, sendto, sendmsg.
6727 (Socket Option Functions): Add a missing const in setsockopt prototype.
6728 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6729 use wchar_t for the argument.
6730 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6731 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6732 take no arguments.
6733 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6734 double/float/long double for second argument.
6735 Fix return types of significand, significandf, significandl.
6736 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6737 argument in fchmod prototype.
6738 (File Owner): Use uid_t and gid_t in fchown prototype.
6739 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6740 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6741 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6742 use 'const struct dirent **' as argument types to CMP function pointer
6743 argument.
6744 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6745 (File Times): Fix summary magic @comment for struct utimbuf and utime
6746 to refer to utime.h, not time.h.
6747 * manual/string.texi (Argz Functions): Add missing const in
6748 argz_extract and argz_next prototypes.
6749 (Finding Tokens in a String): Likewise for basename.
6750 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6751 (Copying and Concatenation): Fix typo in wmemmove prototype.
6752 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6753 (Signal Stack): Remove erroneous const in sigstack prototype.
6754 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6755 prototype.
6756 (Simple Calendar Time): Likewise for stime.
6757 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6758 prototype.
6759 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6760 say sys/sysctl.h instead.
6761 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6762 and vsyslog prototypes.
6763
fe77fe6d
TV
67642013-02-11 Tom de Vries <tom@codesourcery.com>
6765
6766 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6767 Remove.
6768
3a09b620
RM
67692013-02-11 Roland McGrath <roland@hack.frob.com>
6770
6771 * misc/sys/mman.h: Fix typo in mremap comment.
6772
550a0b89
RM
67732013-02-08 Roland McGrath <roland@hack.frob.com>
6774
6775 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6776 the '\0' terminator.
6777
a2da1673
JM
67782013-02-08 Joseph Myers <joseph@codesourcery.com>
6779
6780 [BZ #13550]
6781 * debug/segfault.c: Don't include <bp-checks.h>.
6782 * sysdeps/generic/bp-checks.h: Remove file.
6783 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6784 (__GETDENTS): Don't use CHECK_N.
6785 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6786 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6787 (__getgroups): Don't use CHECK_N.
6788 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6789 (setgroups): Don't use CHECK_N.
6790 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6791 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6792 (__libc_msgrcv): Don't use CHECK_N.
6793 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6794 (__libc_msgsnd): Don't use CHECK_N.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6796 <bp-checks.h>.
6797 (__libc_pread): Don't use CHECK_N.
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6799 include <bp-checks.h>.
6800 (__libc_pread64): Don't use CHECK_N.
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6802 include <bp-checks.h>.
6803 (__libc_pwrite): Don't use CHECK_N.
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6805 include <bp-checks.h>.
6806 (__libc_pwrite64): Don't use CHECK_N.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6808 <bp-checks.h>.
6809 (__libc_pread): Don't use CHECK_N.
6810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6811 include <bp-checks.h>.
6812 (__libc_pread64): Don't use CHECK_N.
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6814 include <bp-checks.h>.
6815 (__libc_pwrite): Don't use CHECK_N.
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6817 include <bp-checks.h>.
6818 (__libc_pwrite64): Don't use CHECK_N.
6819 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6820 (do_pread): Don't use CHECK_N.
6821 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6822 (do_pread64): Don't use CHECK_N.
6823 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6824 (do_pwrite): Don't use CHECK_N.
6825 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6826 (do_pwrite64): Don't use CHECK_N.
6827 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6828 (__libc_readv): Don't use CHECK_N.
6829 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6830 (semop): Don't use CHECK_N.
6831 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6832 <bp-checks.h>.
6833 (semtimedop): Don't use CHECK_N.
6834 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6835 (__libc_pread): Don't use CHECK_N.
6836 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6837 <bp-checks.h>.
6838 (__libc_pread64): Don't use CHECK_N.
6839 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6840 <bp-checks.h>.
6841 (__libc_pwrite): Don't use CHECK_N.
6842 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6843 <bp-checks.h>.
6844 (__libc_pwrite64): Don't use CHECK_N.
6845 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6846 <bp-checks.h>.
6847 (__libc_msgrcv): Don't use CHECK_N.
6848 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6849 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6850 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6851 (__libc_writev): Don't use CHECK_N.
6852
b84660a8
RM
68532013-02-08 Roland McGrath <roland@hack.frob.com>
6854
7f3e75f8
RM
6855 * string/strcpy.c: Removed unused variable.
6856
b84660a8
RM
6857 * Makeconfig (+sysdep-includes): Define with := rather than =.
6858 Use an existing include/ subdir of each sysdeps dir before it.
6859
471514d3
CD
68602013-02-08 Carlos O'Donell <carlos@redhat.com>
6861
6862 * nscd/connection.c (register_traced_file): Comment function.
6863 [HAVE_INOTIFY] (union __inev): Define.
6864 [HAVE_INOTIFY] (inotify_check_files): New function.
6865 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6866 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6867 clear_db_cache.
6868 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6869
b2d3c3be
CD
68702013-02-08 Carlos O'Donell <carlos@redhat.com>
6871
6872 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6873 loaded if not already and that a failure is permanent.
6874
b39949d2
CD
68752013-02-08 Carlos O'Donell <carlos@redhat.com>
6876
ddacd1db 6877 [BZ #15006]
b39949d2
CD
6878 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6879 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6880
b2c9eff4
JM
68812013-02-08 Joseph Myers <joseph@codesourcery.com>
6882
f3aae3f3
JM
6883 [BZ #13550]
6884 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6885 (CHECK_1_NULL_OK): Likewise.
6886 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6887 (__fxstat): Do not use CHECK_1.
6888 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6889 <bp-checks.h>.
6890 (___fxstat64): Do not use CHECK_1.
6891 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6892 <bp-checks.h>.
6893 (__fxstatat): Do not use CHECK_1.
6894 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6895 <bp-checks.h>.
6896 (__fxstatat64): Do not use CHECK_1.
6897 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6898 <bp-checks.h>.
6899 (__fxstat): Do not use CHECK_1.
6900 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6901 <bp-checks.h>.
6902 (__fxstatat): Do not use CHECK_1.
6903 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6904 <bp-checks.h>.
6905 (__getresgid): Do not use CHECK_1.
6906 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6907 <bp-checks.h>.
6908 (__getresuid): Do not use CHECK_1.
6909 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6910 <bp-checks.h>.
6911 (__lxstat): Do not use CHECK_1.
6912 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6913 <bp-checks.h>.
6914 (__old_msgctl): Do not use CHECK_1.
6915 (__new_msgctl): Likewise.
6916 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6917 <bp-checks.h>.
6918 (__new_setrlimit): Do not use CHECK_1.
6919 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6920 <bp-checks.h>.
6921 (__old_shmctl): Do not use CHECK_1.
6922 (__new_shmctl): Likewise.
6923 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6924 <bp-checks.h>.
6925 (__xstat): Do not use CHECK_1.
6926 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6927 (__lxstat): Do not use CHECK_1.
6928 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6929 <bp-checks.h>.
6930 (___lxstat64): Do not use CHECK_1.
6931 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6932 (__old_msgctl): Do not use CHECK_1.
6933 (__new_msgctl): Likewise.
6934 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6935 <bp-checks.h>.
6936 (__gettimeofday): Do not use CHECK_1.
6937 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6938 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6939 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6940 <bp-checks.h>.
6941 (__gettimeofday): Do not use CHECK_1.
6942 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6943 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6944 (__new_shmctl): Do not use CHECK_1.
6945 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6946 <bp-checks.h>.
6947 (do_sigtimedwait): Do not use CHECK_1.
6948 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6949 <bp-checks.h>.
6950 (do_sigwaitinfo): Do not use CHECK_1.
6951 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6952 <bp-checks.h>.
6953 (msgctl): Do not use CHECK_1.
6954 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6955 <bp-checks.h>.
6956 (shmctl): Do not use CHECK_1.
6957 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6958 (ustat): Do not use CHECK_1.
6959 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6960 <bp-checks.h>.
6961 (__fxstat): Do not use CHECK_1.
6962 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6963 <bp-checks.h>.
6964 (__fxstatat): Do not use CHECK_1.
6965 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6966 <bp-checks.h>.
6967 (__lxstat): Do not use CHECK_1.
6968 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6969 <bp-checks.h>.
6970 (__xstat): Do not use CHECK_1.
6971 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6972 (__xstat): Do not use CHECK_1.
6973 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6974 (___xstat64): Do not use CHECK_1.
6975
b2c9eff4
JM
6976 [BZ #13550]
6977 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6978 definitions.
6979 (CHECK_BOUNDS_HIGH): Likewise.
6980 * string/strcpy.c: Do not include <bp-checks.h>.
6981 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6982
f1d70dad
RM
69832013-02-07 Roland McGrath <roland@hack.frob.com>
6984
6985 * nscd/nscd-client.h (__nscd_drop_map_ref):
6986 Add __attribute__ ((unused)).
6987 * nis/nss-nisplus.h (niserr2nss): Likewise.
6988
6989 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6990 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6991
6992 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6993 Remove inline keyword.
6994 * include/rounding-mode.h (round_away): Likewise.
6995 * libio/wfileops.c (adjust_wide_data): Likewise.
6996 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6997 (__m128i_strloadu_tolower): Likewise.
6998 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6999 (__m128i_strloadu_tolower): Likewise.
7000 * time/mktime.c (ydhms_diff): Likewise.
7001 * locale/elem-hash.h (elem_hash): Likewise.
7002 * locale/setlocale.c (setdata): Likewise.
7003 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7004 (re_string_wchar_at): Likewise.
7005 (bitset_not, bitset_merge, bitset_mask): Likewise.
7006 [!(__GNUC__ > 3)] (inline): Remove macro.
7007 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7008 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7009 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7010 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7011 * string/memcmp.c (memcmp_bytes): Likewise.
7012 * locale/programs/locarchive.c (compute_hashval): Likewise.
7013 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7014 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7015 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7016 * nss/getent.c (print_rpc, print_protocols): Likewise.
7017 (print_passwd, print_group, print_aliases): Likewise.
7018 * nis/nss-nisplus.h (niserr2nss): Likewise.
7019 * nscd/connections.c (restart_p): Likewise.
7020 Change return type to bool.
7021
eab55bfb
RM
70222013-02-05 Roland McGrath <roland@hack.frob.com>
7023
7bd642f5
RM
7024 * Makeconfig (all-Depend-files): Add existing
7025 $(sorted-subdirs:=/Depend) files.
7026 (all-subdirs): Remove nss.
7027 * sysdeps/unix/inet/Subdirs: Add it here instead.
7028 * hesiod/Depend: New file.
7029
573c29b2
RM
7030 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7031 instead of calling alloca.
7032
b2e25af0
RM
7033 * io/lseek.c (__lseek): Rename to __libc_lseek.
7034 Define __lseek as an alias.
7035
eab55bfb
RM
7036 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7037
9a0d1941
CD
70382013-02-04 Carlos O'Donell <carlos@redhat.com>
7039
7040 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7041 else clause and remove check for non-standard endianness.
7042
b83bbec4
DM
70432013-02-04 David S. Miller <davem@davemloft.net>
7044
7045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7046
6277fdab
JM
70472013-02-04 Joseph Myers <joseph@codesourcery.com>
7048
7049 [BZ #13550]
7050 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7051 (__ubp_memchr): Remove prototype.
7052 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7053 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7054 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7055 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7056 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7057 Remove alias.
7058 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7059 (__ubp_memchr): Likewise.
7060 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7061 (__ubp_memchr): Likewise.
7062 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7063 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7064 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7065 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7066 CHECK_STRING.
7067 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7068 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7069 (__getcwd): Do not use CHECK_STRING.
7070 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7071 <bp-checks.h>.
7072 (__real_chown): Do not use CHECK_STRING.
7073 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7074 <bp-checks.h>.
7075 (fchownat): Do not use CHECK_STRING.
7076 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7077 CHECK_STRING.
7078 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7079 <bp-checks.h>.
7080 (__lchown): Do not use CHECK_STRING.
7081 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7082 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7083 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7084 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7086 include <bp-checks.h>.
7087 (truncate64): Do not use CHECK_STRING.
7088 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7089 <bp-checks.h>.
7090 (__real_chown): Do not use CHECK_STRING.
7091 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7092 <bp-checks.h>.
7093 (__lchown): Do not use CHECK_STRING.
7094 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7095 <bp-checks.h>.
7096 (__chown): Do not use CHECK_STRING.
7097 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7098 <bp-checks.h>.
7099 (truncate64): Do not use CHECK_STRING.
7100 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7101 Likewise.
7102 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7103 (__xmknod): Do not use CHECK_STRING.
7104 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7105 <bp-checks.h>.
7106 (__xmknodat): Do not use CHECK_STRING.
7107 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7108 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7109
903ae060
AS
71102013-02-04 Andreas Schwab <schwab@suse.de>
7111
7112 [BZ #14142]
7113 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7114 * include/netdb.h: Likewise for h_errno.
7115 * elf/tst-stackguard1.c: Include <tls.h>.
7116
542f9466
JK
71172013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7118
7119 * elf/link.h (struct link_map): Extend the l_addr comment.
7120 * include/link.h (struct link_map): Likewise.
7121
e782a927
JM
71222013-02-01 Joseph Myers <joseph@codesourcery.com>
7123
7124 [BZ #13550]
7125 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7126 (BOUNDED_1): Remove macro.
7127 * debug/backtrace.c: Don't include <bp-checks.h>.
7128 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7129 (__backtrace): Likewise.
7130 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7131 <bp-checks.h>.
7132 (__backtrace): Don't use BOUNDED_1.
7133 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7134 <bp-checks.h>.
7135 (__backtrace): Don't use BOUNDED_1.
7136 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7137 (__backtrace): Don't use BOUNDED_1.
7138 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7139 (shmat): Don't use BOUNDED_N.
7140
8cf28c5e
JM
71412013-01-31 Joseph Myers <joseph@codesourcery.com>
7142
3a7ac8a0
JM
7143 [BZ #13550]
7144 * sysdeps/generic/bp-start.h: Remove file.
7145 * csu/libc-start.c: Don't include <bp-start.h>.
7146 (LIBC_START_MAIN): Set up __environ directly instead of using
7147 INIT_ARGV_and_ENVIRON.
7148 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7149 <bp-start.h>.
7150
f3499f95
JM
7151 [BZ #13550]
7152 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7153 definitions.
7154 (CHECK_FCNTL): Likewise.
7155 (CHECK_N_PAGES): Likewise.
7156
32a45bea
JM
7157 [BZ #13550]
7158 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7159 definitions.
7160 (CHECK_SIGSET_NULL_OK): Likewise.
7161 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7162 <bp-checks.h>.
7163 (sigpending): Don't use CHECK_SIGSET.
7164 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7165 <bp-checks.h>.
7166 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7167 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7168 <bp-checks.h>.
7169 (do_sigsuspend): Don't use CHECK_SIGSET.
7170 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7171 use CHECK_SIGSET.
7172 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7173 (do_sigwait): Don't use CHECK_SIGSET.
7174 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7175 use CHECK_SIGSET.
7176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7177 include <bp-checks.h>.
7178 (sigpending): Don't use CHECK_SIGSET.
7179 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7180 include <bp-checks.h>.
7181 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7182 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7183 <bp-checks.h>.
7184 (sigpending): Don't use CHECK_SIGSET.
7185 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7186 <bp-checks.h>.
7187 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7188
2e8a5c8c
JM
7189 [BZ #13550]
7190 * sysdeps/generic/bp-semctl.h: Remove file.
7191 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7192 <bp-checks.h> and <bp-semctl.h>.
7193 (__old_semctl): Don't use CHECK_SEMCTL.
7194 (__new_semctl): Likewise.
7195 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7196 and <bp-semctl.h>.
7197 (__old_semctl): Don't use CHECK_SEMCTL.
7198 (__new_semctl): Likewise.
7199 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7200 <bp-checks.h> and <bp-semctl.h>.
7201 (__old_semctl): Don't use CHECK_SEMCTL.
7202 (__new_semctl): Likewise.
7203 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7204 <bp-checks.h> and <bp-semctl.h>.
7205 (semctl): Don't use CHECK_SEMCTL.
7206
c2d54929
JM
7207 [BZ #13550]
7208 * Makerules (elide-bp-thunks): Remove variable.
7209 (elide-routines.oS): Don't use $(elide-bp-thunks).
7210 (elide-routines.os): Likewise.
7211 (elide-routines.o): Likewise.
7212 (elide-routines.op): Likewise.
7213 (elide-routines.og): Likewise.
7214 (objects): Don't use $(bp-thunks).
7215 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7216 include.
7217 (common-generated): Do not add s-proto-bp.d.
7218 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7219 (int): Likewise.
7220 (typ): Likewise.
7221 Do not generate makefile rules for bounded-pointer thunks.
7222 * sysdeps/generic/bp-thunks.h: Remove file.
7223 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7224 * sysdeps/unix/s-proto-bp.S: Likewise.
7225
8cf28c5e
JM
7226 [BZ #15062]
7227 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7228 parts of result separately when argument is not close to line from
7229 -i to i and one part of argument is small.
7230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7232 * math/libm-test.inc (cacos_test): Add more tests.
7233 (casin_test): Likewise.
7234 (casinh_test): Likewise.
7235 * sysdeps/i386/fpu/libm-test-ulps: Update.
7236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7237
c4e33b8d
DM
72382013-01-31 David S. Miller <davem@davemloft.net>
7239
7240 * po/de.po: Update from translation team.
7241
3b60b421
MK
72422013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7243
7244 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7245
bb931195
TS
72462013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7247
b5a5da23
TS
7248 * configure.in (_AC_PROG_CC_C89): New definition.
7249 * configure: Regenerate.
7250
bb931195
TS
7251 * configure.in (AC_PROG_CPP): New definition.
7252 * configure: Regenerate.
7253
8c53a12c
JM
72542013-01-23 Joseph Myers <joseph@codesourcery.com>
7255
7256 * debug/tst-backtrace.h: New file.
7257 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7258 (ret): Remove variable.
7259 (x): Likewise.
7260 (FAIL): Remove macro.
7261 (NO_INLINE): Likewise.
7262 (fn1): Use match function instead of strstr.
7263 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7264 (ret): Remove variable.
7265 (x): Likewise.
7266 (FAIL): Remove macro.
7267 (NO_INLINE): Likewise.
7268 (fn): Use match function instead of strstr.
7269 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7270 (ret): Remove variable.
7271 (x): Likewise.
7272 (FAIL): Remove macro.
7273 (NO_INLINE): Likewise.
7274 (handle_signal): Use match function instead of strstr.
7275 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7276 (ret): Remove variable.
7277 (x): Likewise.
7278 (FAIL): Remove macro.
7279 (NO_INLINE): Likewise.
7280 (handle_signal): Use match function instead of strstr.
7281
4858fa2a
RM
72822013-01-23 Roland McGrath <roland@hack.frob.com>
7283
7284 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7285
bae8e7f5
DM
72862013-01-23 David S. Miller <davem@davemloft.net>
7287
7288 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7289 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7290 argument of CAS if possible.
7291 * sysdeps/sparc/sparc64/bits/atomic.h
7292 (__arch_compare_and_exchange_val_32_acq): Likewise.
7293 (__arch_compare_and_exchange_val_64_acq): Likewise.
7294
9cbbc4ae
PT
72952013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7296
7297 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7298 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7299 Include <limits.h>.
67b3f58c 7300 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7301
5655a0b5
AC
73022013-01-23 Adam Conrad <adconrad@0c3.net>
7303
7304 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7305 (LDFLAGS-tst-array5): Likewise.
7306
052aff95
JM
73072013-01-23 Joseph Myers <joseph@codesourcery.com>
7308
7309 [BZ #15036]
7310 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7311 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7312 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7313 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7314
7c1e01aa
DM
73152013-01-21 David S. Miller <davem@davemloft.net>
7316
7317 * sysdeps/sparc/backtrace.c: New file.
7318 * sysdeps/sparc/sparc32/backtrace.h: New file.
7319 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7320 * sysdeps/sparc/sparc64/backtrace.h: New file.
7321 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7322 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7323 -funwind-tables.
7324
ab087e0a
AS
73252013-01-21 Andreas Schwab <schwab@suse.de>
7326
7327 [BZ #15020]
7328 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7329 closed its stdout.
7330
ed689c2f
AS
73312013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7332
7333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7334 "mpa2.h".
7335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7336
31d470ac
JM
73372013-01-18 Joseph Myers <joseph@codesourcery.com>
7338 Mark Mitchell <mark@codesourcery.com>
7339 Tom de Vries <tom@codesourcery.com>
7340 Paul Pluzhnikov <ppluzhnikov@google.com>
7341
7342 * debug/tst-backtrace2.c: New file.
7343 * debug/tst-backtrace3.c: Likewise.
7344 * debug/tst-backtrace4.c: Likewise.
7345 * debug/tst-backtrace5.c: Likewise.
7346 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7347 (CFLAGS-tst-backtrace3.c): Likewise.
7348 (CFLAGS-tst-backtrace4.c): Likewise.
7349 (CFLAGS-tst-backtrace5.c): Likewise.
7350 (LDFLAGS-tst-backtrace2): Likewise.
7351 (LDFLAGS-tst-backtrace3): Likewise.
7352 (LDFLAGS-tst-backtrace4): Likewise.
7353 (LDFLAGS-tst-backtrace5): Likewise.
7354 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7355 tst-backtrace4 and tst-backtrace5.
7356
90567f30 73572013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7358 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7359
7360 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7361 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7362 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7363 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7365 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7366 "+r" and remove output regs list as redundant. Add explicit inline
7367 asm to specify register of return val to work around compiler codegen
7368 bug. Remove (int) cast on return value. Add return type parameter to
7369 use in macro so that this macro does not truncate return value for
7370 64-bit values.
7371 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7372 pass to INTERNAL_VSYSCALL_NCS.
7373 (INLINE_VSYSCALL): Add 'long int' as return type to
7374 INTERNAL_VSYSCALL_NCS macro invocation.
7375 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7376 INTERNAL_VSYSCALL_NCS macro invocation.
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7378
d3b9ea61
SP
73792013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7380
0b57daeb
SP
7381 [BZ #14496]
7382 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7383 Fix application of SIMD FP exception mask.
7384
caa99d06
SP
7385 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7386 mp_no from a power of two.
7387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7388 __mpexp_twomm1. Use __pow_mp.
7389
d3b9ea61
SP
7390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7391 multiplication.
7392
1dbaee3c
DM
73932013-01-17 David S. Miller <davem@davemloft.net>
7394
7395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7396
728d7b43
JM
73972013-01-17 Joseph Myers <joseph@codesourcery.com>
7398
7399 [BZ #15023]
7400 * include/complex.h: Condition contents on [!_COMPLEX_H].
7401 (__kernel_casinhf): New prototype.
7402 (__kernel_casinh): Likewise.
7403 (__kernel_casinhl): Likewise.
7404 * math/Makefile (libm_calls): Add k_casinh.
7405 * math/k_casinh.c: New file.
7406 * math/k_casinhf.c: Likewise.
7407 * math/k_casinhl.c: Likewise.
7408 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7409 finite nonzero arguments.
7410 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7411 finite nonzero arguments.
7412 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7413 finite nonzero arguments.
7414 * math/s_casinh.c: Do not include <float.h>.
7415 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7416 * math/s_casinhf.c: Do not include <float.h>.
7417 (__casinhf): Move code for finite nonzero arguments to
7418 k_casinhf.c.
7419 * math/s_casinhl.c: Do not include <float.h>.
7420 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7421 redefine.
7422 (__casinhl): Move code for finite nonzero arguments to
7423 k_casinhl.c.
7424 * math/libm-test.inc (cacos_test): Add more tests.
7425 * sysdeps/i386/fpu/libm-test-ulps: Update.
7426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7427
2a26ef3a
PT
74282013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7429
7430 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7431 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7432 [!HAVE_MREMAP]: Remove [defined linux] case.
7433 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7434
a897655d
SP
74352013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7436
7437 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7438
881ebe89 74392013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7440
7441 * elf/elf.h (R_386_SIZE32): New relocation.
7442 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7443 R_386_SIZE32.
7444 (elf_machine_rela): Likewise.
7445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7446 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7447
59981e9b
JM
74482013-01-17 Joseph Myers <joseph@codesourcery.com>
7449
7450 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7451 (FP_FAST_FMA): Do not define.
7452 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7453 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7454 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7455 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7456 !_SOFT_FLOAT]: Likewise.
7457 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7458 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7459 value.
7460 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7461 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7462 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7463 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7464 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7465 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7466 file.
7467
cfa8054f
AS
74682013-01-16 Andreas Schwab <schwab@suse.de>
7469
7470 [BZ #14327]
7471 * include/stdlib.h (__mktemp): Add declaration.
7472 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7473 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7474
dd930cc5
SP
74752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7476
881ebe89
SP
7477 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7478 definitions.
7479 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7480 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7481 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7482 definitions here.
7483 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7484 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7485 definitions.
7486 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7487 and ONE.
7488 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7489 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7490 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7491 definitions.
7492 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7493 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7494 definitions.
7495 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7496
dd930cc5
SP
7497 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7498
c19a9f89
DM
74992013-01-15 David S. Miller <davem@davemloft.net>
7500
1aa61767
DM
7501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7502 trunc{,f} to libm-sysdep_routes.
7503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7505 file.
7506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7508 file.
7509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7510 file.
7511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7513 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7514 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7515 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7516 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7517 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7518 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7519
c42d5e98
DM
7520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7521 nearbyint{,f} to libm-sysdep_routes.
7522 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7524 New file.
7525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7526 file.
7527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7528 New file.
7529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7530 file.
7531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7533 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7534 file.
7535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7536 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7537 file.
7538 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7539 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7540 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7541
c19a9f89
DM
7542 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7543 libc_feholdexcept and libc_fesetenv.
7544
357679d2
MF
75452013-01-15 Mike Frysinger <vapier@gentoo.org>
7546
7547 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7548
65a82e3d
DM
75492013-01-14 David S. Miller <davem@davemloft.net>
7550
8b954ab9
DM
7551 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7552 (SPARC_ASM_VIS2_IFUNC): Likewise.
7553 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7555 use of 'siam' instruction.
7556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7557 Likewise.
7558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7559 Likewise.
7560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7561 Likewise.
7562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7567 file.
7568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7569 file.
7570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7571 file.
7572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7573 file.
7574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7579 new VIS2 routines.
7580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7583 Likewise.
7584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7589 routines to libm-sysdep_routines.
7590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7591
65a82e3d
DM
7592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7593 fdim/fdimf to libm-sysdep_routines.
7594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7595 file.
7596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7598 file.
7599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7602 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7603 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7604 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7605 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7606
e34ab705
SP
76072013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7608
2a91b573
SP
7609 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7610 to optimize copies.
7611
1066a534
SP
7612 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7615
e34ab705
SP
7616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7617 local variable MPTWO.
7618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7619 Likewise.
7620
aba5e596
MF
76212013-01-13 Mike Frysinger <vapier@gentoo.org>
7622
7623 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7624 GLOB_NOESCAPE.
7625
e557e9e5
MF
76262013-01-13 Mike Frysinger <vapier@gentoo.org>
7627
7628 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7629
0428cec9
MF
76302013-01-13 Mike Frysinger <vapier@gentoo.org>
7631
7632 * manual/pattern.texi (glob_t): Document gl_flags.
7633 (glob64_t): Likewise.
7634
8794a964
DM
76352013-01-11 David S. Miller <davem@davemloft.net>
7636
66438c3f
RM
7637 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7638 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7639 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7640 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7641 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7642 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7643 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7644 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7645 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7646 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7647 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7648 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7649 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7650
4ae4244d
DM
7651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7652 sparc V9 rather than using V8 code.
7653 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7654 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7655
8794a964
DM
7656 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7657 Move to...
7658 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7659 Here.
7660
6270516e
RM
76612013-01-11 Roland McGrath <roland@hack.frob.com>
7662
7663 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7664 not in the main loop.
7665 * configure: Regenerated.
7666
6a57d931
JM
76672013-01-11 Joseph Myers <joseph@codesourcery.com>
7668
7669 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7670 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7671 to just #else.
7672 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7673 [!__GLIBC_HAVE_LONG_LONG] case.
7674 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7675 condition to just #else.
7676 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7677 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7678 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7679 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7680 unconditional.
7681 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7682 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7683 #elif condition to just #else.
7684 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7685 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7686 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7687 #elif condition to just #else.
7688
0e8529e9
SE
76892013-01-11 Steve Ellcey <sellcey@mips.com>
7690
7691 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7692 (EF_MIPS_ARCH_64): Fix value.
7693 (EF_MIPS_ARCH_32R2): New.
7694 (EF_MIPS_ARCH_64R2): New.
7695
740b3dbe
L
76962013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7697
7698 * Makeconfig (+link-pie-before-libc): New.
7699 (+link-pie-after-libc): Likewise.
7700 (+link-pie-tests): Likewise.
7701 (+link-pie): Rewritten.
7702 (link-before-libc): Remove $(config-LDFLAGS).
7703 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7704 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7705 (config-LDFLAGS): Renamed to ...
7706 (rtld-LDFLAGS): This.
7707 (rtld-tests-LDFLAGS): New macro.
7708 (link-libc-rpath-link): Likewise.
7709 (link-libc-tests-rpath-link): Likewise.
7710 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7711 (link-libc): Prepand $(link-libc-rpath-link).
7712 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7713 (test-program-prefix): New macro.
7714 (test-via-rtld-prefix): Likewise.
7715 (test-program-cmd): Likewise.
7716 (host-test-program-cmd): Likewise.
7717 * Makefile ($(common-objpfx)testrun.sh): Replace
7718 $(run-program-prefix) with $(test-program-prefix).
7719 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7720 $(rtld-LDFLAGS).
7721 ($(common-objpfx)shlib.lds): Likewise.
7722 (build-module-helper): Likewise.
7723 ($(common-objpfx)format.lds): Likewise.
7724 * Rules (binaries-pie-tests): New.
7725 (binaries-pie-notests): Likewise.
7726 (binaries-pie): Rewritten.
7727 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7728 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7729 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7730 (make-test-out): Replace $(host-built-program-cmd) with
7731 $(host-test-program-cmd).
7732 * config.make.in (build-hardcoded-path-in-tests): New variable.
7733 * configure.in (--enable-hardcoded-path-in-tests): New configure
7734 option.
7735 (hardcoded_path_in_tests): New AC_SUBST.
7736 * configure: Regenerated.
7737 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7738 $(built-program-cmd) with $(test-program-cmd).
7739 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7740 (test_program_cmd): This.
7741 * elf/Makefile ($(objpfx)order.out): Run test with
7742 $(test-program-prefix).
7743 ($(objpfx)order2.out): Likewise.
7744 ($(objpfx)tst-initorder.out): Likewise.
7745 ($(objpfx)tst-initorder2.out): Likewise.
7746 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7747 $(test-program-cmd).
7748 ($(objpfx)tst-array1-static.out): Likewise.
7749 ($(objpfx)tst-array2.out): Likewise.
7750 ($(objpfx)tst-array3.out): Likewise.
7751 ($(objpfx)tst-array4.out): Likewise.
7752 ($(objpfx)tst-array5.out): Likewise.
7753 ($(objpfx)tst-array5-static.out): Likewise.
7754 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7755 $(test-program-cmd).
7756 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7757 $(run-program-prefix) with $(test-program-prefix).
7758 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7759 (test_program_prefix): This.
7760 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7761 $(run-program-prefix) with $(test-program-prefix).
7762 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7763 (test_program_prefix): This.
7764 * iconvdata/tst-tables.sh: Likewise.
7765 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7766 $(run-program-prefix) with $(test-program-prefix).
7767 ($(objpfx)tst-translit.out): Likewise.
7768 ($(objpfx)tst-gettext2.out): Likewise.
7769 ($(objpfx)tst-gettext4.out): Likewise.
7770 ($(objpfx)tst-gettext6.out): Likewise.
7771 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7772 (test_program_prefix): This.
7773 * intl/tst-gettext2.sh: Likewise.
7774 * intl/tst-gettext4.sh Likewise.
7775 * intl/tst-gettext6.sh: Likewise.
7776 * intl/tst-translit.sh: Likewise.
7777 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7778 with $(test-program-cmd).
7779 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7780 $(run-program-prefix) with $(test-program-prefix).
7781 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7782 (test_program_prefix): This.
7783 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7784 $(run-program-prefix) with $(test-program-prefix).
7785 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7786 (test_program_prefix): This.
7787 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7788 * posix/Makefile ($(objpfx)globtest.out): Replace
7789 $(run-via-rtld-prefix) and $(test-wrapper) with
7790 $(test-program-prefix) and $(test-via-rtld-prefix).
7791 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7792 $(test-program-prefix).
7793 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7794 $(host-test-program-cmd).
7795 (tst-spawn-ARGS): Likewise.
7796 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7797 $(test-program-prefix).
7798 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7799 (test_via_rtld_prefix): This.
7800 (test_wrapper): Renamed to ...
7801 (test_program_prefix): This.
7802 (run_program_prefix): Replaced by test_program_prefix.
7803 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7804 (test_program_prefix): This.
7805 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7806 with $(host-test-program-cmd).
7807 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7808 $(run-program-prefix) with $(test-program-prefix).
7809 ($(objpfx)tst-printf.out): Likewise.
7810 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7811 $(test-program-cmd).
7812 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7813 (test_program_prefix): This.
7814 * stdio-common/tst-unbputc.sh: Likewise.
7815 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7816 $(run-program-prefix) with $(test-program-prefix).
7817 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7818 (test_program_prefix): This.
7819 * string/Makefile ($(objpfx)tst-svc.out): Replace
7820 $(built-program-cmd) with $(test-program-cmd).
7821
c6fe55cf
AJ
78222013-01-11 Andreas Jaeger <aj@suse.de>
7823
7824 [BZ #15003]
7825 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7826 value. Sync with Linux 3.7.
7827
9e6919c8
DM
78282013-01-10 David S. Miller <davem@davemloft.net>
7829
7830 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7831 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7832 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7833
1c9f1a02
RM
78342013-01-10 Roland McGrath <roland@hack.frob.com>
7835
7836 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7837 never set.
7838 * configure: Regenerated.
7839
b9de2dde
DM
78402013-01-10 David S. Miller <davem@davemloft.net>
7841
7842 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7843 sparc V9 rather than using V8 code.
7844 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7845 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7846
e7f68ef4
RM
78472013-01-10 Roland McGrath <roland@hack.frob.com>
7848
7849 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7850 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7851 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7852 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7853 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7854 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7855 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7856 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7857 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7858 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7859 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7860 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7861 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7862 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7863 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7864 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7865 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7866 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7867 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7868 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7869 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7870 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7871 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7872 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7873 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7874 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7875 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7876
5a47cc9c
DM
78772013-01-10 David S. Miller <davem@davemloft.net>
7878
7879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7880
4cf8f209
L
78812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 * posix/Makefile (tests-static): New variable.
7884 (tests): Add $(tests-static).
7885 (tst-exec-static-ARGS): New variable.
7886 (tst-spawn-static-ARGS): Likewise.
7887 * posix/tst-exec-static.c: New file.
7888 * posix/tst-spawn-static.c: Likewise.
7889 * posix/tst-exec.c: Support run directly.
7890 * posix/tst-spawn.c: Likewise.
7891
fed0faa1
JM
78922013-01-10 Joseph Myers <joseph@codesourcery.com>
7893
828beb13
JM
7894 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7895 long.
7896 * math/bits/mathcalls.h (llrint): Likewise.
7897 (llround): Likewise.
7898 * stdlib/stdlib.h (struct drand48_data): Likewise.
7899 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7900 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7901 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7902 Likewise.
7903 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7904 Likewise.
7905 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7906 (elf_greg_t): Likewise.
7907 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7908 (__jmp_buf): Likewise.
7909 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7910 definitions.
7911 (llrint): Likewise, for all definitions.
7912 (llrintl): Likewise.
7913
fed0faa1
JM
7914 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7915 Remove [__GNUC__] condition.
7916 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7917 condition to just [__USE_ISOC99].
7918 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7919
1a20cb20
L
79202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7921
7922 [BZ #14200]
7923 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7924 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7925 defined.
7926 (_POSIX_V6_ILP32_OFF32): Likewise.
7927 (_XBS5_ILP32_OFF32): Likewise.
7928 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7929 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7930
751b85f7
SP
79312013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7932
7490eb81
SP
7933 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7934
751b85f7
SP
7935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7936 doubles __mpexp_twomm1. Adjust usage.
7937 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7938 Remove.
7939
988197f0
AS
79402013-01-10 Andreas Schwab <schwab@suse.de>
7941
7942 [BZ #14964]
7943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7944 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7945
e83d7298
DM
79462013-01-09 David S. Miller <davem@davemloft.net>
7947
034ed64b 7948 [BZ #15003]
e83d7298
DM
7949 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7950 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7951 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7952 TCP_FASTOPEN): Define.
7953 (tcp_repair_opt): New structure.
7954 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7955 enum values.
7956 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7957 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7958 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7959 (tcp_cookie_transactions): New structure.
7960
d5e0b9bd
AB
79612013-01-09 Anton Blanchard <anton@samba.org>
7962
7963 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7964 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7966 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7967
0c07e3ea
JM
79682013-01-09 Joseph Myers <joseph@codesourcery.com>
7969
7970 * include/features.h (__USE_ANSI): Remove.
7971
232f7002
RM
79722013-01-09 Roland McGrath <roland@hack.frob.com>
7973
ad98e30c
RM
7974 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7975
232f7002
RM
7976 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7977
950c99ca
SP
79782013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7979
b5792741
SP
7980 * sysdeps/s390/fpu/libm-test-ulps: Update.
7981
47cf2278
SP
7982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7983
950c99ca
SP
7984 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7985 (__acr): Likewise.
7986 (__cpy): Likewise.
7987 (norm): Likewise.
7988 (denorm): Likewise.
7989 (__mp_dbl): Likewise.
7990 (__dbl_mp): Likewise.
7991 (add_magnitudes): Likewise.
7992 (sub_magnitudes): Likewise.
7993 (__add): Likewise.
7994 (__sub): Likewise.
7995 (__mul): Likewise.
7996 (__inv): Likewise.
7997 (__dvd): Likewise.
7998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7999 (__acr): Likewise.
8000 (__cpy): Likewise.
8001 (norm): Likewise.
8002 (denorm): Likewise.
8003 (__mp_dbl): Likewise.
8004 (__dbl_mp): Likewise.
8005 (add_magnitudes): Likewise.
8006 (sub_magnitudes): Likewise.
8007 (__add): Likewise.
8008 (__sub): Likewise.
8009 (__mul): Likewise.
8010 (__inv): Likewise.
8011 (__dvd): Likewise.
8012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8013 (__acr): Likewise.
8014 (__cpy): Likewise.
8015 (norm): Likewise.
8016 (denorm): Likewise.
8017 (__mp_dbl): Likewise.
8018 (__dbl_mp): Likewise.
8019 (add_magnitudes): Likewise.
8020 (sub_magnitudes): Likewise.
8021 (__add): Likewise.
8022 (__sub): Likewise.
8023 (__mul): Likewise.
8024 (__inv): Likewise.
8025 (__dvd): Likewise.
8026
eede9df9
JM
80272013-01-08 Joseph Myers <joseph@codesourcery.com>
8028
8029 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8030 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8031 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8032 2 && __USE_EXTERN_INLINES]: Likewise.
8033
c40ea3d9
AJ
80342013-01-08 Andreas Jaeger <aj@suse.de>
8035
8036 [BZ# 14985]
8037 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8038 Remove.
8039 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8040 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8041
2ccdea26
AB
80422013-01-07 Anton Blanchard <anton@samba.org>
8043
8044 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8045 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8046 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8047 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8048 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8049 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8050 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8051 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8053 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8054 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8055 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8056 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8058 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8059 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8060 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8061 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8062 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8063 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8064 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8065 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8067 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8068 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8069 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8070 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8071 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8073 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8074 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8076 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8077 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8078 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8079 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8081 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8083 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8086 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8087
a9708fed
JM
80882013-01-07 Joseph Myers <joseph@codesourcery.com>
8089
375607b9
JM
8090 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8091 (__MALLOC_PMT): Likewise.
8092 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8093 [__GNUC__], only on [_LIBC].
8094 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8095 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8096 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8097 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8098 forward declaration.
8099 (realloc_hook_ini): Likewise.
8100 (memalign_hook_ini): Likewise.
8101 (__libc_memalign): Do not use __MALLOC_PMT in variable
8102 declaration.
8103 (__libc_valloc): Likewise.
8104 (__libc_pvalloc): Likewise.
8105 (__libc_calloc): Likewise.
8106 (__posix_memalign): Likewise.
8107
a9708fed
JM
8108 [BZ #14996]
8109 * math/s_casinh.c: Include <float.h>.
8110 (__casinh): Do not do computation with squaring and square root
8111 for large arguments.
8112 * math/s_casinhf.c: Include <float.h>.
8113 (__casinhf): Do not do computation with squaring and square root
8114 for large arguments.
8115 * math/s_casinhl.c: Include <float.h>.
8116 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8117 (__casinhl): Do not do computation with squaring and square root
8118 for large arguments.
8119 * math/libm-test.inc (casin_test): Add more tests.
8120 (casinh_test): Likewise.
8121 * sysdeps/i386/fpu/libm-test-ulps: Update.
8122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8123
afec409a
L
81242013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8125
8126 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8127 (__x86_64_raw_data_cache_size): Likewise.
8128 (__x86_64_data_cache_size_half): Likewise.
8129 (__x86_64_raw_data_cache_size_half): Likewise.
8130 (__x86_64_shared_cache_size): Likewise.
8131 (__x86_64_raw_shared_cache_size): Likewise.
8132 (__x86_64_shared_cache_size_half): Likewise.
8133 (__x86_64_raw_shared_cache_size_half): Likewise.
8134 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8135 to ...
8136 (__x86_data_cache_size): This.
8137 (__x86_64_raw_data_cache_size): Renamed to ...
8138 (__x86_raw_data_cache_size): This.
8139 (__x86_64_data_cache_size_half): Renamed to ...
8140 (__x86_data_cache_size_half): This.
8141 (__x86_64_raw_data_cache_size_half): Renamed to ...
8142 (__x86_raw_data_cache_size_half): This.
8143 (__x86_64_shared_cache_size): Renamed to ...
8144 (__x86_shared_cache_size): This.
8145 (__x86_64_raw_shared_cache_size): Renamed to ...
8146 (__x86_raw_shared_cache_size): This.
8147 (__x86_64_shared_cache_size_half): Renamed to ...
8148 (__x86_shared_cache_size_half): This.
8149 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8150 (__x86_raw_shared_cache_size_half): This.
8151 * sysdeps/x86_64/memcpy.S: Updated.
8152 * sysdeps/x86_64/memset.S: Likewise.
8153 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8154 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8156
0b3986d0
DM
81572013-01-04 David S. Miller <davem@davemloft.net>
8158
8159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8160
e47686e9
AS
81612013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8162
d643bac1
AS
8163 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8164 1 to avoid redefinition warning.
8165 (__USE_GNU): Don't define.
8166 (init_signaling_nan): Protoize.
8167
e47686e9
AS
8168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8169
b18decba
SP
81702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8171
fffb407f
SP
8172 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8174 (__cpymn): Likewise.
8175 (norm): Remove commented code.
8176 (denorm): Likewise.
8177 (__mp_dbl): Likewise.
8178 (__inv): Likewise.
8179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8180 (__cpymn): Likewise.
8181 (norm): Remove commented code.
8182 (denorm): Likewise.
8183 (__mp_dbl): Likewise.
8184 (__inv): Likewise.
8185
b18decba
SP
8186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8187 mp_no value for 1.0 and 2.0.
8188 (norm): Use RADIXI instead of radixi.d.
8189 (denorm): Likewise.
8190 (__mul): Use 0.0 instead of zero.d.
8191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8192 mp_no value for 1.0 and 2.0.
8193 (norm): Use RADIXI instead of radixi.d.
8194 (denorm): Likewise.
8195 (__mul): Use 0.0 instead of zero.d.
8196
cdc1c96f
JM
81972013-01-04 Joseph Myers <joseph@codesourcery.com>
8198
8199 [BZ #14994]
8200 * math/s_casinh.c (__casinh): Reduce finite argument to first
8201 quadrant then set signs of results at the end.
8202 * math/s_casinhf.c (__casinhf): Likewise.
8203 * math/s_casinhl.c (__casinhl): Likewise.
8204 * math/libm-test.inc (casin_test): Add more tests.
8205 (casinh_test): Likewise.
8206 * sysdeps/i386/fpu/libm-test-ulps: Update.
8207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8208
302913e1
SP
82092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8210
6420d207
SP
8211 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8212
a9e48ab4
SP
8213 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8214
b7837264
SP
8215 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8216 declarations.
8217 (denorm): Likewise.
8218 (__mp_dbl): Likewise.
8219 (__inv): Likewise.
8220
f8af25d2
SP
8221 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8222 and adjust the header comment.
8223
302913e1
SP
8224 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8225 variable name from declaration.
8226
5d7dd1ca
L
82272013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8228
8229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8230 Initialize COMMON_CPUID_INDEX_7 element.
8231 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8232 (CPUID_RTM): Likewise.
8233 (HAS_RTM): Likewise.
8234 (COMMON_CPUID_INDEX_7): New enum.
8235
2f5f40f4
AS
82362013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8237
8238 [BZ #14981]
8239 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8240 size is zero, record memory as freed.
8241
4056f4a0
AJ
82422013-01-03 Andreas Jaeger <aj@suse.de>
8243
8244 * po/ia.po: Add new Interlingua translation.
8245
ab15736f 82462012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8247
8248 * locale/programs/localedef.c: Fix description of '--posix' flag.
8249
568035b7
JM
82502013-01-02 Joseph Myers <joseph@codesourcery.com>
8251
e6898b8d
JM
8252 * NEWS: Update dates in second copyright notice.
8253 * README: Update copyright dates in example.
8254 * manual/libc.texinfo: Update copyright dates.
8255 * scripts/test-installation.pl: Update copyright date in --version
8256 output.
8257
0e2f9562
JM
8258 * hurd/ctty-input.c: Fix copyright notice formatting.
8259 * hurd/ctty-output.c: Likewise.
8260 * hurd/dtable.c: Likewise.
8261 * hurd/hurd-raise.c: Likewise.
8262 * hurd/hurdprio.c: Likewise.
8263 * hurd/msgportdemux.c: Likewise.
8264 * misc/sys/file.h: Likewise.
8265 * misc/sys/ioctl.h: Likewise.
8266 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8267 * sysdeps/mach/hurd/chdir.c: Likewise.
8268 * sysdeps/mach/hurd/fchdir.c: Likewise.
8269 * sysdeps/mach/hurd/rename.c: Likewise.
8270 * sysdeps/mach/hurd/rmdir.c: Likewise.
8271 * sysdeps/mach/hurd/seekdir.c: Likewise.
8272 * sysdeps/mach/hurd/setsid.c: Likewise.
8273 * sysdeps/posix/wait3.c: Likewise.
8274
568035b7
JM
8275 * All files with FSF copyright notices: Update copyright dates
8276 using scripts/update-copyrights.
8277 * intl/plural.c: Regenerated.
8278 * locale/programs/charmap-kw.h: Likewise.
8279 * locale/programs/locfile-kw.h: Likewise.
8280
da08f647
SP
82812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8282
0f5477af
SP
8283 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8284 four values.
8285
44e0d4c2
SP
8286 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8287 calculation loop and add branch prediction.
8288
4d55b4e5
SP
8289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8290 check access beyond bounds of m1np.
8291
da08f647
SP
8292 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8293 MPTWO.
8294 (__inv): Remove local variable MPTWO to use the global
8295 constant.
8296 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8297 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8298 variable MPTWO.
8299 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8300 MP3HALFS static const.
8301
8e051029
DM
83022013-01-01 David S. Miller <davem@davemloft.net>
8303
8304 * po/ca.po: Update from translation team.
8305
f4cf5f2d
JM
83062013-01-01 Joseph Myers <joseph@codesourcery.com>
8307
8308 * scripts/update-copyrights: New file.
8309 * Makeconfig: Reformat copyright notice.
8310 * ctype/ctype.h: Likewise.
8311 * debug/swprintf_chk.c: Likewise.
8312 * elf/dl-cache.c: Likewise.
8313 * elf/dl-debug.c: Likewise.
8314 * elf/dl-object.c: Likewise.
8315 * grp/initgroups.c: Likewise.
8316 * hurd/Makefile: Likewise.
8317 * hurd/hurd/signal.h: Likewise.
8318 * hurd/hurdfault.c: Likewise.
8319 * hurd/hurdioctl.c: Likewise.
8320 * hurd/hurdlookup.c: Likewise.
8321 * hurd/intr-msg.c: Likewise.
8322 * iconv/gconv_open.c: Likewise.
8323 * libio/swprintf.c: Likewise.
8324 * locale/lc-ctype.c: Likewise.
8325 * locale/nl_langinfo.c: Likewise.
8326 * mach/Machrules: Likewise.
8327 * mach/Makefile: Likewise.
8328 * malloc/obstack.h: Likewise.
8329 * manual/Makefile: Likewise.
8330 * manual/tsort.awk: Likewise.
8331 * misc/bits/stab.def: Likewise.
8332 * nis/nis_print_group_entry.c: Likewise.
8333 * nis/nis_table.c: Likewise.
8334 * nis/nss_compat/compat-pwd.c: Likewise.
8335 * nis/nss_compat/compat-spwd.c: Likewise.
8336 * po/Makefile: Likewise.
8337 * posix/fnmatch.c: Likewise.
8338 * posix/regex.h: Likewise.
8339 * resolv/Makefile: Likewise.
8340 * resolv/nss_dns/dns-network.c: Likewise.
8341 * resolv/res_hconf.c: Likewise.
8342 * scripts/gen-sorted.awk: Likewise.
8343 * soft-fp/soft-fp.h: Likewise.
8344 * stdio-common/printf.h: Likewise.
8345 * stdlib/monetary.h: Likewise.
8346 * stdlib/random.c: Likewise.
8347 * stdlib/random_r.c: Likewise.
8348 * sysdeps/generic/Makefile: Likewise.
8349 * sysdeps/gnu/Makefile: Likewise.
8350 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8352 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8357 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8360 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8361 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8362 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8363 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8364 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8366 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8378 * sysdeps/mach/hurd/errnos.awk: Likewise.
8379 * sysdeps/mach/hurd/fork.c: Likewise.
8380 * sysdeps/mach/hurd/getcwd.c: Likewise.
8381 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8382 * sysdeps/mach/hurd/mmap.c: Likewise.
8383 * sysdeps/mach/hurd/utimes.c: Likewise.
8384 * sysdeps/mach/hurd/xmknod.c: Likewise.
8385 * sysdeps/posix/profil.c: Likewise.
8386 * sysdeps/posix/readdir_r.c: Likewise.
8387 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8388 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8389 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8390 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8392 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8393 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8394 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8396 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8397 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8398 * sysdeps/pthread/lio_listio.c: Likewise.
8399 * sysdeps/sparc/dl-procinfo.h: Likewise.
8400 * sysdeps/unix/i386/sysdep.S: Likewise.
8401 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8402 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8403 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8404 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8406 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8407 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8408 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8409 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8410 * sysdeps/wordsize-32/divdi3.c: Likewise.
8411 * time/sys/time.h: Likewise.
8412 * wcsmbs/Makefile: Likewise.
8413
0549fbba
DM
84142013-01-01 David S. Miller <davem@davemloft.net>
8415
a141f1a7
DM
8416 * po/fr.po: Update from translation team.
8417
0549fbba
DM
8418 * catgets/gencat.c: Update copyright year.
8419 * csu/version.c: Likewise.
8420 * debug/catchsegv.sh: Likewise.
8421 * debug/pcprofiledump.c: Likewise.
8422 * debug/xtrace.sh: Likewise.
8423 * elf/ldconfig.c: Likewise.
8424 * elf/ldd.bash.in: Likewise.
8425 * elf/pldd.c: Likewise.
8426 * elf/sotruss.ksh: Likewise.
8427 * elf/sprof.c: Likewise.
8428 * iconv/iconv_prog.c: Likewise.
8429 * iconv/iconvconfig.c: Likewise.
8430 * locale/programs/locale.c: Likewise.
8431 * locale/programs/localedef.c: Likewise.
8432 * login/programs/pt_chown.c: Likewise.
8433 * malloc/memusage.sh: Likewise.
8434 * malloc/memusagestat.c: Likewise.
8435 * malloc/mtrace.pl: Likewise.
8436 * nscd/nscd.c: Likewise.
8437 * nss/getent.c: Likewise.
8438 * nss/makedb.c: Likewise.
8439 * posix/getconf.c: Likewise.
8440
18ea052c
SP
84412012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8442
8443 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8444 numbers.
8445
9c89fca6
MF
84462012-12-30 Mike Frysinger <vapier@gentoo.org>
8447
8448 * math/bits/mathcalls.h (modf): Use __nonnull.
8449
085ec079
SP
84502012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8451
8452 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8453 (split): Use macro CN instead of the bare value.
8454 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8455 could be used.
8456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8457 instead of the bare value.
8458 (power1): Likewise.
8459
6d9f97e1
SP
84602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8461
d63f73be
SP
8462 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8463 __ATAN_TWOM.
8464 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8465
6d9f97e1
SP
8466 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8467 their values.
8468 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8469 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8470 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8471 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8472
4c4febf5
AJ
84732012-12-28 Andreas Jaeger <aj@suse.de>
8474
af5843ef
AJ
8475 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8476 values are from Linux 3.7.
8477
4c4febf5
AJ
8478 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8479 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8480
99136f82
SP
84812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8482
2f216c3c 8483 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8484 TRUE case.
8485
99136f82
SP
8486 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8487 (norm): Likewise.
8488 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8489 variables with preprocessor constants.
8490 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8491 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8492 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8493
7fffbdff
BH
84942012-12-27 Bruno Haible <bruno@clisp.org>
8495
8496 [BZ #14317]
8497 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8498 only if needed.
8499
b76eb5f0
SP
85002012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8501
31a7fe5c
SP
8502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8503 and use variable directly.
8504 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8505
b76eb5f0
SP
8506 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8507 MPONE.
8508 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8509 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8510 variable MPONE.
8511 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8513 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8514 include directive. Remove local variable MPONE.
8515 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8516 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8518
2c8bfe7d
DM
85192012-12-25 David S. Miller <davem@davemloft.net>
8520
8521 * version.h (RELEASE): Set to "development".
8522 (VERSION): Set to "2.17.90".
8523 * NEWS: Add 2.18 section.
8524
147d03b0
DM
85252012-12-21 David S. Miller <davem@davemloft.net>
8526
8527 * po/hr.po: Update from translation team.
8528
a8ebb2b9
AK
85292012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8530
8531 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8532
95b4f1b6
SE
85332012-12-19 Steve Ellcey <sellcey@mips.com>
8534
b2d94007 8535 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8536
cedb2a90
MS
85372012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8538
8539 * manual/contrib.texi (Contributors): Spelling correction.
8540
bbf527d6
DM
85412012-12-15 David S. Miller <davem@davemloft.net>
8542
8543 * po/ru.po: Update from translation team.
8544
bc38c906
DM
85452012-12-13 David S. Miller <davem@davemloft.net>
8546
85429b1a
DM
8547 * NEWS: Mention IFUNC testsuite enhancements.
8548
d283e353
DM
8549 * po/pl.po: Update from translation team.
8550 * po/bg.po: Likewise.
8551
bc38c906
DM
8552 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8553 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8554
a181b0d7
DM
85552012-12-11 David S. Miller <davem@davemloft.net>
8556
4641d57e
DM
8557 * po/sv.po: Update from translation team.
8558
f7bc6495
DM
8559 * po/vi.po: Update from translation team.
8560
6fc9048f
DM
8561 * po/cs.po: Update from translation team.
8562
a181b0d7
DM
8563 * po/de.po: Update from translation team.
8564 * po/eo.po: Likewise.
8565 * po/nl.po: Likewise.
8566
f70bfe80
SP
85672012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8568
3c8b4190
SP
8569 [BZ #14246]
8570 * manual/argp.texi (Argp Helper Functions): Move node to follow
8571 Argp Parsing State.
8572
f70bfe80
SP
8573 [BZ #14872]
8574 * manual/conf.texi (Limits on File System Capacity): Mention if
8575 terminating null is included in the max size.
8576
188f0adf
AJ
85772012-12-10 Andreas Jaeger <aj@suse.de>
8578
8579 * po/cs.po: Update from translation team.
8580
56e7d3ad
SP
85812012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8582
8583 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8584 void pointer and cast to uintptr_t.
8585 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8586 path.
8587 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8588 * sysdeps/s390/s390-64/memset.S: Likewise.
8589
76f2d2ea 85902012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8591
8592 [BZ #14833]
8593 * menual/message.texi (Message Translation): Fix typos.
8594 (Helper programs for gettext): Likewise.
8595
67cbf9a2
AS
85962012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8597
8598 [BZ #14898]
8599 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8600 Change to -1.
8601
682d0e9a
DM
86022012-12-07 David S. Miller <davem@davemloft.net>
8603
8604 * po/libc.pot: Update.
8605
573cd484
RH
86062012-12-07 Richard Henderson <rth@redhat.com>
8607
7e9da188 8608 [BZ #10114]
573cd484
RH
8609 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8610 normal/normal case to before the switch.
8611 (_FP_DIV): Likewise.
8612
e933a943
MF
86132012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8614 Mike Frysinger <vapier@gentoo.org>
8615
8616 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8617 check for __NR_fadvise64_64.
8618
82123268
CM
86192012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8620
8621 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8622 0, not just to plain "0" as a statement.
8623 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8624 with cw.
8625
d9814526
JM
86262012-12-06 Joseph Myers <joseph@codesourcery.com>
8627
8628 * NEWS: Use sourceware.org in Bugzilla URL.
8629
7728c574
SP
86302012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8631
f16946dd
SP
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8633 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8634
5704bbcb
SP
8635 * stdio-common/tst-put-error.c (do_test): Add newline to the
8636 padded test to ensure flush.
8637
17aa0516
JL
86382012-12-05 Jeff Law <law@redhat.com>
8639
8640 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8641
363313b5
JM
86422012-12-05 Joseph Myers <joseph@codesourcery.com>
8643
effbd42a
JM
8644 * README: Don't refer to ports add-on as distributed separately.
8645 Mention AArch64 in list of systems supported in the ports add-on.
8646
87600365
JM
8647 * LICENSES: Add more non-FSF copyright and license notices.
8648
a0d7066a
JM
8649 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8650 ((unused)).
8651
66ca5a5b
JM
8652 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8653
363313b5
JM
8654 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8655 10000 as width of padded output.
8656
b37984ad
JM
86572012-12-04 Joseph Myers <joseph@codesourcery.com>
8658
9003570a
JM
8659 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8660
b37984ad
JM
8661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8662 variable LX with __attribute__ ((unused)).
8663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8664 Likewise.
8665 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8668 with __attribute__ ((unused)).
8669
c8df52ec
DM
86702012-12-04 David S. Miller <davem@abraco.davemloft.net>
8671
8672 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8673
b3b099af
JM
86742012-12-04 Joseph Myers <joseph@codesourcery.com>
8675
c33aa6e3
JM
8676 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8677 (CFLAGS-nldbl-acos.c): New variable.
8678 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8679 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8680 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8681 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8682 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8683 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8684 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8685 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8686 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8687 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8688 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8689 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8690 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8691 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8692 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8693 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8694 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8695 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8696 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8697 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8698 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8699 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8700 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8701 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8702 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8703 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8704 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8705 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8706 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8707 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8708 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8709 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8710 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8711 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8712 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8713 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8714 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8715 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8716 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8717 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8718 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8719 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8720 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8721 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8722 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8723 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8724 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8725 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8726 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8727 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8728 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8729 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8730 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8731 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8732 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8733 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8734 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8735 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8736 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8737 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8738 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8739 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8740 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8741 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8742 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8743 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8744 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8745 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8746 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8747 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8748 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8749 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8750 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8751 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8752 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8753 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8754 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8755 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8756 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8757 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8758 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8759 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8760 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8761 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8762 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8763 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8764 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8765 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8766 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8767 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8768 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8769 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8770 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8771 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8772 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8773 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8774 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8775
20f0018d
JM
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8777 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8778
b3b099af
JM
8779 [BZ #14914]
8780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8781 whole low double instead of just low 47 bits when splitting values
8782 into two parts.
8783
029264d1
AM
87842012-12-03 Allan McRae <allan@archlinux.org>
8785
8786 * manual/stdio.texi (Predefined Printf Handlers): Remove
8787 @hsep and @vsep usage.
8788
c9d6789e
MF
87892012-12-03 Mike Frysinger <vapier@gentoo.org>
8790
8791 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8792 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8793
4b7634a5
JL
87942012-12-03 Jeff Law <law@redhat.com>
8795
8796 * time/sys/time.h (settimeofday): Do not mark TV argument
8797 as __nonnull.
8798
eb6cbd24
MF
87992012-12-01 Mike Frysinger <vapier@gentoo.org>
8800
8801 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8802 when currently writing and seek to current position when not.
8803 * libio/Makefile (tests): Remove bug-fclose1.
8804 * libio/bug-fclose1.c: Delete.
8805
f638872a
JM
88062012-12-01 Joseph Myers <joseph@codesourcery.com>
8807
8808 * manual/arith.texi (feenableexcept): Fix typo.
8809 (fedisableexcept): Likewise.
8810
48085d14
RM
88112012-11-30 Roland McGrath <roland@hack.frob.com>
8812
8813 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8814 second, differently-typed declaration, rather than a cast.
8815
1a538b9f
SP
88162012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8817
8818 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8819 * include/rpc/svc.h: ... here.
8820
d07f2ff1 88212012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8822
8823 [BZ #13013]
8824 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8825 depending n and resplen2 to catch cases where answer
8826 equals answerp2.
8827
c93ec1f0
CD
88282012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8829
8830 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8831 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8832
37db69de
MF
88332012-11-29 Mike Frysinger <vapier@gentoo.org>
8834
8835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8836
e10c4e4f
RM
88372012-11-29 Roland McGrath <roland@hack.frob.com>
8838
8839 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8840
2af1b328
JL
88412012-11-28 Jeff Law <law@redhat.com>
8842
8843 [BZ #13761]
8844 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8845 dataset_temporary. Track alloca usage into alloca_used.
8846 If dataset is large allocate and release it via malloc/free.
8847
111db5b1
FW
88482012-06-04 Florian Weimer <fweimer@redhat.com>
8849
f06cc227 8850 [BZ #14197]
111db5b1
FW
8851 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8852
dd694abd
DM
88532012-11-28 David S. Miller <davem@davemloft.net>
8854
8855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8856
9984dd01
JM
88572012-11-28 Joseph Myers <joseph@codesourcery.com>
8858
8859 [BZ #14803]
8860 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8861 of pi/2 rounded to nearest to 64 bits.
8862 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8863 nearest to 64 bits.
8864 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8865 bits.
8866
14bc93a9
JL
88672012-11-28 Jeff Law <law@redhat.com>
8868 Martin Osvald <mosvald@redhat.com>
8869
8870 [BZ #14889]
8871 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8872 * sunrpc/svc.c: Include time.h.
8873 (__svc_accept_failed): New function.
8874 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8875 any reason other than EINTR, call __svc_accept_failed.
8876 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8877 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8878
e3c6aa3a
AS
88792012-11-28 Andreas Schwab <schwab@suse.de>
8880
8881 * scripts/abilist.awk: Also handle indirect functions in .opd
8882 section.
8883
1bead169
JM
88842012-11-28 Joseph Myers <joseph@codesourcery.com>
8885
8886 [BZ #13881]
8887 * sysdeps/x86/fpu/powl_helper.c: New file.
8888 * sysdeps/x86/fpu/Makefile: Likewise.
8889 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8890 (p3): New object.
8891 (__ieee754_powl): Use __powl_helper for finite arguments except
8892 integer exponents below 8.
8893 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8894 (p3): New object.
8895 (__ieee754_powl): Use __powl_helper for finite arguments except
8896 integer exponents below 8.
8897 * math/libm-test.inc (pow_test): Add more tests and enable some
8898 previously disabled tests.
8899 * sysdeps/i386/fpu/libm-test-ulps: Update.
8900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8901
0817d63d
SP
89022012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8903 Carlos O'Donell <carlos_odonell@mentor.com>
8904
8905 * nss/makedb.c (is_prime): Assert that input is odd and greater
8906 than 4. Note that fact in a comment too.
8907 (next_prime): Add 4 to input.
8908
de2fd463
SP
89092012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8910
8911 [BZ #11741]
8912 * libio/Makefile (tests): Add test case tst-fwrite-error.
8913 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8914 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8915 * libio/tst-fwrite-error.c: New test case.
8916
c515fb51
L
89172012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8918
8919 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8920 before casting to void *.
8921 * include/libc-internal.h (__pointer_type): New macro.
8922 (__integer_if_pointer_type_sub): Likewise.
8923 (__integer_if_pointer_type): Likewise.
8924 (cast_to_integer): Likewise.
8925 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8926 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8927 before casting to atomic64_t.
8928 (atomic_exchange_acq): Likewise.
8929 (__arch_exchange_and_add_body): Likewise.
8930 (__arch_add_body): Likewise.
8931 (atomic_add_negative): Likewise.
8932 (atomic_add_zero): Likewise.
8933
4cf77aa9
JM
89342012-11-26 Joseph Myers <joseph@codesourcery.com>
8935
8936 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8937 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8938 (add_fdes): Likewise.
8939 (linear_search_fdes): Likewise.
8940 (binary_search_unencoded_fdes): Likewise.
8941
d260b3b4
AS
89422012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8943
8944 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8945
67060746
AC
89462012-11-24 Adam Conrad <adconrad@0c3.net>
8947
8948 * configure.in: Autodetect C++ header directories.
8949 * configure: Regenerated.
8950
800938a1
MF
89512012-11-23 Mike Frysinger <vapier@gentoo.org>
8952
8953 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8954
4e6e34e6
AS
89552012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8956
8957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8958
7c7feb47
JM
89592012-11-22 Joseph Myers <joseph@codesourcery.com>
8960
7184dcdf
JM
8961 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8962 LDBL_MANT_DIG == 106]: Disable some tests.
8963 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8964 Likewise.
8965 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8966 Likewise.
8967
0a42601f
JM
8968 [BZ #14871]
8969 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8970 input for small inputs. Return +/- pi/2 for large inputs.
8971 * math/libm-test.inc (atan_test): Add more tests.
8972
79c9b9fe
JM
8973 * sysdeps/generic/unwind-dw2-fde-glibc.c
8974 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8975 __attribute__ ((unused)).
8976
c60d3bf2
JM
8977 [BZ #14645]
8978 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8979 x * y if x and y are nonzero and z is zero.
8980
ef1e0867
JM
8981 [BZ #14811]
8982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8983 nonzero exponents with absolute value below 0x1p-117 to +/-
8984 0x1p-117.
8985
1468ded3
JM
8986 [BZ #14869]
8987 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8988 up arguments below 2**-450, not just those below 2**-500.
8989 * math/libm-test.inc (hypot_test): Add another test.
8990
8e27e3cc
JM
8991 [BZ #14868]
8992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8993 Return a+b for ratio over 2**120, not 2**60.
8994 * math/libm-test.inc (hypot_test): Add another test.
8995
c9c0279b
JM
8996 * math/libm-test.inc (clog_test): Use
8997 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8998 (clog10_test): Likewise.
8999
7c7feb47
JM
9000 [BZ #6778]
9001 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9002
fff1530e
AS
90032012-11-22 Andreas Schwab <schwab@suse.de>
9004
9005 * sysdeps/i386/fpu/libm-test-ulps: Update.
9006
94558d30
PT
90072012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9008
9009 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9010 printf output with newline.
9011
7e1be741
L
90122012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9013
6bfea974
L
9014 [BZ #14865]
9015 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9016 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9017 -z nodlopen, -z initfirst and -z execstack support.
9018 * configure: Regenerated.
9019
7e1be741
L
9020 * elf/elf.h (DF_1_NODIRECT): New macro.
9021 (DF_1_IGNMULDEF): Likewise.
9022 (DF_1_NOKSYMS): Likewise.
9023 (DF_1_NOHDR): Likewise.
9024 (DF_1_EDITED): Likewise.
9025 (DF_1_NORELOC): Likewise.
9026 (DF_1_SYMINTPOSE): Likewise.
9027 (DF_1_GLOBAUDIT): Likewise.
9028 (DF_1_SINGLETON): Likewise.
9029 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9030 DT_1_SUPPORTED_MASK bits.
9031 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9032
105ce2ce
CD
90332012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9034
9035 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9036
123be9de
TS
90372012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9038
d072f3f7
TS
9039 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9040 macro.
9041
123be9de
TS
9042 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9043 (sendmmsg): Move declarations...
9044 * socket/sys/socket.h: ... here.
9045 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9046 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9047 include it from...
9048 * socket/recvmmsg.c: ... this new file.
9049 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9050 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9051 definition of __sendmmsg hidden.
9052 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9053 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9054 Move ENOSYS stub into and include it from...
9055 * socket/sendmmsg.c: ... this new file.
9056 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9057 (sysdep_routines): Move recvmmsg and sendmmsg...
9058 * socket/Makefile (routines): ... here.
9059 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9060 (GLIBC_PRIVATE): Add __sendmmsg.
9061 * include/sys/socket.h (__sendmmsg): Add declarations.
9062 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9063 sendmmsg.
9064
cf9a5d18
JM
90652012-11-20 Joseph Myers <joseph@codesourcery.com>
9066
9067 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9068 variable I1 with __attribute__ ((unused)).
9069 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9070
ecd4caf9
JM
90712012-11-19 Joseph Myers <joseph@codesourcery.com>
9072
be14d48f
JM
9073 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9074 DUMMY variables with __attribute__ ((unused)).
9075
ecd4caf9
JM
9076 * bits/byteswap.h: Include <bits/types.h>.
9077 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9078
986cab95
PT
90792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9080
9081 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9082 string_t. Do not manually set errno.
9083 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9084 length with __strnlen. Make sure to both set errno and return it on
9085 failure.
9086
6d33cc9d
DM
90872012-11-19 David S. Miller <davem@davemloft.net>
9088
9089 With help from Joseph Myers.
9090 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9091 very large arguments properly.
9092 * math/libm-test.inc (atan_test): New tests.
9093 (atan2_test): New tests.
9094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9096
ee663277
JM
90972012-11-19 Joseph Myers <joseph@codesourcery.com>
9098
877f2d8e
JM
9099 [BZ #14856]
9100 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9101 Define to 3.
9102
116fc08a
JM
9103 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9104 [POSIX] (EADDRNOTAVAIL): Likewise.
9105 [POSIX] (EAFNOSUPPORT): Likewise.
9106 [POSIX] (EALREADY): Likewise.
9107 [POSIX] (ECONNABORTED): Likewise.
9108 [POSIX] (ECONNREFUSED): Likewise.
9109 [POSIX] (ECONNRESET): Likewise.
9110 [POSIX] (EDESTADDRREQ): Likewise.
9111 [POSIX] (EDQUOT): Likewise.
9112 [POSIX] (EHOSTUNREACH): Likewise.
9113 [POSIX] (EIDRM): Likewise.
9114 [POSIX] (EISCONN): Likewise.
9115 [POSIX] (ELOOP): Likewise.
9116 [POSIX] (EMULTIHOP): Likewise.
9117 [POSIX] (ENETDOWN): Likewise.
9118 [POSIX] (ENETUNREACH): Likewise.
9119 [POSIX] (ENOBUFS): Likewise.
9120 [POSIX] (ENODATA): Likewise.
9121 [POSIX] (ENOLINK): Likewise.
9122 [POSIX] (ENOMSG): Likewise.
9123 [POSIX] (ENOPROTOOPT): Likewise.
9124 [POSIX] (ENOSR): Likewise.
9125 [POSIX] (ENOSTR): Likewise.
9126 [POSIX] (ENOTCONN): Likewise.
9127 [POSIX] (ENOTSOCK): Likewise.
9128 [POSIX] (EOPNOTSUPP): Likewise.
9129 [POSIX] (EOVERFLOW): Likewise.
9130 [POSIX] (EPROTO): Likewise.
9131 [POSIX] (EPROTONOSUPPORT): Likewise.
9132 [POSIX] (EPROTOTYPE): Likewise.
9133 [POSIX] (ESTALE): Likewise.
9134 [POSIX] (ETIME): Likewise.
9135 [POSIX] (ETXTBSY): Likewise.
9136 [POSIX] (EWOULDBLOCK): Likewise.
9137 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9138 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9139 [POSIX] (SEEK_CUR): Likewise.
9140 [POSIX] (SEEK_END): Likewise.
9141 [POSIX || UNIX98] (mode_t): Do not require.
9142 [POSIX] (off_t): Likewise.
9143 [POSIX] (pid_t): Likewise.
9144 [POSIX] (sys/stat.h): Do not allow header.
9145 [POSIX] (unistd.h): Likewise.
9146 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9147 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9148 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9149 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9150 require.
9151 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9152 sigevent): Specify elements.
9153 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9154 entry.
9155 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9156 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9157
a483863f
JM
9158 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9159 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9160 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9161 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9162 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9163 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9164 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9165 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9166 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9167 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9168 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9169 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9170 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9171 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9172 Likewise.
9173 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9174 Likewise.
9175 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9176 Likewise.
9177 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9178 Likewise.
9179 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9180 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9181 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9182 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9183 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9184 Specify lower bound on value.
9185 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9186 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9187 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9188 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9189 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9190 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9191 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9192 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9193 value.
9194 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9195 as optional.
9196 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9197 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9198 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9199 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9200 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9201 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9202 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9203 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9204 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9205 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9206 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9207 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9208 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9209 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9210 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9211 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9212 entry.
9213 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9214 optional.
9215 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9216 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9217 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9218 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9219 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9220 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9221 Likewise.
9222 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9223 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9224 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9225 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9226 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9227 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9228 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9229 as optional.
9230 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9231 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9232 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9233 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9234 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9235 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9236 specify as optional.
9237 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9238 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9239 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9240 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9241 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9242 [XPG3] (NL_LANGMAX): Likewise.
9243 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9244 [POSIX || XPG3] (NL_NMAX): Likewise.
9245 [POSIX || XPG3] (NL_SETMAX): Likewise.
9246 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9247 [XPG3] (NZERO): Likewise.
9248 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9249 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9250 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9251 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9252 (REG_ERANGE): Expect.
9253 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9254 optional-constant.
9255 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9256 Use (void) in prototype.
9257 [POSIX] (*_t): Allow.
9258 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9259 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9260 (WRDE_BADVAL): Expect.
9261
5ba924e3
JM
9262 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9263 expect.
9264 [XPG3 || XPG4] (O_RSYNC): Likewise.
9265 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9266 Likewise.
9267 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9268 [XPG3 || XPG4] (sigqueue): Likewise.
9269 [XPG3 || XPG4] (sigtimedwait): Likewise.
9270 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9271 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9272 [XPG3 || XPG4] (vsnprintf): Likewise.
9273 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9274 Likewise.
9275 [XPG3 || XPG4] (blksize_t): Likewise.
9276 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9277 Likewise.
9278 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9279 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9280 [XPG3 || XPG4] (struct itimerspec): Likewise.
9281 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9282 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9283 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9284 [XPG3 || XPG4] (clockid_t): Likewise.
9285 [XPG3 || XPG4] (timer_t): Likewise.
9286 [XPG3 || XPG4] (clock_getres): Likewise.
9287 [XPG3 || XPG4] (clock_gettime): Likewise.
9288 [XPG3 || XPG4] (clock_settime): Likewise.
9289 [XPG3 || XPG4] (nanosleep): Likewise.
9290 [XPG3 || XPG4] (timer_create): Likewise.
9291 [XPG3 || XPG4] (timer_delete): Likewise.
9292 [XPG3 || XPG4] (timer_gettime): Likewise.
9293 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9294 [XPG3 || XPG4] (timer_settime): Likewise.
9295 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9296 [XPG3 || XPG4] (getlogin_r): Likewise.
9297 [XPG3 || XPG4] (pread): Likewise.
9298 [XPG3 || XPG4] (pthread_atfork): Likewise.
9299 [XPG3 || XPG4] (pwrite): Likewise.
9300
ee663277
JM
9301 [BZ #14835]
9302 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9303 <bits/siginfo.h>.
9304
942caa16
PT
93052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9306
e19af380
PT
9307 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9308 finalizing MALLSTREAM.
9309
942caa16
PT
9310 * sysdeps/mach/hurd/syncfs.c: New file.
9311
cfde9b46
SP
93122012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9313
9314 [BZ #14719]
9315 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9316 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9317 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9318 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9319 (_nss_dns_gethostbyname4_r): Likewise.
9320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9321 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9322
f6da27e5
PH
93232012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9324
9325 [BZ #13763]
9326 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9327
6665d4a2
SM
93282012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9329
1f51ee92
SM
9330 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9331 * elf/cache.c (print_entry): Print ",AArch64" for
9332 FLAG_AARCH64_LIB64
9333
6665d4a2
SM
9334 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9335 * elf/cache.c (print_entry): Print ",hard-float" for
9336 FLAG_ARM_LIBHF.
9337
05b227bd
DM
93382012-11-18 David S. Miller <davem@davemloft.net>
9339
9340 With help from Joseph Myers.
9341 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9342 cutoff to 2**-13.
9343 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9344 cutoff to 2**-25.
9345 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9346 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9347 small.
9348 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9349 * math/libm-test.inc (y0_test): New tests.
9350 (y1_test): New tests.
9351 * sysdeps/i386/fpu/libm-test-ulps: Update.
9352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9354
786b0b67
AS
93552012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9356
9357 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9358 64-bit targets.
9359 * configure: Regenerated.
9360
8e18b86d
DM
93612012-11-17 David S. Miller <davem@davemloft.net>
9362
9363 [BZ #14811]
9364 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9365 nonzero exponents with absolute value below 0x1p-128 to +/-
9366 0x1p-128.
9367
531f1ae0
JM
93682012-11-17 Joseph Myers <joseph@codesourcery.com>
9369
12df29e2
JM
9370 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9371
150dc1a0
JM
9372 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9373
531f1ae0
JM
9374 * posix/getconf-speclist.c: New file.
9375 * posix/posix-envs.def: Likewise.
9376 * posix/confstr.c (START_ENV_GROUP): New macro.
9377 (END_ENV_GROUP): Likewise.
9378 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9379 (KNOWN_PRESENT_ENV_STRING): Likewise.
9380 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9381 (UNKNOWN_ENVIRONMENT): Likewise.
9382 (confstr): Include posix-envs.def instead of handling
9383 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9384 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9385 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9386 (END_ENV_GROUP): Likewise.
9387 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9388 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9389 (UNKNOWN_ENVIRONMENT): Likewise.
9390 (__sysconf): Include posix-envs.def instead of handling associated
9391 cases directly here.
9392 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9393 preprocessing getconf-speclist.c rather than running getconf or
9394 generating empty file.
9395
a93f9cbc
PT
93962012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9397
9398 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9399
d64d9f87
AL
94002012-11-16 Andrej Lajovic <natrij@gmail.com>
9401
9402 [BZ #14672]
9403 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9404
447885eb
DM
94052012-11-16 David S. Miller <davem@davemloft.net>
9406
9407 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9408 smaller than LDBL_EPSILON/2.0L, just return xm1.
9409
bcbf9830
L
94102012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9411
9412 * elf/tst-array1.c (init): Set constructor priority to 1000.
9413 (fini): Set destructor priority to 1000.
9414 * elf/tst-array2dep.c: Likewise.
9415
2b766585
SP
94162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9417
9418 [BZ #11741]
9419 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9420 (_IO_new_file_xsputn): Also return EOF if none of the input
9421 data was written when overflow failed.
9422 * libio/iopadn.c (_IO_padn): Likewise.
9423 * libio/iowpadn.c (_IO_wpadn): Likewise.
9424 * stdio-common/tst-put-error.c: Add copyright notice.
9425 (do_test): Add case for printing padded string.
9426 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9427 _IO_padn returned error.
9428 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9429 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9430 return EOF.
9431
b1848fde
SP
94322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9433
9434 * libio/libioP.h: Add comment note that the references to C++
9435 bits are now obsolete.
9436
2fd89785
MS
94372012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9438
9439 * math/libm-test.inc (check_complex): Use asprintf.
9440
e3ea5409
JM
94412012-11-14 Joseph Myers <joseph@codesourcery.com>
9442
9443 * debug/pcprofiledump.c (print_version): Update copyright year.
9444 * malloc/memusagestat.c (print_version): Likewise.
9445
2e64d265
L
94462012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9447
9448 [BZ #14831]
9449 * elf/Makefile (tests): Add tst-audit8.
9450 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9451 ($(objpfx)tst-audit8.out): New target.
9452 (tst-audit8-ENV): New variable.
9453 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9454 audit if l_reloc_result is NULL.
9455 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9456 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9457 * elf/tst-audit8.c: New file.
9458
c485e4d2
MS
94592012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9460
9461 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9462 * misc/Makefile (CFLAGS-select.c): Define.
9463 * posix/Makefile (CFLAGS-pause.c): Define.
9464
3a0d900a
DM
94652012-11-13 David S. Miller <davem@davemloft.net>
9466
9467 * crypt/Makefile: Move test targets after toplevel Rules
9468 inclusion. Grab any necessary sysdep routines when linking.
9469 * crypt/md5.c (md5_process_block): Remove define, we will always
9470 name it __md5_process_block.
9471 (md5_finish_ctx): Update md5_process_block call.
9472 (md5_stream): Likewise.
9473 (md5_process_bytes): Likewise.
9474 (md5_process_block): Rename to __md5_process_block and move to ...
9475 * crypt/md5-block.c: ... here.
9476 * crypt/sha256.c (sha256_process_block): Move to ...
9477 * crypt/sha256-block.c: ... here.
9478 * crypt/sha512.c (sha512_process_block): Move to ...
9479 * crypt/sha512-block.c: ... here.
9480 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9481 path.
9482 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9483 * sysdeps/sparc/sparc64/multiarch/Makefile
9484 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9485 crypt subdir.
9486 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9487 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9488 multiarch changes.
9489 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9490 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9491 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9492 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9493 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9494 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9495 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9496 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9497 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9498 file.
9499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9500 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9501 file.
9502 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9503
8ca89318
JM
95042012-11-13 Joseph Myers <joseph@codesourcery.com>
9505
e27d476a
JM
9506 * timezone/tzselect.ksh: Update from tzcode git revision
9507 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9508 * timezone/zdump.c: Likewise.
9509 * timezone/zic.c: Likewise.
9510 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9511 in TZVERSION setting, not $(PKGVERSION).
9512 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9513 REPORT_BUGS_TO settings.
9514
8ca89318
JM
9515 [BZ #14838]
9516 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9517 macro.
9518
47594329
MS
95192012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9520
9521 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9522 detection to immediately after _FP_ROUND().
9523 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9524 bits are 0.
9525
640ac3f1
DM
95262012-11-11 David S. Miller <davem@davemloft.net>
9527
9528 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9529 inttypes.h
9530 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9531 __close rather than their public counterparts.
9532
3d2577bb
JM
95332012-11-10 Joseph Myers <joseph@codesourcery.com>
9534
9535 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9536 file.
9537 [UNIX98] (sem_timedwait): Do not expect.
9538 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9539 [XPG4 || UNIX98] (sockatmark): Do not expect.
9540 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9541 (clock_getcpuclockid): Do not expect.
9542 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9543 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9544 Do not expect.
9545 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9546 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9547 [UNIX98] (vwscanf): Likewise.
9548 [UNIX98] (vswscanf): Likewise.
9549
fb1ae1ee
JM
95502012-11-09 Joseph Myers <joseph@codesourcery.com>
9551
9ec6f8bd
JM
9552 * timezone/version.h: Remove file.
9553 * timezone/README: Do not refer to version.h.
9554 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9555 $(objpfx)version.h.
9556 ($(objpfx)zdump.o): Likewise.
c3f81911 9557 ($(objpfx)version.h): New target.
9ec6f8bd 9558
0aa8f8a1
JM
9559 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9560 2012i.
9561 * timezone/README: Don't mention modification to tzselect.ksh.
9562 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9563 work on unmodified tzselect.ksh. Substitute version numbers in
9564 tzselect.ksh.
9565
4e87147f
JM
9566 * Makefile (format-me): Remove.
9567 (INSTALL): Adjust indentation. Use commands directly instead of
9568 using $(format-me).
9569
8b748aed
JM
9570 * aclocal.m4 (ACX_PKGVERSION): New macro.
9571 (ACX_BUGURL): Likewise.
9572 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9573 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9574 (REPORT_BUGS_TO): Likewise.
9575 * configure: Regenerated.
9576 * config.h.in (PKGVERSION): New macro.
9577 (REPORT_BUGS_TO): Likewise.
9578 * config.make.in (PKGVERSION): New variable.
9579 (PKGVERSION_TEXI): Likewise.
9580 (REPORT_BUGS_TO): Likewise.
9581 (REPORT_BUGS_TEXI): Likewise.
9582 * Makefile (format-me): Use -I$(common-objpfx)manual.
9583 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9584 ($(common-objpfx)manual/%): New target.
9585 (manual/%): Remove target.
9586 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9587 (print_version): Use PKGVERSION.
9588 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9589 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9590 and REPORT_BUGS_TO.
9591 ($(objpfx)xtrace): Likewise.
9592 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9593 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9594 (print_version): Use PKGVERSION.
9595 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9596 (do_version): Use PKGVERSION.
9597 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9598 REPORT_BUGS_TO.
9599 (common-ldd-rewrite): Likewise.
9600 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9601 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9602 (print_version): Use PKGVERSION.
9603 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9604 * elf/pldd.c (argp_program_bug_address): Remove variable.
9605 (more_help): New function.
9606 (argp): Use more_help.
9607 (print_version): Use PKGVERSION.
9608 * elf/sln.c (main): Use PKGVERSION.
9609 (usage): Use REPORT_BUGS_TO.
9610 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9611 (top level): Use PKGVERSION.
9612 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9613 (print_version): Use PKGVERSION.
9614 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9615 (print_version): Use PKGVERSION.
9616 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9617 (print_version): Use PKGVERSION.
9618 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9619 (print_version): Use PKGVERSION.
9620 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9621 (print_version): Use PKGVERSION.
9622 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9623 (print_version): Use PKGVERSION.
9624 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9625 and BUGURL.
9626 ($(objpfx)memusage): Likewise.
9627 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9628 (do_version): Use PKGVERSION.
9629 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9630 (print_version): Use PKGVERSION.
9631 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9632 ($PKGVERSION): New variable.
9633 ($REPORT_BUGS_TO): Likewise.
9634 (usage): Use $REPORT_BUGS_TO.
9635 (top level): Use $PKGVERSION.
9636 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9637 ($(objpfx)pkgvers.texi): New rule.
9638 ($(objpfx)stamp-pkgvers): Likewise.
9639 * manual/install.texi: Include pkgvers.texi.
9640 (--with-pkgversion): Document new configure option.
9641 (--with-bugurl): Likewise.
9642 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9643 than necessarily for this particular distribution. Use
9644 REPORT_BUGS_TO for where to report bugs.
9645 * INSTALL: Regenerated.
9646 * manual/libc.texinfo: Include pkgvers.texi.
9647 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9648 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9649 (print_version): Use PKGVERSION.
9650 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9651 (print_version): Use PKGVERSION.
9652 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9653 (print_version): Use PKGVERSION.
9654 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9655 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9656 macro.
9657 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9658 (print_version): Use PKGVERSION.
9659 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9660 (print_version): Use PKGVERSION.
9661 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9662 and PKGVERSION.
9663
92e4b6a9
JM
9664 * timezone/checktab.awk: Update from tzcode 2012i.
9665 * timezone/ialloc.c: Likewise.
9666 * timezone/private.h: Likewise.
9667 * timezone/scheck.c: Likewise.
9668 * timezone/tzfile.h: Likewise.
9669 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9670 (TZVERSION): Hardcode tzcode version number.
9671 * timezone/zdump.c: Update from tzcode 2012i.
9672 * timezone/zic.c: Likewise.
9673 * timezone/version.h: New file.
9674 * timezone/README: Describe version.h. Update upstream location.
9675
9bde902c
JM
9676 [BZ #14824]
9677 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9678 (mktemp): Enable declaration.
9679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9683 Likewise.
9684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9685 Likewise.
9686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9687 Likewise.
9688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9689 Likewise.
9690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9691 Likewise.
9692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9693 Likewise.
9694
fb1ae1ee
JM
9695 [BZ #14821]
9696 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9697 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9698 for copies of such integer values.
9699 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9700 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9701
2c1adbcb
AJ
97022012-11-09 Andreas Jaeger <aj@suse.de>
9703
9704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9705 definitions and declarations that are provided by
9706 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9707
d0f8457e
AK
97082012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9709
3a235abb 9710 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9711 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9712 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9713 definition.
9714
57241e26
MS
97152012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9716
9717 * elf/elf.h: Update comment before AArch64 relocations.
9718
60e8270d
DM
97192012-11-07 David S. Miller <davem@davemloft.net>
9720
9721 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9722 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9723 (__start_context): Declare.
9724 (__makecontext_ret): Delete.
9725 (__makecontext): Hook up __start_context instead of
9726 __makecontext_ret.
9727 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9728 (sysdep_routines): Add __start_context when in stdlib.
9729
0fbb0fbc
JM
97302012-11-07 Joseph Myers <joseph@codesourcery.com>
9731
9732 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9733 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9734 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9735 hardcoded "nm".
9736 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9737 (READELF): New variable. Use it instead of hardcoded "readelf".
9738
eb48db7e
L
97392012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9742 * sysdeps/x86/Makefile: Here.
9743 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9744 * sysdeps/x86/tst-xmmymm.sh: This.
9745
05bcf62a
JM
97462012-11-07 Joseph Myers <joseph@codesourcery.com>
9747
c4b6cf53
JM
9748 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9749 expectations.
9750 [UNIX98] (pthread_barrier_t): Do not expect.
9751 [UNIX98] (pthread_barrierattr_t): Likewise.
9752 [UNIX98] (pthread_spinlock_t): Likewise.
9753 [UNIX98] (pthread_barrier_destroy): Likewise.
9754 [UNIX98] (pthread_barrier_init): Likewise.
9755 [UNIX98] (pthread_barrier_wait): Likewise.
9756 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9757 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9758 [UNIX98] (pthread_barrierattr_init): Likewise.
9759 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9760 [UNIX98] (pthread_getcpuclockid): Likewise.
9761 [UNIX98] (pthread_mutex_timedlock): Likewise.
9762 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9763 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9764 [UNIX98] (pthread_sigmask): Likewise.
9765 [UNIX98] (pthread_spin_destroy): Likewise.
9766 [UNIX98] (pthread_spin_init): Likewise.
9767 [UNIX98] (pthread_spin_lock): Likewise.
9768 [UNIX98] (pthread_spin_trylock): Likewise.
9769 [UNIX98] (pthread_spin_unlock): Likewise.
9770 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9771 Do not expect.
9772 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9773 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9774 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9775 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9776 [XPG3 || XPG4] (pthread_key_t): Likewise.
9777 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9778 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9779 [XPG3 || XPG4] (pthread_once_t): Likewise.
9780 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9781 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9782 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9783 [XPG3 || XPG4] (pthread_t): Likewise.
9784
cbe6e120
JM
9785 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9786 not expect.
9787 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9788
1b126443
JM
9789 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9790 Change function return type to int.
9791
b961a573
JM
9792 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9793 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9794 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9795 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9796 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9797 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9798 [!POSIX] (posix_madvise): Likewise.
9799 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9800 && !UNIX98].
9801 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9802 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9803 (mode_t): Likewise.
9804 (posix_mem_offset): Likewise.
9805 (posix_typed_mem_get_info): Likewise.
9806 (posix_typed_mem_open): Likewise.
9807
9e188909
JM
9808 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9809 Change condition to [XOPEN2K8].
9810
05bcf62a
JM
9811 * conform/conformtest.pl: Preprocess allow-header data with -x c
9812 instead of from stdin.
9813 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9814 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9815 [C99-based standards] (cerfc): Likewise.
9816 [C99-based standards] (cexp2): Likewise.
9817 [C99-based standards] (cexpm1): Likewise.
9818 [C99-based standards] (clog10): Likewise.
9819 [C99-based standards] (clog1p): Likewise.
9820 [C99-based standards] (clog2): Likewise.
9821 [C99-based standards] (clgamma): Likewise.
9822 [C99-based standards] (ctgamma): Likewise.
9823 [C99-based standards] (cerff): Likewise.
9824 [C99-based standards] (cerfcf): Likewise.
9825 [C99-based standards] (cexp2f): Likewise.
9826 [C99-based standards] (cexpm1f): Likewise.
9827 [C99-based standards] (clog10f): Likewise.
9828 [C99-based standards] (clog1pf): Likewise.
9829 [C99-based standards] (clog2f): Likewise.
9830 [C99-based standards] (clgammaf): Likewise.
9831 [C99-based standards] (ctgammaf): Likewise.
9832 [C99-based standards] (cerfl): Likewise.
9833 [C99-based standards] (cerfcl): Likewise.
9834 [C99-based standards] (cexp2l): Likewise.
9835 [C99-based standards] (cexpm1l): Likewise.
9836 [C99-based standards] (clog10l): Likewise.
9837 [C99-based standards] (clog1pl): Likewise.
9838 [C99-based standards] (clog2l): Likewise.
9839 [C99-based standards] (clgammal): Likewise.
9840 [C99-based standards] (ctgammal): Likewise.
9841 * conform/data/inttypes.h-data [C99-based standards]: Include
9842 stdint.h-data. Remove all expectations for stdint.h contents.
9843 [C99-based standards] (PRI*): Do not allow.
9844 [C99-based standards] (SCN*): Likewise.
9845 [C99-based standards] (*_t): Likewise.
9846 [C99-based-standards] (PRId8): Expect macro.
9847 [C99-based-standards] (PRIi8): Likewise.
9848 [C99-based-standards] (PRIo8): Likewise.
9849 [C99-based-standards] (PRIu8): Likewise.
9850 [C99-based-standards] (PRIx8): Likewise.
9851 [C99-based-standards] (PRIX8): Likewise.
9852 [C99-based-standards] (SCNd8): Likewise.
9853 [C99-based-standards] (SCNi8): Likewise.
9854 [C99-based-standards] (SCNo8): Likewise.
9855 [C99-based-standards] (SCNu8): Likewise.
9856 [C99-based-standards] (SCNx8): Likewise.
9857 [C99-based-standards] (PRIdLEAST8): Likewise.
9858 [C99-based-standards] (PRIiLEAST8): Likewise.
9859 [C99-based-standards] (PRIoLEAST8): Likewise.
9860 [C99-based-standards] (PRIuLEAST8): Likewise.
9861 [C99-based-standards] (PRIxLEAST8): Likewise.
9862 [C99-based-standards] (PRIXLEAST8): Likewise.
9863 [C99-based-standards] (SCNdLEAST8): Likewise.
9864 [C99-based-standards] (SCNiLEAST8): Likewise.
9865 [C99-based-standards] (SCNoLEAST8): Likewise.
9866 [C99-based-standards] (SCNuLEAST8): Likewise.
9867 [C99-based-standards] (SCNxLEAST8): Likewise.
9868 [C99-based-standards] (PRIdFAST8): Likewise.
9869 [C99-based-standards] (PRIiFAST8): Likewise.
9870 [C99-based-standards] (PRIoFAST8): Likewise.
9871 [C99-based-standards] (PRIuFAST8): Likewise.
9872 [C99-based-standards] (PRIxFAST8): Likewise.
9873 [C99-based-standards] (PRIXFAST8): Likewise.
9874 [C99-based-standards] (SCNdFAST8): Likewise.
9875 [C99-based-standards] (SCNiFAST8): Likewise.
9876 [C99-based-standards] (SCNoFAST8): Likewise.
9877 [C99-based-standards] (SCNuFAST8): Likewise.
9878 [C99-based-standards] (SCNxFAST8): Likewise.
9879 [C99-based-standards] (PRId16): Likewise.
9880 [C99-based-standards] (PRIi16): Likewise.
9881 [C99-based-standards] (PRIo16): Likewise.
9882 [C99-based-standards] (PRIu16): Likewise.
9883 [C99-based-standards] (PRIx16): Likewise.
9884 [C99-based-standards] (PRIX16): Likewise.
9885 [C99-based-standards] (SCNd16): Likewise.
9886 [C99-based-standards] (SCNi16): Likewise.
9887 [C99-based-standards] (SCNo16): Likewise.
9888 [C99-based-standards] (SCNu16): Likewise.
9889 [C99-based-standards] (SCNx16): Likewise.
9890 [C99-based-standards] (PRIdLEAST16): Likewise.
9891 [C99-based-standards] (PRIiLEAST16): Likewise.
9892 [C99-based-standards] (PRIoLEAST16): Likewise.
9893 [C99-based-standards] (PRIuLEAST16): Likewise.
9894 [C99-based-standards] (PRIxLEAST16): Likewise.
9895 [C99-based-standards] (PRIXLEAST16): Likewise.
9896 [C99-based-standards] (SCNdLEAST16): Likewise.
9897 [C99-based-standards] (SCNiLEAST16): Likewise.
9898 [C99-based-standards] (SCNoLEAST16): Likewise.
9899 [C99-based-standards] (SCNuLEAST16): Likewise.
9900 [C99-based-standards] (SCNxLEAST16): Likewise.
9901 [C99-based-standards] (PRIdFAST16): Likewise.
9902 [C99-based-standards] (PRIiFAST16): Likewise.
9903 [C99-based-standards] (PRIoFAST16): Likewise.
9904 [C99-based-standards] (PRIuFAST16): Likewise.
9905 [C99-based-standards] (PRIxFAST16): Likewise.
9906 [C99-based-standards] (PRIXFAST16): Likewise.
9907 [C99-based-standards] (SCNdFAST16): Likewise.
9908 [C99-based-standards] (SCNiFAST16): Likewise.
9909 [C99-based-standards] (SCNoFAST16): Likewise.
9910 [C99-based-standards] (SCNuFAST16): Likewise.
9911 [C99-based-standards] (SCNxFAST16): Likewise.
9912 [C99-based-standards] (PRId32): Likewise.
9913 [C99-based-standards] (PRIi32): Likewise.
9914 [C99-based-standards] (PRIo32): Likewise.
9915 [C99-based-standards] (PRIu32): Likewise.
9916 [C99-based-standards] (PRIx32): Likewise.
9917 [C99-based-standards] (PRIX32): Likewise.
9918 [C99-based-standards] (SCNd32): Likewise.
9919 [C99-based-standards] (SCNi32): Likewise.
9920 [C99-based-standards] (SCNo32): Likewise.
9921 [C99-based-standards] (SCNu32): Likewise.
9922 [C99-based-standards] (SCNx32): Likewise.
9923 [C99-based-standards] (PRIdLEAST32): Likewise.
9924 [C99-based-standards] (PRIiLEAST32): Likewise.
9925 [C99-based-standards] (PRIoLEAST32): Likewise.
9926 [C99-based-standards] (PRIuLEAST32): Likewise.
9927 [C99-based-standards] (PRIxLEAST32): Likewise.
9928 [C99-based-standards] (PRIXLEAST32): Likewise.
9929 [C99-based-standards] (SCNdLEAST32): Likewise.
9930 [C99-based-standards] (SCNiLEAST32): Likewise.
9931 [C99-based-standards] (SCNoLEAST32): Likewise.
9932 [C99-based-standards] (SCNuLEAST32): Likewise.
9933 [C99-based-standards] (SCNxLEAST32): Likewise.
9934 [C99-based-standards] (PRIdFAST32): Likewise.
9935 [C99-based-standards] (PRIiFAST32): Likewise.
9936 [C99-based-standards] (PRIoFAST32): Likewise.
9937 [C99-based-standards] (PRIuFAST32): Likewise.
9938 [C99-based-standards] (PRIxFAST32): Likewise.
9939 [C99-based-standards] (PRIXFAST32): Likewise.
9940 [C99-based-standards] (SCNdFAST32): Likewise.
9941 [C99-based-standards] (SCNiFAST32): Likewise.
9942 [C99-based-standards] (SCNoFAST32): Likewise.
9943 [C99-based-standards] (SCNuFAST32): Likewise.
9944 [C99-based-standards] (SCNxFAST32): Likewise.
9945 [C99-based-standards] (PRId64): Likewise.
9946 [C99-based-standards] (PRIi64): Likewise.
9947 [C99-based-standards] (PRIo64): Likewise.
9948 [C99-based-standards] (PRIu64): Likewise.
9949 [C99-based-standards] (PRIx64): Likewise.
9950 [C99-based-standards] (PRIX64): Likewise.
9951 [C99-based-standards] (SCNd64): Likewise.
9952 [C99-based-standards] (SCNi64): Likewise.
9953 [C99-based-standards] (SCNo64): Likewise.
9954 [C99-based-standards] (SCNu64): Likewise.
9955 [C99-based-standards] (SCNx64): Likewise.
9956 [C99-based-standards] (PRIdLEAST64): Likewise.
9957 [C99-based-standards] (PRIiLEAST64): Likewise.
9958 [C99-based-standards] (PRIoLEAST64): Likewise.
9959 [C99-based-standards] (PRIuLEAST64): Likewise.
9960 [C99-based-standards] (PRIxLEAST64): Likewise.
9961 [C99-based-standards] (PRIXLEAST64): Likewise.
9962 [C99-based-standards] (SCNdLEAST64): Likewise.
9963 [C99-based-standards] (SCNiLEAST64): Likewise.
9964 [C99-based-standards] (SCNoLEAST64): Likewise.
9965 [C99-based-standards] (SCNuLEAST64): Likewise.
9966 [C99-based-standards] (SCNxLEAST64): Likewise.
9967 [C99-based-standards] (PRIdFAST64): Likewise.
9968 [C99-based-standards] (PRIiFAST64): Likewise.
9969 [C99-based-standards] (PRIoFAST64): Likewise.
9970 [C99-based-standards] (PRIuFAST64): Likewise.
9971 [C99-based-standards] (PRIxFAST64): Likewise.
9972 [C99-based-standards] (PRIXFAST64): Likewise.
9973 [C99-based-standards] (SCNdFAST64): Likewise.
9974 [C99-based-standards] (SCNiFAST64): Likewise.
9975 [C99-based-standards] (SCNoFAST64): Likewise.
9976 [C99-based-standards] (SCNuFAST64): Likewise.
9977 [C99-based-standards] (SCNxFAST64): Likewise.
9978 [C99-based-standards] (PRIdMAX): Likewise.
9979 [C99-based-standards] (PRIiMAX): Likewise.
9980 [C99-based-standards] (PRIoMAX): Likewise.
9981 [C99-based-standards] (PRIuMAX): Likewise.
9982 [C99-based-standards] (PRIxMAX): Likewise.
9983 [C99-based-standards] (PRIXMAX): Likewise.
9984 [C99-based-standards] (SCNdMAX): Likewise.
9985 [C99-based-standards] (SCNiMAX): Likewise.
9986 [C99-based-standards] (SCNoMAX): Likewise.
9987 [C99-based-standards] (SCNuMAX): Likewise.
9988 [C99-based-standards] (SCNxMAX): Likewise.
9989 [C99-based-standards] (PRIdPTR): Likewise.
9990 [C99-based-standards] (PRIiPTR): Likewise.
9991 [C99-based-standards] (PRIoPTR): Likewise.
9992 [C99-based-standards] (PRIuPTR): Likewise.
9993 [C99-based-standards] (PRIxPTR): Likewise.
9994 [C99-based-standards] (PRIXPTR): Likewise.
9995 [C99-based-standards] (SCNdPTR): Likewise.
9996 [C99-based-standards] (SCNiPTR): Likewise.
9997 [C99-based-standards] (SCNoPTR): Likewise.
9998 [C99-based-standards] (SCNuPTR): Likewise.
9999 [C99-based-standards] (SCNxPTR): Likewise.
10000 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10001 allow.
10002 * conform/data/stdint.h-data: Update comments to clarify
10003 requirements.
10004 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10005 type.
10006 [C99-based standards] (INT8_MAX): Likewise.
10007 [C99-based standards] (INT16_MIN): Likewise.
10008 [C99-based standards] (INT16_MAX): Likewise.
10009 [C99-based standards] (INT32_MIN): Likewise.
10010 [C99-based standards] (INT32_MAX): Likewise.
10011 [C99-based standards] (INT64_MIN): Likewise.
10012 [C99-based standards] (INT64_MAX): Likewise.
10013 [C99-based standards] (UINT8_MAX): Likewise.
10014 [C99-based standards] (UINT16_MAX): Likewise.
10015 [C99-based standards] (UINT32_MAX): Likewise.
10016 [C99-based standards] (UINT64_MAX): Likewise.
10017 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10018 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10019 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10020 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10021 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10022 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10023 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10024 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10025 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10026 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10027 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10028 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10029 [C99-based standards] (INT_FAST8_MIN): Likewise.
10030 [C99-based standards] (INT_FAST8_MAX): Likewise.
10031 [C99-based standards] (INT_FAST16_MIN): Likewise.
10032 [C99-based standards] (INT_FAST16_MAX): Likewise.
10033 [C99-based standards] (INT_FAST32_MIN): Likewise.
10034 [C99-based standards] (INT_FAST32_MAX): Likewise.
10035 [C99-based standards] (INT_FAST64_MIN): Likewise.
10036 [C99-based standards] (INT_FAST64_MAX): Likewise.
10037 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10038 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10039 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10040 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10041 [C99-based standards] (INTPTR_MIN): Likewise.
10042 [C99-based standards] (INTPTR_MAX): Likewise.
10043 [C99-based standards] (UINTPTR_MAX): Likewise.
10044 [C99-based standards] (INTMAX_MIN): Likewise.
10045 [C99-based standards] (INTMAX_MAX): Likewise.
10046 [C99-based standards] (UINTMAX_MAX): Likewise.
10047 [C99-based standards] (PTRDIFF_MIN): Likewise.
10048 [C99-based standards] (PTRDIFF_MAX): Likewise.
10049 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10050 [C99-based standards] (SIZE_MAX): Likewise.
10051 [C99-based standards] (WCHAR_MAX): Likewise.
10052 [C99-based standards] (WINT_MAX): Likewise.
10053 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10054 constraint on value.
10055 [C99-based standards] (WCHAR_MIN): Likewise.
10056 [C99-based standards] (WINT_MIN): Likewise.
10057 [C99-based standards] (*_t): Allow.
10058 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10059 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10060 Include math.h-data and complex.h-data. Remove all expectations
10061 of math.h and complex.h contents.
10062 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10063 at end of line.
10064 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10065 (struct tm): Expect tag.
10066 [C99-based-standards] (wcstof): Expect function.
10067 [C99-based-standards] (wcstold): Likewise.
10068 [C99-based-standards] (wcstoll): Likewise.
10069 [C99-based-standards] (wcstoull): Likewise.
10070 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10071 macro-int-constant. Specify type.
10072 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10073 constraint on value.
10074 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10075 Specify type.
10076 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10077 Specify value.
10078 [ISO C standards]: Do not allow headers.
10079 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10080 wcs[abcdefghijklmnopqrstuvwxyz]*.
10081 [ISO C standards] (*_t): Do not allow.
10082 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10083 Expect function.
10084 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10085 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10086 Specify type.
10087 [ISO C standards]: Do not allow headers.
10088 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10089 is[abcdefghijklmnopqrstuvwxyz]*.
10090 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10091 to[abcdefghijklmnopqrstuvwxyz]*.
10092 [ISO C standards] (*_t): Do not allow.
10093 * conform/data/stdalign.h-data: New file.
10094 * conform/data/stdbool.h-data: Likewise.
10095 * conform/data/stdnoreturn.h-data: Likewise.
10096
7514feb8
RM
100972012-11-07 Roland McGrath <roland@hack.frob.com>
10098
10099 [BZ #14815]
10100 * manual/filesys.texi (Directory Entries): Typo fix.
10101 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10102
19b2ecfc
MS
101032012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10104
10105 * elf/elf.h (EM_AARCH64): New macro.
10106 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10107 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10108 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10109 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10110 (R_AARCH64_TLSDESC): Likewise.
10111 (NT_ARM_TLS): Likewise.
10112 (NT_ARM_HW_BREAK): Likewise.
10113 (NT_ARM_HW_WATCH): Likewise.
10114
60e235ee
JM
101152012-11-07 Joseph Myers <joseph@codesourcery.com>
10116
10117 [BZ #14811]
10118 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10119 (__ieee754_powl): Saturate nonzero exponents with absolute value
10120 below 0x1p-79 to +/- 0x1p-79.
10121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10122 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10123 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10124 nonzero exponents with absolute value below 0x1p-32 to +/-
10125 0x1p-32.
10126 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10127 (__ieee754_powl): Saturate nonzero exponents with absolute value
10128 below 0x1p-79 to +/- 0x1p-79.
10129 * math/libm-test.inc (pow_test): Add more tests.
10130
0ab234b7
AK
101312012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10132
10133 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10134 _dl_s390_cap_flags with kernel. Increase string length.
10135 (_dl_s390_platforms): Add z196 and zEC12.
10136
45832f74
JM
101372012-11-07 Joseph Myers <joseph@codesourcery.com>
10138
10139 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10140 Change XOPEN21K to XOPEN2K.
10141
19218757
MK
101422012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10143
10144 * string/memmove.c: Use memcpy when possible.
10145
c5f45721
AJ
101462012-11-06 Andreas Jaeger <aj@suse.de>
10147
10148 * po/eo.po: Update from translation team.
10149
82477c28
JM
101502012-11-06 Joseph Myers <joseph@codesourcery.com>
10151
10152 [BZ #14793]
10153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10154 exponent and small x and y exponents, scale x or y up. Increase
10155 by 2 the exponent used in scaling up.
10156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10158 * math/libm-test.inc (fma_test): Add more tests.
10159 (fma_test_towardzero): Likewise.
10160 (fma_test_downward): Likewise.
10161 (fma_test_upward): Likewise.
10162
99252c8c
JM
101632012-11-05 Joseph Myers <joseph@codesourcery.com>
10164
acfa885f
JM
10165 [BZ #14805]
10166 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10167 fenv_t *.
10168
99252c8c
JM
10169 [BZ #14801]
10170 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10171 namespace for names of struct fields.
10172 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10173 fenv_t fields.
10174 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10175 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10176
d6d98dea
ST
101772012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10178
10179 [BZ #3665]
10180 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10181
e10bb107
TS
101822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10183
10184 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10185 PTR_DEMANGLE.
10186
10187 [BZ #5246]
10188 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10189 PTR_DEMANGLE.
10190
a0c2940d
JM
101912012-11-04 Joseph Myers <joseph@codesourcery.com>
10192
10193 [BZ #14797]
10194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10195 definitely overflow as x * y not x * y + z.
10196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10198 * math/libm-test.inc (fma_test): Add more tests.
10199 (fma_test_towardzero): Likewise.
10200 (fma_test_downward): Likewise.
10201 (fma_test_upward): Likewise.
10202
b830319d
TS
102032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10204
10205 [BZ #157]
10206
10207 * include/stub-tag.h: Remove file.
10208 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10209 '#include' of it.
10210 * manual/maint.texi (Porting): Don't reference it.
10211 * Makerules ($(objpfx)stubs): Likewise.
10212 * dirent/closedir.c: Don't include <stub-tag.h>.
10213 * dirent/dirfd.c: Likewise.
10214 * dirent/fdopendir.c: Likewise.
10215 * dirent/getdents.c: Likewise.
10216 * dirent/getdents64.c: Likewise.
10217 * dirent/opendir.c: Likewise.
10218 * dirent/readdir.c: Likewise.
10219 * dirent/readdir64.c: Likewise.
10220 * dirent/readdir64_r.c: Likewise.
10221 * dirent/readdir_r.c: Likewise.
10222 * dirent/rewinddir.c: Likewise.
10223 * dirent/seekdir.c: Likewise.
10224 * dirent/telldir.c: Likewise.
10225 * gmon/profil.c: Likewise.
10226 * grp/setgroups.c: Likewise.
10227 * inet/if_index.c: Likewise.
10228 * io/access.c: Likewise.
10229 * io/chdir.c: Likewise.
10230 * io/chmod.c: Likewise.
10231 * io/chown.c: Likewise.
10232 * io/close.c: Likewise.
10233 * io/dup.c: Likewise.
10234 * io/dup2.c: Likewise.
10235 * io/dup3.c: Likewise.
10236 * io/euidaccess.c: Likewise.
10237 * io/faccessat.c: Likewise.
10238 * io/fchdir.c: Likewise.
10239 * io/fchmod.c: Likewise.
10240 * io/fchmodat.c: Likewise.
10241 * io/fchown.c: Likewise.
10242 * io/fchownat.c: Likewise.
10243 * io/fcntl.c: Likewise.
10244 * io/flock.c: Likewise.
10245 * io/fstatfs.c: Likewise.
10246 * io/fstatfs64.c: Likewise.
10247 * io/fstatvfs.c: Likewise.
10248 * io/fstatvfs64.c: Likewise.
10249 * io/futimens.c: Likewise.
10250 * io/fxstat.c: Likewise.
10251 * io/fxstat64.c: Likewise.
10252 * io/fxstatat.c: Likewise.
10253 * io/fxstatat64.c: Likewise.
10254 * io/getcwd.c: Likewise.
10255 * io/isatty.c: Likewise.
10256 * io/lchmod.c: Likewise.
10257 * io/lchown.c: Likewise.
10258 * io/link.c: Likewise.
10259 * io/linkat.c: Likewise.
10260 * io/lseek.c: Likewise.
10261 * io/lseek64.c: Likewise.
10262 * io/lxstat64.c: Likewise.
10263 * io/mkdir.c: Likewise.
10264 * io/mkdirat.c: Likewise.
10265 * io/mkfifo.c: Likewise.
10266 * io/mkfifoat.c: Likewise.
10267 * io/open.c: Likewise.
10268 * io/open64.c: Likewise.
10269 * io/openat.c: Likewise.
10270 * io/openat64.c: Likewise.
10271 * io/pipe.c: Likewise.
10272 * io/pipe2.c: Likewise.
10273 * io/poll.c: Likewise.
10274 * io/posix_fadvise.c: Likewise.
10275 * io/posix_fadvise64.c: Likewise.
10276 * io/posix_fallocate.c: Likewise.
10277 * io/posix_fallocate64.c: Likewise.
10278 * io/read.c: Likewise.
10279 * io/readlink.c: Likewise.
10280 * io/readlinkat.c: Likewise.
10281 * io/rmdir.c: Likewise.
10282 * io/sendfile.c: Likewise.
10283 * io/sendfile64.c: Likewise.
10284 * io/statfs.c: Likewise.
10285 * io/statfs64.c: Likewise.
10286 * io/statvfs.c: Likewise.
10287 * io/statvfs64.c: Likewise.
10288 * io/symlink.c: Likewise.
10289 * io/symlinkat.c: Likewise.
10290 * io/ttyname.c: Likewise.
10291 * io/ttyname_r.c: Likewise.
10292 * io/umask.c: Likewise.
10293 * io/unlink.c: Likewise.
10294 * io/unlinkat.c: Likewise.
10295 * io/utime.c: Likewise.
10296 * io/utimensat.c: Likewise.
10297 * io/write.c: Likewise.
10298 * io/xmknod.c: Likewise.
10299 * io/xmknodat.c: Likewise.
10300 * io/xstat.c: Likewise.
10301 * io/xstat64.c: Likewise.
10302 * login/getpt.c: Likewise.
10303 * login/grantpt.c: Likewise.
10304 * login/unlockpt.c: Likewise.
10305 * math/e_acoshl.c: Likewise.
10306 * math/e_acosl.c: Likewise.
10307 * math/e_asinl.c: Likewise.
10308 * math/e_atan2l.c: Likewise.
10309 * math/e_atanhl.c: Likewise.
10310 * math/e_coshl.c: Likewise.
10311 * math/e_expl.c: Likewise.
10312 * math/e_fmodl.c: Likewise.
10313 * math/e_gammal_r.c: Likewise.
10314 * math/e_hypotl.c: Likewise.
10315 * math/e_j0l.c: Likewise.
10316 * math/e_j1l.c: Likewise.
10317 * math/e_jnl.c: Likewise.
10318 * math/e_lgammal_r.c: Likewise.
10319 * math/e_log10l.c: Likewise.
10320 * math/e_log2l.c: Likewise.
10321 * math/e_logl.c: Likewise.
10322 * math/e_powl.c: Likewise.
10323 * math/e_rem_pio2l.c: Likewise.
10324 * math/e_sinhl.c: Likewise.
10325 * math/e_sqrtl.c: Likewise.
10326 * math/fclrexcpt.c: Likewise.
10327 * math/fedisblxcpt.c: Likewise.
10328 * math/feenablxcpt.c: Likewise.
10329 * math/fegetenv.c: Likewise.
10330 * math/fegetexcept.c: Likewise.
10331 * math/fegetround.c: Likewise.
10332 * math/feholdexcpt.c: Likewise.
10333 * math/fesetenv.c: Likewise.
10334 * math/fesetround.c: Likewise.
10335 * math/feupdateenv.c: Likewise.
10336 * math/fgetexcptflg.c: Likewise.
10337 * math/fraiseexcpt.c: Likewise.
10338 * math/fsetexcptflg.c: Likewise.
10339 * math/ftestexcept.c: Likewise.
10340 * math/k_cosl.c: Likewise.
10341 * math/k_rem_pio2l.c: Likewise.
10342 * math/k_sinl.c: Likewise.
10343 * math/k_tanl.c: Likewise.
10344 * math/s_asinhl.c: Likewise.
10345 * math/s_atanl.c: Likewise.
10346 * math/s_cbrtl.c: Likewise.
10347 * math/s_erfl.c: Likewise.
10348 * math/s_expm1l.c: Likewise.
10349 * math/s_log1pl.c: Likewise.
10350 * math/s_tanhl.c: Likewise.
10351 * misc/acct.c: Likewise.
10352 * misc/brk.c: Likewise.
10353 * misc/chflags.c: Likewise.
10354 * misc/chroot.c: Likewise.
10355 * misc/fchflags.c: Likewise.
10356 * misc/fgetxattr.c: Likewise.
10357 * misc/flistxattr.c: Likewise.
10358 * misc/fremovexattr.c: Likewise.
10359 * misc/fsetxattr.c: Likewise.
10360 * misc/fsync.c: Likewise.
10361 * misc/ftruncate.c: Likewise.
10362 * misc/futimes.c: Likewise.
10363 * misc/futimesat.c: Likewise.
10364 * misc/getdomain.c: Likewise.
10365 * misc/getdtsz.c: Likewise.
10366 * misc/gethostid.c: Likewise.
10367 * misc/gethostname.c: Likewise.
10368 * misc/getloadavg.c: Likewise.
10369 * misc/getpagesize.c: Likewise.
10370 * misc/getsysstats.c: Likewise.
10371 * misc/getxattr.c: Likewise.
10372 * misc/gtty.c: Likewise.
10373 * misc/ioctl.c: Likewise.
10374 * misc/lgetxattr.c: Likewise.
10375 * misc/listxattr.c: Likewise.
10376 * misc/llistxattr.c: Likewise.
10377 * misc/lremovexattr.c: Likewise.
10378 * misc/lsetxattr.c: Likewise.
10379 * misc/lutimes.c: Likewise.
10380 * misc/madvise.c: Likewise.
10381 * misc/mincore.c: Likewise.
10382 * misc/mlock.c: Likewise.
10383 * misc/mlockall.c: Likewise.
10384 * misc/mmap.c: Likewise.
10385 * misc/mprotect.c: Likewise.
10386 * misc/msync.c: Likewise.
10387 * misc/munlock.c: Likewise.
10388 * misc/munlockall.c: Likewise.
10389 * misc/munmap.c: Likewise.
10390 * misc/preadv.c: Likewise.
10391 * misc/preadv64.c: Likewise.
10392 * misc/ptrace.c: Likewise.
10393 * misc/pwritev.c: Likewise.
10394 * misc/pwritev64.c: Likewise.
10395 * misc/readv.c: Likewise.
10396 * misc/reboot.c: Likewise.
10397 * misc/remap_file_pages.c: Likewise.
10398 * misc/removexattr.c: Likewise.
10399 * misc/revoke.c: Likewise.
10400 * misc/select.c: Likewise.
10401 * misc/setdomain.c: Likewise.
10402 * misc/setegid.c: Likewise.
10403 * misc/seteuid.c: Likewise.
10404 * misc/sethostid.c: Likewise.
10405 * misc/sethostname.c: Likewise.
10406 * misc/setregid.c: Likewise.
10407 * misc/setreuid.c: Likewise.
10408 * misc/setxattr.c: Likewise.
10409 * misc/sstk.c: Likewise.
10410 * misc/stty.c: Likewise.
10411 * misc/swapoff.c: Likewise.
10412 * misc/swapon.c: Likewise.
10413 * misc/sync.c: Likewise.
10414 * misc/syncfs.c: Likewise.
10415 * misc/syscall.c: Likewise.
10416 * misc/truncate.c: Likewise.
10417 * misc/ualarm.c: Likewise.
10418 * misc/usleep.c: Likewise.
10419 * misc/ustat.c: Likewise.
10420 * misc/utimes.c: Likewise.
10421 * misc/vhangup.c: Likewise.
10422 * misc/writev.c: Likewise.
10423 * posix/_exit.c: Likewise.
10424 * posix/alarm.c: Likewise.
10425 * posix/execve.c: Likewise.
10426 * posix/fexecve.c: Likewise.
10427 * posix/fork.c: Likewise.
10428 * posix/fpathconf.c: Likewise.
10429 * posix/getaddrinfo.c: Likewise.
10430 * posix/getegid.c: Likewise.
10431 * posix/geteuid.c: Likewise.
10432 * posix/getgid.c: Likewise.
10433 * posix/getgroups.c: Likewise.
10434 * posix/getlogin.c: Likewise.
10435 * posix/getlogin_r.c: Likewise.
10436 * posix/getpgid.c: Likewise.
10437 * posix/getpid.c: Likewise.
10438 * posix/getppid.c: Likewise.
10439 * posix/getresgid.c: Likewise.
10440 * posix/getresuid.c: Likewise.
10441 * posix/getsid.c: Likewise.
10442 * posix/getuid.c: Likewise.
10443 * posix/glob64.c: Likewise.
10444 * posix/nanosleep.c: Likewise.
10445 * posix/pathconf.c: Likewise.
10446 * posix/pause.c: Likewise.
10447 * posix/posix_madvise.c: Likewise.
10448 * posix/pread.c: Likewise.
10449 * posix/pread64.c: Likewise.
10450 * posix/pwrite.c: Likewise.
10451 * posix/pwrite64.c: Likewise.
10452 * posix/sched_getaffinity.c: Likewise.
10453 * posix/sched_getp.c: Likewise.
10454 * posix/sched_gets.c: Likewise.
10455 * posix/sched_primax.c: Likewise.
10456 * posix/sched_primin.c: Likewise.
10457 * posix/sched_rr_gi.c: Likewise.
10458 * posix/sched_setaffinity.c: Likewise.
10459 * posix/sched_setp.c: Likewise.
10460 * posix/sched_sets.c: Likewise.
10461 * posix/sched_yield.c: Likewise.
10462 * posix/setgid.c: Likewise.
10463 * posix/setlogin.c: Likewise.
10464 * posix/setpgid.c: Likewise.
10465 * posix/setresgid.c: Likewise.
10466 * posix/setresuid.c: Likewise.
10467 * posix/setsid.c: Likewise.
10468 * posix/setuid.c: Likewise.
10469 * posix/sleep.c: Likewise.
10470 * posix/spawni.c: Likewise.
10471 * posix/sysconf.c: Likewise.
10472 * posix/times.c: Likewise.
10473 * posix/wait.c: Likewise.
10474 * posix/wait3.c: Likewise.
10475 * posix/wait4.c: Likewise.
10476 * posix/waitpid.c: Likewise.
10477 * resolv/gai_sigqueue.c: Likewise.
10478 * resource/getpriority.c: Likewise.
10479 * resource/getrlimit.c: Likewise.
10480 * resource/getrusage.c: Likewise.
10481 * resource/nice.c: Likewise.
10482 * resource/setpriority.c: Likewise.
10483 * resource/setrlimit.c: Likewise.
10484 * resource/ulimit.c: Likewise.
10485 * rt/aio_cancel.c: Likewise.
10486 * rt/aio_fsync.c: Likewise.
10487 * rt/aio_read.c: Likewise.
10488 * rt/aio_sigqueue.c: Likewise.
10489 * rt/aio_suspend.c: Likewise.
10490 * rt/aio_write.c: Likewise.
10491 * rt/clock_getres.c: Likewise.
10492 * rt/clock_gettime.c: Likewise.
10493 * rt/clock_nanosleep.c: Likewise.
10494 * rt/clock_settime.c: Likewise.
10495 * rt/lio_listio.c: Likewise.
10496 * rt/mq_close.c: Likewise.
10497 * rt/mq_getattr.c: Likewise.
10498 * rt/mq_notify.c: Likewise.
10499 * rt/mq_open.c: Likewise.
10500 * rt/mq_receive.c: Likewise.
10501 * rt/mq_send.c: Likewise.
10502 * rt/mq_setattr.c: Likewise.
10503 * rt/mq_timedreceive.c: Likewise.
10504 * rt/mq_timedsend.c: Likewise.
10505 * rt/mq_unlink.c: Likewise.
10506 * rt/shm_open.c: Likewise.
10507 * rt/shm_unlink.c: Likewise.
10508 * rt/timer_create.c: Likewise.
10509 * rt/timer_delete.c: Likewise.
10510 * rt/timer_getoverr.c: Likewise.
10511 * rt/timer_gettime.c: Likewise.
10512 * rt/timer_settime.c: Likewise.
10513 * setjmp/__longjmp.c: Likewise.
10514 * setjmp/setjmp.c: Likewise.
10515 * signal/kill.c: Likewise.
10516 * signal/killpg.c: Likewise.
10517 * signal/raise.c: Likewise.
10518 * signal/sigaction.c: Likewise.
10519 * signal/sigaltstack.c: Likewise.
10520 * signal/sigblock.c: Likewise.
10521 * signal/sigignore.c: Likewise.
10522 * signal/sigintr.c: Likewise.
10523 * signal/signal.c: Likewise.
10524 * signal/sigpause.c: Likewise.
10525 * signal/sigpending.c: Likewise.
10526 * signal/sigqueue.c: Likewise.
10527 * signal/sigreturn.c: Likewise.
10528 * signal/sigset.c: Likewise.
10529 * signal/sigsetmask.c: Likewise.
10530 * signal/sigstack.c: Likewise.
10531 * signal/sigsuspend.c: Likewise.
10532 * signal/sigtimedwait.c: Likewise.
10533 * signal/sigvec.c: Likewise.
10534 * signal/sigwait.c: Likewise.
10535 * signal/sigwaitinfo.c: Likewise.
10536 * signal/sysv_signal.c: Likewise.
10537 * socket/accept.c: Likewise.
10538 * socket/accept4.c: Likewise.
10539 * socket/bind.c: Likewise.
10540 * socket/connect.c: Likewise.
10541 * socket/getpeername.c: Likewise.
10542 * socket/getsockname.c: Likewise.
10543 * socket/getsockopt.c: Likewise.
10544 * socket/isfdtype.c: Likewise.
10545 * socket/listen.c: Likewise.
10546 * socket/recv.c: Likewise.
10547 * socket/recvfrom.c: Likewise.
10548 * socket/recvmsg.c: Likewise.
10549 * socket/send.c: Likewise.
10550 * socket/sendmsg.c: Likewise.
10551 * socket/sendto.c: Likewise.
10552 * socket/setsockopt.c: Likewise.
10553 * socket/shutdown.c: Likewise.
10554 * socket/sockatmark.c: Likewise.
10555 * socket/socket.c: Likewise.
10556 * socket/socketpair.c: Likewise.
10557 * stdio-common/ctermid.c: Likewise.
10558 * stdio-common/cuserid.c: Likewise.
10559 * stdio-common/remove.c: Likewise.
10560 * stdio-common/rename.c: Likewise.
10561 * stdio-common/renameat.c: Likewise.
10562 * stdio-common/tempname.c: Likewise.
10563 * stdlib/getcontext.c: Likewise.
10564 * stdlib/makecontext.c: Likewise.
10565 * stdlib/setcontext.c: Likewise.
10566 * stdlib/swapcontext.c: Likewise.
10567 * stdlib/system.c: Likewise.
10568 * streams/fattach.c: Likewise.
10569 * streams/fdetach.c: Likewise.
10570 * streams/getmsg.c: Likewise.
10571 * streams/getpmsg.c: Likewise.
10572 * streams/putmsg.c: Likewise.
10573 * streams/putpmsg.c: Likewise.
10574 * sysdeps/unix/bsd/getpt.c: Likewise.
10575 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10576 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10577 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10579 Likewise.
10580 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10581 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10582 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10583 * sysvipc/msgctl.c: Likewise.
10584 * sysvipc/msgget.c: Likewise.
10585 * sysvipc/msgrcv.c: Likewise.
10586 * sysvipc/msgsnd.c: Likewise.
10587 * sysvipc/semctl.c: Likewise.
10588 * sysvipc/semget.c: Likewise.
10589 * sysvipc/semop.c: Likewise.
10590 * sysvipc/semtimedop.c: Likewise.
10591 * sysvipc/shmat.c: Likewise.
10592 * sysvipc/shmctl.c: Likewise.
10593 * sysvipc/shmdt.c: Likewise.
10594 * sysvipc/shmget.c: Likewise.
10595 * termios/tcdrain.c: Likewise.
10596 * termios/tcflow.c: Likewise.
10597 * termios/tcflush.c: Likewise.
10598 * termios/tcgetattr.c: Likewise.
10599 * termios/tcgetpgrp.c: Likewise.
10600 * termios/tcsendbrk.c: Likewise.
10601 * termios/tcsetattr.c: Likewise.
10602 * termios/tcsetpgrp.c: Likewise.
10603 * time/adjtime.c: Likewise.
10604 * time/clock.c: Likewise.
10605 * time/getitimer.c: Likewise.
10606 * time/gettimeofday.c: Likewise.
10607 * time/setitimer.c: Likewise.
10608 * time/settimeofday.c: Likewise.
10609 * time/stime.c: Likewise.
10610 * time/time.c: Likewise.
10611
106122012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10613
a20492cf
PT
10614 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10615 /usr/old/bin.
10616
72e182e3
PT
10617 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10618 instead of spaces.
10619 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10620
fbeafede
JM
106212012-11-03 Joseph Myers <joseph@codesourcery.com>
10622
5b5b04d6
JM
10623 [BZ #14796]
10624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10625 FE_TONEAREST before applying Dekker multiplication and Knuth
10626 addition. Clear inexact exceptions and check for exact zero
10627 results afterwards.
10628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10629 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10631 * math/libm-test.inc (fma_test): Add more tests.
10632 (fma_test_towardzero): Likewise.
10633 (fma_test_downward): Likewise.
10634 (fma_test_upward): Likewise.
10635 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10636 function.
10637 (libc_fesetround): New macro.
10638 (libc_fesetroundf): Likewise.
10639 (libc_fesetroundl): Likewise.
10640 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10641 function.
10642 (libc_fesetround_387): Likewise.
10643 (libc_fesetroundf): New macro.
10644 (libc_fesetround): Likewise.
10645 (libc_fesetroundl): Likewise.
10646 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10647 function.
10648 (libc_fesetroundf): New macro.
10649 (libc_fesetround): Likewise.
10650 (libc_fesetroundl): Likewise.
10651 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10652 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10653 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10654 libm_hidden_ver.
10655 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10656 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10657 libm_hidden_def.
10658 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10659 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10660 libm_hidden_ver.
10661 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10662 libm_hidden_def.
10663
fbeafede
JM
10664 [BZ #3439]
10665 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10666 integer constant usable in #if and use that to give value to enum
10667 constant.
10668 (FE_DIVBYZERO): Likewise.
10669 (FE_UNDERFLOW): Likewise.
10670 (FE_OVERFLOW): Likewise.
10671 (FE_INVALID): Likewise.
10672 (FE_INVALID_SNAN): Likewise.
10673 (FE_INVALID_ISI): Likewise.
10674 (FE_INVALID_IDI): Likewise.
10675 (FE_INVALID_ZDZ): Likewise.
10676 (FE_INVALID_IMZ): Likewise.
10677 (FE_INVALID_COMPARE): Likewise.
10678 (FE_INVALID_SOFTWARE): Likewise.
10679 (FE_INVALID_SQRT): Likewise.
10680 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10681 (FE_TONEAREST): Likewise.
10682 (FE_TOWARDZERO): Likewise.
10683 (FE_UPWARD): Likewise.
10684 (FE_DOWNWARD): Likewise.
10685 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10686 (FE_DIVBYZERO): Likewise.
10687 (FE_OVERFLOW): Likewise.
10688 (FE_UNDERFLOW): Likewise.
10689 (FE_INEXACT): Likewise.
10690 (FE_TONEAREST): Likewise.
10691 (FE_DOWNWARD): Likewise.
10692 (FE_UPWARD): Likewise.
10693 (FE_TOWARDZERO): Likewise.
10694 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10695 (FE_UNDERFLOW): Likewise.
10696 (FE_OVERFLOW): Likewise.
10697 (FE_DIVBYZERO): Likewise.
10698 (FE_INVALID): Likewise.
10699 (FE_TONEAREST): Likewise.
10700 (FE_TOWARDZERO): Likewise.
10701 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10702 (FE_OVERFLOW): Likewise.
10703 (FE_UNDERFLOW): Likewise.
10704 (FE_DIVBYZERO): Likewise.
10705 (FE_INEXACT): Likewise.
10706 (FE_TONEAREST): Likewise.
10707 (FE_TOWARDZERO): Likewise.
10708 (FE_UPWARD): Likewise.
10709 (FE_DOWNWARD): Likewise.
10710 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10711 (FE_DIVBYZERO): Likewise.
10712 (FE_OVERFLOW): Likewise.
10713 (FE_UNDERFLOW): Likewise.
10714 (FE_INEXACT): Likewise.
10715 (FE_TONEAREST): Likewise.
10716 (FE_DOWNWARD): Likewise.
10717 (FE_UPWARD): Likewise.
10718 (FE_TOWARDZERO): Likewise.
10719
105ca950
CM
107202012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10721
10722 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10723
a542b389
AS
107242012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10725
10726 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10727 commands. Quote $PWD.
10728 (blacklist_exports): Don't use remove_newlines. Replace "declare
10729 -x" by "export".
10730 (remove_newlines): Remove.
10731
f62c8abc
L
107322012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10733
10734 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10735 * stdlib/stdlib.h (atof): Moved to ...
10736 * include/bits/stdlib-float.h: Here. New file.
10737 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10738 * stdlib/bits/stdlib-float.h: New file.
10739 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10740 -mno-sse -mno-mmx.
10741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10742 <xmmintrin.h>.
10743
0155d5b2
JM
107442012-11-02 Joseph Myers <joseph@codesourcery.com>
10745
a68d0680
JM
10746 * conform/conformtest.pl (@headers): Add fenv.h.
10747 * conform/data/fenv.h-data: New file.
10748 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10749 include of <math/fenv.h>.
10750
caf7f573
JM
10751 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10752 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10753 && !UNIX98]. Enables tests for XOPEN2K8.
10754 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10755 POSIX2008]: Likewise.
10756
6c073ad6
JM
10757 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10758 (struct rusage): Do not expect type or its members.
10759
0155d5b2
JM
10760 [BZ #3439]
10761 * math/math.h (FP_NAN): Define macro to integer constant usable in
10762 #if and use that to give value to enum constant.
10763 (FP_INFINITE): Likewise.
10764 (FP_ZERO): Likewise.
10765 (FP_SUBNORMAL): Likewise.
10766 (FP_NORMAL): Likewise.
10767
b5dcacb4
AS
107682012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10769
10770 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10771 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10772 arguments.
10773
f7934be8
RM
107742012-11-02 Roland McGrath <roland@hack.frob.com>
10775
10776 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10777 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10778 autoconf-time if not.
10779 * configure.in: Remove AC_PREREQ.
10780
d7d08bde
TMQMF
107812012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10782
10783 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10784 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10785 of the internal implementation.
10786
dcdae19a
JM
107872012-11-02 Joseph Myers <joseph@codesourcery.com>
10788
10789 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10790 except include of <misc/sys/syslog.h>.
10791
d6cffd3e
AS
107922012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10793
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10795 function returns with a NULL context exit with zero.
10796
b3563932
TMQMF
107972012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10798
10799 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10800
b288a93d
L
108012012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10802
10803 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10804 (run_program_cmd): This.
10805 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10806 (tst_langinfo): New variable. Use it.
10807
a2421a68
SAS
108082012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10809
10810 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10811 floating point opcodes.
10812
6f796e1b
TS
108132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10814
7402596b
TS
10815 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10816 variable.
10817
d0d4f868
TS
10818 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10819
6f796e1b
TS
10820 * sysdeps/mach/hurd/powerpc: Remove directory.
10821 * sysdeps/mach/powerpc: Likewise.
10822
4da224a2
AS
108232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10824
10825 * scripts/check-local-headers.sh: Ignore c++ headers.
10826
341dd673
TS
108272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10828
10829 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10830 __libc_cleanup_region_start argument.
10831
473611b2
JM
108322012-11-01 Joseph Myers <joseph@codesourcery.com>
10833
10834 [BZ #14784]
10835 [BZ #14785]
10836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10837 x * y using scaling, not as x * y + z.
10838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10840 * math/libm-test.inc (fma_test): Add more tests.
10841 (fma_test_towardzero): Likewise.
10842 (fma_test_downward): Likewise.
10843 (fma_test_upward): Likewise.
10844
4078da3d
TS
108452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10846
10847 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10848
903252aa
JM
108492012-10-31 Joseph Myers <joseph@codesourcery.com>
10850
10851 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10852 New variable.
10853
cbc818d0
TS
108542012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10855
10856 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10857
5a03cb1e
AS
108582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10859
10860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10861 Fix sort order.
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10863 Likewise.
10864
90aff2ff
TMQMF
108652012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10866
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10868 Fix the order of the list for glibc 2.17.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10870 Likewise.
10871
1818fcb7
AS
108722012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10873
10874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10875
ef82f4da
JM
108762012-10-31 Joseph Myers <joseph@codesourcery.com>
10877
16a0e2ec
JM
10878 [BZ #14610]
10879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10880 for low part of x being zero before using __atanl (y).
10881 * math/libm-test.inc (atan2_test): Add another test.
10882
0eb69512
JM
10883 * manual/install.texi (Configuring and compiling): Document
10884 general use of test-wrapper and test-wrapper-env.
10885 * INSTALL: Regenerated.
10886
ef82f4da
JM
10887 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10888 (__fma): Do not extract and scale down low bits on after-rounding
10889 systems when result rounded to normal precision would have normal
10890 exponent.
10891 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10892 (__fmal): Do not extract and scale down low bits on after-rounding
10893 systems when result rounded to normal precision would have normal
10894 exponent.
10895 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10896 (__fmal): Do not extract and scale down low bits on after-rounding
10897 systems when result rounded to normal precision would have normal
10898 exponent.
10899 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10900 macro.
10901 (fma_test): Add more tests.
10902 (fma_test_towardzero): Likewise.
10903 (fma_test_downward): Likewise.
10904 (fma_test_upward): Likewise.
10905
954ef0d9
L
109062012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10907
10908 * sysdeps/i386/tininess.h: Renamed to ...
10909 * sysdeps/x86/tininess.h: This.
10910 * sysdeps/x86_64/tininess.h: Removed.
10911
df61ffb2
JM
109122012-10-30 Joseph Myers <joseph@codesourcery.com>
10913
10914 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10915 input. Use $(build-program-cmd).
10916 ($(objpfx)tst-array1-static.out): Likewise.
10917 ($(objpfx)tst-array2.out): Likewise.
10918 ($(objpfx)tst-array3.out): Likewise.
10919 ($(objpfx)tst-array4.out): Likewise.
10920 ($(objpfx)tst-array5.out): Likewise.
10921 ($(objpfx)tst-array5-static.out): Likewise.
10922
01767843
CM
109232012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10924
47cc1490
CM
10925 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10926 if defined.
10927
01767843
CM
10928 * nss/nsswitch.h (nss_interface_function): Provide new
10929 macro for use with NSS functions.
10930 * grp/initgroups.c: Use new macro.
10931 * nss/getXXbyYY.c: Likewise.
10932 * nss/getXXbyYY_r.c: Likewise.
10933 * nss/getXXent.c: Likewise.
10934 * nss/getXXent_r.c: Likewise.
10935 * sysdeps/posix/getaddrinfo.c: Likewise.
10936
8321aa97
AJ
109372012-10-30 Andreas Jaeger <aj@suse.de>
10938
10939 * po/ru.po: Update Russion translation from translation project.
10940
2a27fd6d
JM
109412012-10-30 Joseph Myers <joseph@codesourcery.com>
10942
8627a232
JM
10943 [BZ #14152]
10944 [BZ #14783]
10945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10946 result and shift together with sticky bit instead of replicating
10947 round-to-nearest rounding.
10948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10950 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10951 missing underflow exceptions.
10952 (fma_test_towardzero): Add more tests.
10953 (fma_test_downward): Likewise.
10954 (fma_test_upward): Likewise.
10955
2a27fd6d
JM
10956 [BZ #14047]
10957 * sysdeps/generic/tininess.h: New file.
10958 * sysdeps/i386/tininess.h: Likewise.
10959 * sysdeps/sh/tininess.h: Likewise.
10960 * sysdeps/x86_64/tininess.h: Likewise.
10961 * stdlib/tst-strtod-underflow.c: Likewise.
10962 * stdlib/tst-tininess.c: Likewise.
10963 * stdlib/strtod_l.c: Include <tininess.h>.
10964 (round_and_return): Do not set errno for exact underflow cases.
10965 Force an underflow exception when setting errno for underflow.
10966 Determine underflow based on rounding to normal precision if
10967 TININESS_AFTER_ROUNDING.
10968 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10969 ERANGE for exact underflow cases.
10970 * stdlib/Makefile (tests): Add tst-tininess and
10971 tst-strtod-underflow.
10972 ($(objpfx)tst-tininess): Use $(link-libm).
10973 ($(objpfx)tst-strtod-underflow): Likewise.
10974
e7170363
AJ
109752012-10-30 Andreas Jaeger <aj@suse.de>
10976
e5088dc6
AJ
10977 [BZ#14767]
10978 * elf/Makefile (tests): Remove conditional for have-initfini-array
10979 since this is now always required and the variable does not exist
10980 anymore.
10981 (tests-static): Likewise.
10982 (modules-names): Likewise.
10983
e7170363 10984 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10985
10986 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10987 merged with constructor/destructor.
10988 (init_array): Likewise.
10989 * elf/tst-array2dep.c (fini_array): Likewise.
10990 (init_array): Likewise.
10991
60457d8a
MF
109922012-10-29 Mike Frysinger <vapier@gentoo.org>
10993
10994 * manual/message.texi: Delete @cartouche tags.
10995
8bece752
PT
109962012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10997
94ce799f
PT
10998 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10999 EOPNOTSUPP.
11000 * sysdeps/mach/hurd/fsync.c: Likewise.
11001
8bece752
PT
11002 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11003 [_POSIX_REALTIME_SIGNALS]: Change condition to
11004 [_POSIX_REALTIME_SIGNALS > 0].
11005
86ebe6b1
AJ
110062012-10-27 Andreas Jaeger <aj@suse.de>
11007
11008 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11009 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11011 [__WORDSIZE != 64]: Likewise.
11012
54399c08
L
110132012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11014
11015 * iconvdata/tst-table.sh: Remove ${SHELL}.
11016 * iconvdata/tst-tables.sh: Likewise.
11017
e2211bed
DM
110182012-10-25 David S. Miller <davem@davemloft.net>
11019
11020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11021 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11022 of strtoull.
11023
f303f97c
DM
11024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11025 ifunc-impl-list.c
11026 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11027 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11028 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11029 file.
11030
1e9d84cd
RM
110312012-10-25 Roland McGrath <roland@hack.frob.com>
11032
11033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11034 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11035 __getdirentries.
11036
df381762
JM
110372012-10-25 Joseph Myers <joseph@codesourcery.com>
11038 Jim Blandy <jimb@codesourcery.com>
11039
11040 * scripts/cross-test-ssh.sh: New file.
11041 * manual/install.texi (Configuring and compiling): Document use of
11042 cross-test-ssh.sh.
11043 * INSTALL: Regenerated.
11044
bff64913
PT
110452012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11046
11047 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11048 EOPNOTSUPP.
11049
25fe8932
JM
110502012-10-25 Joseph Myers <joseph@codesourcery.com>
11051
11052 * Makeconfig (run-program-prefix): Fix comment.
11053
cc1290d0
JM
110542012-10-24 Joseph Myers <joseph@codesourcery.com>
11055 Jim Blandy <jimb@codesourcery.com>
11056
11057 * Makeconfig (test-wrapper): New variable,
11058 (test-wrapper-env): Likewise.
11059 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11060 (run-built-tests): Define to yes.
11061 (run-program-prefix): Use $(test-wrapper).
11062 (built-program-cmd): Likewise.
11063 * Rules (make-test-out): Use $(test-wrapper-env) and
11064 $(host-built-program-cmd).
11065 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11066 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11067 tst-pathopt.sh.
11068 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11069 $(test-wrapper-env) to tst-rtld-load-self.sh.
11070 ($(objpfx)order2.out): Use $(test-wrapper).
11071 ($(objpfx)tst-initorder.out): Likewise.
11072 ($(objpfx)tst-initorder2.out): Likewise.
11073 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11074 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11075 (test_wrapper_env): New variable. Use it to run ld.so.
11076 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11077 Use it to run ld.so.
11078 (test_wrapper_env): Likewise.
11079 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11080 $(test-wrapper) to run-iconv-test.sh.
11081 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11082 (ICONV): Use $test_wrapper.
11083 * posix/Makefile ($(objpfx)globtest.out): Pass
11084 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11085 globtest.sh, not $(run-program-prefix).
11086 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11087 (test_wrapper): Likewise.
11088 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11089 set together with run_via_rtld_prefix.
11090 (run_program_prefix): Define in terms of test_wrapper and
11091 run_via_rtld_prefix.
11092
6e6249d0
RM
110932012-10-24 Roland McGrath <roland@hack.frob.com>
11094
11095 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11096 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11097 Targets removed.
11098
11099 [BZ #14743]
11100 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11101 Declare __clock_getres, __clock_gettime, __clock_settime,
11102 __clock_nanosleep, and __clock_getcpuclockid.
11103 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11104 Remove librt_hidden_def (clock_gettime).
11105 * sysdeps/unix/clock_gettime.c: Likewise.
11106 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11107 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11108 * rt/clock_getres.c: Define __clock_getres as an alias.
11109 * sysdeps/posix/clock_getres.c: Likewise.
11110 * rt/clock_settime.c: Define __clock_settime as an alias.
11111 * sysdeps/unix/clock_settime.c: Likewise.
11112 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11113 * sysdeps/unix/clock_nanosleep.c: Likewise.
11114 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11115 * rt/clock-compat.c: New file.
11116 * rt/Makefile (librt-routines): Add clock-compat and move
11117 $(clock-routines) to ...
11118 (routines): ... here, new variable.
11119 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11120 Don't add get_clockfreq here.
11121 * rt/Versions (libc: GLIBC_2.17): New version set.
11122 Add clock_* symbols here.
11123 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11124 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11125 (GLIBC_2.17): Add clock_* symbols.
11126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11130 Likewise.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11132 Likewise.
11133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11137 * NEWS: Mention the move.
11138
11139 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11140 Use __open, __read, __close rather than their public counterparts.
11141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11142 (__get_clockfreq_via_cpuinfo): Likewise.
11143 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11144 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11145
11146 * config.h.in (HAVE_IFUNC): New #undef.
11147 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11148 was successful.
11149 * configure: Regenerated.
11150
0cae3f4b
MF
111512012-10-24 Mike Frysinger <vapier@gentoo.org>
11152
11153 * configure.in: Move READELF check to start of file.
11154 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11155 libc_cv_asm_gnu_indirect_function in the process.
11156 * configure: Regenerated.
11157
8175a253
MF
111582012-10-24 Mike Frysinger <vapier@gentoo.org>
11159
11160 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11161 send the output to /dev/null.
11162 (libc_cv_cc_with_libunwind): Likewise.
11163 (libc_cv_as_noexecstack): Likewise.
11164 * configure: Regenerate.
11165
0708a7d1
JM
111662012-10-24 Joseph Myers <joseph@codesourcery.com>
11167
10b40d85
JM
11168 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11169
0708a7d1
JM
11170 * posix/globtest.sh (TMPDIR): Do not set.
11171 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11172 (testout): Likewise.
11173
9fddec1a
AJ
111742012-10-24 Andreas Jaeger <aj@suse.de>
11175
3a8db22f
AJ
11176 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11177 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11178 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11179 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11180 posix_fadvise64, posix_fallocate64.
11181
9fddec1a
AJ
11182 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11183 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11184 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11185 Likewise.
11186 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11187 Likewise.
11188 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11189
11190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11191 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11192 <bits/fcntl-linux.h>.
11193 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11194
11195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11196 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11197 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11198 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11199 [__WORDSIZE != 64]: Likewise.
11200
ebfd1bbd
JM
112012012-10-23 Joseph Myers <joseph@codesourcery.com>
11202
03ac099f
JM
11203 * Makeconfig (run-built-tests): New variable.
11204 * Rules [$(cross-compiling) = yes]: Change condition to
11205 [$(run-built-tests) = no].
11206 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11207 to [$(run-built-tests) = yes].
11208 * elf/Makefile [$(cross-compiling) = no]: Likewise
11209 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11210 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11211 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11212 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11213 * io/Makefile [$(cross-compiling) = no]: Likewise.
11214 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11215 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11216 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11217 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11218 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11219 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11220 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11221 * string/Makefile [$(cross-compiling) = no]: Likewise.
11222
ebfd1bbd
JM
11223 * posix/Makefile ($(objpfx)globtest.out): Pass
11224 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11225 $(rtld-installed-name).
11226 * posix/globtest.sh (elf_objpfx): Remove variable.
11227 (rtld_installed_name): Likewise.
11228 (library_path): Likewise.
11229 (run_program_prefix): New variable. Use for running globtest
11230 binary.
11231
166bca24
JB
112322012-10-23 Jim Blandy <jimb@codesourcery.com>
11233 Joseph Myers <joseph@codesourcery.com>
11234
11235 * Makeconfig (host-built-program-cmd): New variable.
11236 * elf/Makefile (tst-stackguard1-ARGS): Use
11237 $(host-built-program-cmd).
11238 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11239 (tst-spawn-ARGS): Likewise.
11240 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11241
88866099
JM
112422012-10-23 Joseph Myers <joseph@codesourcery.com>
11243 Jim Blandy <jimb@codesourcery.com>
11244
11245 * Makeconfig (run-via-rtld-prefix): New variable.
11246 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11247 (built-program-cmd): Likewise.
11248
b4b4c296
AJ
112492012-10-22 Andreas Jaeger <aj@suse.de>
11250
11251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11252 __O_RSYNC if it exists, otherwise to O_SYNC.
11253
6fb54a22
JB
112542012-10-22 Jim Blandy <jimb@codesourcery.com>
11255 Joseph Myers <joseph@codesourcery.com>
11256
11257 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11258 /dev/null.
11259 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11260 from /dev/null
11261 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11262 /dev/null.
11263
481b90b9
AJ
112642012-10-22 Andreas Jaeger <aj@suse.de>
11265
2a0e2669
AJ
11266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11267 Define always.
11268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11269
76e38f9a
AJ
11270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11271 bits/fcntl-linux.h.
11272
7cd37b43
AJ
11273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11274 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11275
481b90b9
AJ
11276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11277 to __O_LARGEFILE.
11278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11279 to __O_LARGEFILE.
11280
aba75984
JB
112812012-10-21 Jim Blandy <jimb@codesourcery.com>
11282 Joseph Myers <joseph@codesourcery.com>
11283
11284 * config.make.in (NM): New variable.
11285
88d4247f
AJ
112862012-10-21 Andreas Jaeger <aj@suse.de>
11287
11288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11289 definitions and declarations that are provided by
11290 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11291
f2eed205
L
112922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11293
11294 [BZ #14683]
11295 * elf/Makefile (tests-static): Add tst-leaks1-static.
11296 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11297 ($(objpfx)tst-leaks1-static): New rule.
11298 ($(objpfx)tst-leaks1-static-mem): Likewise.
11299 (tst-leaks1-static-ENV): New macro.
11300 * elf/dl-open.c (dl_open_worker): Check the main application
11301 only if SHARED is defined.
11302 * elf/tst-leaks1-static.c: New file.
11303
335e6931
AJ
113042012-10-20 Andreas Jaeger <aj@suse.de>
11305
11306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11307 generic values for Linux.
11308 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11309 and declarations that are provided by <bits/fcntl-linux.h> and
11310 include <bits/fcntl-linux.h>.
11311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11313
ac5c94d3
RM
113142012-10-20 Roland McGrath <roland@hack.frob.com>
11315
11316 * io/fcntl.h: Move include of <bits/types.h> to the top and
11317 include it unconditionally.
11318
de54b33a
L
113192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11320
228cfb01
L
11321 * wcsmbs/Makefile (tests-ifunc): New variable.
11322 (tests): Add $(tests-ifunc).
11323 * wcsmbs/test-wcschr-ifunc.c: New file.
11324 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11325 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11326 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11327 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11328 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11329
69f07e5f
L
11330 * string/Makefile (tests-ifunc): New variable.
11331 (tests): Add $(tests-ifunc).
11332 * string/test-memccpy.c (TEST_NAME): New macro.
11333 * string/test-memchr.c (TEST_NAME): Likewise.
11334 * string/test-memcmp.c (TEST_NAME): Likewise.
11335 * string/test-memcpy.c (TEST_NAME): Likewise.
11336 * string/test-memmem.c (TEST_NAME): Likewise.
11337 * string/test-memmove.c (TEST_NAME): Likewise.
11338 * string/test-memset.c (TEST_NAME): Likewise.
11339 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11340 * string/test-stpcpy.c (TEST_NAME): Likewise.
11341 * string/test-stpncpy.c (TEST_NAME): Likewise.
11342 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11343 * string/test-strcasestr.c (TEST_NAME): Likewise.
11344 * string/test-strcat.c (TEST_NAME): Likewise.
11345 * string/test-strchr.c (TEST_NAME): Likewise.
11346 * string/test-strcmp.c(TEST_NAME): Likewise.
11347 * string/test-strcpy.c (TEST_NAME): Likewise.
11348 * string/test-strcspn.c (TEST_NAME): Likewise.
11349 * string/test-strlen.c (TEST_NAME): Likewise.
11350 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11351 * string/test-strncmp.c (TEST_NAME): Likewise.
11352 * string/test-strncpy.c (TEST_NAME): Likewise.
11353 * string/test-strnlen.c (TEST_NAME): Likewise.
11354 * string/test-strpbrk.c (TEST_NAME): Likewise.
11355 * string/test-strrchr.c (TEST_NAME): Likewise.
11356 * string/test-strspn.c (TEST_NAME): Likewise.
11357 * string/test-strstr.c (TEST_NAME): Likewise.
11358 * string/test-bcopy-ifunc.c: New file.
11359 * string/test-bzero-ifunc.c: Likewise.
11360 * string/test-memccpy-ifunc.c: Likewise.
11361 * string/test-memchr-ifunc.c: Likewise.
11362 * string/test-memcmp-ifunc.c: Likewise.
11363 * string/test-memcpy-ifunc.c: Likewise.
11364 * string/test-memmem-ifunc.c: Likewise.
11365 * string/test-memmove-ifunc.c: Likewise.
11366 * string/test-mempcpy-ifunc.c: Likewise.
11367 * string/test-memset-ifunc.c: Likewise.
11368 * string/test-rawmemchr-ifunc.c: Likewise.
11369 * string/test-stpcpy-ifunc.c: Likewise.
11370 * string/test-stpncpy-ifunc.c: Likewise.
11371 * string/test-strcasecmp-ifunc.c: Likewise.
11372 * string/test-strcasestr-ifunc.c: Likewise.
11373 * string/test-strcat-ifunc.c: Likewise.
11374 * string/test-strchr-ifunc.c: Likewise.
11375 * string/test-strchrnul-ifunc.c: Likewise.
11376 * string/test-strcmp-ifunc.c: Likewise.
11377 * string/test-strcpy-ifunc.c: Likewise.
11378 * string/test-strcspn-ifunc.c: Likewise.
11379 * string/test-strlen-ifunc.c: Likewise.
11380 * string/test-strncasecmp-ifunc.c: Likewise.
11381 * string/test-strncat-ifunc.c: Likewise.
11382 * string/test-strncmp-ifunc.c: Likewise.
11383 * string/test-strncpy-ifunc.c: Likewise.
11384 * string/test-strnlen-ifunc.c: Likewise.
11385 * string/test-strpbrk-ifunc.c: Likewise.
11386 * string/test-strrchr-ifunc.c: Likewise.
11387 * string/test-strspn-ifunc.c: Likewise.
11388 * string/test-strstr-ifunc.c: Likewise.
11389
de54b33a
L
11390 * debug/Makefile (tests-ifunc): New variable.
11391 (tests): Add $(tests-ifunc).
11392 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11393 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11394 * debug/test-stpcpy_chk-ifunc.c: New file.
11395 * debug/test-strcpy_chk-ifunc.c: Likewise.
11396
88481c16
SP
113972012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11398
11399 [BZ #13601]
11400 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11401 header is not read in.
11402
135948bd
JM
114032012-10-19 Joseph Myers <joseph@codesourcery.com>
11404
89f1c388
JM
11405 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11406 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11407 directly. Pass built executable to script as
11408 $(built-program-cmd).
11409 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11410 $testprogram without using LD_LIBRARY_PATH and $ldso.
11411
e40a0d21
JM
11412 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11413 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11414 $(rtld-installed-name).
11415 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11416 (rtld_installed_name): Likewise.
11417 (library_path): Likewise.
11418 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11419 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11420 $(run-program-prefix) to tst-tables.sh.
11421 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11422 it to run tst-table-from and tst-table-to.
11423 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11424 Pass it to tst-table.sh.
11425 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11426 $(run-program-prefix) to tst-gettext.sh.
11427 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11428 tst-translit.sh.
11429 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11430 tst-gettext2.sh.
11431 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11432 to run tst-gettext.
11433 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11434 to run tst-gettext2.
11435 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11436 to run tst-translit.
11437 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11438 $(run-program-prefix) to tst-mtrace.sh.
11439 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11440 to run tst-mtrace.
11441 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11442 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11443 $(rtld-installed-name).
11444 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11445 (rtld_installed_name): Likewise.
11446 (run_program_prefix): New variable. Use it to run wordexp-test.
11447
728e272a
JM
11448 * Makeconfig (ARCH): Remove all definitions.
11449 (machine): Likewise.
11450 [ARCH]: Remove conditional code.
11451 [!objdir]: Give error.
11452 [!objdir] (objpfx): Remove.
11453 [!objdir] (common-objpfx): Likewise.
11454 [!objdir] (common-objdir): Likewise.
11455 * configure.in (config_makefile): Remove. Hardcode Makefile in
11456 AC_CONFIG_FILES call.
11457 * configure: Regenerated.
11458
d528cdcf
JM
11459 [BZ #13888]
11460 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11461 or TMPDIR.
11462 (testout): Likewise.
11463
135948bd
JM
11464 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11465 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11466 $(rtld-installed-name).
11467 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11468 (rtld_installed_name): Likwise.
11469 (runit): Remove function.
11470 (run_getconf): New variable, Use it for running getconf binary.
11471
38c78296
L
114722012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11473
11474 [BZ #14716]
11475 * string/test-memmem.c (check_result): New function.
11476 (do_one_test): Use it.
11477 (check1): New function.
11478 (test_main): Use it.
11479
d077f65f
MT
114802012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11481
11482 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11483
ced52c71
JM
114842012-10-18 Joseph Myers <joseph@codesourcery.com>
11485
11486 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11487 (_G_LSEEK64): Likewise.
11488 (_G_MMAP64): Likewise.
11489 (_G_FSTAT64): Likewise.
11490 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11491 (_G_LSEEK64): Likewise.
11492 (_G_MMAP64): Likewise.
11493 (_G_FSTAT64): Likewise.
11494 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11495 unconditional. Call __mmap64 directly.
11496 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11497 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11498 __lseek64 directly.
11499 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11500 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11501 __mmap64 directly.
11502 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11503 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11504 __lseek64 directly.
11505 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11506 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11507 __lseek64 directly.
11508 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11509 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11510 __lseek64 directly.
11511 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11512 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11513 __fxstat64 directly.
11514 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11515 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11516 unconditional.
11517 (freopen64) [!_G_OPEN64]: Remove conditional code.
11518 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11519 unconditional.
11520 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11521 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11522 unconditional.
11523 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11524 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11525 unconditional.
11526 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11527 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11528 unconditional.
11529 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11530 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11531 unconditional.
11532 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11533 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11534 unconditional.
11535 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11536 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11537 unconditional.
11538 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11539
b741de23
SP
115402012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11541
11542 [BZ #12140]
11543 * manual/memory.texi (Malloc Tunable Parameters): Add note
11544 about free list pointers overwriting some perturb bytes.
11545 Wording suggested by Roland McGrath.
11546
f9b9d9c9
JM
115472012-10-17 Joseph Myers <joseph@codesourcery.com>
11548
11549 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11550 (lgamma_test): Likewise.
11551 (tgamma_test): Likewise.
11552
172a631a
FW
115532012-10-16 Florian Weimer <fweimer@redhat.com>
11554
11555 [BZ #14700]
11556 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11557 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11558
e9f37252
MK
115592012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11560
11561 * NEWS: Mention BZ #14716.
11562 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11563 when removing AVAILABLE1_USES_J macro.
11564
d394eb74
L
115652012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11566
11567 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11568 (__bswap_64): __uint64_t for unsigned 64-bit int.
11569
ca38dc17
AS
115702012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11571
11572 * include/string.h (memmem): Declare libc hidden alias.
11573 * string/memmem.c (memmem): Define libc hidden alias.
11574 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11575 __read, __close instead of open, read, close.
11576
9a387d1f
L
115772012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11578
ac49ecaf
L
11579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11580 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11581 global and hidden.
11582 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11583 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11584 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11585 Likewise.
11586 (__rawmemchr_sse2): Likewise.
11587 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11588 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11589 (__strchr_sse2): Likewise.
11590 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11591 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11592 (__strcasecmp_sse2): Likewise.
11593 (__strncasecmp_sse2): Likewise.
11594 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11595 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11596 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11597 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11598 (__strrchr_sse2): Likewise.
11599 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11600 ifunc-impl-list.c.
11601 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11602 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11603 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11604 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11605 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11606 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11607 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11608 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11609 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11610 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11611 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11612 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11613 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11614 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11615 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11616 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11617 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11618 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11619 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11620 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11621 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11622 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11623 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11624 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11625 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11626 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11627 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11628 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11629 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11630 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11631
b090e8ea
L
11632 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11633 global and hidden.
11634 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11635 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11636 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11637 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11638 Likewise.
11639 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11640 Likewise.
11641 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11642 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11643 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11644 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11645 ifunc-impl-list.c.
11646 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11647 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11648 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11649 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11650 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11651 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11652 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11653 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11654 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11655 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11656 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11657 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11658 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11659 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11660 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11661 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11662 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11663 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11664 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11665 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11666 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11667 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11668 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11669 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11670 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11671 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11672 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11673 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11674 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11675 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11676 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11677 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11678 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11679 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11680 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11681 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11682 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11683 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11684 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11685 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11686 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11687
11dd4af6
L
11688 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11689 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11690 * include/ifunc-impl-list.h: New file.
11691 * misc/ifunc-impl-list.c: Likewise.
11692 * misc/Makefile (routines): Add ifunc-impl-list.
11693 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11694 * string/test-string.h: Include <ifunc-impl-list.h>.
11695 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11696 impl_array): New variables.
11697 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11698 are defined.
11699 (test_init): Call __libc_ifunc_impl_list to initialize
11700 func_list if TEST_IFUNC and TEST_NAME are defined.
11701
9a387d1f
L
11702 * string/Makefile (strop-tests): Add bcopy and bzero.
11703 * string/test-bcopy.c: New file.
11704 * string/test-bzero.c: Likewise.
11705 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11706 defined.
11707 * string/test-memset.c: Support bzero test if TEST_BZERO is
11708 defined.
11709 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11710 __libc_memmove.
11711 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11712 __libc_memset.
11713 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11714 of memset.
11715
472371b9
JM
117162012-10-10 Joseph Myers <joseph@codesourcery.com>
11717
1e4a9536
JM
11718 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11719 * configure: Regenerated.
11720
d173d12e
JM
11721 * Makeconfig (+link-static-before-libc): Don't include
11722 $(link-static-libc).
11723
472371b9
JM
11724 * libio/libio.h (_IO_pos_t): Remove.
11725
89a3ad0b
AO
117262012-10-10 Alexandre Oliva <aoliva@redhat.com>
11727
11728 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11729 McGrath.
11730
e7451425
AO
117312012-10-10 Alexandre Oliva <aoliva@redhat.com>
11732
11733 * crypt/crypt-entry.c: Include fips-private.h.
11734 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11735 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11736 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11737 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11738
4ba74a35
AO
117392012-10-10 Alexandre Oliva <aoliva@redhat.com>
11740
11741 * crypt/crypt-private.h: Include stdbool.h.
11742 (_ufc_setup_salt_r): Return bool.
11743 * crypt/crypt-entry.c: Include errno.h.
11744 (__crypt_r): Return NULL with EINVAL for bad salt.
11745 * crypt/crypt_util.c (bad_for_salt): New.
11746 (_ufc_setup_salt_r): Check that salt is long enough and within
11747 the specified alphabet.
11748 * crypt/badsalttest.c: New file.
11749 * crypt/Makefile (tests): Add it.
11750 ($(objpfx)badsalttest): New.
11751
f96f1242
MK
117522012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11753
11754 * NEWS: Add entry for BZ #14602.
11755
0e8e0c1c
JM
117562012-10-09 Joseph Myers <joseph@codesourcery.com>
11757
11758 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11759 type-generic.
11760 * math/libm-test.inc: Update comment listing what functions and
11761 macros are tested.
11762 (isgreater_test): New function.
11763 (isgreaterequal_test): Likewise.
11764 (isless_test): Likewise.
11765 (islessequal_test): Likewise.
11766 (islessgreater_test): Likewise.
11767 (isunordered_test): Likewise.
11768 (main): Call the new functions.
11769
273edc5e
RM
117702012-10-09 Roland McGrath <roland@hack.frob.com>
11771
b8493de0
RM
11772 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11773 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11774 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11775 * sysdeps/i386/configure: Regenerated.
11776 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11777 * sysdeps/mach/configure: Regenerated.
11778 * sysdeps/mach/hurd/configure: Regenerated.
11779 * sysdeps/powerpc/configure: Regenerated.
11780 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11781 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11782 * sysdeps/s390/s390-32/configure: Regenerated.
11783 * sysdeps/s390/s390-64/configure: Regenerated.
11784 * sysdeps/sh/configure: Regenerated.
11785 * sysdeps/sparc/configure: Regenerated.
11786 * sysdeps/unix/sysv/linux/configure: Regenerated.
11787 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11788 * sysdeps/x86_64/configure: Regenerated.
11789
273edc5e
RM
11790 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11791 defined. Don't check if MAP is NULL.
11792
c8450f70
JM
117932012-10-09 Joseph Myers <joseph@codesourcery.com>
11794
11795 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11796 (_G_stat64): Likewise.
11797 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11798 (_G_stat64): Likewise.
11799 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11800 instead of struct _G_stat64.
11801 * libio/fileops.c (mmap_remap_check): Likewise.
11802 (decide_maybe_mmap): Likewise.
11803 (_IO_new_file_seekoff): Likewise.
11804 (_IO_file_stat): Likewise.
11805 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11806 _G_off64_t.
11807 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11808 instead of struct _G_stat64.
11809 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11810
57e605ba
MK
118112012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11812
11813 [BZ #14602]
11814 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11815 Replace with ...
11816 (CHECK_EOL): New macro.
11817 (two_way_short_needle): Check beginning of haystack for EOL. Use
11818 CHECK_EOL.
11819 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11820 Replace with CHECK_EOL.
11821 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11822 Replace with CHECK_EOL.
11823
ef1bb361
JM
118242012-10-08 Joseph Myers <joseph@codesourcery.com>
11825
11826 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11827 type-generic.
11828 * math/libm-test.inc: Update comment listing what functions and
11829 macros are tested.
11830 (finite_test): New function.
11831 (isinf_test): Likewise.
11832 (isnan_test): Likewise.
11833 (fpclassify_test): Test subnormal input.
11834 (isfinite_test): Likewise.
11835 (isnormal_test): Likewise.
11836 (main): Call the new functions.
11837
55f11534
JN
118382012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11839
11840 [BZ #14660]
11841 * Makerules (%.dynsym): Force C locale when running
11842 $(OBJDUMP) --dynamic-syms.
11843
1ab29350
AS
118442012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11845
11846 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11847 <stdint.h>.
11848
f1ecb7ef
DM
118492012-10-06 David S. Miller <davem@davemloft.net>
11850
11851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11852 upper 32-bits of the length value in %o2 since we use branch-on-register
11853 tests which consider the entire 64-bit register.
11854
5d41d91a
L
118552012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11856
11857 * string/test-strstr.c (check2): Add a test for page boundary.
11858
3baddb72
DM
118592012-10-05 David S. Miller <davem@davemloft.net>
11860
11861 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11862 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11863 file.
11864 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11865 sysdep_routines.
11866 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11867 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11868 and bzero when HWCAP_SPARC_CRYPTO is present.
11869
9cee5585
L
118702012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11871
d7e0dab9
L
11872 [BZ #14602]
11873 * string/test-strstr.c (check2): New function.
11874 (test_main): Call check2.
11875
03759f47
L
11876 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11877 and bug-strchr1.
11878 * string/bug-strcasestr1.c (do_test): Moved to ...
11879 * string/test-strcasestr.c (check1): Here. New function.
11880 (do_one_test): Break out result checking code into ...
11881 (check_result): This. New function.
11882 (do_one_test): Call check_result.
11883 (test_main): Call check1.
11884 * string/bug-strchr1.c (do_test): Moved to ...
11885 * string/test-strchr.c (check1): Here. New function.
11886 (do_one_test): Break out result checking code into ...
11887 (check_result): This. New function.
11888 (do_one_test): Call check_result.
11889 (test_main): Call check1.
11890 * string/bug-strstr1.c (main): Moved to ...
046f153e 11891 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11892 (do_one_test): Break out result checking code into ...
11893 (check_result): This. New function.
11894 (do_one_test): Call check_result.
11895 (test_main): Call check1.
11896 * string/bug-strcasestr1.c: Removed.
11897 * string/bug-strchr1.c: Likewise.
11898 * string/bug-strstr1.c: Likewise.
11899
53cea63e
L
11900 * elf/Makefile (dl-routines): Add hwcaps.
11901 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11902 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11903 (_dl_important_hwcaps): Moved to ...
11904 * elf/dl-hwcaps.c: Here. New file.
11905 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11906
9cee5585 11907 [BZ #14557]
bb859b06
L
11908 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11909 if IS_IN_rtld isn't defined.
11910
9cee5585
L
11911 * elf/dl-support.c (_dl_sysinfo_map): New.
11912 Include "get-dynamic-info.h" and "setup-vdso.h".
11913 (_dl_non_dynamic_init): Call setup_vdso.
11914 * elf/dynamic-link.h: Don't include <assert.h>.
11915 (elf_get_dynamic_info): Moved to ...
11916 * elf/get-dynamic-info.h: Here. New file.
11917 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11918 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11919 * elf/setup-vdso.h: Here. New file.
11920 * elf/rtld.c: Include "setup-vdso.h".
11921 (dl_main): Call setup_vdso.
11922
23c31b76
JM
119232012-10-05 Joseph Myers <joseph@codesourcery.com>
11924
28234b07
JM
11925 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11926 creal in comment listing functions tested. List finite, isinf,
11927 isnan, isless, islessequal, isgreater, isgreaterequal,
11928 islessgreater, isunordered, lgamma_r and pow10 as functions and
11929 macros not tested. Mention which functions not tested are aliases
11930 for other functions. Fix typo. Note that signs of NaNs are not
11931 tested.
11932
23c31b76
JM
11933 * scripts/config.guess: Update from config.git.
11934 * scripts/config.sub: Likewise.
11935
9043e228
RM
119362012-10-04 Roland McGrath <roland@hack.frob.com>
11937
11938 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11939 * misc/madvise.c (madvise): Renamed to __madvise.
11940 Make madvise a weak alias.
11941 * include/sys/mman.h: Declare __madvise.
11942 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11943 * sysdeps/unix/syscalls.list
11944 (madvise): Make __madvise the strong name, and madvise a weak alias.
11945 * sysdeps/unix/sysv/linux/syscalls.list
11946 (madvise, mmap): Remove redundant entries.
11947 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11948 * malloc/malloc.c (mtrim): Likewise.
11949 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11950
f57f8055
RM
119512012-10-03 Roland McGrath <roland@hack.frob.com>
11952
11953 * sysdeps/mach/hurd/dl-cache.c: File removed.
11954 * config.h.in (USE_LDCONFIG): New #undef.
11955 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11956 * configure: Regenerated.
11957 * elf/Makefile (dl-routines): Add dl-cache only under
11958 [$(use-ldconfig) = yes].
11959 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11960 cache on [USE_LDCONFIG].
11961 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11962 [USE_LDCONFIG].
11963 * elf/rtld.c (dl_main): Likewise.
11964
5bb0c10a
PT
119652012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11966
11967 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11968 _SC_LEVEL4_CACHE_LINESIZE.
11969
010188c6
RM
119702012-10-03 Roland McGrath <roland@hack.frob.com>
11971
11972 * sysdeps/unix/bsd/confstr.h: File removed.
11973
b6c5ec07
AO
119742012-10-02 Alexandre Oliva <aoliva@redhat.com>
11975
11976 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11977 sys/sdt-config.h.
11978
408223d4
RM
119792012-10-02 Roland McGrath <roland@hack.frob.com>
11980
11981 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11982 Make 'mapoff' field ElfW(Off) rather than off_t.
11983
bb9510dc
DL
119842012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11985
fc997c6e
DL
11986 * nscd/Makefile: Remove nscd-cflags and all its users.
11987 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11988 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11989
bb9510dc
DL
11990 [BZ #10631]
11991 * malloc.c (malloc_printerr): Clarify error message.
11992
05699367
L
119932012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11994
11995 [BZ #14648]
11996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11997 Set bit_FMA_Usable if FMA is supported.
11998 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11999 macro.
12000 (bit_FMA4_Usable): Updated.
12001 (index_FMA_Usable): New macro.
12002 (CPUID_FMA): Likewise
12003 (HAS_FMA): Defined with bit_FMA_Usable.
12004
51367701
RM
120052012-10-01 Roland McGrath <roland@hack.frob.com>
12006
12007 * bits/types.h (__swblk_t): Type removed.
12008 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12009 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12011 (__SWBLK_T_TYPE): Likewise.
12012 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12013 (__SWBLK_T_TYPE): Likewise.
12014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12015 (__SWBLK_T_TYPE): Likewise.
12016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12017 (__SWBLK_T_TYPE): Likewise.
12018
4d57bf63 120192012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12020 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12021
12022 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12023 (xdr_mapname): Use YPMAXMAP as maxsize.
12024 (xdr_peername): Use YPMAXPEER as maxsize.
12025 (xdr_keydat): Use YPAXRECORD as maxsize.
12026 (xdr_valdat): Use YPMAXRECORD as maxsize.
12027
93c65d43
RM
120282012-10-01 Roland McGrath <roland@hack.frob.com>
12029
497a03d6
RM
12030 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12031
93c65d43
RM
12032 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12033 * csu/init-first.c: ... here.
12034 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12035 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12036 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12037 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12038 * sysdeps/i386/init-first.c: File removed.
12039 * sysdeps/sh/init-first.c: File removed.
12040
bec749fd
JM
120412012-10-01 Joseph Myers <joseph@codesourcery.com>
12042
12043 [BZ #14645]
12044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12045 if x * y might underflow to zero and z is zero.
12046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12048 * math/libm-test.inc (min_subnorm_value): New variable.
12049 (fma_test): Add more tests.
12050 (fma_test_towardzero): Likewise.
12051 (fma_test_downward): Likewise
12052 (fma_test_upward): Likewise.
12053 (initialize): Set min_subnorm_value.
12054
8ec5b013
JM
120552012-09-29 Joseph Myers <joseph@codesourcery.com>
12056
12057 [BZ #14638]
12058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12059 0 + 0.
12060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12061 mode for addition resulting in exact zero.
12062 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12064 exact 0 + 0.
12065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12067 * math/libm-test.inc (fma_test): Add more tests.
12068 (fma_test_towardzero): New function.
12069 (fma_test_downward): Likewise.
12070 (fma_test_upward): Likewise.
12071 (main): Call the new functions.
12072
b1fa802e
DM
120732012-09-28 David S. Miller <davem@davemloft.net>
12074
12075 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12076
d3b9fd9e
RM
120772012-09-28 Roland McGrath <roland@hack.frob.com>
12078
ea4d37b3
RM
12079 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12080 instead of SIGALRM.
12081
ac51c949
RM
12082 * sysdeps/gnu/_G_config.h: Moved to ...
12083 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12084 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12085 * sysdeps/generic/_G_config.h: ... here.
12086
28c195f7
RM
12087 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12088
848917f9
RM
12089 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12090
6bacf05b
RM
12091 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12092 Conditionalize target on [libnss_test1.so-version].
12093
91363dbb
RM
12094 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12095
cc87f7d8
RM
12096 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12097 (elfobjdir): Move out of conditionals.
12098
b1c608fe
RM
12099 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12100 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12101 (__nss_lookup_function): Conditionalize label remove_from_tree on
12102 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12103
1d9a6d96
DM
121042012-09-28 David S. Miller <davem@davemloft.net>
12105
12106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12107 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12108 file.
12109 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12110 sysdep_routines.
12111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12113 when HWCAP_SPARC_CRYPTO is present.
12114
72581615
PT
121152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12116
12117 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12118
715a900c
JL
121192012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12120
12121 [BZ #6530]
12122 * stdio-common/vfprintf.c (process_string_arg): Revert
12123 2000-07-22 change.
12124
121252011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12126
12127 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12128 for testcase.
12129 * stdio-common/tst-sprintf.c: Include <locale.h>
12130 (main): Test sprintf's handling of incomplete multibyte
12131 characters.
12132
9bac1d86
L
121332012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12134
12135 * elf/dl-runtime.c (VERSYMIDX): Removed.
12136 * elf/dl-version.c (VERSYMIDX): Likewise.
12137 * elf/do-rel.h (VERSYMIDX): Likewise.
12138 (VALIDX): Likewise.
12139 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12140 * elf/rtld.c (VALIDX): Likewise.
12141 (ADDRIDX): Likewise.
9bac1d86
L
12142 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12143 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12144 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12145 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12146 (VALIDX): Likewise.
12147 (ADDRIDX): Likewise.
9bac1d86 12148
b31606c0
PT
121492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12150
12151 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12152
11541177
JL
121532012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12154
12155 [BZ #11438]
12156 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12157 to global scope.
12158 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12159 addresses are in the same scope as 192.0.2/24.
12160 * posix/gai.conf: Document new scope table defaults.
12161
adb26fae
SP
121622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12163
12164 [BZ #5298]
12165 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12166 for ftell. Compute offsets from write pointers instead.
12167 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12168
4573c6b0
SP
121692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12170
12171 [BZ #14543]
12172 * libio/Makefile (tests): New test case tst-fseek.
12173 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12174 combination works in wide mode.
12175 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12176 state when the external buffer state changes.
12177
aa9bbfe6
DM
121782012-09-27 David S. Miller <davem@davemloft.net>
12179
12180 [BZ #14376]
12181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12182 pass reloc->r_addend in as the 'high' argument to
12183 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12184
784421e7
DM
12185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12186
c39bc8b8
PT
121872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12188
12189 * rt/tst-aio2.c: Include <pthread.h>.
12190 * rt/tst-aio3.c: Likewise.
12191
1ccc2399
SE
121922012-09-27 Steve Ellcey <sellcey@mips.com>
12193
12194 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12195
31ed4153
L
121962012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12197
25f5f885
L
12198 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12199 contents on [SHARED].
31ed4153 12200
b7bfe116
MP
122012012-09-26 Marek Polacek <polacek@redhat.com>
12202
12203 [BZ #14530]
12204 [BZ #13741]
12205 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12206 for C++ and GCC <4.3 as well as for non GCC compilers.
12207
43c4edba
MT
122082012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12209
12210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12211
6a1bf82f
RM
122122012-09-25 Roland McGrath <roland@hack.frob.com>
12213
12214 * Makefile.in (all, install): Declare with .PHONY.
12215 Reported by Michael Hope <michael.hope@linaro.org>.
12216
8ad11b9a
TMQMF
122172012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12218
12219 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12220 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12221 system header.
12222 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12223 Likewise.
12224 (sydep_routines): Add the new and the internal functions.
12225 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12226 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12228 (GLIBC_2.17): Add the new function.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12230 (GLIBC_2.17): Likewise.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12232 (GLIBC_2.17): Likewise.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12234 (GLIBC_2.17): Likewise.
12235 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12236
7e2fca8d
AM
122372012-09-25 Alan Modra <amodra@gmail.com>
12238
12239 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12240 Add release barrier before setting once_control to say
12241 initialisation is done. Add hints on lwarx. Use macro in
12242 place of isync.
12243 (clear_once_control): Add release barrier.
12244
b87c4b24
JM
122452012-09-25 Joseph Myers <joseph@codesourcery.com>
12246
d032e0d2
JM
12247 [BZ #13629]
12248 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12249 specially.
12250 * math/s_clog10.c (__clog10): Likewise.
12251 * math/s_clog10f.c (__clog10f): Likewise.
12252 * math/s_clog10l.c (__clog10l): Likewise.
12253 * math/s_clogf.c (__clogf): Likewise.
12254 * math/s_clogl.c (__clogl): Likewise.
12255 * math/Makefile (libm-calls): Add x2y2m1.
12256 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12257 (__x2y2m1): Likewise.
12258 (__x2y2m1l): Likewise.
12259 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12260 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12263 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12264 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12265 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12266 * sysdeps/i386/fpu/libm-test-ulps: Update.
12267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12268
b87c4b24
JM
12269 [BZ #14621]
12270 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12271 int as type of variable DEPTH.
12272 (glob): Use size_t instead of int as type of variables NEWCOUNT
12273 and OLD_PATHC.
12274
6d3bf199
LD
122752012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12276
22bf5c17
LD
12277 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12278 Add s_sincosf-sse2.
12279 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12280 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12281 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12282 macros for using routine as __sincosf_ia32.
12283 Use macro for function declaration and weak_alias.
12284 * sysdeps/i386/fpu/libm-test-ulps: Update.
12285
12286 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12288
12289 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12290 subnormal argument.
12291 * math/s_cexpf.c (__cexpf): Likewise.
12292 * math/s_csinf.c (__csinf): Likewise.
12293 * math/s_csinhf.c (__csinhf): Likewise.
12294 * math/s_ctanf.c (__ctanf): Likewise.
12295 * math/s_ctanhf.c (__ctanhf): Likewise.
12296 * math/s_ccosh.c (__ccoshf): Likewise.
12297 * math/s_cexp.c (__cexpl): Likewise.
12298 * math/s_csin.c (__csin): Likewise.
12299 * math/s_csinh.c (__csinh): Likewise.
12300 * math/s_ctan.c (__ctan): Likewise.
12301 * math/s_ctanh.c (ctanh): Likewise.
12302 * math/s_ccoshl.c (__ccoshl): Likewise.
12303 * math/s_cexpl.c (__cexpl): Likewise.
12304 * math/s_csinl.c (__csinl): Likewise.
12305 * math/s_csinhl.c (__csinhl): Likewise.
12306 * math/s_ctanl.c (__ctanl): Likewise.
12307 * math/s_ctanhl.c (__ctanhl): Likewise.
12308
203e5603
JM
123092012-09-25 Joseph Myers <joseph@codesourcery.com>
12310
12311 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12312 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12313 (_IO_off_t): Define to __off_t, not _G_off_t.
12314 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12315 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12316 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12317 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12318 type of __dummy and __dummy2 fields.
12319 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12320 (_G_ssize_t): Likewise.
12321 (_G_off_t): Likewise.
12322 (_G_pid_t): Likewise.
12323 (_G_uid_t): Likewise.
12324 (_G_wchar_t): Likewise.
12325 (_G_wint_t): Likewise.
12326 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12327 (_G_ssize_t): Likewise.
12328 (_G_off_t): Likewise.
12329 (_G_pid_t): Likewise.
12330 (_G_uid_t): Likewise.
12331 (_G_wchar_t): Likewise.
12332 (_G_wint_t): Likewise.
12333 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12334 (_G_ssize_t): Likewise.
12335 (_G_off_t): Likewise.
12336 (_G_pid_t): Likewise.
12337 (_G_uid_t): Likewise.
12338 (_G_wchar_t): Likewise.
12339 (_G_wint_t): Likewise.
12340
9fab36eb
SP
123412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12342
12343 * malloc/arena.c: Include malloc-sysdep.h.
12344 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12345 is sufficient to shrink the heap or an unmap is needed.
12346 * sysdeps/generic/malloc-sysdep.h: New file. Define
12347 new function check_may_shrink_heap.
12348 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12349 new function check_may_shrink_heap.
12350
2b4f00d1
SP
123512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12352
12353 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12354 comments.
12355
9a9028b1
DL
123562012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12357
57c69bef
DL
12358 * catgets/test-gencat.sh: Add "set -e".
12359 * elf/tst-pathopt.sh: Likewise.
12360 * grp/tst_fgetgrent.sh: Likewise.
12361 * iconvdata/run-iconv-test.sh: Likewise.
12362 * intl/tst-gettext.sh: Likewise.
12363 * intl/tst-gettext2.sh: Likewise.
12364 * intl/tst-gettext4.sh: Likewise.
12365 * intl/tst-gettext6.sh: Likewise.
12366 * intl/tst-translit.sh: Likewise.
12367 * io/ftwtest-sh: Likewise.
12368 * libio/test-freopen.sh: Likewise.
12369 * malloc/tst-mtrace.sh: Likewise.
12370 * posix/globtest.sh: Likewise.
12371 * posix/tst-getconf.sh: Likewise.
12372 * posix/wordexp-tst.sh: Likewise.
12373 * stdio-common/tst-printf.sh: Likewise.
12374 * stdio-common/tst-unbputc.sh: Likewise.
12375 * stdlib/tst-fmtmsg.sh: Likewise.
12376 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12377 * catgets/Makefile: Do not specify -e option when running
12378 testsuite shell scripts.
12379 * elf/Makefile: Likewise.
12380 * grp/Makefile: Likewise.
12381 * iconvdata/Makefile: Likewise.
12382 * intl/Makefile: Likewise.
12383 * io/Makefile: Likewise.
12384 * libio/Makefile: Likewise.
12385 * malloc/Makefile: Likewise.
12386 * posix/Makefile: Likewise.
12387 * stdio-common/Makefile: Likewise.
12388 * stdlib/Makefile: Likewise.
12389 * sysdeps/x86_64/Makefile: Likewise.
12390
9a9028b1
DL
12391 * io/ftwtest-sh: Add copyright header.
12392 * posix/globtest.sh: Likewise.
12393 * posix/tst-getconf.sh: Likewise.
12394 * posix/wordexp-tst.sh: Likewise.
12395 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12396
ced6f16e
L
123972012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12398
94b32c39
L
12399 [BZ #13679]
12400 * Makeconfig (+link): Defined as $(+link-static) if
12401 $(build-shared) isn't yes.
12402 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12403 isn't yes.
12404 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12405
189e935b
L
12406 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12407
ced6f16e
L
12408 [BZ #14562]
12409 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12410 new chunk size with MALLOC_ALIGN_MASK.
12411
a9f8e53a
JM
124122012-09-24 Joseph Myers <joseph@codesourcery.com>
12413
12414 [BZ #5044]
12415 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12416 <rounding-mode.h>.
12417 (__printf_fphex): Determine rounding using get_rounding_mode and
12418 round_away.
12419 * stdio-common/tst-printf-round.c (struct hex_test): New
12420 structure.
12421 (hex_tests): New variable.
12422 (test_hex_in_one_mode): New function.
12423 (do_test): Also run tests for hex float output.
12424
43153109
JM
124252012-09-21 Joseph Myers <joseph@codesourcery.com>
12426
12427 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12428 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12429 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12430 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12431 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12432 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12433 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12434 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12435
8a26625d
JM
124362012-09-20 Joseph Myers <joseph@codesourcery.com>
12437
12438 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12439 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12440 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12441 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12442
f3fd569c
DL
124432012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12444
12445 [BZ #14579]
12446 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12447 mode only.
12448 * elf/tst-rtld-load-self.sh: New test.
12449 * elf/Makefile: Run it.
12450
63bbedd4
JM
124512012-09-18 Joseph Myers <joseph@codesourcery.com>
12452
12453 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12454 (tst-writev-ENV): Remove.
12455 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12456
626f8b6a
CM
124572012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12458
12459 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12460
b7aaa4d6
JM
124612012-09-17 Joseph Myers <joseph@codesourcery.com>
12462
12463 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12464 unconditional.
12465 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12466 Likewise.
12467 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12468 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12469 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12470 Likewise.
12471
65513990
L
124722012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12473
12474 [BZ #14587]
12475 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12476 * config.make.in (have-cpp-asm-debuginfo): Removed.
12477 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12478 * configure: Regenerated.
12479
784761be
JM
124802012-09-14 Joseph Myers <joseph@codesourcery.com>
12481
12482 [BZ #5044]
12483 * stdio-common/printf_fp.c: Include <stdbool.h> and
12484 <rounding-mode.h>.
12485 (___printf_fp): Determine rounding using get_rounding_mode and
12486 round_away.
12487 * stdio-common/tst-printf-round.c: New file.
12488 * stdio-common/Makefile (tests): Add tst-printf-round.
12489 (link-libm): New variable.
12490 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12491
9503345f
L
124922012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12493
12494 [BZ #14576]
12495 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12496 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12497 Likewise.
12498 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12499 Likewise.
12500
ad35fc00
JM
125012012-09-13 Joseph Myers <joseph@codesourcery.com>
12502
12503 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12504 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12505 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12506 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12507
6c9b0f68
JM
125082012-09-12 Joseph Myers <joseph@codesourcery.com>
12509
12510 [BZ #14518]
12511 * include/rounding-mode.h: New file.
12512 * sysdeps/generic/get-rounding-mode.h: Likewise.
12513 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12514 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12515 (MAX_VALUE): New macro.
12516 (MIN_VALUE): Likewise.
12517 (overflow_value): New function.
12518 (underflow_value): Likewise.
12519 (round_and_return): Use overflow_value and underflow_value to
12520 determine return values in overflow and underflow cases. Use
12521 round_away to determine rounding depending on rounding mode.
12522 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12523 determine return values in overflow and underflow cases.
12524 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12525 (struct test_results): New structure.
12526 (struct test): Use struct test_results to store expected results
12527 for all rounding modes.
12528 (TEST): Include expected results for all rounding modes.
12529 (test_in_one_mode): New function.
12530 (do_test): Use test_in_one_mode to compute and check results.
12531 Check results for all rounding modes.
12532 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12533 $(link-libm).
12534
19fcedd5
AM
125352012-12-09 Allan McRae <allan@archlinux.org>
12536
1e9d84cd 12537 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12538
8bbfd2f1
JM
125392012-09-11 Joseph Myers <joseph@codesourcery.com>
12540
12541 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12542 (_G_int32_t): Likewise.
12543 (_G_uint16_t): Likewise.
12544 (_G_uint32_t): Likewise.
12545 (_G_HAVE_BOOL): Likewise.
12546 (_G_HAVE_ATEXIT): Likewise.
12547 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12548 (_G_HAVE_IO_FILE_OPEN): Likewise.
12549 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12550 (_G_int32_t): Likewise.
12551 (_G_uint16_t): Likewise.
12552 (_G_uint32_t): Likewise.
12553 (_G_HAVE_BOOL): Likewise.
12554 (_G_HAVE_ATEXIT): Likewise.
12555 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12556 (_G_HAVE_IO_FILE_OPEN): Likewise.
12557 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12558 (_G_int32_t): Likewise.
12559 (_G_uint16_t): Likewise.
12560 (_G_uint32_t): Likewise.
12561 (_G_HAVE_BOOL): Likewise.
12562 (_G_HAVE_ATEXIT): Likewise.
12563 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12564 (_G_HAVE_IO_FILE_OPEN): Likewise.
12565
b1dc5912
L
125662012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12567
12568 * csu/libc-tls.c: Update copyright years.
12569
0e886ef9
JM
125702012-09-10 Joseph Myers <joseph@codesourcery.com>
12571
28361c5e
JM
12572 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12573 [!_G_USING_THUNKS]: Remove conditional code.
12574 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12575 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12576
0e886ef9
JM
12577 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12578 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12579 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12580 (_G_VTABLE_LABEL_PREFIX): Likewise.
12581 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12582 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12583 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12584 (_G_VTABLE_LABEL_PREFIX): Likewise.
12585 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12586 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12587 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12588 (_G_VTABLE_LABEL_PREFIX): Likewise.
12589 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12590
bcba7aa2
L
125912012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12592
12593 * libio/Makefile: Include ../Makeconfig before tests.
12594 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12595 only if $(build-shared) is yes.
12596
06585ee8
L
12597 * iconv/gconv_db.c: Update copyright years.
12598
80ccd52c
LD
125992012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12600
12601 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12602 unwind info if defined PIC. Fix special cases description.
12603 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12604
12605 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12606 DP_HI_MASK entry.
12607 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12608
691bc9c1
L
126092012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12610
3d9b46b3
L
12611 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12612
de2139a9
L
12613 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12614 is NULL.
12615
5ca78dd0
L
12616 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12617 (LDLIBS-tst-chk4): This.
12618 (LDFLAGS-tst-chk5): Renamed to ...
12619 (LDLIBS-tst-chk5): This.
12620 (LDFLAGS-tst-chk6): Renamed to ...
12621 (LDLIBS-tst-chk6): This.
12622 (LDFLAGS-tst-lfschk4): Renamed to ...
12623 (LDLIBS-tst-lfschk4): This.
12624 (LDFLAGS-tst-lfschk5): Renamed to ...
12625 (LDLIBS-tst-lfschk5): This.
12626 (LDFLAGS-tst-lfschk6): Renamed to ...
12627 (LDLIBS-tst-lfschk6): This.
12628
691bc9c1
L
12629 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12630 on $(common-objpfx)soversions.mk.
12631
65cafb1c
JM
126322012-09-07 Joseph Myers <joseph@codesourcery.com>
12633
12634 [BZ #10014]
12635 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12636 example host name.
12637
c78ab094
SP
126382012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12639
12640 * malloc/arena.c (arena_get_retry): New function that gets
12641 another arena for the caller to try its request on.
12642 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12643 current arena cannot fulfill the request.
12644 (__libc_memalign): Likewise.
12645 (__libc_memalign): Likewise.
12646 (__libc_pvalloc): Likewise.
12647 (__libc_calloc): Likewise.
12648
01f49f59
JT
126492012-09-05 John Tobey <john.tobey@gmail.com>
12650
12651 [BZ #13542]
12652 * manual/arith.texi (Operations on Complex): Fix description
12653 of carg branch cut.
12654
4c23fed5
JM
126552012-09-06 Joseph Myers <joseph@codesourcery.com>
12656
1d3c8572
JM
12657 [BZ #10014]
12658 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12659 host name.
12660
4c23fed5
JM
12661 [BZ #10038]
12662 * manual/memory.texi (Memory): Make order of menu items match
12663 order of sections.
12664
04570aaa
L
126652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12666
12667 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12668 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12669 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12670
b80af2f4
L
126712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12672
12673 * csu/libc-tls.c (static_dtv): Renamed to ...
12674 (_dl_static_dtv): This. Make it global.
12675 (_dl_initial_dtv): Removed.
12676 (__libc_setup_tls): Updated.
12677 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12678 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12679 DL_INITIAL_DTV.
12680
2abe9f15
PM
126812012-09-06 Petr Machata <pmachata@redhat.com>
12682
12683 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12684 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12685 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12686 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12687
0948c3af
L
126882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 [BZ #14545]
12691 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12692 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12693 freeing dtv[-1].
12694
a5055ad1
L
126952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12696
12697 [BZ #14544]
12698 * Makeconfig (link-static-before-libc): Replace $(+prector)
12699 with $(+prectorT).
12700 (link-static-after-libc): Replace $(+postctor) with
12701 $(+postctorT).
12702 (link-bounded): Replace $(+prector)/$(+postctor) with
12703 $(+prectorT)/$(+postctorT).
12704 (+prectorT): New macro.
12705 (+postctorT): Likewise.
12706
ed8c2ecd
JM
127072012-09-06 Joseph Myers <joseph@codesourcery.com>
12708
12709 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12710 (round_str): Handle values above the maximum for IBM long double
12711 as inexact.
12712 * stdlib/tst-strtod-round.c (tests): Regenerated.
12713
14c996c8
AK
127142012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12715
12716 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12717 assembler flag.
12718 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12719 zarch_nohighgprs around the zarch optimized routines.
12720 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12721 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12722 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12723 for zarch.
12724
430d6ce6
DM
127252012-09-05 David S. Miller <davem@davemloft.net>
12726
12727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12728
ff04dda4
DM
12729 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12730 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12731 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12732 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12733 entries.
12734
24d4e01b
AO
127352012-09-05 Alexandre Oliva <aoliva@redhat.com>
12736
12737 * malloc/arena.c: Fold copyright years.
12738 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12739
61d58174
AO
127402012-09-05 Alexandre Oliva <aoliva@redhat.com>
12741
12742 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12743
20196a5e
AO
127442012-09-05 Alexandre Oliva <aoliva@redhat.com>
12745
12746 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12747
5c447383
AO
127482012-09-05 Alexandre Oliva <aoliva@redhat.com>
12749
12750 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12751 change internal state upon failure.
12752
fad64255
AO
127532012-09-05 Alexandre Oliva <aoliva@redhat.com>
12754
12755 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12756 * malloc/memusage.c (mmap): Likewise.
12757 (mmap64, mremap): Likewise. Adjust name in comment.
12758
1ffb8c90
SP
127592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12760
12761 * libio/fileops.c: Fix typos in comments.
12762 * libio/oldfileops.c: Likewise.
12763 * libio/wfileops.c: Likewise.
12764
6ef9cc37
SP
127652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12766
12767 [BZ #1349]
12768 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12769 (tst-malloc-usable-ENV): Set environment for test case.
12770 * malloc/hooks.c (malloc_check_get_size): New function to get
12771 requested size.
12772 * malloc/malloc.c (musable): Use malloc_check_get_size.
12773 * malloc/tst-malloc-usable.c: New test case.
12774
4d038ae3
AS
127752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12776
12777 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12778
c4e85184
AM
127792012-09-05 Allan McRae <allan@archlinux.org>
12780
b9dafc56 12781 [BZ #13966]
c4e85184
AM
12782 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12783 determine header location.
12784 * configure: Regenerated.
12785
e1343020
AS
127862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12787
12788 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12789 float format.
12790 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12791 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12792 format.
e1343020
AS
12793 (test): Regenerate.
12794
0a9f1987
DM
127952012-09-04 David S. Miller <davem@davemloft.net>
12796
12797 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12798 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12799 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12800
29237804
FW
128012012-09-04 Florian Weimer <fweimer@redhat.com>
12802
12803 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12804 failures.
12805
edb3cb88
FW
12806 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12807
60160d83
JM
128082012-09-04 Joseph Myers <joseph@codesourcery.com>
12809
12810 [BZ #9914]
12811 * libio/iogetdelim.c: Include <limits.h>.
12812 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12813 + len + 1 would overflow.
12814
bcd6c8dc
AJ
128152012-09-03 Andreas Jaeger <aj@suse.de>
12816
12817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12818 * sysdeps/i386/fpu/libm-test-ulps: Update.
12819
4ffffbd2
LD
128202012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12821
12822 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12823 Add s_sinf-sse2, s_conf-sse2.
12824
12825 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12826 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12827 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12828 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12829
12830 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12831 for using routine as __sinf_ia32.
12832 Use macro for function declaration and weak_alias.
12833 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12834 for using routine as __cosf_ia32.
12835 Use macro for function declaration and weak_alias.
12836
12837 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12838 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12839
12840 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12841 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12843
12844 * math/libm-test.inc (cos_test): Add more test cases.
12845 (sin_test): Likewise.
12846 (sincos_test): Likewise.
12847
511fa286
AK
128482012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12849
12850 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12851 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12852 hidden.
12853 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12854
5f30cfec
L
128552012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12856
12857 [BZ #14538]
12858 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12859 first element of the GOT.
12860 (elf_machine_load_address): Return the difference between
12861 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12862
0786794f
AM
128632012-09-01 Allan McRae <allan@archlinux.org>
12864
5f30cfec
L
12865 [BZ #13412]
12866 * configure.in (AWK): Require gawk version 3.0 or later.
12867 * configure: Regenerated.
0786794f 12868
26889eac
JM
128692012-09-01 Joseph Myers <joseph@codesourcery.com>
12870
12871 * sysdeps/unix/sysv/linux/kernel-features.h
12872 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12874 [__NR_clock_getres]: Make code unconditional.
12875 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12876 (clock_getcpuclockid): Remove code left unreachable by removal of
12877 conditionals.
12878 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12879 code unconditional.
12880 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12881 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12882 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12883 Make code unconditional.
12884 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12885 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12886 * sysdeps/unix/sysv/linux/clock_settime.c
12887 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12888 conditional code.
12889 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12890 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12891
d22e28b0
L
128922012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12893
12894 [BZ #14476]
12895 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12896 scripts/test-installation.pl.
12897
12898 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12899 and $ld_so_version if it is set.
12900
050af9c4
SP
129012012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12902
12903 [BZ #14516]
12904 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12905 failure if reading from procfs failed.
12906 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12907
ad845c0b
JM
129082012-08-27 Joseph Myers <joseph@codesourcery.com>
12909
12910 * sysdeps/unix/sysv/linux/kernel-features.h
12911 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12912 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12913 Remove conditional code.
12914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12915 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12916 Remove conditional code.
12917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12918 * sysdeps/unix/sysv/linux/i386/fxstat.c
12919 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12921 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12922 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12924 * sysdeps/unix/sysv/linux/i386/lxstat.c
12925 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12927 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12928 Remove conditional code.
12929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12930 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12931 Remove conditional code.
12932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12933 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12934 <kernel-features.h>.
12935 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12936 Remove.
12937 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12938 Remove conditional code.
12939 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12940 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12941 Remove conditional.
12942
5dbf56af
MF
129432012-08-27 Mike Frysinger <vapier@gentoo.org>
12944
12945 [BZ #5400]
12946 * NEWS: Add fixed bug number.
12947
d6e70f43
JM
129482012-08-27 Joseph Myers <joseph@codesourcery.com>
12949
7efb4737
JM
12950 [BZ #14519]
12951 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12952 underflowing exponent in case of negative sign.
12953 * stdlib/tst-strtod-round-data: Add more tests.
12954 * stdlib/tst-strtod-round.c (tests): Regenerated.
12955
af92131a
JM
12956 [BZ #3479]
12957 * stdlib/strtod_l.c (NDIG): Remove.
12958 (HEXNDIG): Likewise.
12959 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12960 smallest representable value.
12961 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12962 lie within an exact representation of 1/2 ulp of the result.
12963 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12964 unconditionally.
12965 (TENS_P9_IDX): Define unconditionally.
12966 (TENS_P9_SIZE): Likewise.
12967 (TENS_P10_IDX): Likewise.
12968 (TENS_P10_SIZE): Likewise.
12969 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12970 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12971 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12972 entries for 10^2^13 and 10^2^14.
12973 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12974 (TENS_P13_IDX): Define.
12975 (TENS_P13_SIZE): Likewise.
12976 (TENS_P14_IDX): Likewise.
12977 (TENS_P14_SIZE): Likewise.
12978 (_fpioconst_pow10): Change array size to
12979 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12980 unconditional.
12981 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12982 1024]: Add entries for 10^2^13 and 10^2^14.
12983 [LAST_POW10 > _LAST_POW10]: Remove #error.
12984 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12985 (_fpioconst_pow10): Change array size to
12986 FPIOCONST_POW10_ARRAY_SIZE.
12987 * stdlib/gen-fpioconst.c: New file.
12988 * stdlib/gen-tst-strtod-round.c: Likewise.
12989 * stdlib/tst-strtod-round-data: Likewise.
12990 * stdlib/tst-strtod-round.c: Likewise.
12991 * stdlib/Makefile (tests): Add tst-strtod-round.
12992
d6e70f43
JM
12993 [BZ #14459]
12994 * stdlib/strtod_l.c: Include <stdint.h>.
12995 (NDEBUG): Do not define.
12996 (round_and_return): Change EXPONENT parameter to type intmax_t.
12997 Rearrange calculations to avoid internal overflow possibilities.
12998 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12999 Rearrange calculations to avoid internal overflow possibilities.
13000 Assert that number fits inside MPNSIZE limbs.
13001 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13002 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13003 calculations and add assertions to avoid internal overflow
13004 possibilities. Add casts to avoid signed/unsigned operations.
13005 * stdlib/tst-strtod-overflow.c: New file.
13006 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13007
1f529f7d
MP
130082012-08-25 Marek Polacek <polacek@redhat.com>
13009
13010 * time/time.h: Fix some typos in comments.
13011
59a629f1
RM
130122012-08-23 Roland McGrath <roland@hack.frob.com>
13013
13014 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13015 * posix/tst-rfc3484-2.c: Likewise.
13016 * posix/tst-rfc3484-3.c: Likewise.
13017
d3bafbc9
SM
130182012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13019
13020 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13021 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13022
4efcc022
JM
130232012-08-23 Joseph Myers <joseph@codesourcery.com>
13024
13025 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13026 #include of fxstatat64.c.
13027
3cc3ef96
RM
130282012-08-22 Roland McGrath <roland@hack.frob.com>
13029
f04e2132
RM
13030 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13031 * shadow/getspent_r.c: Likewise.
13032 * shadow/getspnam.c: Likewise.
13033 * shadow/getspnam_r.c: Likewise.
13034 * gshadow/getsgent.c: Likewise.
13035 * gshadow/getsgent_r.c: Likewise.
13036 * gshadow/getsgnam.c: Likewise.
13037 * gshadow/getsgnam_r.c: Likewise.
13038 * inet/getnetbyad.c: Likewise.
13039 * inet/getnetbyad_r.c: Likewise.
13040 * inet/getnetbynm.c: Likewise.
13041 * inet/getnetbynm_r.c: Likewise.
13042 * inet/getnetent.c: Likewise.
13043 * inet/getnetent_r.c: Likewise.
13044 * inet/getproto.c: Likewise.
13045 * inet/getproto_r.c: Likewise.
13046 * inet/getprtent.c: Likewise.
13047 * inet/getprtent_r.c: Likewise.
13048 * inet/getprtname.c: Likewise.
13049 * inet/getprtname_r.c: Likewise.
13050 * inet/getrpcbyname.c: Likewise.
13051 * inet/getrpcbyname_r.c: Likewise.
13052 * inet/getrpcbynumber.c: Likewise.
13053 * inet/getrpcbynumber_r.c: Likewise.
13054 * inet/getrpcent.c: Likewise.
13055 * inet/getrpcent_r.c: Likewise.
13056 * inet/getaliasent.c: Likewise.
13057 * inet/getaliasent_r.c: Likewise.
13058 * inet/getaliasname.c: Likewise.
13059 * inet/getaliasname_r.c: Likewise.
13060 * nscd/getgrgid_r.c: Likewise.
13061 * nscd/getgrnam_r.c: Likewise.
13062 * nscd/gethstbyad_r.c: Likewise.
13063 * nscd/gethstbynm3_r.c: Likewise.
13064 * nscd/getpwnam_r.c: Likewise.
13065 * nscd/getpwuid_r.c: Likewise.
13066 * nscd/getsrvbynm_r.c: Likewise.
13067 * nscd/getsrvbypt_r.c: Likewise.
13068 * nscd/gai.c: Likewise.
13069
c53d909c
RM
13070 * configure.in (build_nscd): New substituted variable, set
13071 by --disable-build-nscd and defaults to $use_nscd.
13072 * configure: Regenerated.
13073 * config.make.in (build-nscd): New substituted variable.
13074 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13075 Change conditional to require [$(build-nscd) = yes] as well.
13076 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13077
3cc3ef96
RM
13078 [BZ# 13696]
13079 * configure.in (use_nscd): New substituted variable, set by
13080 --disable-nscd. If enabled, define USE_NSCD.
13081 * configure: Regenerated.
13082 * config.h.in: Add USE_NSCD.
13083 * config.make.in (use-nscd): New substituted variable.
13084 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13085 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13086 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13087 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13088 (CFLAGS-getgrnam_r.c): Likewise.
13089 (CFLAGS-initgroups.c): Likewise.
13090 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13091 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13092 Variables removed.
13093 * inet/getnetgrent_r.c
13094 (nscd_setnetgrent): New function, broken out of ...
13095 (setnetgrent): ... here. Call it.
13096 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13097 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13098 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13099 * nscd/Makefile (routines, aux): Move definitions after include of
13100 Makeconfig. Conditionalize on [$(use-nscd) != no].
13101 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13102 Conditionalize on [USE_NSCD].
13103 (is_nscd, nscd_init_cb): Likewise.
13104 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13105 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13106 * nss/nss_db/db-init.c: Likewise.
13107 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13108 [USE_NSCD].
13109 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13110 (make_request): Use it.
13111 (cache_valid_p): New function.
13112 (__check_pf): Use it.
13113 * NEWS: Add item for --disable-nscd.
13114
07e51550
DL
131152012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13116
13117 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13118 to support sed >= 4.2.1-20-ga9bf076.
13119 * configure: Regenerated.
13120
35a5b08b
RM
131212012-08-22 Roland McGrath <roland@hack.frob.com>
13122
13123 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13124 Conditionalize whole body on [IREL].
13125
8479f23a
JL
131262012-08-22 Jeff Law <law@redhat.com>
13127
13128 [BZ #14505]
13129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13130 if the family is PF_UNSPEC.
13131
48da0b21
MF
131322012-08-22 Mike Frysinger <vapier@gentoo.org>
13133
13134 * Makerules (lib-version): Rename from V.
13135 (install-lib-nosubdir): Change V to lib-version.
13136
15d0da8c
WS
131372012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13138
13139 [BZ #14252]
13140 * powerpc32/power6/wcschr.c: New file.
13141 * powerpc32/power6/wcscpy.c: New file.
13142 * powerpc32/power6/wcsrchr.c: New file.
13143 * powerpc64/power6/wcschr.c: New file.
13144 * powerpc64/power6/wcscpy.c: New file.
13145 * powerpc64/power6/wcsrchr.c: New file.
13146
bcca0895
MK
131472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13148
13149 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13150 (two_way_short_needle): Use it.
5a4aaa33
RM
13151 * string/strstr.c (AVAILABLE1_USES_J): Define.
13152 * string/strcasestr.c: Likewise.
99677e57
MK
13153
13154 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13155 array references.
13156 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13157
400726de
MK
13158 [BZ #11607]
13159 * NEWS: Add an entry.
13160 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13161 define their defaults.
13162 (two_way_short_needle): Detect end-of-string on-the-fly.
13163 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13164 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13165 * string/bug-strcasestr1.c: New test.
13166 * string/Makefile: Run it.
13167
20a71f2c
MK
131682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13169
13170 [BZ #11607]
13171 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13172 the first character.
13173
21ad0558
RM
131742012-08-21 Roland McGrath <roland@hack.frob.com>
13175
13176 * csu/elf-init.c (__libc_csu_irel): Function removed.
13177 * csu/libc-start.c (apply_irel): New function.
13178 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13179
0e1d9911
JM
131802012-08-21 Joseph Myers <joseph@codesourcery.com>
13181
13182 * sysdeps/unix/sysv/linux/kernel-features.h
13183 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13184 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13185 <kernel-features.h>.
13186 [__NR_fadvise64_64]: Make code unconditional.
13187 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13188 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13189 !__NR_fadvise64_64)]: Likewise.
13190 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13191 !__NR_fadvise64_64))]: Likewise.
13192 [__NR_fadvise64]: Make code unconditional.
13193 [!__NR_fadvise64]: Remove conditional code.
13194 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13195 <kernel-features.h>.
13196 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13197 unconditional.
13198 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13199 conditional code.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13201 not include <kernel-features.h>.
13202 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13203 unconditional.
13204 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13205 conditional code.
13206 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13207 include <kernel-features.h>.
13208 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13209 unconditional.
13210 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13211 conditional code.
13212
14a50c9d
WS
132132012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13214
13215 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13216 slight instruction rearrangements per scrollpipe analysis.
13217 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13218
c0f4faf0
RM
132192012-08-20 Roland McGrath <roland@hack.frob.com>
13220
696da859
RM
13221 * manual/syslog.texi (syslog; vsyslog, closelog):
13222 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13223 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13224
c0f4faf0
RM
13225 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13226 DSOCAPS to match condition on defining it.
13227
348363b2
JM
132282012-08-20 Joseph Myers <joseph@codesourcery.com>
13229
a35cbf28
JM
13230 * sysdeps/unix/sysv/linux/kernel-features.h
13231 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13233 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13234 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13236 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13237 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13239 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13240 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13241
445f7ecd
JM
13242 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13243 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13244
348363b2
JM
13245 * sysdeps/unix/sysv/linux/kernel-features.h
13246 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13247 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13248 unconditional.
13249 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13250 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13251 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13252 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13253 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13254 Make code unconditional.
13255 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13256 (__mmap64) [!__NR_mmap2]: Likewise.
13257 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13258 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13259 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13260 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13261 [__NR_mmap2]: Make code unconditional.
13262 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13263 (__mmap64) [!__NR_mmap2]: Likewise.
13264
bc5bc0e5
AK
132652012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13266
13267 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13268
88d506de
AJ
132692012-08-18 Andreas Jaeger <aj@suse.de>
13270
13271 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13272
493387d2
MF
132732012-08-18 Mike Frysinger <vapier@gentoo.org>
13274
13275 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13276 * include/unistd.h (__have_sock_cloexec): Likewise.
13277 (__have_pipe2): Likewise.
13278 (__have_dup3): Likewise.
13279
a277af22
MF
132802012-08-18 Mike Frysinger <vapier@gentoo.org>
13281
13282 [BZ #9685]
13283 * include/unistd.h (__have_pipe2): Change define into an extern int.
13284 (__have_dup3): Likewise.
13285 * socket/have_sock_cloexec.c: Include fcntl.h.
13286 (__have_pipe2): New variable.
13287 (__have_dup3): Likewise.
13288
fdab8fd3
MF
132892012-08-17 Mike Frysinger <vapier@gentoo.org>
13290
13291 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13292
31035e80
MP
132932012-08-17 Marek Polacek <polacek@redhat.com>
13294
13295 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13296 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13297
3bd9e993
RM
132982012-08-17 Roland McGrath <roland@hack.frob.com>
13299
c91c505f
RM
13300 * configure.in: Add AC_SUBST for sysheaders.
13301 * configure: Regenerated.
13302 * config.make.in (sysheaders): New substituted variable.
13303
7c6f9d53
RM
13304 * sysdeps/unix/mkfifo.c: Moved ...
13305 * sysdeps/posix/mkfifo.c: ... here.
13306 * sysdeps/unix/mkfifoat.c: Moved ...
13307 * sysdeps/posix/mkfifoat.c: ... here.
13308
13309 * sysdeps/unix/utime.c: Moved ...
13310 * sysdeps/posix/utime.c: ... here.
13311
13312 * sysdeps/unix/time.c: Moved ...
13313 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13314 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13315 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13316
13317 * sysdeps/unix/nice.c: Moved ...
13318 * sysdeps/posix/nice.c: ... here.
13319
13320 * sysdeps/unix/alarm.c: Moved ...
13321 * sysdeps/posix/alarm.c: ... here.
13322
3bd9e993
RM
13323 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13324
d1f09384
JL
133252012-08-17 Jeff Law <law@redhat.com>
13326
13327 * intl/Makefile (codeset_mo): New variable.
13328 ($(codeset_mo)): New target.
13329 (tst-codeset.out): Depend on that. Remove explicit rule.
13330 (tst-gettext3.out, tst-gettext5.out): Likewise.
13331 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13332 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13333 * intl/tst-codeset.sh: Remove.
13334 * intl/tst-gettext3.sh: Likewise.
13335 * intl/tst-gettext5.sh: Likewise.
13336
2ae1ae5c
RM
133372012-08-17 Roland McGrath <roland@hack.frob.com>
13338
c31fdb83
RM
13339 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13340 * sysdeps/unix/syscalls.list: ... here.
13341
a0844057
RM
13342 * sysdeps/posix/getaddrinfo.c
13343 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13344 (gaiconf_init, gaiconf_reload): Use them.
13345 [!_STATBUF_ST_NSEC]
13346 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13347 Define using time_t rather than struct timespec.
13348
750c1f2a
RM
13349 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13350 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13351 Macros removed.
13352 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13353 [!NO_THREADS].
13354 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13355 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13356 Likewise.
13357
2ae1ae5c
RM
13358 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13359 __libc_cleanup_push argument.
13360
e66a42f5
RM
13361 * bits/param.h: New file.
13362 * misc/sys/param.h: New file.
13363 * include/sys/param.h: New file.
13364 * misc/Makefile (headers): Add bits/param.h.
13365 * sysdeps/generic/sys/param.h: File removed.
13366 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13367 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13368 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13369 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13370
b7c08a66
RM
13371 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13372 last change.
13373
b2e1c562
RM
13374 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13375 [_IO_MTSAFE_IO].
13376 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13377 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13378 New macros.
13379
c75ccd4c
RM
13380 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13381 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13382 rather than -D_IO_MTSAFE_IO conditionally.
13383 * stdio-common/Makefile (CPPFLAGS): Likewise.
13384 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13385 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13386 Use $(libio-mtsafe).
13387 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13388 of -D_IO_MTSAFE_IO.
13389 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13390 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13391 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13392 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13393 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13394 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13395 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13396 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13397 (CFLAGS-fread_u_chk.c): Likewise.
13398 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13399 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13400 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13401 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13402 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13403 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13404 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13405 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13406 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13407
13408 * libio/Makefile: Test [$(libc-reentrant) = yes]
13409 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13410
13411 * Makeconfig
13412 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13413 * sysdeps/pthread/configure: File removed.
13414 * sysdeps/pthread/Makeconfig: New file.
13415 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13416 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13417
d9195db8
GB
134182012-08-16 Gary Benson <gbenson@redhat.com>
13419
13420 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13421 unmapping the first object in a namespace.
13422
86466cd9
RM
134232012-08-16 Roland McGrath <roland@hack.frob.com>
13424
13425 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13426 (__internal_setnetgrent): ... this. Add internal_function to
13427 definition. Add libc_hidden_def.
13428 (setnetgrent): Update caller.
13429 (internal_endnetgrent): Renamed to ...
13430 (__internal_endnetgrent): ... this. Add internal_function to
13431 definition. Add libc_hidden_def.
13432 (endnetgrent): Update caller.
13433 (internal_getnetgrent_r): Renamed to ...
13434 (__internal_getnetgrent_r): ... this. Add internal_function to
13435 definition. Add libc_hidden_def.
13436 (__getnetgrent_r): Update caller.
13437 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13438
c3c8283c
JM
134392012-08-16 Joseph Myers <joseph@codesourcery.com>
13440
13441 * stdlib/longlong.h: Update from GCC.
13442
db1ee0a8
RM
134432012-08-16 Roland McGrath <roland@hack.frob.com>
13444
13445 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13446 on _QL, which is set by umul_ppmm but never used.
13447 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13448 variables, which are set by GMP macros but never used.
13449 * stdio-common/_itowa.c (_itowa): Likewise.
13450 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13451 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13452
30f69637
CD
134532012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13454
13455 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13456 struct La_sh_regs is not constant.
13457 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13458 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13459 and struct La_sparc64_regs are not constant.
13460
93a78ac4
JM
134612012-08-16 Joseph Myers <joseph@codesourcery.com>
13462
13463 * sysdeps/unix/sysv/linux/kernel-features.h
13464 (__ASSUME_POSIX_TIMERS): Remove.
13465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13467 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13468 Make code unconditional.
13469 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13470 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13471 Make code unconditional.
13472 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13473 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13474 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13476 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13477 Make code unconditional.
13478 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13479 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13480 (__libc_missing_posix_timers): Remove.
13481
dd924cd7
RM
134822012-08-15 Roland McGrath <roland@hack.frob.com>
13483
4b4f2771
RM
13484 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13485 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13486
601c888b
RM
13487 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13488
176790a7
RM
13489 * elf/dl-sym.c: Include <stdlib.h>.
13490
329bc018
RM
13491 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13492 constants, which avoids warnings in 32-bit builds.
13493
e04e272d
RM
13494 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13495 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13496
952bf94a
RM
13497 * misc/lseek.c: File moved to ...
13498 * io/lseek.c: ... here.
13499
7c99b50a
RM
13500 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13501
dd924cd7
RM
13502 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13503 shifting LEN more than 31 bits at once.
13504
b3f479a8
LD
135052012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13506
13507 [BZ #14195]
8c4ae0d4
RM
13508 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13509 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13510 * string/test-strncasecmp.c (check1): Renamed to...
13511 (bz12205): ...this.
13512 (bz14195): Add new testcase for two empty input strings and N > 0.
13513 (test_main): Call new testcase, adapt for renamed function.
13514
9c55864e
AJ
135152012-08-15 Andreas Jaeger <aj@suse.de>
13516
13517 [BZ #14090]
13518 * crypt/md5test2.c: New test, based on test supplied by Serge
13519 Belyshev <belyshev@depni.sinp.msu.ru>.
13520 * crypt/Makefile (xtests): Add md5test-giant..
13521 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13522
02dcb6c5
PE
135232012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13524
13525 [BZ #14090]
13526 * crypt/md5.c (md5_process_block): Don't assume the buffer
13527 length is less than 2**32.
13528 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13529 length is less than 2**64.
13530
a3f95dcc
RM
135312012-08-15 Roland McGrath <roland@hack.frob.com>
13532
be75d758
RM
13533 * string/str-two-way.h: Include <sys/param.h>.
13534 (MAX): Macro removed.
13535
7312ca90
RM
13536 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13537 Move #define and #undef of memmove to just before and after
13538 including <string.h>.
13539
9a0a5486
RM
13540 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13541 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13542 and after including <string.h>. Move declarations of
13543 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13544 to before #include "string/memmove.c".
13545
67cc348d
RM
13546 * include/dirent.h: Declare __getdirentries.
13547
a3f95dcc
RM
13548 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13549 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13550
ca98e171
MF
135512012-08-14 Mike Frysinger <vapier@gentoo.org>
13552
13553 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13554 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13555 * sysdeps/i386/configure: Regenerated.
13556 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13557 STABS_CURRENT_FILE, and STABS_FUN.
13558 (END): Remove call to STABS_FUN_END.
13559 (STABS_CURRENT_FILE1): Delete.
13560 (STABS_CURRENT_FILE): Likewise.
13561 (STABS_FUN): Likewise.
13562 (STABS_FUN_END): Likewise.
13563 (STABS_FUN2): Likewise.
13564 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13565 * sysdeps/x86_64/configure: Regenerated.
13566
5908bf46
RM
135672012-08-14 Roland McGrath <roland@hack.frob.com>
13568
13569 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13570 * elf/dl-lookup.c: Likewise.
5908bf46 13571
f2c05b9e
JM
135722012-08-14 Joseph Myers <joseph@codesourcery.com>
13573
13574 * sysdeps/unix/sysv/linux/kernel-features.h
13575 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13576 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13577 unconditionally.
13578 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13579 unconditionally.
13580 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13581 condition on __ASSUME_CLONE_THREAD_FLAGS.
13582
e11f5155
AJ
135832012-08-14 Andreas Jaeger <aj@suse.de>
13584
13585 * sysdeps/i386/fpu/libm-test-ulps: Update.
13586
51a9ba86
MK
135872012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13588
2fdd4f78
AJ
13589 * include/atomic.h (atomic_exchange_and_add): Split into ...
13590 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13591 New atomic macros.
51a9ba86 13592
ba6cba9e
MT
135932012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13594
13595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13596
42443a47
JL
135972012-08-13 Jeff Law <law@redhat.com>
13598
13599 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13600 null byte in the output string.
13601
121dce05
JM
136022012-08-10 Joseph Myers <joseph@codesourcery.com>
13603
13604 * sysdeps/unix/sysv/linux/kernel-features.h
13605 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13606 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13607 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13608 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13609 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13610 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13611 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13612
bf51f568
JL
136132012-08-09 Jeff Law <law@redhat.com>
13614
13615 [BZ #13939]
13616 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13617 When avoid_arena is set, don't retry in the that arena. Pick the
13618 next one, whatever it might be.
13619 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13620 (arena_lock): Pass in new parameter to arena_get2.
13621 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13622 arena_get2.
13623 (__libc_malloc): Unify retrying after main arena failure with
13624 __libc_memalign version.
13625 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13626
f85fa270
L
136272012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13628
13629 [BZ #14166]
13630 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13631 to __redirect_strstr.
13632 (__strstr_sse42): Use typeof __redirect_strstr.
13633 (__strstr_ia32): Likewise.
13634 (__libc_strstr): New prototype.
13635 (strstr): Renamed to ...
13636 (__libc_strstr): This.
13637 (strstr): New strong alias of __libc_strstr.
13638 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13639 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13640 __redirect_time.
13641 Include <time.h>.
13642 (__libc_time): New prototype.
13643 (time_ifunc): Replace time with __libc_time.
13644 (time): New strong alias and hidden definition of __libc_time.
13645 (__GI_time): Remove strong alias.
13646 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13647 Include <stddef.h>.
13648 (memmove): Redefined to __redirect_memmove.
13649 (__memmove_sse2): Use typeof __redirect_memmove.
13650 (__memmove_ssse3): Likewise.
13651 (__memmove_ssse3_back): Likewise.
13652 (__libc_memmove): New prototype.
13653 (memmove): Renamed to ...
13654 (__libc_memmove): This.
13655 (memmove): New strong alias of __libc_memmove.
13656
33b4a91e
MS
136572012-08-08 Mark Salter <msalter@redhat.com>
13658
13659 * elf/elf.h
13660 (R_MN10300_TLS_GD): Define.
13661 (R_MN10300_TLS_LD): Likewise.
13662 (R_MN10300_TLS_LDO): Likewise.
13663 (R_MN10300_TLS_GOTIE): Likewise.
13664 (R_MN10300_TLS_IE): Likewise.
13665 (R_MN10300_TLS_LE): Likewise.
13666 (R_MN10300_TLS_DTPMOD): Likewise.
13667 (R_MN10300_TLS_DTPOFF): Likewise.
13668 (R_MN10300_TLS_TPOFF): Likewise.
13669 (R_MN10300_SYM_DIFF): Likewise.
13670 (R_MN10300_ALIGN): Likewise.
13671 (R_MN10300_NUM): Update.
13672
b36137f1
JM
136732012-08-08 Joseph Myers <joseph@codesourcery.com>
13674
13675 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13676 Remove.
13677
cdd915fd
RM
136782012-08-08 Roland McGrath <roland@hack.frob.com>
13679
a2433aac
RM
13680 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13681
cdd915fd
RM
13682 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13683 sysdeps/unix -> sysdeps/posix move.
13684 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13685
bf9b740a
AM
136862012-08-07 Allan McRae <allan@archlinux.org>
13687
13688 [BZ #14303]
13689 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13690 (SUNOS_CPP): Likewise.
13691 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13692 not found.
13693 (open_input): Call CPP using execvp.
13694
93df14ee
JM
136952012-08-07 Joseph Myers <joseph@codesourcery.com>
13696
13697 * sysdeps/unix/sysv/linux/kernel-features.h
13698 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13699 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13700 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13701 (__ASSUME_WAITID_SYSCALL): Likewise.
13702 * sysdeps/unix/sysv/linux/dl-execstack.c
13703 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13704 code unconditional.
13705 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13706 conditional code.
13707 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13708 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13709 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13710 code.
13711 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13712 unconditional.
13713 [__ASSUME_WAITID_SYSCALL]: Likewise.
13714 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13715
d34689de
RM
137162012-08-07 Roland McGrath <roland@hack.frob.com>
13717
a281decc
RM
13718 * sysdeps/unix/closedir.c: Renamed to ...
13719 * sysdeps/posix/closedir.c: ... here.
13720 * sysdeps/unix/dirfd.c: Renamed to ...
13721 * sysdeps/posix/dirfd.c: ... here.
13722 * sysdeps/unix/dirstream.h: Renamed to ...
13723 * sysdeps/posix/dirstream.h: ... here.
13724 * sysdeps/unix/fdopendir.c: Renamed to ...
13725 * sysdeps/posix/fdopendir.c: ... here.
13726 * sysdeps/unix/opendir.c: Renamed to ...
13727 * sysdeps/posix/opendir.c: ... here.
13728 * sysdeps/unix/readdir.c: Renamed to ...
13729 * sysdeps/posix/readdir.c: ... here.
13730 * sysdeps/unix/readdir_r.c: Renamed to ...
13731 * sysdeps/posix/readdir_r.c: ... here.
13732 * sysdeps/unix/rewinddir.c: Renamed to ...
13733 * sysdeps/posix/rewinddir.c: ... here.
13734 * sysdeps/unix/seekdir.c: Renamed to ...
13735 * sysdeps/posix/seekdir.c: ... here.
13736 * sysdeps/unix/telldir.c: Renamed to ...
13737 * sysdeps/posix/telldir.c: ... here.
13738 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13739 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13740 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13741 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13742
22895b47
RM
13743 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13744 * bits/fcntl.h: ... here.
13745
707a53b6
RM
13746 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13747 not 0.
13748 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13749 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13750 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13751 (struct flock): Move l_start, l_len to the beginning.
13752 Use __pid_t for l_pid.
13753 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13754 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13755 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13756 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13757 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13758 [__USE_LARGEFILE64] (struct flock64): New type.
13759 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13760
f0bd3e25
RM
13761 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13762 * bits/dirent.h: ... here.
13763
d34689de
RM
13764 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13765 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13766
6dad2c06
JM
137672012-08-07 Joseph Myers <joseph@codesourcery.com>
13768
13769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13770 Change from 2.6.0 to 2.6.16.
13771 * sysdeps/unix/sysv/linux/configure: Regenerated.
13772 * sysdeps/unix/sysv/linux/kernel-features.h
13773 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13774 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13775 version.
13776 (__ASSUME_UTIMES): Likewise.
13777 (__ASSUME_CLONE_STOPPED): Remove.
13778 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13779 architectures, not kernel version.
13780 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13781 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13782 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13783 (__ASSUME_WAITID_SYSCALL): Likewise.
13784 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13785 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13786 * README: State 2.6.16 as minimum Linux kernel version. Do not
13787 refer to older versions.
13788
03af9520
RM
137892012-08-06 Roland McGrath <roland@hack.frob.com>
13790
8e49df1d
RM
13791 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13792 Define alphasort64 as an alias.
13793 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13794 Define versionsort64 as an alias.
13795 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13796 Define scandir64 as an alias.
13797 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13798 Define scandirat64 as an alias.
13799 * dirent/alphasort64.c (alphasort64):
13800 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13801 * dirent/versionsort64.c: Likewise.
13802 * dirent/scandir64.c: Likewise.
13803 * dirent/scandirat64.c: Likewise.
13804 * sysdeps/wordsize-64/alphasort.c: File removed.
13805 * sysdeps/wordsize-64/alphasort64.c: File removed.
13806 * sysdeps/wordsize-64/scandir.c: File removed.
13807 * sysdeps/wordsize-64/scandir64.c: File removed.
13808 * sysdeps/wordsize-64/scandirat.c: File removed.
13809 * sysdeps/wordsize-64/scandirat64.c: File removed.
13810 * sysdeps/wordsize-64/versionsort.c: File removed.
13811 * sysdeps/wordsize-64/versionsort64.c: File removed.
13812 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13813 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13818 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13819 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13820
13821 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13823 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13825 [defined __arch64__ || defined __sparcv9]
13826 (__INO_T_MATCHES_INO64_T): New macro.
13827 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13828 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13829 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13830 * sysdeps/unix/sysv/linux/bits/dirent.h
13831 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13832 (_DIRENT_MATCHES_DIRENT64): New macro.
13833
03af9520
RM
13834 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13835 Define lockf64 as an alias.
13836 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13837 Define fseeko64 as an alias.
13838 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13839 Define ftello64 as an alias.
13840 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13841 Define _IO_fgetpos64 and fgetpos64 as aliases.
13842 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13843 Define _IO_fsetpos64 and fsetpos64 as aliases.
13844 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13845 Conditionalize body on this.
13846 * libio/fseeko64.c: Likewise.
13847 * libio/ftello64.c: Likewise.
13848 * libio/iofgetpos64.c: Likewise.
13849 * libio/iofsetpos64.c: Likewise.
13850 * sysdeps/wordsize-64/lockf.c: File removed.
13851 * sysdeps/wordsize-64/lockf64.c: File removed.
13852 * sysdeps/wordsize-64/fseeko.c: File removed.
13853 * sysdeps/wordsize-64/fseeko64.c: File removed.
13854 * sysdeps/wordsize-64/ftello.c: File removed.
13855 * sysdeps/wordsize-64/ftello64.c: File removed.
13856 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13857 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13858 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13859 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13860 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13861 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13862 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13864 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13866 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13867 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13868 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13869 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13870
13871 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13873 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13875 [defined __arch64__ || defined __sparcv9]
13876 (__OFF_T_MATCHES_OFF64_T): New macro.
13877 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13878 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13880 (__OFF_T_MATCHES_OFF64_T): New macro.
13881
c5757acd
L
138822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13883
13884 * stdlib/secure-getenv.c (__secure_getenv): Replace
13885 GLIBC_2_16 with GLIBC_2_17.
13886
3a31811e
L
138872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13888
13889 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13890 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13891
faa2bccb
DM
138922012-08-03 David S. Miller <davem@davemloft.net>
13893
13894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13895
85fe1997
JM
138962012-08-03 Joseph Myers <joseph@codesourcery.com>
13897
13898 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13899 Remove.
13900 (__ASSUME_CORRECT_SI_PID): Likewise.
13901 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13902 (__ASSUME_TMPFS_NAME): Likewise.
13903 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13904 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13905 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13906 (HAVE_AUX_SECURE): Make definition unconditional.
13907 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13908 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13909
4f75b7a0
RM
139102012-08-03 Roland McGrath <roland@hack.frob.com>
13911
13912 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13913 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13914 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13915 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13916 __eloop_threshold instead of SYMLOOP_MAX.
13917
13918 * sysdeps/generic/eloop-threshold.h: New file.
13919 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13920 of MAXSYMLINKS.
13921 * elf/chroot_canon.c (chroot_canon): Likewise.
13922
7aab07e4
JM
139232012-08-03 Joseph Myers <joseph@codesourcery.com>
13924
13925 [BZ #13717]
13926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13927 Change to 2.6.0 everywhere.
13928 * sysdeps/unix/sysv/linux/configure: Regenerated.
13929 * sysdeps/unix/sysv/linux/kernel-features.h
13930 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13931 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13932 kernel versions.
13933 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13934 (__ASSUME_FUTEX_REQUEUE): Remove.
13935 (__ASSUME_STATFS64): Define unconditionally.
13936 (__ASSUME_AT_SECURE): Likewise.
13937 (__ASSUME_CORRECT_SI_PID): Likewise.
13938 (__ASSUME_TGKILL): Define without depending on kernel version for
13939 i386.
13940 (__ASSUME_UTIMES): Likewise.
13941 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13942 kernel version.
13943 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13944 (__ASSUME_TMPFS_NAME): Likewise.
13945 * README: Update reference to Linux kernel versions.
13946
b67e9372
MP
139472012-08-02 Marek Polacek <polacek@redhat.com>
13948
1f529f7d 13949 [BZ# 14150]
b67e9372
MP
13950 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13951 libc_cv_asm_type_prefix with %.
13952 * configure: Regenerated.
d2441631
RM
13953 * include/libc-symbols.h: Remove comment about
13954 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13955 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13956 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13957 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13958 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13959 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13960 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13961 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13962 * elf/tst-unique2mod1.c: Likewise.
13963 * elf/tst-unique1mod2.c: Likewise.
13964 * elf/tst-unique1mod1.c: Likewise.
13965 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13966 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13967 Replace ASM_TYPE_DIRECTIVE with .type.
13968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13969 * sysdeps/i386/sysdep.h: Likewise.
13970 * sysdeps/x86_64/sysdep.h: Likewise.
13971 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13973 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13974 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13975 * sysdeps/powerpc/powerpc32/sysdep.h:
13976 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13977 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13978 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13979 * sysdeps/i386/fpu/e_powf.S: Likewise.
13980 * sysdeps/i386/fpu/e_expl.S: Likewise.
13981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13982 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13983 * sysdeps/i386/fpu/e_pow.S: Likewise.
13984 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13985 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13986 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13987 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13988 * sysdeps/i386/fpu/e_log2.S: Likewise.
13989 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13990 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13991 * sysdeps/i386/fpu/e_powl.S: Likewise.
13992 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13993 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13994 * sysdeps/i386/fpu/e_logl.S: Likewise.
13995 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13996 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13997 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13998 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13999 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14000 * sysdeps/i386/fpu/e_log.S: Likewise.
14001 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14002 * sysdeps/i386/fpu/e_logf.S: Likewise.
14003 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14004 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14005 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14006 * sysdeps/i386/fpu/e_log10.S: Likewise.
14007 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14008 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14009 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14010 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14011 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14012 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14013 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14014 * sysdeps/i386/i686/strtok.S: Likewise.
14015 * sysdeps/i386/i386-mcount.S: Likewise.
14016 * sysdeps/i386/strtok.S: Likewise.
14017 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14018 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14019 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14020 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14021 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14022 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14023 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14024 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14025 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14026 * sysdeps/x86_64/_mcount.S: Likewise.
14027 * sysdeps/x86_64/strtok.S: Likewise.
14028 * sysdeps/sh/_mcount.S: Likewise.
14029
2747bf9a
RM
140302012-08-01 Roland McGrath <roland@hack.frob.com>
14031
14032 * libio/iofopen.c: Include <fcntl.h>.
14033 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14034 (_IO_fopen64, fopen64): Define as aliases.
14035 * libio/iofopen64.c: Include <fcntl.h>.
14036 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14037 Conditionalize body on this.
14038 * sysdeps/wordsize-64/iofopen.c: File removed.
14039 * sysdeps/wordsize-64/iofopen64.c: File removed.
14040
3fb791b8
MP
140412012-08-01 Marek Polacek <polacek@redhat.com>
14042
14043 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14044 Use dlfcn directly instead of a variable.
14045 (binfmt-subdir): Do not define.
14046 (dlfcn): Likewise.
14047
a9f1039f
JM
140482012-08-01 Joseph Myers <joseph@codesourcery.com>
14049
23bddc06
JM
14050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14051 Remove all definitions.
14052 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14053 <kernel-features.h>.
14054 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14055 (miss_F_GETOWN_EX): Remove all definitions.
14056 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14057 macro definition.
14058 [!__ASSUME_FCNTL64]: Remove conditional code.
14059 [__ASSUME_FCNTL64]: Make code unconditional.
14060 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14061 <kernel-features.h>.
14062 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14063 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14064 (lockf64) [__NR_fcntl64]: Make code unconditional.
14065 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14066
a9f1039f
JM
14067 * sysdeps/unix/sysv/linux/kernel-features.h
14068 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14069 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14070 Make code unconditional.
14071 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14072 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14074 [__NR_vfork]: Make code unconditional.
14075 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14076 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14078 [__NR_vfork]: Make code unconditional.
14079 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14080 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14081
09c0ee5f
RM
140822012-08-01 Roland McGrath <roland@hack.frob.com>
14083
48aec5b9
RM
14084 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14085 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14086
cd97c966
RM
14087 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14088 Define mkstemp64 as an alias.
3f55550c
RM
14089 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14090 Define mkstemps64 as an alias.
cd97c966
RM
14091 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14092 Define mkostemp64 as an alias.
b8625cfc
RM
14093 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14094 Define mkostemps64 as an alias.
cd97c966
RM
14095 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14096 Conditionalize body on this.
14097 * misc/mkostemp64.c: Likewise.
b8625cfc 14098 * misc/mkostemps64.c: Likewise.
3f55550c 14099 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14100 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14101 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14102 * sysdeps/wordsize-64/mkostemp.c: File removed.
14103 * sysdeps/wordsize-64/mkstemp.c: File removed.
14104 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14105 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14106 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14107 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14108
09c0ee5f
RM
14109 [BZ #14138]
14110 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14111 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14112 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14113 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14114
14115 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14116 compat_symbol macros from <shlib-compat.h> rather than the underlying
14117 default_symbol_version and symbol_version macros, so that DEFAULT
14118 lines in shlib-versions are respected.
14119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14120
7e66ee51
FW
141212012-08-01 Florian Weimer <fweimer@redhat.com>
14122
14123 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14124 Declare with warn_unused_result.
14125 (setgid, setregid, setegid, setresgid): Likewise.
14126 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14127 Likewise.
14128 * WUR-REPORT: Remove set*id functions.
14129
d2a54255
PT
141302012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14131
14132 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14133
7ecdb005
RM
141342012-07-31 Roland McGrath <roland@hack.frob.com>
14135
b4180a5e 14136 [BZ #10191]
789bd351
RM
14137 * include/sys/socket.h (__libc_accept, __libc_accept4):
14138 Add attribute_hidden.
14139 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14140
40ce302d
RM
14141 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14142 use of PTR_MANGLE.
14143 * inet/getnetgrent_r.c (setup): Likewise.
14144
7ecdb005
RM
14145 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14146
e2eabb2c
DM
141472012-07-31 David S. Miller <davem@davemloft.net>
14148
14149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14150
d0419dbf
JM
141512012-07-31 Joseph Myers <joseph@codesourcery.com>
14152
14153 [BZ #13629]
14154 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14155 value between 1.0 and 2.0 and smaller part has absolute value less
14156 than 1.0.
14157 * math/s_clog10.c (__clog10): Likewise.
14158 * math/s_clog10f.c (__clog10f): Likewise.
14159 * math/s_clog10l.c (__clog10l): Likewise.
14160 * math/s_clogf.c (__clogf): Likewise.
14161 * math/s_clogl.c (__clogl): Likewise.
14162 * math/libm-test.inc (clog_test): Add more tests.
14163 (clog10_test): Likewise.
14164 * sysdeps/i386/fpu/libm-test-ulps: Update.
14165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14166
2bc13872
FW
141672012-07-31 Florian Weimer <fweimer@redhat.com>
14168
14169 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14170 Exit with zero in case no suitable GID is found, and write a
14171 message to standard error.
14172
bea9b193
RM
141732012-07-30 Roland McGrath <roland@hack.frob.com>
14174
14175 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14176 rather than to 1.
14177 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14178 (MAXPATHLEN): Removed.
14179 (NOGROUP, NODEV): New macros.
14180 (setbit, clrbit, isset, isclr): New macros.
14181 (howmany, roundup, powerof2): New macros.
14182 (DEV_BSIZE): New macro.
14183
14184 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14185 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14186
14187 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14188 definition on [!__NO_LONG_DOUBLE_MATH].
14189
14190 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14191 PTR_MANGLE and PTR_DEMANGLE.
14192
14193 * socket/accept4.c (accept4): Rename to __libc_accept4.
14194 Define accept4 as a weak alias.
14195
14196 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14197 on [_DIRENT_HAVE_D_TYPE].
14198 * io/ftw.c (ftw_dir): Likewise.
14199
14200 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14201
14202 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14203
14204 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14205 Use the BSD numbers rather than the arbitrary ones we had.
14206 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14207 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14208 (SIGXCPU, SIGXFSZ): New macros.
14209 (_NSIG): Now 32.
14210
14211 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14212 initializer on [_LIBC_REENTRANT].
14213
14214 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14215 definitions inside [_POSIX_MAPPED_FILES].
14216
14217 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14218
14219 * dirent/opendir.c: Include <fcntl.h>.
14220
14221 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14222 (__libc_getspecific): Likewise.
14223 (__libc_key_create): Likewise.
14224
14225 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14226 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14227 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14228 (tmpfile64): Define as alias.
14229 * sysdeps/wordsize-64/tmpfile.c: File removed.
14230 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14231 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14232 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14233
14234 * stdio-common/vfscanf.c: Include <stdbool.h>.
14235 * nss/makedb.c: Likewise.
14236 * stdio-common/_i18n_number.h: Likewise.
14237 * argp/argp-help.c: Likewise.
14238 * posix/wordexp.c: Likewise.
14239 * sysdeps/posix/spawni.c: Likewise.
14240 * nss/nss_files/files-initgroups.c: Likewise.
14241 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14242 * nss/nss_files/files-initgroups.c: Likewise.
14243 * nss/nss_db/db-netgrp.c: Likewise.
14244 * nss/nss_db/db-initgroups.c: Likewise.
14245 * io/fchmodat.c: Include <sys/stat.h>.
14246
14247 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14248 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14249
14250 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14251 [HAVE_MMAP].
14252
14253 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14254 Add multiple inclusion protection.
14255
e5abc686
DM
142562012-07-27 David S. Miller <davem@davemloft.net>
14257
14258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14259
815e6fa3
GB
142602012-07-27 Gary Benson <gbenson@redhat.com>
14261
14262 [BZ #14298]
14263 * elf/rtld.c: Include <stap-probe.h>.
14264 (dl_main): Added static probes "init_start" and "init_complete".
14265 * elf/dl-load.c: Include <stap-probe.h>.
14266 (lose): Take new parameter "nsid".
14267 Added static probe "map_failed".
14268 (_dl_map_object_from_fd): Pass namespace id to lose.
14269 Added static probe "map_start".
14270 (open_verify): Pass namespace id to lose.
14271 * elf/dl-open.c: Include <stap-probe.h>.
14272 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14273 and "reloc_complete".
14274 * elf/dl-close.c: Include <stap-probe.h>.
14275 (_dl_close_worker): Added static probes "unmap_start" and
14276 "unmap_complete".
14277 * elf/rtld-debugger-interface.txt: New file documenting the above.
14278
9f98c16c
RM
142792012-07-26 Roland McGrath <roland@hack.frob.com>
14280
14281 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14282 rather than a string variable.
14283 * sunrpc/rpc_main.c (h_output): Likewise.
14284 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14285
f3c22df3
PT
142862012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14287
14288 * inet/check_native.c: New file.
14289
3129cfc6
JM
142902012-07-26 Joseph Myers <joseph@codesourcery.com>
14291
da865e95
JM
14292 [BZ #13629]
14293 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14294 if larger part has absolute value 1.0.
14295 * math/s_clog10.c (__clog10): Likewise.
14296 * math/s_clog10f.c (__clog10f): Likewise.
14297 * math/s_clog10l.c (__clog10l): Likewise.
14298 * math/s_clogf.c (__clogf): Likewise.
14299 * math/s_clogl.c (__clogl): Likewise.
14300 * math/libm-test.inc (clog_test): Add more tests.
14301 (clog10_test): Likewise.
14302 * sysdeps/i386/fpu/libm-test-ulps: Update.
14303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14304
3129cfc6
JM
14305 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14306 (pltexit): Likewise.
14307 (La_regs): Likewise.
14308 (La_retval): Likewise.
14309 (int_retval): Likewise.
14310 Update #error for removed macros to refer only to definitions in
14311 tst-audit.h.
14312 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14313 macro.
14314 (pltexit): Likewise.
14315 (La_regs): Likewise.
14316 (La_retval): Likewise.
14317 (int_retval): Likewise.
14318 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14319 macro.
14320 (pltexit): Likewise.
14321 (La_regs): Likewise.
14322 (La_retval): Likewise.
14323 (int_retval): Likewise.
14324 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14325 macro.
14326 (pltexit): Likewise.
14327 (La_regs): Likewise.
14328 (La_retval): Likewise.
14329 (int_retval): Likewise.
14330 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14331 macro.
14332 (pltexit): Likewise.
14333 (La_regs): Likewise.
14334 (La_retval): Likewise.
14335 (int_retval): Likewise.
14336 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14337 macro.
14338 (pltexit): Likewise.
14339 (La_regs): Likewise.
14340 (La_retval): Likewise.
14341 (int_retval): Likewise.
14342 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14343 macro.
14344 (pltexit): Likewise.
14345 (La_regs): Likewise.
14346 (La_retval): Likewise.
14347 (int_retval): Likewise.
14348 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14349 macro definitions in tst-audit.h.
14350 * sysdeps/i386/tst-audit.h: New file.
14351 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14352 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14353 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14354 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14355 * sysdeps/sh/tst-audit.h: Likewise.
14356 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14357 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14358 * sysdeps/x86_64/tst-audit.h: Likewise.
14359
bfc07087
AJ
143602012-07-26 Andreas Jaeger <aj@suse.de>
14361
b1b2aaf8
AJ
14362 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14363 ptrace.
14364
14365 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14366 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14367 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14368 PTRACE_O_MASK.
14369 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14371 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14372
bfc07087
AJ
14373 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14374 value.
14375
14376 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14377 _sigsys.
14378 (si_call_addr, si_syscall, si_arch): Define new macro.
14379 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14380 _sigsys.
14381 (si_call_addr, si_syscall, si_arch): Define new marcro.
14382 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14383 _sigsys.
14384 (si_call_addr, si_syscall, si_arch): Define new macro.
14385 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14386 _sigsys.
14387 (si_call_addr, si_syscall, si_arch): Define new macro.
14388
89b4b02f
JM
143892012-07-25 Joseph Myers <joseph@codesourcery.com>
14390
14391 [BZ #13717]
14392 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14393 Change to 2.4.21 where previously 2.4.1.
14394 * sysdeps/unix/sysv/linux/configure: Regenerated.
14395 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14396 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14397 Linux kernel version.
14398 (__ASSUME_STD_AUXV): Remove.
14399 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14400 kernel version.
14401 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14402 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14403 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14404 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14405 (__ASSUME_NETLINK_SUPPORT): Likewise.
14406 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14407 (__no_netlink_support): Remove conditional definition.
14408 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14409 Remove.
14410 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14411 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14412 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14413 (if_nameindex_ioctl): Remove.
14414 (if_nameindex_netlink): Do not handle __no_netlink_support.
14415 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14416 code.
14417 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14418 Remove conditional code.
14419 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14420 code.
14421 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14422 unconditional.
14423 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14424 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14425 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14426 Remove.
14427 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14428 [!__ASSUME_STD_AUXV]: Remove conditional code.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14430 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14431 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14433 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14434 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14435 code.
14436 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14438 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14439 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14440 conditional code.
14441 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14443 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14444 code.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14446 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14447 conditional code.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14449 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14450 code unconditional.
14451 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14452 conditional code.
14453 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14454 unconditional.
14455 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14456 conditional code.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14458 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14459 unconditional.
14460 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14461 conditional code.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14463 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14464 code unconditional.
14465 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14466 conditional code.
14467 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14468 unconditional.
14469 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14470 conditional code.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14472 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14473 code unconditional.
14474 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14475 conditional code.
14476 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14477 unconditional.
14478 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14479 conditional code.
14480
842a39cd
AS
144812012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14482
14483 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14484 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14485 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14486 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14487 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14488 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14489 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14490 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14491 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14492 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14493 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14494 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14495 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14496 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14497 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14498 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14499 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14500 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14501 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14503 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14504 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14505 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14506
84b3fd84
FW
145072012-07-25 Florian Weimer <fweimer@redhat.com>
14508
14509 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14510 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14511 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14512 Introduce __libc_secure_getenv.
0c7936d5
FW
14513 * stdlib/Versions (2.17): Add secure_getenv
14514 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14515 * stdlib/secure-getenv.c: Rename __secure_getenv to
14516 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14517 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14518 * stdlib/tst-secure-getenv.c: New.
14519 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14520 * manual/startup.texi (Environment Access): Document
14521 secure_getenv.
84b3fd84
FW
14522 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14523 __libc_secure_getenv.
14524 * inet/ruserpass.c (ruserpass): Likewise.
14525 * malloc/mtrace.c (mtrace): Likewise.
14526 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14527 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14528 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14529 * sysdeps/posix/tempname.c: Likewise. Evaluate
14530 HAVE_SECURE_GETENV.
14531 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14532 __secure_getenv to __libc_secure_getenv.
84b3fd84 14533 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14535 Likewise.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14537 Likewise.
14538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14545
56e49b71
JM
145462012-07-25 Joseph Myers <joseph@codesourcery.com>
14547
14548 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14549 (struct La_i86_retval): Likewise.
14550 (struct La_x86_64_regs): Likewise.
14551 (struct La_x86_64_retval): Likewise.
14552 (struct La_x32_regs): Likewise.
14553 (struct La_x32_retval): Likewise.
14554 (struct La_ppc32_regs): Likewise.
14555 (struct La_ppc32_retval): Likewise.
14556 (struct La_ppc64_regs): Likewise.
14557 (struct La_ppc64_retval): Likewise.
14558 (struct La_sh_regs): Likewise.
14559 (struct La_sh_retval): Likewise.
14560 (struct La_s390_32_regs): Likewise.
14561 (struct La_s390_32_retval): Likewise.
14562 (struct La_s390_64_regs): Likewise.
14563 (struct La_s390_64_retval): Likewise.
14564 (struct La_sparc32_regs): Likewise.
14565 (struct La_sparc32_retval): Likewise.
14566 (struct La_sparc64_regs): Likewise.
14567 (struct La_sparc64_retval): Likewise.
14568 (struct audit_ifaces): Remove architecture-specific pltenter and
14569 pltexit members.
14570 * sysdeps/i386/ldsodefs.h: New file.
14571 * sysdeps/powerpc/ldsodefs.h: Likewise.
14572 * sysdeps/s390/ldsodefs.h: Likewise.
14573 * sysdeps/sh/ldsodefs.h: Likewise.
14574 * sysdeps/sparc/ldsodefs.h: Likewise.
14575 * sysdeps/x86_64/ldsodefs.h: Likewise.
14576
354691b7
MP
145772012-07-25 Marek Polacek <polacek@redhat.com>
14578
14579 [BZ #6808]
14580 * math/libm-test.inc (yn_test): Add another test.
14581 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14582 to ERANGE when the result is +-Inf.
14583 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14584 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14585 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14586 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14587
bf9e2071
JM
145882012-07-24 Joseph Myers <joseph@codesourcery.com>
14589
14590 * conform/data/time.h-data (NULL): Use macro-constant. Require
14591 equal to 0.
14592 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14593 clock_t.
14594 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14595
57633811
TS
145962012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14597
14598 * configure.in <sysdeps resolving>: Correct printing
14599 Implies_before.
14600 * configure: Regenerate.
14601
c23c33b0
TS
146022012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14603
14604 * math/w_ilogb.c: Include <limits.h>.
14605 * math/w_ilogbl.c: Likewise.
14606
b5982523
JM
146072012-07-20 Joseph Myers <joseph@codesourcery.com>
14608
14609 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14610 va_copy. Document allowing for unavailable va_copy only as
14611 pre-C99 compatibility.
14612 * manual/string.texi (Copying and Concatenation): Use va_copy
14613 instead of __va_copy in concat example.
14614
ac4ea442
PT
146152012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14616
14617 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14618 (__sendto): Use create_address_port. Initialize APORT and deallocate
14619 it if not null.
14620
f98eafbd
PT
14621 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14622 with O_NOLINK passed to __file_name_lookup.
14623
898c7aab
PT
14624 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14625 with O_NOLINK passed to __file_name_lookup.
14626
0ced335a
PT
14627 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14628 negative N or less than NGIDS.
14629
b3404dbd
PT
14630 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14631 type to string_t. Set ERANGE as errno and return it if NAME is not big
14632 enough. Use memcpy instead of strncpy.
14633
0f48659e
JM
146342012-07-20 Joseph Myers <joseph@codesourcery.com>
14635
14636 * elf/Makefile (check-data): Remove.
14637 (localplt.data): New vpath directive.
14638 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14639 instead of $(check-data).
14640 * scripts/data/localplt-generic.data: Move to ...
14641 * sysdeps/generic/localplt.data: ... here.
14642 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14643 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14644 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14646 ... here.
14647 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14649 ... here.
14650 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14652 ... here.
14653 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14655 ... here.
14656 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14658 ... here.
14659 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14661 ... here.
14662
d37cbdaa
AZ
146632012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14664
14665 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14666 PPC32 and PPC64 files.
14667 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14668 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14669
46f85fc2
AK
146702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14671
14672 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14673 __makecontext_ret to ...
14674 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14675 ... here and call exit if uc_link is NULL. New file.
14676 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14677 __makecontext_ret.S.
14678 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14679 __makecontext_ret to ...
14680 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14681 ... here and call exit if uc_link is NULL. New file.
14682 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14683 __makecontext_ret.S.
14684
08f43f9b
AK
146852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14686
14687 * elf/elf.h (R_390_IRELATIVE): New definition.
14688 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14689 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14690 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14692 (elf_machine_lazy_rel): Likewise.
14693 * sysdeps/s390/dl-irel.h: New file.
14694 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14695 * sysdeps/s390/s390-64/memset.S: New asm code.
14696 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14697 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14698 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14699 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14700 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14701 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14703 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14704 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14705 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14706 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14707 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14708 * sysdeps/s390/s390-32/memset.S: New asm code.
14709 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14710
3b05db33
MP
147112012-07-17 Marek Polacek <polacek@redhat.com>
14712
14713 [BZ #14349]
14714 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14715 * sysdeps/s390/s390-64/configure.in: Likewise.
14716 * sysdeps/sparc/configure.in: Likewise.
14717 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14718 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14719 * sysdeps/i386/configure.in: Likewise.
14720 * sysdeps/x86_64/configure.in: Likewise.
14721 * sysdeps/sh/configure.in: Likewise.
14722 * sysdeps/s390/s390-32/configure: Regenerated.
14723 * sysdeps/s390/s390-64/configure: Likewise.
14724 * sysdeps/x86_64/configure: Likewise.
14725 * sysdeps/sh/configure: Likewise.
14726 * sysdeps/powerpc/powerpc64/configure: Likewise.
14727 * sysdeps/powerpc/powerpc32/configure: Likewise.
14728 * sysdeps/sparc/configure: Likwise.
14729 * sysdeps/i386/configure: Likewise.
14730
a66877c6
MP
14731 * elf/dl-open.c: Comment fixes.
14732
cfc82fd8
JM
147332012-07-17 Joseph Myers <joseph@codesourcery.com>
14734
bd29910a
JM
14735 * Makefile [CXX] (check-data): Remove.
14736 [CXX] (c++-types.data): New vpath directive.
14737 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14738 vpath. Do not allow for C++ type data being missing.
14739 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14740 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14741 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14742 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14743 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14744 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14745 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14747 ... here.
14748 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14750 ... here.
14751 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14753 ... here.
14754 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14756 ... here.
14757 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14759 ... here.
14760 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14762 ... here.
14763 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14765 ... here.
14766 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14768
cfc82fd8
JM
14769 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14770 definitions to architecture-specific files.
14771 (TLS_IE): Likewise.
14772 (TLS_LD): Likewise.
14773 (TLS_GD): Likewise.
14774 * sysdeps/i386/tls-macros.h: New file.
14775 * sysdeps/powerpc/tls-macros.h: Likewise.
14776 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14777 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14778 * sysdeps/sh/tls-macros.h: Likewise.
14779 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14780 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14781 * sysdeps/x86_64/tls-macros.h: Likewise.
14782
f7db3170
TS
147832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14784
07cbfc23
TS
14785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14786 zero value for regular exit case.
14787
f7db3170
TS
14788 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14789 (__start_context): Preserve zero value for regular exit case.
14790
dc97c227
TS
147912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14792 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14793
14794 * manual/setjmp.texi (setcontext): Clarify normal process
14795 termination when uc_link is the null pointer.
14796 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14797 exit call.
14798
d0cd7d02
AS
147992012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14800
14801 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14802 preprocessor. Test for each exception mask separately.
14803
dd318934
AJ
148042012-07-16 Andreas Jaeger <aj@suse.de>
14805
14806 * po/ru.po: Update from translation team.
14807
8048311a
JM
148082012-07-15 Joseph Myers <joseph@codesourcery.com>
14809
14810 * conform/data/string.h-data (NULL): Use macro-constant. Require
14811 equal to 0.
14812 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14813 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14814 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14815 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14817
b637d46e
AJ
148182012-07-13 Andreas Jaeger <aj@suse.de>
14819
14820 * po/fr.po: Update from translation team.
14821
541428fe
MP
148222012-07-12 Marek Polacek <polacek@redhat.com>
14823
14824 [BZ #14173]
14825 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14826 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14827 loop condition.
14828
ec332e94
JM
148292012-07-12 Joseph Myers <joseph@codesourcery.com>
14830
14831 [BZ #13717]
14832 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14833 Change to 2.4.1 where previously 2.4.0.
14834 * sysdeps/unix/sysv/linux/configure: Regenerated.
14835 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14836 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14837 version.
14838 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14839 (__ASSUME_AT_CLKTCK): Remove.
14840 (__ASSUME_AT_PAGESIZE): Likewise.
14841 (__ASSUME_AT_XID): Likewise.
14842 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14843 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14844 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14845 unconditionally.
14846 (HAVE_AUX_PAGESIZE): Likewise.
14847 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14848 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14849 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14850
7b6e99be
JB
148512012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14852
14853 [BZ #14307]
14854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14855 the temporary buffer used to invoke __gethostbyname2_r,
14856 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14857 host_data / struct gaih_addrtuple.
14858 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14859 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14860 header file nss/nsswitch.h.
14861 * nss/nsswitch.h (global scope): Add definition of implementation
14862 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14863 resolv/nss_dns/dns-host.c).
14864
608404eb
AJ
148652012-07-11 Andreas Jaeger <aj@suse.de>
14866
14867 * po/fr.po: Update from translation team.
14868
71220aca
AJ
14869 * po/sv.po: Update from translation team
14870 * po/fr.po: Another update from translation team.
14871
28cfe843
AZ
148722012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14873
14874 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14875 for subnormals or multiply small sinh result by itself.
14876 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14878
6b90f981
DM
148792012-07-11 David S. Miller <davem@davemloft.net>
14880
14881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14882
c6825772
AS
148832012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14884
14885 [BZ #14347]
14886 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14887 (INTERNAL_MARK): Shift it here.
14888
7b8e0d49
MP
148892012-07-10 Marek Polacek <polacek@redhat.com>
14890
14891 [BZ #14151]
14892 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14893 libc_cv_asm_global_directive with .globl.
14894 * configure: Regenerated.
14895 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14896 with .globl.
14897 * sysdeps/i386/configure: Regenerated.
14898 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14899 with .globl.
14900 * sysdeps/x86_64/configure: Regenerated.
14901 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14902 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14903 * elf/tst-unique2mod2.c: Likewise.
14904 * elf/tst-unique2mod1.c: Likewise.
14905 * elf/tst-unique1mod2.c: Likewise.
14906 * elf/tst-unique1mod1.c: Likewise.
14907 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14908 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14909 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14910 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14911 * sysdeps/mach/sysdep.h: Likewise.
14912 * sysdeps/i386/sysdep.h: Likewise.
14913 * sysdeps/i386/i386-mcount.S: Likewise.
14914 * sysdeps/x86_64/_mcount.S: Likewise.
14915 * sysdeps/x86_64/sysdep.h: Likewise.
14916 * sysdeps/sh/_mcount.S: Likewise.
14917 * sysdeps/sh/sysdep.h: Likewise.
14918 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14919 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14920 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14921 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14922 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14923 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14924 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14925 * locale/localeinfo.h: Likewise.
14926 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14927 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14928
6c55cda3
RM
149292012-07-09 Roland McGrath <roland@hack.frob.com>
14930
14931 [BZ #14336]
14932 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14933 system".
14934 * manual/message.texi (The Uniforum approach): Likewise.
14935 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14936 (glibc iconv Implementation): Likewise.
14937
638a572e
JM
149382012-07-09 Joseph Myers <joseph@codesourcery.com>
14939
14940 [BZ #14337]
14941 * math/s_clog.c (__clog): Avoid scaling a value down where that
14942 could result in underflow.
14943 * math/s_clog10.c (__clog10): Likewise.
14944 * math/s_clog10f.c (__clog10f): Likewise.
14945 * math/s_clog10l.c (__clog10l): Likewise.
14946 * math/s_clogf.c (__clogf): Likewise.
14947 * math/s_clogl.c (__clogl): Likewise.
14948 * math/libm-test.inc (clog_test): Add more tests.
14949 (clog10_test): Likewise.
14950 * sysdeps/i386/fpu/libm-test-ulps: Update.
14951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14952
261f4859
AS
149532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14954
0abaf3e4
AS
14955 [BZ #14283]
14956 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14957 by 7 not 8 to examine high bit of fractional part.
14958
261f4859
AS
14959 [BZ #14042]
14960 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14961 for call to __mcount_internal.
14962 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14963 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14964 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14965
f17ac40d
JM
149662012-07-06 Joseph Myers <joseph@codesourcery.com>
14967
9ad63c23
JM
14968 [BZ #14154]
14969 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14970 approximation for values within 0x1p-13f of an odd multiple of
14971 pi/4.
14972 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14973 exception. Add more tests.
14974 * sysdeps/i386/fpu/libm-test-ulps: Update.
14975
f17ac40d
JM
14976 [BZ #6778]
14977 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14978 inputs and return -1 for them. Do not check for +Inf in case not
14979 reachable for +Inf.
14980 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14981 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14982 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14983 and return -1 for them. Do not check for +Inf in case not
14984 reachable for +Inf.
14985 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14986 define.
14987 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14988 and return -1 for them. Do not check for +Inf in case not
14989 reachable for +Inf.
14990 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14991 spurious underflow.
14992 * sysdeps/i386/fpu/libm-test-ulps: Update.
14993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14994
fb21f89b
MF
149952012-07-06 Mike Frysinger <vapier@gentoo.org>
14996
14997 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14998
cdfe2c5e
JM
149992012-07-05 Joseph Myers <joseph@codesourcery.com>
15000
15001 [BZ #14157]
15002 [BZ #14331]
15003 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15004 could result in spurious underflow. Scale down values above
15005 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15006 * math/s_csqrtf.c (__csqrtf): Likewise.
15007 * math/s_csqrtl.c (__csqrtl): Likewise.
15008 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15009 spurious underflow.
15010 * sysdeps/i386/fpu/libm-test-ulps: Update.
15011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15012
70d35b67
AS
150132012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15014
704bc459
AS
15015 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15016 xopen-msg.sed.
15017 * catgets/xopen-msg.awk: New file.
15018 * catgets/xopen-msg.sed: Removed.
15019
70d35b67
AS
15020 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15021 po2text.sed.
15022 * intl/po2test.awk: New file.
15023 * intl/po2test.sed: Removed.
15024
ca61cf32
JM
150252012-07-04 Joseph Myers <joseph@codesourcery.com>
15026
15027 [BZ #14328]
15028 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15029 or multiply small sinh result by itself.
15030 * math/s_ctanf.c (__ctanf): Likewise.
15031 * math/s_ctanh.c (__ctanh): Likewise.
15032 * math/s_ctanhf.c (__ctanhf): Likewise.
15033 * math/s_ctanhl.c (__ctanhl): Likewise.
15034 * math/s_ctanl.c (__ctanl): Likewise.
15035 * math/libm-test.inc (ctan_test_tonearest): New function.
15036 (ctan_test_towardzero): Likewise.
15037 (ctan_test_downward): Likewise.
15038 (ctan_test_upward): Likewise.
15039 (ctanh_test_tonearest): Likewise.
15040 (ctanh_test_towardzero): Likewise.
15041 (ctanh_test_downward): Likewise.
15042 (ctanh_test_upward): Likewise.
15043 (main): Call these new functions.
15044 * sysdeps/i386/fpu/libm-test-ulps: Update.
15045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15046
ca48a46a
MF
150472012-07-03 Mike Frysinger <vapier@gentoo.org>
15048
15049 * .gitignore: Delete /ports entry.
15050
9d63d37d
AJ
150512012-07-03 Andreas Jaeger <aj@suse.de>
15052
15053 * po/bg.po: Update from translation team.
15054 * po/cs.po: Likewise.
15055 * po/de.po: Likewise.
15056 * po/hr.po: Likewise.
15057 * po/nl.pl: Likewise.
15058 * po/pl.po: Likewise.
15059 * po/vi.po: Likewise.
15060
370ca3d2
JM
150612012-07-03 Joseph Myers <joseph@codesourcery.com>
15062
95f5a9a8
JM
15063 * Makeconfig [!+link] (+link-before-libc): New variable.
15064 [!+link] (+link-after-libc): Likewise.
15065 [!+link] (+link-tests): Likewise.
15066 [!+link] (+link): Define in terms of $(+link-before-libc) and
15067 $(+link-after-libc).
15068 [!+link-static] (+link-static-before-libc): New variable.
15069 [!+link-static] (+link-static-after-libc): Likewise.
15070 [!+link-static] (+link-static-tests): Likewise.
15071 [!+link-static] (+link-static): Define in terms of
15072 $(+link-static-before-libc) and $(+link-static-after-libc).
15073 [build-shared] (link-libc-before-gnulib): New variable.
15074 [build-shared] (link-libc-tests): Likewise.
15075 [build-shared] (link-libc): Define in terms of
15076 $(link-libc-before-gnulib).
15077 [!build-shared] (link-libc-tests): New variable.
15078 (link-libc-static-tests): New variable.
15079 [!gnulib] (gnulib-arch): New variable.
15080 [!gnulib] (gnulib-tests): Likewise.
15081 [!gnulib] (static-gnulib-arch): Likewise.
15082 [!gnulib] (static-gnulib-tests): Likewise.
15083 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15084 Define with "=" instead of ":=".
15085 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15086 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15087 * Rules (binaries-all-notests): New variable.
15088 (binaries-all-tests): Likewise.
15089 (binaries-static-notests): Likewise.
15090 (binaries-static-tests): Likewise.
15091 (binaries-all): Define using $(binaries-all-notests) and
15092 $(binaries-all-tests).
15093 (binaries-static): Define using $(binaries-static-notests) and
15094 $(binaries-static-tests).
15095 (binaries-shared-tests): New variable.
15096 (binaries-shared-notests): Likewise.
15097 (binaries-shared): Remove variable.
15098 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15099 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15100 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15101 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15102 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15103 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15104 * elf/Makefile (sln-modules): New variable.
15105 (extra-objs): Add $(sln-modules:=.o).
15106 (ldconfig-modules): Add static-stubs.
15107 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15108 * elf/static-stubs.c: New file.
15109
7a845b2c
JM
15110 [BZ #14283]
15111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15112 by 7 not 8 to examine high bit of fractional part. Use volatile
15113 variables when splitting into final array of floats if
15114 __FLT_EVAL_METHOD__ != 0.
15115 * math/libm-test.inc (cos_test): Add another test.
15116 (sin_test): Likewise.
15117 * sysdeps/i386/fpu/libm-test-ulps: Update.
15118
e2283f38
JM
15119 [BZ #14273]
15120 * math/libm-test.inc (cosh_test): Add more tests.
15121
370ca3d2
JM
15122 * version.h (RELEASE): Set to "development".
15123 (VERSION): Set to "2.16.90".
15124
ee9247c3
CD
151252012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15126
15127 * NEWS: Update copyright. Remove last-updated date.
15128 Mention math library bug fixes and timezone data changes.
15129 * README: Mention GNU/Hurd, x32, and HPPA support status.
15130
4648c381
TS
151312012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15132
15133 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15134
aac78a43
AJ
151352012-06-27 Andreas Jaeger <aj@suse.de>
15136
15137 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15138
ed3dbfad
AJ
151392012-06-25 Andreas Jaeger <aj@suse.de>
15140
15141 * sysdeps/s390/fpu/libm-test-ulps: Update.
15142
4d0ee855
AS
151432012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15144 Thomas Schwinge <thomas@codesourcery.com>
15145
15146 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15147 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15149 fanotify_mark.
15150
af1bce34
TS
151512012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15152
a9fa33ba
TS
15153 * sysdeps/mach/start.c: Remove file.
15154 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15155 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15156 * sysdeps/sh/init-first.c: Likewise.
15157
58f902b8
TS
15158 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15159 registers for frame unwinding purposes, add CFI directives.
15160 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15161 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15162 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15163 Likewise.
15164
1518f58b
TS
15165 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15166 __fortify_fail returning.
15167 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15168
db9b5059
TS
15169 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15170 sysdeps/sh/____longjmp_chk.S.
15171 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15172 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15173 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15174 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15175
967705fe
TS
15176 * sysdeps/sh/abort-instr.h: New file.
15177 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15178 process in case exit returns.
15179
a9def8c4
TS
15180 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15181 initialize the GOT register before use.
15182
2a649725
TS
15183 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15184 calculation of ARGC > 4.
15185
af1bce34
TS
15186 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15187 meaningful names to some local labels.
15188
d230f50a
KK
151892012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15190 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15191
15192 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15193 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15194 (__arch_compare_and_exchange_val_16_acq): Likewise.
15195 (__arch_compare_and_exchange_val_32_acq): Likewise.
15196 (atomic_exchange_and_add): Fix gUSA sequence.
15197 (atomic_add): Likewise.
15198 (atomic_add_negative): Likewise.
15199 (atomic_add_zero): Likewise.
15200 (atomic_bit_test_set): Likewise.
15201
0479b305
AS
152022012-06-22 Andreas Schwab <schwab@redhat.com>
15203
15204 [BZ #13579]
15205 * include/link.h (struct link_map): Add l_free_initfini.
15206 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15207 l_initfini.
15208 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15209 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15210 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15211 set.
15212
0e3933b9
CD
152132012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15214
15215 * configure.in: Use AC_LANG_SOURCE.
15216 * configure: Regenerate.
15217
4248b1b1
RM
152182012-06-22 Roland McGrath <roland@hack.frob.com>
15219
15220 * configure.in (libc_cv_localstatedir): New substituted variable.
15221 * configure: Regenerated.
15222 * config.make.in (localstatedir): New variable, substituted from
15223 libc_cv_localstatedir.
15224 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15225 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15226 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15227 * sysdeps/gnu/configure: Regenerated.
15228
006dd861
JL
152292012-06-21 Jeff Law <law@redhat.com>
15230
15231 [BZ #14277]
15232 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15233 free. Simplify list management for _LIBC case.
15234
79662d42
JM
152352012-06-21 Joseph Myers <joseph@codesourcery.com>
15236
b7abb4bf
JM
15237 [BZ #14273]
15238 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15239 Clear sign bit of 64-bit integer value before comparing against
15240 overflow value.
15241
79662d42
JM
15242 * sysdeps/mach/configure: Regenerated.
15243
1f150908
L
152442012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15245
15246 [BZ #14278]
15247 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15248
28363bbf
JL
152492012-06-21 Jeff Law <law@redhat.com>
15250
15251 [BZ #13882]
15252 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15253 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15255 * elf/dl-open.c (dl_open_worker): Likewise.
15256
09615db4
CD
152572012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15258
15259 * scripts/list-sources.sh: Scan PORTS for translations.
15260 * po/libc.pot: Regenerated.
15261
2174c6dd
AJ
152622012-06-21 Andreas Jaeger <aj@suse.de>
15263
15264 [BZ #12194]
15265 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15266 warning.
15267 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15268 * bits/byteswap-16.h (__bswap_16): Likewise.
15269 * bits/byteswap.h (__bswap_constant_16): Likewise.
15270
3ee947b1
L
152712012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15272
15273 [BZ #14117]
a2f34833
L
15274 * sysdeps/i386/fpu_control.h: Removed.
15275 * sysdeps/x86_64/fpu_control.h: Moved to ...
15276 * sysdeps/x86/fpu_control.h: Here.
15277
3ee947b1
L
15278 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15279 (_FPU_SETCW): Likewise.
15280
ed1825f8
L
152812012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15282
25f1282a
L
15283 [BZ #14117]
15284 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15285 * sysdeps/x86/fpu/bits/mathinline.h: This.
15286 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15287
ed1825f8
L
15288 [BZ #14050]
15289 [BZ #14117]
15290 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15291 functions if __x86_64__ is defined.
15292
36d54b74
CLT
152932012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15294
15295 * string/endian.h: Add !__ASSEMBLER__ condition for including
15296 conversion interfaces.
15297
10285c21
JM
152982012-06-15 Joseph Myers <joseph@codesourcery.com>
15299
15300 [BZ #14241]
15301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15302 of ABS(x) in calculating zero to negative powers other than odd
15303 integers.
15304 * math/libm-test.inc (pow_test): Add more tests.
15305
06c5abbd
AJ
153062012-06-15 Andreas Jaeger <aj@suse.de>
15307
15308 * manual/contrib.texi (Contributors): Update entry of Liubov
15309 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15310 Machado Filho.
15311
a3aeac40
CH
153122012-06-15 Cyril Hrubis <metan@ucw.cz>
15313
15314 * string/string.h: Add __wur to GNU version of strerror_r.
15315
49bdf4c1
L
153162012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15317
15318 [BZ #14229]
15319 * string/Makefile (tests): Add tst-strtok_r.
15320 * string/tst-strtok_r.c: New file.
15321 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15322 RAX_LP/RDX_LP on SAVE_PTR.
15323
834f9b8d
RM
153242012-06-14 Roland McGrath <roland@hack.frob.com>
15325
15326 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15327
75fa1921
JM
153282012-06-14 Joseph Myers <joseph@codesourcery.com>
15329
15330 * libm_test.inc (csqrt_test): Allow more spurious underflow
15331 exceptions.
15332 (j0_test): Likewise.
15333 (j1_test): Likewise.
15334 (y0_test): Likewise.
15335 (y1_test): Likewise.
15336
771766df
CD
153372012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15338
15339 * po/Makefile (libc.pot): Use UTF-8 charset.
15340
ceb9e56b
PP
153412012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15342
15343 [BZ #14210]
15344 Suppress sign-conversion warning from FD_SET.
15345 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15346 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15347 not unsigned long int.
15348 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15349
ddb28975
L
153502012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15351
15352 [BZ #14050]
15353 [BZ #14117]
15354 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15355 __extern_always_inline instead of __extern_inline.
15356 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15357 (__signbit): Likewise.
15358 (__signbitl): Support C++ namespace.
15359 (lrintf): New inline function.
15360 (lrint): Likewise.
15361 (llrintf): Likewise.
15362 (llrint): Likewise.
15363 (fmaxf): Likewise.
15364 (fmax): Likewise.
15365 (fminf): Likewise.
15366 (fmin): Likewise.
15367 (rint): Likewise.
15368 (rintf): Likewise.
15369 (ceil): Likewise.
15370 (ceilf): Likewise.
15371 (floor): Likewise.
15372 (floorf): Likewise.
15373 (nearbyint): Likewise.
15374 (nearbyintf): Likewise.
15375
d7b4fb26
TS
153762012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15377
15378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15379 non-default versions.
15380
eb55f5c2
RM
153812012-06-11 Roland McGrath <roland@hack.frob.com>
15382
15383 [BZ #14218]
15384 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15385
366af02c
TS
153862012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15387
99ff6e5c
TS
15388 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15389 (FE_UPWARD, FE_DOWNWARD): Don't define.
15390 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15391 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15392
366af02c
TS
15393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15394 reading it.
15395 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15396 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15397
793ea851
KK
153982012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15399
15400 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15402 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15403 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15404
a728a38f
L
154052012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15406
15407 [BZ #14117]
c08010c7
L
15408 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15409 * sysdeps/i386/fpu/Implies: New file.
15410 * sysdeps/x86_64/fpu/Implies: Likewise.
15411 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15412 * sysdeps/x86/fpu/bits/fenv.h: This.
15413
a728a38f
L
15414 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15415 __SSE_MATH__.
15416
6e230d11
SP
154172012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15418
15419 [BZ #14134]
15420 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15421 character 0xffff that matches the last element of the
15422 conversion table.
15423
1b671feb
AZ
154242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15425
15426 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15427 fmodl commit.
15428
6043738b
AZ
154292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15430
15431 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15432 values higher than 25.6283.
15433
34ae0b32
AZ
154342012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15435
15436 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15437 subnormal exponent extraction and add some __builtin_expect.
15438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15439 Fix for subnormal mantissa calculation.
15440
1214ec8f
MF
154412012-06-04 Mike Frysinger <vapier@gentoo.org>
15442
15443 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15444 cpu2 is -1 and errno is not ENOSYS.
15445
f3d1f93c
L
154462012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15447
15448 [BZ #14117]
0e4a3cd7
L
15449 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15450 * sysdeps/x86/bits/string.h: This.
15451 * sysdeps/x86_64/bits/string.h: Removed.
15452
6704c645
L
15453 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15454 if not compiling for x86-64, but compiling for >= i486.
15455
48495318
L
15456 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15457 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15458
14adcbfc
L
15459 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15460 New macro from Linux kernel 3.4.0.
15461 (FP_XSTATE_MAGIC2): Likewise.
15462 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15463 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15464 (struct _fpx_sw_bytes): New struct.
15465 (struct _xsave_hdr): Likewise.
15466 (struct _ymmh_state): Likewise.
15467 (struct _xstate): Likewise.
15468
68e408ab
L
15469 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15470 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15471 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15472 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15473 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15474 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15475
f3d1f93c
L
15476 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15477 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15478 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15479 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15480 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15481 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15482
d9dc34cd
TMQMF
154832012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15484
15485 [BZ #13743]
15486 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15487 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15488 (sysdep_headers): Include sys/platform/ppc.h.
15489 * sysdeps/powerpc/test-gettimebase.c: Test for
15490 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15491 * manual/Makefile (appendices): Include platform.texi.
15492 * manual/contrib.texi (Contributors): Update @node pointers.
15493 * manual/maint.texi (Maintenance): Likewise.
15494 (Platform): New node.
15495 * manual/platform.texi: New file. Document the new features.
15496
4af3879c
SP
154972012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15498 Jakub Jelinek <jakub@redhat.com>
15499
15500 [BZ #14188]
15501 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15502 where __builtin_expect is unavailable.
15503
2fd6ff13
DM
155042012-06-03 David S. Miller <davem@davemloft.net>
15505
15506 * stdlib/longlong.h: Updated from GCC.
15507
173f7220
AS
155082012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15509
15510 [BZ #14042]
15511 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15512 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15513 __mcount_internal.
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15515 (GLIBC_2.16): Likewise.
15516
f34a1c6f
L
155172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15518
15519 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15520
88a4576f
JM
155212012-06-01 Joseph Myers <joseph@codesourcery.com>
15522
ea32bcdd
JM
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15524 (default-abi): New variable.
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15527 variable.
15528 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15529 Likewise.
15530 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15531 Likewise.
15532 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15533 Likewise.
15534
88a4576f
JM
15535 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15536 definition. Document in comment.
15537
402fe938
DM
155382012-06-01 David S. Miller <davem@davemloft.net>
15539
15540 * stdlib/longlong.h: Updated from GCC.
15541
3553723f
L
155422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15543
15544 [BZ #14117]
3bd872c4
L
15545 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15546 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15547 sys/debugreg.h sys/io.h here.
15548 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15549 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15550 sys/io.h.
15551 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15552 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15553 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15554 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15555 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15556 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15557
3553723f
L
15558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15559 Define only if __x86_64__ is defined.
15560
4842e4fe
JM
155612012-06-01 Joseph Myers <joseph@codesourcery.com>
15562
c5bfe3d5
JM
15563 [BZ #14048]
15564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15565 Use int64_t for variable i.
15566 * math/libm-test.inc (fmod_test): Add more tests.
15567
4842e4fe
JM
15568 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15569 z computation is not scheduled after fetestexcept.
15570 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15571 Use math_force_eval instead of asm to ensure calculation scheduled
15572 before exception test.
15573 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15574 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15575
efb73488
AJ
155762012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15577
15578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15579 computation is not scheduled after fetestexcept.
15580
29bcce7c
L
155812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15582
15583 [BZ #14117]
15584 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15585 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15586
73a68f94
AZ
155872012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15588
15589 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15590 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15591
67b6df78
L
155922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15593
edf2933a 15594 [BZ #14117]
ebc64a18
L
15595 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15596 <bits/wordsize.h>.
15597 (__WCHAR_MIN): Support __WORDSIZE == 64.
15598 (__WCHAR_MAX): Likewise.
15599
edf2933a
L
15600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15601 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15602
57c6cf40
L
15603 [BZ #14183]
15604 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15605 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15606
67b6df78 15607 [BZ #14117]
8eb6281e
L
15608 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15609 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15610
aac639f4
L
15611 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15612 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15613
67b6df78
L
15614 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15615 Defined to 1 if __x86_64__ isn't defined.
15616 (_STAT_VER_LINUX_OLD): New.
15617 (st_atime): Remove duplicate.
15618 (st_mtime): Likewise.
15619 (st_ctime): Likewise.
15620
1c2cfe81
DM
156212012-05-31 David S. Miller <davem@davemloft.net>
15622
15623 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15624 entries.
15625
5be8418c
AS
156262012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15627
e7725326
AS
15628 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15629 gen-libm-test.pl.
15630
5be8418c
AS
15631 [BZ #14132]
15632 * elf/dl-reloc.c: Include <_itoa.h>.
15633 (_dl_reloc_bad_type): Remove use of INTUSE.
15634 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15635 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15636 * stdio-common/psiginfo.c (psiginfo): Likewise.
15637 * stdio-common/psignal.c (psignal): Likewise.
15638 * string/strsignal.c (strsignal): Likewise.
15639 * include/signal.h (_sys_siglist): Declare hidden proto.
15640 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15641 INTVARDEF with libc_hidden_data_def.
15642 * stdio-common/itoa-udigits.c: Likewise.
15643 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15644 (_itoa_lower_digits_internal): Remove declaration.
15645 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15646 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15647 (_sys_sigabbrev_internal): Remove aliases.
15648 (_sys_siglist): Define hidden alias.
15649
507352f1
MT
156502012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15651
15652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15653 bits/sysctl.h.
15654
42bbb1c3
L
156552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15656
15657 [BZ #14117]
6bd784b6
L
15658 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15659 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15660
8bca20f0
L
15661 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15662 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15663 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15664 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15666 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15667
f9e890a9
L
15668 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15669 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15670 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15671
471101a1
L
15672 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15673 with __addr.
15674 (insw): Likewise.
15675 (insl): Likewise.
15676 (outsb): Likewise.
15677 (outsw): Likewise.
15678 (outsl): Likewise.
15679
6451c862
L
15680 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15681 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15682 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15683
a254b8c9
L
15684 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15685 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15686 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15687 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15688 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15689 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15690
b8dfdd92
L
15691 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15692 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15693
578cd270
L
15694 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15695 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15696
de662f5f
L
15697 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15699 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15700
25653439
L
15701 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15702 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15703 to ...
15704 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15705
6bad24a0
L
15706 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15707 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15708 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15709
42bbb1c3
L
15710 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15711 for x86-64.
15712 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15713
2d10d547
JM
157142012-05-31 Joseph Myers <joseph@codesourcery.com>
15715
15716 * math/math.h (M_El): Use two more decimal places.
15717 (M_LOG2El): Likewise.
15718 (M_LOG10El): Likewise.
15719 (M_LN2l): Likewise.
15720 (M_LN10l): Likewise.
15721 (M_PIl): Likewise.
15722 (M_PI_2l): Likewise.
15723 (M_PI_4l): Likewise.
15724 (M_1_PIl): Likewise.
15725 (M_2_PIl): Likewise.
15726 (M_2_SQRTPIl): Likewise.
15727 (M_SQRT2l): Likewise.
15728 (M_SQRT1_2l): Likewise.
15729
f230c29b
DM
157302012-05-31 David S. Miller <davem@davemloft.net>
15731
15732 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15733 values between float registers.
15734 * sysdeps/sparc/sparc64/memset.S: Likewise.
15735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15736
fed806c3
MF
157372012-05-31 Mike Frysinger <vapier@gentoo.org>
15738
15739 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15740 -D_FORTIFY_SOURCE=1.
15741 (CPPFLAGS-tst-longjmp_chk.c): Define.
15742 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15743 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15744 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15745 CFLAGS-tst-wchar-h.c.
15746
30917259
MP
157472012-05-31 Marek Polacek <polacek@redhat.com>
15748
15749 [BZ #14132]
15750 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15751 __endmntent_internal): Remove declaration.
15752 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15753 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15754 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15755
1c58d5dc
DM
157562012-05-30 David S. Miller <davem@davemloft.net>
15757
15758 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15759 (___Q_simulate_exceptions): Use real FP ops rather than writing
15760 into the %fsr.
15761 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15762 Likewise.
15763
7dc00e0d
L
157642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15765
15766 [BZ #14117]
0bd53985
L
15767 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15768 * sysdeps/x86/bits/xtitypes.h: This.
15769
3a257e66
L
15770 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15771 * sysdeps/x86/bits/wordsize.h: This.
15772
62f62904
L
15773 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15774 * sysdeps/x86/bits/huge_vall.h: This.
15775
404fe9d9
L
15776 * sysdeps/i386/bits/select.h: Removed.
15777 * sysdeps/x86_64/bits/select.h: Renamed to ...
15778 * sysdeps/x86/bits/select.h: This.
15779
d48d0446
L
15780 * sysdeps/i386/bits/setjmp.h: Removed.
15781 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15782 * sysdeps/x86/bits/setjmp.h: This.
15783
7dc00e0d
L
15784 * sysdeps/i386/bits/mathdef.h: Removed.
15785 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15786 * sysdeps/x86/bits/mathdef.h: This.
15787
03277f8f
AS
157882012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15789
15790 [BZ #14132]
15791 * include/sys/socket.h (__connect_internal)
15792 (__libc_sa_len_internal): Remove declaration.
15793 (__connect, __libc_sa_len): Declare hidden_proto.
15794 (SA_LEN): Remove use of INTUSE.
15795 * socket/connect.c: Add libc_hidden_def.
15796 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15797 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15798 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15799 alias.
15800 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15801 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15802 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15803 of adding _internal alias.
15804
13764867
L
158052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15806
15807 [BZ #14117]
6bd97696
L
15808 * sysdeps/i386/bits/link.h: Removed.
15809 * sysdeps/i386/bits/linkmap.h: Likewise.
15810 * sysdeps/x86_64/bits/link.h: Renamed to ...
15811 * sysdeps/x86/bits/link.h: This.
15812 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15813 * sysdeps/x86/bits/linkmap.h: This.
15814
f726f0bb
L
15815 * sysdeps/i386/bits/endian.h: Removed.
15816 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15817 * sysdeps/x86/bits/endian.h: This.
15818
13764867
L
15819 * sysdeps/i386/bits/byteswap.h: Removed.
15820 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15821 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15822 * sysdeps/x86/bits/byteswap.h: This.
15823 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15824 * sysdeps/x86/bits/byteswap-16.h: This.
15825 * sysdeps/i386/Implies: Add x86.
15826 * sysdeps/x86_64/Implies: Likewise.
15827
ae251b0b
DM
158282012-05-30 David S. Miller <davem@davemloft.net>
15829
15830 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15831 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15833 (FP_TRAPPING_EXCEPTIONS): Define.
15834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15835 (FP_TRAPPING_EXCEPTIONS): Define.
15836 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15837 subnormals only when inexact has been signalled or underflow
15838 exceptions are enabled.
15839 (_FP_PACK_CANONICAL): Likewise.
15840
d5c90867
L
158412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15842
15843 [BZ #14183]
15844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15845 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15846
63f1549e
RH
158472012-05-30 Richard Henderson <rth@twiddle.net>
15848
8d8f2279
RH
15849 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15850 with #ifndef NOT_IN_libc.
15851
63f1549e
RH
15852 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15853 marked to avoid plt entry.
15854
0ab0291b
L
158552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15856
15857 [BZ #14112]
15858 * Makeconfig (default-abi): New macro.
15859 (abi-includes): Likewise.
15860 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15861 $(abi-$(default-abi)-lib-soname) for soname if defined.
15862 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15863 abi-variants.
15864 * Makefile (installed-stubs): Likewise.
15865 * include/stubs-biarch.h: Removed.
15866 * scripts/lib-names.awk: Only handle one library at a time.
15867 * scripts/soversions.awk: Remove WORDSIZE support.
15868 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15869 entries.
15870 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15871 Removed.
15872 (syscall-list-default-condition): Likewise.
15873 (syscall-list-default-condition): Likewise.
15874 (syscall-list-includes): Likewise.
15875 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15876 syscall-list-* with abi-*. Handle undefined abi-variants.
15877 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15878 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15879 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15880 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15881 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15882 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15883 Removed.
15884 (syscall-list-32-options): Likewise.
15885 (syscall-list-32-condition): Likewise.
15886 (syscall-list-64-options): Likewise.
15887 (syscall-list-64-condition): Likewise.
15888 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15889 macro.
15890 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15891 Renamed to ...
15892 (abi-*): This.
15893 (abi-64-ld-soname): New macro.
15894 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15895 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15896 Renamed to ...
15897 (abi-*): This.
15898 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15899 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15900
4da0431d
JM
159012012-05-30 Joseph Myers <joseph@codesourcery.com>
15902
3a85279c
JM
15903 * sysdeps/unix/sysv/linux/kernel-features.h
15904 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15905 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15906 include <kernel-features.h>.
15907 [!__NR_ftruncate64]: Remove conditional code.
15908 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15909 [__NR_ftruncate64]: Make code unconditional.
15910 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15911 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15912 include <kernel-features.h>.
15913 [!__NR_ftruncate64]: Remove conditional code.
15914 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15915 [__NR_ftruncate64]: Make code unconditional.
15916 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15918 include <kernel-features.h>.
15919 [!__NR_ftruncate64]: Remove conditional code.
15920 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15921 [__NR_ftruncate64]: Make code unconditional.
15922 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15924 include <kernel-features.h>.
15925 [!__NR_ftruncate64]: Remove conditional code.
15926 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15927 [__NR_ftruncate64]: Make code unconditional.
15928 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15929
4da0431d
JM
15930 * configure.in (libc_cv_fpie): Weaken to a compile test using
15931 LIBC_TRY_CC_OPTION.
15932 * configure: Regenerated.
15933
11ef492c
AK
159342012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15935
15936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15940 Refreshed.
15941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15947 Refreshed.
15948
d66ef399
DM
159492012-05-27 David S. Miller <davem@davemloft.net>
15950
15951 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15952 (___Q_zero): New.
15953 (__Q_simulate_exceptions): Return void. Change to simulate
15954 exceptions by writing into the %fsr.
15955 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15956 (__Qp_handle_exceptions): Likewise.
15957 (numbers): Delete.
15958 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15959 __Qp_handle_exceptions.
15960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15961 __Qp_handle_exceptions.
15962 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15963 as unused and give dummy FP_RND_NEAREST initializer.
15964 (FP_INHIBIT_RESULTS): Define.
15965 (___Q_simulate_exceptions): Update declaration.
15966 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15967 formatting.
15968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15969 as unused and give dummy FP_RND_NEAREST initializer.
15970 (__Qp_handle_exceptions): Update declaration.
15971 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15972 formatting.
15973
04fb54b5
TS
159742012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15975
15976 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15977 the temporary FPU control word.
15978 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15979 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15980 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15981 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15982 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15983 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15984 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15985 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15986 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15987 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15988 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15989
3f99608f
KK
159902012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15991
15992 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15993 fields.
15994
65a4de4e
CLT
159952012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15996
15997 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15998 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15999 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16000 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16001 Likewise.
16002 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16003 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16004 Likewise.
16005
15749d40
UD
160062012-05-27 Ulrich Drepper <drepper@gmail.com>
16007
16008 * po/h.po: Update from translation team.
16009
25dbcb27
AS
160102012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16011
3d3f8e55
AS
16012 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16013
25dbcb27
AS
16014 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16015 handling of denormals.
16016 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16017 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16018 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16019 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16023 Likewise.
16024
7ad47a80 160252012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16026
16027 [BZ #14152]
16028 * math/libm-test.inc (fma_test): Don't always expect underflow
16029 exception.
16030
9c6ea9fa
SP
160312012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16032
16033 [BZ #12416]
16034 * elf/tst-execstack.c: Include stackinfo.h.
16035 (do_test): Adjust test case to ensure that pthread_getattr_np
16036 behaviour remains the same after marking stack executable.
16037
a8239222
JM
160382012-05-25 Joseph Myers <joseph@codesourcery.com>
16039
16040 * sysdeps/unix/sysv/linux/kernel-features.h
16041 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16042 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16043 kernel-features.h.
16044 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16045 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16046 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16047 kernel-features.h.
16048 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16049 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16050
918b5606
L
160512012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16052
16053 * configure.in: Define the default includes to being none.
16054 * configure: Regenerated.
16055
3a097cc7
RM
160562012-05-25 Roland McGrath <roland@hack.frob.com>
16057
8422c9a5
RM
16058 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16059 * sysdeps/x86_64/setjmp.S: Likewise.
16060 * sysdeps/i386/bsd-setjmp.S: Likewise.
16061 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16062 * sysdeps/i386/setjmp.S: Likewise.
16063 * sysdeps/i386/__longjmp.S: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16065 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16066
3a097cc7
RM
16067 * include/stap-probe.h: New file.
16068 * configure.in: Handle --enable-systemtap.
16069 * configure: Regenerated.
16070 * config.h.in (USE_STAP_PROBE): New #undef.
16071 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16072 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16073 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16074
21708942
JM
160752012-05-25 Joseph Myers <joseph@codesourcery.com>
16076
16077 [BZ #13717]
16078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16079 to 2.4.0 where earlier.
16080 * sysdeps/unix/sysv/linux/configure: Regenerated.
16081 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16082 <kernel-features.h>.
16083 [__ASSUME_32BITUIDS]: Make code unconditional.
16084 [!__ASSUME_32BITUIDS]: Remove conditional code.
16085 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16086 <kernel-features.h>.
16087 [__ASSUME_32BITUIDS]: Make code unconditional.
16088 [!__ASSUME_32BITUIDS]: Remove conditional code.
16089 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16090 [__ASSUME_32BITUIDS]: Make code unconditional.
16091 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16092 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
16129 <kernel-features.h>.
16130 [__ASSUME_32BITUIDS]: Make code unconditional.
16131 [!__ASSUME_32BITUIDS]: Remove conditional code.
16132 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16133 <kernel-features.h>.
16134 [__NR_setresgid] (__setresgid): Do not declare.
16135 [__ASSUME_32BITUIDS]: Make code unconditional.
16136 [!__ASSUME_32BITUIDS]: Remove conditional code.
16137 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16138 <kernel-features.h>.
16139 [__NR_setresuid] (__setresuid): Do not declare.
16140 [__ASSUME_32BITUIDS]: Make code unconditional.
16141 [!__ASSUME_32BITUIDS]: Remove conditional code.
16142 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16143 <kernel-features.h>.
16144 [__ASSUME_32BITUIDS]: Make code unconditional.
16145 [!__ASSUME_32BITUIDS]: Remove conditional code.
16146 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16147 <kernel-features.h>.
16148 [__ASSUME_32BITUIDS]: Make code unconditional.
16149 [!__ASSUME_32BITUIDS]: Remove conditional code.
16150 * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
16159 <kernel-features.h>.
16160 [__ASSUME_32BITUIDS]: Make code unconditional.
16161 [!__ASSUME_32BITUIDS]: Remove conditional code.
16162 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16163 <kernel-features.h>.
16164 [__ASSUME_32BITUIDS]: Make code unconditional.
16165 [!__ASSUME_32BITUIDS]: Remove conditional code.
16166 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16167 <kernel-features.h>.
16168 [__ASSUME_32BITUIDS]: Make code unconditional.
16169 [!__ASSUME_32BITUIDS]: Remove conditional code.
16170 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16171 <kernel-features.h>.
16172 [__ASSUME_32BITUIDS]: Make code unconditional.
16173 [!__ASSUME_32BITUIDS]: Remove conditional code.
16174 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16175 <kernel-features.h>.
16176 [__ASSUME_32BITUIDS]: Make code unconditional.
16177 [!__ASSUME_32BITUIDS]: Remove conditional code.
16178 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16179 <kernel-features.h>.
16180 [__ASSUME_32BITUIDS]: Make code unconditional.
16181 [!__ASSUME_32BITUIDS]: Remove conditional code.
16182 * sysdeps/unix/sysv/linux/kernel-features.h
16183 (__ASSUME_SETRESUID_SYSCALL): Remove.
16184 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16185 (__ASSUME_32BITUIDS): Likewise.
16186 (__ASSUME_LDT_WORKS): Likewise.
16187 (__ASSUME_O_DIRECTORY): Likewise.
16188 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16189 architecture but not kernel version.
16190 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16191 (__ASSUME_MMAP2_SYSCALL): Likewise.
16192 (__ASSUME_STAT64_SYSCALL): Likewise.
16193 (__ASSUME_IPC64): Likewise.
16194 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16195 <kernel-features.h>.
16196 [__ASSUME_32BITUIDS]: Make code unconditional.
16197 [!__ASSUME_32BITUIDS]: Remove conditional code.
16198 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16199 <kernel-features.h>.
16200 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16201 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16202 132096]: Remove conditional code.
16203 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16204 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16205 <kernel-features.h>.
16206 [__ASSUME_32BITUIDS]: Make code unconditional.
16207 [!__ASSUME_32BITUIDS]: Remove conditional code.
16208 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16209 <kernel-features.h>.
16210 [__ASSUME_32BITUIDS]: Make code unconditional.
16211 [!__ASSUME_32BITUIDS]: Remove conditional code.
16212 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16213 <kernel-features.h>.
16214 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16215 unconditional.
16216 (__setresgid): Do not declare.
16217 [__ASSUME_32BITUIDS]: Make code unconditional.
16218 [!__ASSUME_32BITUIDS]: Remove conditional code.
16219 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16220 <kernel-features.h>.
16221 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16222 unconditional.
16223 (__setresuid): Do not declare.
16224 [__ASSUME_32BITUIDS]: Make code unconditional.
16225 [!__ASSUME_32BITUIDS]: Remove conditional code.
16226 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16227 <kernel-features.h>.
16228 [__ASSUME_32BITUIDS]: Make code unconditional.
16229 [!__ASSUME_32BITUIDS]: Remove conditional code.
16230 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16231 <kernel-features.h>.
16232 [__ASSUME_32BITUIDS]: Make code unconditional.
16233 [!__ASSUME_32BITUIDS]: Remove conditional code.
16234
a386f1cc
RH
162352012-05-25 Richard Henderson <rth@twiddle.net>
16236
16237 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16238 dl_hwcap to ifunc resolver.
16239 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16240 elf_ifunc_invoke.
16241 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16242 dl_hwcap to ifunc resolver.
16243 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16244
b6550497
JM
162452012-05-24 Joseph Myers <joseph@codesourcery.com>
16246
16247 [BZ #14153]
16248 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16249 for |x| <= 2**-26, not 2**-57.
16250 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16251 exception.
16252
b0bc23a1
JL
162532012-05-24 Jeff Law <law@redhat.com>
16254
16255 * stdio-common/Makefile (tests): Add bug25.
16256 * stdio-common/bug25.c: New test.
16257
347c92e9
L
162582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16259
16260 [BZ #13576]
16261 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16262 multiple of MALLOC_ALIGNMENT in size.
16263 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16264
6bcc8b3f
JM
162652012-05-24 Joseph Myers <joseph@codesourcery.com>
16266
16267 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16268 Require >= 256.
16269 (FILENAME_MAX): Use macro-int-constant.
16270 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16271 (_IOFBF): Use macro-int-constant.
16272 (_IOLBF): Likewise.
16273 (_IONBF): Likewise.
16274 (SEEK_CUR): Likewise.
16275 (SEEK_END): Likewise.
16276 (SEEK_SET): Likewise.
16277 (TMP_MAX): Likewise.
16278 (EOF): Use macro-int-constant. Require < 0.
16279 (NULL): Use macro-constant. Require == 0.
16280 (stdin): Require type to be FILE *.
16281 (stdout): Likewise.
16282 (stderr): Likewise.
16283 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16284 macro-int-constant.
16285 (EXIT_SUCCESS): Likewise.
16286 (NULL): Use macro-constant. Require == 0.
16287 (RAND_MAX): Use macro-int-constant.
16288 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16289 [C99-based standards] (strtof): Require function.
16290 [C99-based standards] (strtold): Likewise.
16291 [C99-based standards] (strtoll): Likewise.
16292 [C99-based standards] (strtoull): Likewise.
16293 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16294 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16295 [ISO || ISO99 || ISO11] (math.h): Likewise.
16296 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16297 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16299
d18ea0c5
AS
163002012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16301
16302 [BZ #14132]
56d25bb8
AS
16303 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16304 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16305 * intl/dgettext.c (DCGETTEXT): Likewise.
16306 * intl/gettext.c (DCGETTEXT): Likewise.
16307 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16308 * posix/regex_internal.h (gettext): Likewise.
16309 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16310 Remove declaration.
16311 * include/argz.h (__argz_count_internal)
16312 (__argz_stringify_internal): Remove declaration.
16313 (__argz_count, __argz_stringify): Declare hidden proto.
16314 * intl/dcgettext.c: Remove use of INTDEF.
16315 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16316 * string/argz-stringify.c: Likewise.
16317 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16318 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16319 Declare hidden proto.
d18ea0c5
AS
16320 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16321 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16322 Declare hidden proto.
16323 * include/stdio.h (__asprintf_internal): Don't declare.
16324 (__asprintf): Don't define as macro. Declare hidden proto.
16325 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16326 (__fsetlocking): Declare hidden proto.
16327 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16328 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16329 hidden proto.
16330 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16331 (_IO_setlinebuf): Remove use of INTUSE.
16332 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16333 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16334 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16335 Remove declaration.
16336 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16337 (_IO_do_flush): Remove use of INTUSE.
16338 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16339 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16340 (_IO_adjust_column, _IO_least_wmarker)
16341 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16342 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16343 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16344 (_IO_default_doallocate, _IO_wdefault_doallocate)
16345 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16346 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16347 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16348 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16349 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16350 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16351 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16352 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16353 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16354 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16355 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16356 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16357 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16358 proto.
16359 (_IO_flush_all_internal, _IO_adjust_column_internal)
16360 (_IO_default_uflow_internal, _IO_default_finish_internal)
16361 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16362 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16363 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16364 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16365 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16366 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16367 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16368 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16369 (_IO_file_close_internal, _IO_file_close_it_internal)
16370 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16371 (_IO_file_init_internal, _IO_file_attach_internal)
16372 (_IO_file_fopen_internal, _IO_file_read_internal)
16373 (_IO_file_sync_internal, _IO_file_seek_internal)
16374 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16375 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16376 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16377 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16378 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16379 (_IO_list_all_internal, _IO_link_in_internal)
16380 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16381 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16382 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16383 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16384 (_IO_do_write_internal, _IO_padn_internal)
16385 (_IO_getline_info_internal, _IO_getline_internal)
16386 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16387 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16388 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16389 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16390 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16391 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16392 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16393 with libc_hidden_ver, remove use of INTUSE.
16394 * libio/genops.c: Likewise.
16395 * libio/freopen.c: Likewise.
16396 * libio/freopen64.c: Likewise.
16397 * libio/iofclose.c: Likewise.
16398 * libio/iofdopen.c: Likewise.
16399 * libio/iofflush.c: Likewise.
16400 * libio/iofflush_u.c: Likewise.
16401 * libio/iofgets.c: Likewise.
16402 * libio/iofgets_u.c: Likewise.
16403 * libio/iofopen.c: Likewise.
16404 * libio/iofopncook.c: Likewise.
16405 * libio/iofread.c: Likewise.
16406 * libio/iofread_u.c: Likewise.
16407 * libio/ioftell.c: Likewise.
16408 * libio/iofwrite.c: Likewise.
16409 * libio/iogetline.c: Likewise.
16410 * libio/iogets.c: Likewise.
16411 * libio/iogetwline.c: Likewise.
16412 * libio/iopadn.c: Likewise.
16413 * libio/iopopen.c: Likewise.
16414 * libio/ioseekoff.c: Likewise.
16415 * libio/ioseekpos.c: Likewise.
16416 * libio/iosetbuffer.c: Likewise.
16417 * libio/iosetvbuf.c: Likewise.
16418 * libio/ioungetc.c: Likewise.
16419 * libio/ioungetwc.c: Likewise.
16420 * libio/iovdprintf.c: Likewise.
16421 * libio/iovsprintf.c: Likewise.
16422 * libio/iovsscanf.c: Likewise.
16423 * libio/memstream.c: Likewise.
16424 * libio/obprintf.c: Likewise.
16425 * libio/oldfileops.c: Likewise.
16426 * libio/oldiofclose.c: Likewise.
16427 * libio/oldiofdopen.c: Likewise.
16428 * libio/oldiofopen.c: Likewise.
16429 * libio/oldiopopen.c: Likewise.
16430 * libio/oldstdfiles.c: Likewise.
16431 * libio/putc.c: Likewise.
16432 * libio/setbuf.c: Likewise.
16433 * libio/setlinebuf.c: Likewise.
16434 * libio/stdfiles.c: Likewise.
16435 * libio/strops.c: Likewise.
16436 * libio/vasprintf.c: Likewise.
16437 * libio/vscanf.c: Likewise.
16438 * libio/vsnprintf.c: Likewise.
16439 * libio/vswprintf.c: Likewise.
16440 * libio/wfiledoalloc.c: Likewise.
16441 * libio/wfileops.c: Likewise.
16442 * libio/wgenops.c: Likewise.
16443 * libio/wmemstream.c: Likewise.
16444 * libio/wstrops.c: Likewise.
16445 * libio/__fpurge.c: Likewise.
16446 * libio/__fsetlocking.c: Likewise.
16447 * assert/assert.c: Likewise.
16448 * debug/fgets_chk.c: Likewise.
16449 * debug/fgets_u_chk.c: Likewise.
16450 * debug/fread_chk.c: Likewise.
16451 * debug/fread_u_chk.c: Likewise.
16452 * debug/gets_chk.c: Likewise.
16453 * debug/obprintf_chk.c: Likewise.
16454 * debug/vasprintf_chk.c: Likewise.
16455 * debug/vdprintf_chk.c: Likewise.
16456 * debug/vsnprintf_chk.c: Likewise.
16457 * debug/vsprintf_chk.c: Likewise.
16458 * malloc/mtrace.c: Likewise.
16459 * misc/error.c: Likewise.
16460 * misc/syslog.c: Likewise.
16461 * stdio-common/asprintf.c: Likewise.
16462 * stdio-common/fxprintf.c: Likewise.
16463 * stdio-common/getw.c: Likewise.
16464 * stdio-common/isoc99_fscanf.c: Likewise.
16465 * stdio-common/isoc99_scanf.c: Likewise.
16466 * stdio-common/isoc99_vfscanf.c: Likewise.
16467 * stdio-common/isoc99_vscanf.c: Likewise.
16468 * stdio-common/isoc99_vsscanf.c: Likewise.
16469 * stdio-common/printf-prs.c: Likewise.
16470 * stdio-common/printf_fp.c: Likewise.
16471 * stdio-common/printf_fphex.c: Likewise.
16472 * stdio-common/printf_size.c: Likewise.
16473 * stdio-common/putw.c: Likewise.
16474 * stdio-common/scanf.c: Likewise.
16475 * stdio-common/sprintf.c: Likewise.
16476 * stdio-common/tmpfile.c: Likewise.
16477 * stdio-common/vfprintf.c: Likewise.
16478 * stdio-common/vfscanf.c: Likewise.
16479 * stdlib/strfmon_l.c: Likewise.
16480 * sunrpc/openchild.c: Likewise.
16481 * sunrpc/xdr_stdio.c: Likewise.
16482 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16483 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16484
d6c33fda
RM
164852012-05-24 Roland McGrath <roland@hack.frob.com>
16486
c1487492
RM
16487 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16488
16489 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16490 in the third column, to generate for the shared library an IFUNC
16491 that uses _dl_vdso_vsym.
16492 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16493 * Makeconfig (object-suffixes-noshared): New variable.
16494
16495 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16496 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16497 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16498 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16499
d6c33fda
RM
16500 [BZ #14132]
16501 * include/sys/time.h (__gettimeofday): Remove macro.
16502 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16503 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16504 Remove INTDEF.
16505 (__gettimeofday): Add libc_hidden_def.
16506 (gettimeofday): Add libc_hidden_weak.
16507 * sysdeps/mach/gettimeofday.c: Likewise.
16508 * sysdeps/posix/gettimeofday.c: Likewise.
16509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16510 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16512 (__gettimeofday_internal): Remove strong_alias.
16513 (__gettimeofday): Add libc_hidden_def.
16514 (gettimeofday): Add libc_hidden_weak.
16515 * sysdeps/unix/syscalls.list (gettimeofday):
16516 Remove __gettimeofday_internal alias.
16517
b5a2bbe6
L
165182012-05-24 Daniel Jacobowitz <drow@false.org>
16519 H.J. Lu <hongjiu.lu@intel.com>
16520
16521 [BZ #12495]
16522 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16523 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16524 (largebin_index_32_big): New.
16525 (largebin_index): Use it for 16-byte alignment.
16526 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16527 correction with front_misalign.
16528
cfba4fda
L
165292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16530
7f907421
L
16531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16533 Likewise.
16534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16535 Likewise.
16536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16537 Likewise.
16538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16539 Likewise.
16540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16541 Likewise.
16542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16543 Likewise.
16544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16545 Likewise.
16546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16547 Likewise.
16548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16549 Likewise.
16550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16551 Likewise.
16552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16553 Likewise.
16554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16555 Likewise.
16556
cfba4fda
L
16557 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16558 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16559
80bad0cc
JM
165602012-05-24 Joseph Myers <joseph@codesourcery.com>
16561
7a25eb06
JM
16562 [BZ #10846]
16563 [BZ #14036]
16564 * math/libm-test.inc (exp_test): Add test from bug 14036.
16565 (pow_test): Add test from bug 10846.
16566
795405f9
JM
16567 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16568 and other flags.
16569 (special_function): Do not include flags in test name.
16570 (parse_args): Likewise.
16571 * sysdeps/i386/fpu/libm-test-ulps: Update.
16572 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16573 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16574 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16576
80bad0cc
JM
16577 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16578 exceptions.
16579 * math/libm-test.inc ("Philosophy"): Update comment about
16580 exception testing.
16581 (UNDERFLOW_EXCEPTION): New macro.
16582 (UNDERFLOW_EXCEPTION_OK): Likewise.
16583 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16584 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16585 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16586 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16587 (INVALID_EXCEPTION_OK): Update value.
16588 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16589 (OVERFLOW_EXCEPTION_OK): Likewise.
16590 (IGNORE_ZERO_INF_SIGN): Likewise.
16591 (test_exceptions): Handle underflow exceptions.
16592 (acos_test): Update for underflow exception expectations.
16593 (cexp_test): Likewise.
16594 (clog_test): Likewise.
16595 (clog10_test): Likewise.
16596 (csqrt_test): Likewise.
16597 (ctan_test): Likewise.
16598 (ctanh_test): Likewise.
16599 (exp_test): Likewise.
16600 (exp10_test): Likewise.
16601 (exp2_test): Likewise.
16602 (expm1_test): Likewise.
16603 (fma_test): Likewise.
16604 (j0_test): Likewise.
16605 (jn_test): Likewise.
16606 (nexttoward_test): Likewise.
16607 (pow_test): Likewise.
16608 (scalbn_test): Likewise.
16609 (scalbln_test): Likewise.
16610 (tan_test): Likewise.
16611 (y1_test): Likewise.
16612 * sysdeps/i386/fpu/libm-test-ulps: Update.
16613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16614
9e0e3d0b
DM
166152012-05-23 David S. Miller <davem@davemloft.net>
16616
16617 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16618 (__libc_sigaction): Remove unused local variables.
16619
ccd0a08f
L
166202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16621
16622 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16623
62bdf9a6
PE
166242012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16625
f8591f80
PE
16626 mktime: avoid signed integer overflow
16627 * time/mktime.c (__mktime_internal): Do not mishandle the case
16628 where diff == INT_MIN.
16629
94c7d826
PE
16630 mktime: simplify computation of average
16631 * time/mktime.c (ranged_convert): Use new time_t_avg function
16632 instead of rolling our own (probably-slower) code.
16633
ce73d683
PE
16634 mktime: do not assume signed right shift propagates sign bit
16635 * time/mktime.c (isdst_differ): New static function.
16636 (__mktime_internal): No need to normalize tm_isdst now.
16637 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16638 tm_isdst values.
16639
72a22e59
PE
16640 mktime: merge another wrapv change from gnulib
16641 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16642 from some compilers.
16643
68605433
PE
16644 mktime: remove incorrect attempt at unusual arithmetics
16645 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16646 The code didn't really work on such machines anyway.
16647 (TYPE_MINIMUM): Assume two's complement.
16648 (twos_complement_arithmetic): Verify that long_int and time_t
16649 are two's complement (or unsigned, in the latter case).
16650
03cf7fe3
PE
16651 mktime: check signed shifts on long_int and time_t, too
16652 * time/mktime.c (SHR): Check that shifts work as desired
16653 on the types long_int and time_t too, as SHR is used on
16654 such types.
16655
f04dfbc2
PE
16656 mktime: do not assume 'long' is wide enough
16657 * time/mktime.c (verify): Move decl up.
16658 (long_int): New type.
16659 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16660 to remove assumption in the code that 'long' is wide enough to
16661 store year values. This assumption is not true on x32 and on
16662 some non-glibc platforms.
16663
62bdf9a6
PE
16664 mktime: merge wrapv change from gnulib
16665 * time/mktime.c (WRAPV): New macro.
16666 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16667 (guess_time_tm, __mktime_internal): Do not assume that signed
16668 integer overflow wraps around; modern compilers generate code
16669 where this assumption is no longer valid.
16670
5e292e4f
L
166712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16672
16673 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16674 Replace "jmp L(pseudo_end)" with "ret".
16675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16676 Likewise.
16677
8caf8c87
AJ
166782012-05-23 Andreas Jaeger <aj@suse.de>
16679
16680 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16681 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16682
1a09dc56
AJ
166832012-05-23 Andreas Jaeger <aj@suse.de>
16684 Maximilian Attems <max@stro.at>
16685
16686 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16687 New macros.
16688
1c87aba0
L
166892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16690
16691 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16692 code so that pseudo_end is just ret and the stack pointer is
16693 correct also for static library in error case.
16694
40e45bd5
JM
166952012-05-23 Joseph Myers <joseph@codesourcery.com>
16696
c2670533
JM
16697 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16698 move to syscalls.list.
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16703
40e45bd5
JM
16704 * manual/install.texi (Running make install): Do not mention Linux
16705 kernel version for which pt_chown is not needed.
16706 (Linux): Do not mention problems with nscd with 2.0 kernels.
16707 * INSTALL: Regenerated.
16708
be08eda5
AJ
167092012-05-23 Andreas Jaeger <aj@suse.de>
16710
16711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16712 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16713 macro.
16714 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16716 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16718 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16720 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16722 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16724 * sysdeps/unix/sysv/linux/bits/in.h
16725 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16726
a6a056bb
RM
167272012-05-22 Roland McGrath <roland@hack.frob.com>
16728
16729 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16730 (PREPARE_VERSION): Just use assert instead, it will be elided
16731 under [NDEBUG] anyway.
16732
c9009328
L
167332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16734
16735 * sysdeps/unix/sysv/linux/Makefile: Include
16736 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16737 (sysdep_routines): Remove sysctl.
c9009328
L
16738 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16739 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16740 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16741 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16742 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16743
73338355
AJ
167442012-05-22 Andreas Jaeger <aj@suse.de>
16745
16746 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16747 that pseudo_end is just ret and the stack pointer is correct also
16748 for static library in error case.
16749
d44638b0
PP
167502012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16751
16752 [BZ #14122]
16753 * nss/nsswitch.c (defconfig_entries): New variable.
16754 (__nss_database_lookup): Don't leak defconfig entries.
16755 (nss_parse_service_list): Don't leak on error paths.
16756 (free_database_entries): New function.
16757 (free_defconfig): New function.
16758 (free_mem): Move common code to free_database_entries.
16759
31a39bd8
L
167602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16761
da0331a8
L
16762 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16763 Add arch_prctl.
16764 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16765
31a39bd8
L
16766 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16767 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16769 New macro.
16770 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16771 (INTERNAL_SYSCALL_TYPES): Likewise.
16772 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16773 (LOAD_REGS_TYPES_[1-6]): Likewise.
16774 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16775 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16776
45470df3
AZ
167772012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16778
16779 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16780 copysignl for GLIBC_2_0.
16781 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16782 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16784 logbl for GLIBC_2_0.
16785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16786 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16787
98a61bcb
L
167882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16789
a4f6e481
L
16790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16791 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16792
f63d5db6
L
16793 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16794 Use "neg %eax".
16795
98a61bcb
L
16796 * time/mktime.c: Update copyright years.
16797
95770f14
PE
167982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16799
6226efbd
PE
16800 mktime: merge comment-quoting-style change from gnulib
16801 * time/mktime.c: Quote 'like this' in comments.
16802 The GNU coding standards suggest that we no longer quote `like this',
16803 as "`" and "'" are typically rendered asymmetrically nowadays.
16804 The typical gnulib style is to quote 'like this' when quoting
16805 code, and "like this" when quoting English.
16806
b99e4f78
PE
16807 * time/mktime.c (compile-command): Add "-I.".
16808
643e01e6
PE
16809 mktime: merge mktime-internal.h change from gnulib
16810 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16811
2554247d
PE
16812 mktime: merge time_r change from gnulib
16813 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16814
826dd0ab
PE
16815 mktime: merge DEBUG change from gnulib
16816 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16817 case system <time.h> has a #define.
16818
bd83aabe
PE
16819 mktime: merge <sys/types.h> change from gnulib
16820 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16821 since <time.t> is now guaranteed to define time_t.
16822
95770f14
PE
16823 mktime: merge HAVE_CONFIG_H change from gnulib
16824 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16825
5e1a27a9
L
168262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16827
0e44a77e
L
16828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16829 Use "neg %eax".
16830
5e1a27a9
L
16831 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16832 __rlim_t cast.
16833 (struct rusage): Use anonymous union to pad each field to
16834 __syscall_slong_t.
16835
46259bec
DM
168362012-05-21 David S. Miller <davem@davemloft.net>
16837
16838 * Makefules (o-iterator): Remove .s cases.
16839 (compile-command.s): Delete.
16840 (COMPILE.s): Delete.
16841 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16842
59f0c22e
JM
168432012-05-21 Joseph Myers <joseph@codesourcery.com>
16844
16845 * configure.in (libc_cv_predef_stack_protector): Only consider
16846 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16847 * configure: Regenerated.
16848
20c07380
L
168492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16850
bbb3154b
L
16851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16852 New macro. Use R*LP on int and pointer.
16853 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16854 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16855 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16856 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16857
20c07380
L
16858 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16859 [__WORDSIZE_TIME64_COMPAT32] instead of
16860 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16861 (struct utmp): Likewise.
16862 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16863 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16864 Renamed to ...
16865 (__WORDSIZE_TIME64_COMPAT32): This.
16866 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16867 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16868 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16869 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16870 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16871 (__WORDSIZE_TIME64_COMPAT32): New macro.
16872
d8d1017e
AJ
168732012-05-21 Andreas Jaeger <aj@suse.de>
16874
16875 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16876 only if [SHARED]. Add prototype for __wcschr_ia32.
16877
6c7fb145
RM
168782012-05-21 Roland McGrath <roland@hack.frob.com>
16879
16880 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16881 of %rbp unmolested in the jmp_buf while mangling the low bits.
16882 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16883 unmolested high bits of %rbp while demangling the low bits.
16884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16885
66274218
AJ
168862012-05-21 Andreas Jaeger <aj@suse.de>
16887
07c58f8f
AJ
16888 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16889 * sunrpc/svc_simple.c: Use it for registerrpc.
16890 * sunrpc/xcrypt.c: Use it for passwd2des.
16891
66274218
AJ
16892 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16893
61f65140
L
168942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16895
16896 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16897 Don't define if [__SYSCALL_WORDSIZE != 32].
16898 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16899 New macro.
16900
5fefb436
AJ
169012012-05-21 Bruno Haible <bruno@clisp.org>
16902 Andreas Jaeger <aj@suse.de>
16903
16904 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16905 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16906 inptr and inend for must_buffer_ch.
16907 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16908 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16909 * stdio-common/Makefile (tests): Remove bug15.
16910 (bug15-ENV): Remove macro.
16911 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16912 anymore.
16913
d8e272ab
AJ
169142012-05-19 Andreas Jaeger <aj@suse.de>
16915 Roland McGrath <roland@hack.frob.com>
16916
16917 * manual/contrib.texi: Completely rewritten. It contains now an
16918 alphabetical list of contributors and their contributions.
16919
4a56a162
RH
169202012-05-21 Richard Henderson <rth@twiddle.net>
16921
16922 * misc/getauxval.c (__getauxval): Use unsigned long int.
16923 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16924 (getauxval): Use unsigned long int.
16925
d024d23c
L
169262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16927
16928 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16929
cbc00a03
RM
169302012-05-21 Roland McGrath <roland@hack.frob.com>
16931
16932 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16933 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16934 __alignof__ (long double).
16935
478143fa
AZ
169362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16937
16938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16939
c7683a6d
RH
169402012-05-20 Richard Henderson <rth@twiddle.net>
16941
16942 * misc/getauxval.c: New file.
16943 * misc/sys/auxv.h: New file.
16944 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16945 (routines): Add getauxval.
16946 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16947 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16948 * elf/dl-sysdep.c (_dl_auxv): Remove.
16949 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16950 * elf/dl-support.c (_dl_auxv): New variable.
16951 (_dl_aux_init): Initialize it.
16952 * manual/startup.texi (Auxiliary Vector): New node.
16953 * sysdeps/generic/bits/hwcap.h: New file.
16954 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16955 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16956 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16957 * sysdeps/sparc/sysdep.h: ... here. Include it.
16958 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16961 Update.
c7683a6d
RH
16962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16965 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16970
a6f1845d
AZ
169712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16972
16973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16974
cbcbe830
DM
169752012-05-19 David S. Miller <davem@davemloft.net>
16976
16977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16978
e0b16cc2
JM
169792012-05-19 Joseph Myers <joseph@codesourcery.com>
16980
16981 [BZ #14123]
16982 * math/s_ccosh.c: Include <float.h>
16983 (__ccosh): Avoid internal overflow calculating sinh and cosh
16984 values before multiplying by sin and cos values.
16985 * math/s_ccoshf.c: Likewise.
16986 * math/s_ccoshl.c: Likewise.
16987 * math/s_csin.c: Likewise.
16988 * math/s_csinf.c: Likewise.
16989 * math/s_csinl.c: Likewise.
16990 * math/s_csinh.c: Likewise.
16991 * math/s_csinhf.c: Likewise.
16992 * math/s_csinhl.c: Likewise.
16993 * math/libm-test.inc (ccos_test): Add more tests.
16994 (ccosh_test): Likewise.
16995 (csin_test): Likewise.
16996 (csinh_test): Likewise.
16997 * sysdeps/i386/fpu/libm-test-ulps: Update.
16998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16999
6ad13e08
L
170002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17001
f66f0ce8
L
17002 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17003 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17004
6ad13e08
L
17005 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17006
b1d072a7
JM
170072012-05-19 Joseph Myers <joseph@codesourcery.com>
17008
17009 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17010 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17011 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17012 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17013 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17014 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17015 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17016 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17017 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17018 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17019 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17020 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17021 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17022 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17023 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17024 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17025 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17026 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17027 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17028 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17029 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17030 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17031 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17032 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17033 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17034 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17035 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17036 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17037 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17038 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17039 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17040
9eae47cb
AJ
170412012-05-18 Andreas Jaeger <aj@suse.de>
17042
17043 * csu/.gitignore: Delete.
17044
bb07f69f
L
170452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17046
17047 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17048 (timex): Use __syscall_slong_t.
17049
e6bdb741
AJ
170502012-05-18 Andreas Jaeger <aj@suse.de>
17051 Carlos O'Donell <carlos_odonell@mentor.com>
17052
17053 * manual/install.texi (Configuring and compiling): Update
17054 description about files modified in the source directory.
d6c33fda 17055 * INSTALL: Regenerated.
e6bdb741 17056
1b74487e
L
170572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17058
17059 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17060 value. Use "or" to set return value to -1.
17061 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17062 negate return value.
17063
a88b64b9
TMQMF
170642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17065
17066 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17067 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17068 failure if the compiler has Graphite support disabled.
17069 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17070 Likewise.
17071 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17072 CFLAGS-memmove.c): Likewise.
17073 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17074 Likewise.
17075
3707636e
L
170762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17077
610b8622
L
17078 * sysdeps/x86_64/x32/_itoa.h: New file.
17079
7cd195df
L
17080 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17081 getdents system call only if kernel and user dirents have the
17082 same d_ino and d_off.
17083
94b07d20
L
17084 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17085 LLONG_MAX != LONG_MAX.
17086 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17087 (_fitoa_word): Likewise.
17088
18298070
L
17089 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17090 years.
17091 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17092 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17093 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17094
553c7ea4
L
17095 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17096 include <bits/wordsize.h>. Check __x86_64__ instead of
17097 __WORDSIZE.
17098 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17099 if __x86_64__ is defined. Use anonymous union on fpstate.
17100
3707636e
L
17101 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17102 anonymous union.
17103
b53ef01a
AS
171042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17105
37fb1dc0
AS
17106 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17107 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17109 Refer to _rtld_local_ro instead of _rtld_global_ro.
17110 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17111 Likewise.
17112 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17113 Likewise.
17114 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17115 Likewise.
17116 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17117 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17118 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17119
b53ef01a
AS
17120 * sysdeps/powerpc/powerpc32/dl-machine.c
17121 (__elf_machine_runtime_setup) [PROF]: Don't reference
17122 _dl_prof_resolve.
17123
7a185db2
AJ
171242012-05-18 Andreas Jaeger <aj@suse.de>
17125
17126 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17127 function only available for GCCs before 3.4 since GCC 3.4
17128 introduced a builtin.
17129 (lrint): Likewise.
17130 (llrintf): Likewise.
17131 (llrint): Likewise.
17132 (fmaxf): Likewise.
17133 (fmax): Likewise.
17134 (fminf): Likewise.
17135 (fmin): Likewise.
17136 (rint): Likewise.
17137 (rintf): Likewise.
17138 (nearbyint): Likewise.
17139 (nearbyintf): Likewise.
17140 (ceil): Likewise.
17141 (ceilf): Likewise.
17142 (floor): Likewise.
17143 (floorf): Likewise.
17144
3e5aef87
L
171452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17146
428bd707
L
17147 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17148 on both fields and cast pointer to __syscall_ulong_t.
17149
3e5aef87
L
17150 * bits/types.h (__fsword_t): New type.
17151 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17152 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17154 (__FSWORD_T_TYPE): Likewise.
17155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17156 (__FSWORD_T_TYPE): Likewise.
17157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17158 (__FSWORD_T_TYPE): Likewise.
17159 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17160 (__FSWORD_T_TYPE): Likewise.
17161 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17162 __SWORD_TYPE with __fsword_t.
17163 (statfs64): Likewise.
17164
1ba7c3dc
DM
171652012-05-17 David S. Miller <davem@davemloft.net>
17166
17167 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17168
59910343
AJ
171692012-05-17 Andreas Jaeger <aj@suse.de>
17170
17171 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17172 warning.
17173
2e4c1e9e
L
171742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17175
17176 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17177
de7f5ce7
AJ
171782012-05-17 Andreas Jaeger <aj@suse.de>
17179
17180 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17181 when it is used.
17182
286abc3d
CM
171832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17184
17185 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17186
477cc68e
L
171872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17188
17189 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17190 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17191
1a0994f5
CD
171922012-05-17 Andreas Jaeger <aj@suse.de>
17193 Carlos O'Donell <carlos_odonell@mentor.com>
17194
17195 [BZ #14059]
17196 * sysdeps/x86_64/multiarch/init-arch.h
17197 (bit_YMM_Usable): Rename to...
17198 (bit_AVX_Usable): ... this.
17199 (bit_FMA4_Usable): New macro.
17200 (bit_XMM_state): New macro.
17201 (bit_YMM_state): New macro.
17202 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17203 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17204 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17205 (CPUID_OSXSAVE): New macro.
17206 (CPUID_AVX): New macro.
17207 (CPUID_FMA4): New macro.
17208 (index_YMM_Usable): Rename to...
17209 (index_AVX_Usable): ... this.
17210 (HAS_AVX): Use HAS_ARCH_FEATURE.
17211 (HAS_FMA4): Likewise.
17212 (HAS_YMM_USABLE): Remove.
17213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17214 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17215 are present.
17216 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17217 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17218 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17219 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17220 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17221
0af797de
CM
172222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17223
17224 * math/libm-test.c: Support platforms without multiple rounding modes.
17225 * math/bug-nextafter.c: Support platforms without FP exceptions.
17226 * math/bug-nexttoward.c: Likewise.
17227 * math/test-fenv.c: Likewise.
17228 * math/test-misc.c: Likewise.
17229 * stdlib/bug-getcontext.c: Likewise.
17230
e39745ff
AJ
172312012-05-17 Andreas Jaeger <aj@suse.de>
17232
17233 * manual/examples/search.c (critter_cmp): Change signature to
17234 avoid warnings.
17235 * manual/string.texi (Collation Functions): Likewise.
17236
48970aba
L
172372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17238
17239 * bits/types.h: Fold copyright years.
17240 * bits/typesizes.h: Likewise.
17241 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17245 * time/time.h: Likewise.
17246
bedee953
PP
172472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17248
17249 [BZ #208]
17250 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17251 in instead of returning them. Return void.
17252 (__libc_mallinfo): Accumulate over all arenas.
17253 (__malloc_stats): Adjust for change in int_mallinfo interface.
17254
61653dfb
RM
172552012-05-16 Roland McGrath <roland@hack.frob.com>
17256
30b99d79
RM
17257 [BZ #10375]
17258 * configure.in (NM): Add AC_CHECK_TOOL for it.
17259 (libc_extra_cflags): New substituted variable.
17260 Check for -fstack-protector being used implicitly.
17261 * configure: Regenerated.
17262 * config.make.in (config-extra-cflags): New variable,
17263 gets @libc_extra_cflags@.
17264 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17265
61653dfb
RM
17266 [BZ #10375]
17267 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17268 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17269 * configure: Regenerated.
17270 * config.make.in (CPPUNDEFS): New substituted variable.
17271 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17272 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17273 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17274
661768bb
L
172752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17276
17277 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17278 (mq_attr): Use __syscall_slong_t.
17279
d4261567
L
172802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17281
17282 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17283 Check __x86_64__ instead of __WORDSIZE.
17284 (_STAT_VER_LINUX): Likewise.
17285 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17286 __syscall_ulong_t and __syscall_slong_t.
17287 (stat64): Likewise.
17288
cf3ff365
L
172892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17290
17291 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17292
76cf3e4d
L
172932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17294
17295 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17296
a637753a
L
172972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17298
17299 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17300 __syscall_ulong_t.
17301
d5e05119
L
17302 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17303 include <bits/wordsize.h>. Check __x86_64__ instead of
17304 __WORDSIZE.
17305 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17306 defined.
17307 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17308
f62ee380
L
17309 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17310 include <bits/wordsize.h>. Check __x86_64__ instead of
17311 __WORDSIZE.
17312 (user_regs_struct): Use "__extension__ unsigned long long"
17313 instead of "unsigned long" if __x86_64__ is defined.
17314 (user): Likewise. Pad after pointer field if __ILP32__ is
17315 defined.
17316
4e124ced
JM
173172012-05-16 Joseph Myers <joseph@codesourcery.com>
17318
6a3951a0
JM
17319 * configure.in (makeinfo): Require version 4.5 or later. Allow
17320 versions 5 to 9.
17321 * configure: Regenerated.
17322 * manual/install.texi (texinfo): Increase version requirement to
17323 4.5 or later.
17324 * INSTALL: Regenerated.
17325
4e124ced
JM
17326 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17327
953ca31a
L
173282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17329
17330 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17331
617aca05
L
17332 * sysdeps/x86_64/x32/ffs.c: New file.
17333
5762f7ae
L
17334 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17335 __syscall_ulong_t.
17336 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17337 defined. Use __syscall_ulong_t.
17338 (shminfo): Use __syscall_ulong_t.
17339 (shm_info): Likewise.
17340
a26b6856
L
17341 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17342 __syscall_ulong_t.
17343
cb2b9ef7
L
17344 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17345 <bits/wordsize.h>.
17346 (msgqnum_t): Use __syscall_ulong_t.
17347 (msglen_t): Likewise.
17348 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17349 __syscall_ulong_t.
17350
34683bb0
L
17351 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17352 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17353
84a68786
L
17354 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17355
48baa5f1
L
17356 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17357 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17358
180be88b
L
17359 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17360 __syscall_slong_t.
17361
5e90c8ad
L
17362 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17363 include <bits/wordsize.h>. Check __x86_64__ instead of
17364 __WORDSIZE.
17365
23dfb58b
L
17366 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17367 "unsigned long long int" if __x86_64__ is defined.
17368 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17369
ce5d54b0
L
17370 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17371 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17372 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17373
13dc9eac
L
17374 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17375 <stdint.h>.
17376 (GET_PC): Cast to uintptr_t first.
17377 (GET_FRAME): Likewise.
17378 (GET_STACK): Likewise.
17379
a7895d15
L
17380 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17381 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17382 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17383 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17384 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17385 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17386 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17387 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17388 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17389 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17390 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17391 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17392 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17393 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17394 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17395 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17396 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17397 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17398 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17399 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17400 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17401 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17402 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17403 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17404 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17405 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17406 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17407 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17408 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17409
656416c9
AS
174102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17411
5bd66283
AS
17412 * Makerules (+depfiles): Also collect depfiles from .oS in
17413 $(extra-objs).
17414 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17415 .oS, $(libnldbl-routines)).
17416
656416c9
AS
17417 * Makerules (native-compile-mkdep-flags): Define.
17418 * sunrpc/Makefile (extra-objs): Add $(addprefix
17419 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17420 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17421 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17422 calling $(make-target-directory).
17423
a46f2169
L
174242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17425
17426 * bits/types.h (__snseconds_t): Removed.
17427 * time/time.h (struct timespec): Replace __snseconds_t with
17428 __syscall_slong_t.
17429 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17430 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17431 Likewise.
17432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17433 (__SNSECONDS_T_TYPE): Likewise.
17434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17435 (__SNSECONDS_T_TYPE): Likewise.
17436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17437 (__SNSECONDS_T_TYPE): Likewise.
17438
6af6528b
L
174392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17440
17441 * sysdeps/mach/hurd/bits/typesizes.h
17442 (__SYSCALL_SLONG_TYPE): New macro.
17443 (__SYSCALL_ULONG_TYPE): Likewise.
17444
de986b56
L
174452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17446
17447 * bits/types.h (__syscall_slong_t): New type.
17448 (__syscall_ulong_t): Likewise.
17449
17450 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17451 (__SYSCALL_ULONG_TYPE): Likewise.
17452 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17453 (__SYSCALL_SLONG_TYPE): Likewise.
17454 (__SYSCALL_ULONG_TYPE): Likewise.
17455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17456 (__SYSCALL_SLONG_TYPE): Likewise.
17457 (__SYSCALL_ULONG_TYPE): Likewise.
17458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17459 (__SYSCALL_SLONG_TYPE): Likewise.
17460 (__SYSCALL_ULONG_TYPE): Likewise.
17461
85736dc7
L
174622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17465 Add sigaltstack-offsets.sym.
17466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17467 <sigaltstack-offsets.h>.
17468 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17469 longjmp_msg pointer.
17470 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17471 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17472 signal stack.
17473 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17474
cc03b296
JM
174752012-05-15 Joseph Myers <joseph@codesourcery.com>
17476
a9538892
JM
17477 * elf/stackguard-macros.h: Remove file.
17478 * sysdeps/generic/stackguard-macros.h: New file.
17479 * sysdeps/i386/stackguard-macros.h: Likewise.
17480 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17481 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17482 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17483 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17484 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17485 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17486 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17487 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17488 <elf/stackguard-macros.h>.
17489
cc03b296
JM
17490 [BZ #14109]
17491 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17492 __aligned__ in attribute.
17493 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17494 (gregset_t): Likewise.
17495
93171016
L
174962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17497
17498 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17499 * sysdeps/x86_64/64/Implies-after: Here. New file.
17500 * sysdeps/x86_64/x32/Implies-after: New file.
17501
d86813a0
L
175022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17503
17504 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17505 and access return value for _dl_profile_fixup. Use R10_LP to
17506 load frame size.
17507
2953ec75
L
175082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17509
17510 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17511
3b550e9e
L
175122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17513
17514 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17515 * sysdeps/x86_64/x32/sysdep.h: New file.
17516
eda41706
L
175172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17518
17519 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17520 * sysdeps/x86_64/setjmp.S: Likewise.
17521
9ea01d93
AZ
175222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17523
17524 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17525 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17526 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17528 remove unused global constant.
17529
02a91938
CM
175302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17531
17532 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17533 include of <not-cancel.h>.
17534
6540185f
RM
175352012-05-15 Roland McGrath <roland@hack.frob.com>
17536
17537 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17538
509072a0
AJ
175392012-05-15 Jeff Law <law@redhat.com>
17540 Andreas Jaeger <aj@suse.de>
17541
17542 [BZ #13594]
17543 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17544 out from...
17545 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17546 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17547 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17548 code changing __hst_map_handle.map.
17549
ba75122d
RM
175502012-05-15 Roland McGrath <roland@hack.frob.com>
17551
17552 * configure.in (sysnames): Look for Implies-before and Implies-after
17553 files.
17554 * configure: Regenerated.
17555
890d8bd8
L
175562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17557
17558 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17559 8-byte data alignment with LP_SIZE alignment.
17560
f6ee6623
L
175612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17562
17563 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17564 into R10_LP.
17565
ea2626f6
L
175662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17567
17568 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17569
085f715e
L
175702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17571
17572 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17573 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17574 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17575 Likewise.
17576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17577
be8498fc
L
175782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17581 (stackinfo_sub_sp): Likewise.
17582
70bc83b9
L
175832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17584
17585 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17586 RAX_LP.
17587
9bc0b730
L
175882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17589
17590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17591 into R*_LP.
17592
6d2850e7
L
175932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17594
17595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17596 sizes into R*_LP.
17597
3cb84561
L
175982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17599
17600 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17601
54e2ed81
L
176022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17603
17604 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17605 into R11_LP and load __x86_64_shared_cache_size_half into
17606 R8_LP.
17607
8a17f349
L
176082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17609
17610 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17611 R8_LP.
17612
777b1eea
AZ
176132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17614
17615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17616 logb for POWER7.
17617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17618 logbf for POWER7.
17619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17620 logbl for POWER7.
17621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17622 powerpc32/power7/fpu/s_logb.c via #include.
17623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17624 powerpc32/power7/fpu/s_logbf.c via #include.
17625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17626 powerpc32/power7/fpu/s_logbl.c via #include.
17627
d20d4ac2
JM
176282012-05-15 Joseph Myers <joseph@codesourcery.com>
17629
17630 * README.libm: Remove file.
17631
6cdef1ab
L
176322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17633
17634 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17635 count for x32. Use R*_LP and omit operand-size suffix.
17636
0b254d8f
L
176372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17638
17639 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17640 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17641 * sysdeps/x86_64/x32/shlib-versions: New file.
17642
ceb809dc
RM
176432012-05-14 Roland McGrath <roland@hack.frob.com>
17644
17645 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17646 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17647 Use _dl_fatal_printf instead.
17648
37f1abd4
JM
176492012-05-14 Joseph Myers <joseph@codesourcery.com>
17650
17651 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17652 set if not set by the user. Do not allow for being unset.
17653 * sysdeps/unix/sysv/linux/configure: Regenerated.
17654
11de3a33
L
176552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17656
17657 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17658 the `q' suffix from lea and replace .quad with ASM_ADDR.
17659
e02f153a
L
176602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17661
17662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17663 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17664 instead of $17.
17665 (PTR_DEMANGLE): Likewise.
17666
520ae0fd
L
176672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17668
17669 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17670 (LP_OP): Likewise.
17671 (ASM_ADDR): Likewise.
17672 (RAX_LP): Likewise.
17673 (RBP_LP): Likewise.
17674 (RBX_LP): Likewise.
17675 (RCX_LP): Likewise.
17676 (RDI_LP): Likewise.
17677 (RSI_LP): Likewise.
17678 (RSP_LP): Likewise.
17679 (R8_LP): Likewise.
17680 (R9_LP): Likewise.
17681 (R10_LP): Likewise.
17682 (R10_LP): Likewise.
17683 (R11_LP): Likewise.
17684 (R12_LP): Likewise.
17685 (R13_LP): Likewise.
17686 (R14_LP): Likewise.
17687 (R15_LP): Likewise.
17688
b985be81
L
176892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17690
17691 * sysdeps/x86_64/x32/dl-machine.h: New file.
17692
6a4888ff
AJ
176932012-05-14 Andreas Jaeger <aj@suse.de>
17694
17695 * manual/Makefile (subdir): Remove export of subdir.
17696 (all): Remove target.
17697 (.PHONY): Remove all from list.
17698 (mkinstalldirs): Remove.
17699 (.PHONY): Remove installdirs from list.
17700 ($(inst_infodir)/libc.info): Use make-target-directory.
17701 (installdirs): Remove.
17702 (subdir_%): Remove.
17703 (glibc-targets): Remove.
17704 (lib): Remove.
17705 (stubs): Remove.
17706 ($(objpfx)stubs ../po/manual.pot): Remove.
17707 ($(objpfx)stamp%): Remove.
17708 (make-target-directory): Remove.
17709 (subdir_install): Remove.
17710 (routines): Remove.
17711 (aux): Remove.
17712 (sources): Remove.
17713 (objects): Remove.
17714 (headers): Remove.
17715
17716 [BZ #13750]
17717 * manual/.gitignore: Remove, it's not needed anymore.
17718 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17719 all files in it.
17720 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17721 directory.
17722 (texis): Renamed to $(objpfx)texis.
17723 (texis-path): New, contains path to generated files.
17724 (chapters.%): Use texis-path for complete path, add extra argument
17725 libc-texinfo.sh.
17726 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17727 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17728 (summary,texi, stamp-summary): Use complete path of
17729 files. Generate files in build dir.
17730 (dir-add.texi): Build in build dir.
17731 (libm-err.texi,stamp-libm-err): Likewise.
17732 (version.texi, stamp-version): Likewise.
17733 (.%c.texi): Likewise.
17734 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17735 (mostlyclean): Remove target.
17736 (realclean): Remove target.
17737 (generated): Add new variable with contents from mostlyclean and
17738 realclean, remove entries duplicated in common-mostlyclean, add
17739 stamp-libm-err and stamp-version.
17740 (generated-dirs): Add libc directory.
17741 ($(inst_infodir)/libc.info): Install files from build dir.
17742
17743 * manual/install.texi (Configuring and compiling): Adjust since
17744 the info files are not part of the tar ball anymore.
17745
7ac77294
AJ
177462012-05-14 Andreas Jaeger <aj@suse.de>
17747
17748 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17749 variable.
17750
ffb7875d
JM
177512012-05-14 Joseph Myers <joseph@codesourcery.com>
17752
17753 [BZ #13717]
17754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17755 to 2.2.0 where earlier.
17756 * sysdeps/unix/sysv/linux/configure: Regenerated.
17757 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17758 Remove conditional code.
17759 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17760 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17761 Remove conditional code.
17762 [!__NR_lchown]: Likewise.
17763 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17764 [__NR_lchown]: Likewise.
17765 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17766 comment referencing __ASSUME_LCHOWN_SYSCALL.
17767 * sysdeps/unix/sysv/linux/i386/sigaction.c
17768 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17769 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17770 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17771 Remove conditional code.
17772 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17773 (__protocol_available): Remove #if 0 code.
17774 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17775 conditional code.
17776 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17777 * sysdeps/unix/sysv/linux/kernel-features.h
17778 (__ASSUME_GETCWD_SYSCALL): Don't define.
17779 (__ASSUME_REALTIME_SIGNALS): Likewise.
17780 (__ASSUME_PREAD_SYSCALL): Likewise.
17781 (__ASSUME_PWRITE_SYSCALL): Likewise.
17782 (__ASSUME_POLL_SYSCALL): Likewise.
17783 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17784 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17785 non-SPARC.
17786 (__ASSUME_SIOCGIFNAME): Don't define.
17787 (__ASSUME_MSG_NOSIGNAL): Likewise.
17788 (__ASSUME_SENDFILE): Define unconditionally.
17789 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17790 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17791 conditional code.
17792 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17793 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17794 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17795 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17796 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17797 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17798 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17800 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17803 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17806 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17807 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17809 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17812 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17813 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17815 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17818 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17819 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17821 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17823 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17824 Remove conditional code.
17825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17826 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17827 Remove conditional code.
17828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17829 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17830 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17831 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17832 Remove conditional code.
17833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17834 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17835 Remove conditional code.
17836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17837 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17838 Remove conditional code.
17839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17840 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17841 Remove conditional code.
17842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17843 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17844 Remove conditional code.
17845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17846 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17847 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17848 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17849 * sysdeps/unix/sysv/linux/sigaction.c
17850 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17851 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17852 * sysdeps/unix/sysv/linux/sigpending.c
17853 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17854 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17855 * sysdeps/unix/sysv/linux/sigprocmask.c
17856 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17857 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17858 * sysdeps/unix/sysv/linux/sigsuspend.c
17859 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17860 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17861 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17862 (__libc_missing_rt_sigs): Remove.
17863 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17864 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17865 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17866 Remove conditional code.
17867 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17868 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17869 return 1.
17870 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17871 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17872 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17873 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17874
1bfb7291
AJ
178752012-05-14 Andreas Jaeger <aj@suse.de>
17876
caae5a81
AJ
17877 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17878 it's not used in glibc.
17879 (__coshm1): Likewise.
17880 (__acosh1p): Likewise.
17881 (__sgn): Likewise.
17882
1bfb7291
AJ
17883 * manual/string.texi (Copying and Concatenation): Add missing
17884 variable in concat example.
17885 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17886
c044d724
L
178872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17888
144c5467 17889 [BZ #14103]
c044d724
L
17890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17891 __builtin_clzl with __builtin_clzll.
17892
2523c62b
L
178932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17894
17895 [BZ #14104]
17896 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17897 libc_freeres_ptr.
17898
d7bb4c42
LD
178992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17900
17901 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17902 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17903 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17904 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17905
9dc4e1fb
MF
179062012-05-14 Mike Frysinger <vapier@gentoo.org>
17907
17908 * NEWS: Update ia64 info.
17909
c7df0112
AS
179102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17911
17912 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17913 used as bcopy.
17914
dc70356c
TS
179152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17916
17917 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17918 * sysdeps/unix/syscalls.list (dup3): Likewise.
17919 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17920 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17921
9fb1a21f
L
179222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17923
17924 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17925 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17926
4822a2a5
L
179272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17928
17929 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17930 thread pointer.
17931 (TLS_IE): Use mov/add instead of movq/addq to load thread
17932 pointer.
17933 (TLS_GD_PREFIX): New.
17934 (TLS_GD): Use it.
17935
842b81d6
DM
179362012-05-11 David S. Miller <davem@davemloft.net>
17937
17938 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17939 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17940 (_FPU_SETCW): Likewise.
17941
1cf463cd
L
179422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17943
17944 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17945 is 32-byte aligned.
17946
60cc4a18
AS
179472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17948
17949 [BZ #11837]
17950 * iconvdata/gb18030.c: Update tables.
17951 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17952 characters specially.
17953 (BODY for TO_LOOP): Add encoding of missing ranges.
17954
febb44a4
TS
179552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17956
17957 [BZ #13673]
17958 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17959 * sysdeps/mach/hurd/dup3.c: Likewise.
17960 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17961 * sysdeps/powerpc/memmove.c:: Likewise.
17962
0a10fb9e
L
179632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17964
17965 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17966 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17967
df8a552f
L
179682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17969
17970 * elf/elf.h (R_X86_64_RELATIVE64): New.
17971 (R_X86_64_NUM): Updated.
17972 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17973 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17974 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17975 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17976 tst-quad1pie tst-quad2pie
17977 (modules-names): Add tst-quadmod1 tst-quadmod2.
17978 ($(objpfx)tst-quad1): New dependency.
17979 ($(objpfx)tst-quad2): Likewise.
17980 ($(objpfx)tst-quad1pie): Likewise.
17981 ($(objpfx)tst-quad2pie): Likewise.
17982 * sysdeps/x86_64/tst-quad1.c: New file.
17983 * sysdeps/x86_64/tst-quad1pie.c: New file.
17984 * sysdeps/x86_64/tst-quad2.c: Likewise.
17985 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17986 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17987 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17988 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17989 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17990
f34d6f84
ST
179912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17992
f42d41d1
ST
17993 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17994 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17995 * streams/stropts.h (t_scalar_t): Define type.
17996
3c3571fc
ST
17997 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17998 (_PATH_PRESERVE): Set to "/var/lib".
17999 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18000
61f06bd3
ST
18001 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18002 instead of int.
18003
918d4d71
ST
18004 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18005 if __dir_mkfile succeeded.
18006
f34d6f84
ST
18007 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18008 checking for _hurd_dtablesize. Unlock it right after having
18009 finished _hurd_dtable allocation.
18010
10589b4a
TS
180112012-05-10 Thomas Schwinge <thomas@schwinge.name>
18012
674cdbc7
TS
18013 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18014 * sysdeps/mach/hurd/configure: Regenerated.
18015 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18016 special-casing to...
18017 * sysdeps/gnu/configure.in: ... this new file.
18018 * sysdeps/unix/sysv/linux/configure: Regenerated.
18019 * sysdeps/gnu/configure: New generated file.
18020
8e41b99f
TS
18021 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18022 for Linux: use nsec instead of usec, as well as:
18023 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18024 members of type struct timespec.
18025 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18026 New macros.
18027 (struct stat64): Likewise.
18028 (_STATBUF_ST_NSEC): New macro.
18029 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18030
10589b4a
TS
18031 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18032 __strtoul_internal rather than strtoul.
18033
63643c85
PT
180342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18035
18036 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18037 and reject them.
18038
3faebe6a
ST
180392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18040
18041 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18042 which preserves existing values.
18043 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18044
c6474b07
PT
180452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18046
18047 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18048 TIMEOUT values. Return EINVAL for NFDS values either negative or
18049 greater than FD_SETSIZE.
18050
1043890b
ST
180512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18052
18053 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18054 allocated, call __vm_protect to finish enabling the existing space, and
18055 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18056 allocate the remainder.
18057
37ed8b9b
PT
180582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18059
18060 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18061 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18062
db653660
ST
180632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18064
37ed8b9b
PT
18065 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18066 sysdeps/mach/hurd/readlink.c.
b29d4053 18067
db653660
ST
18068 * posix/tst-sysconf.c (posix_options): Only use
18069 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18070 _POSIX_SYNCHRONIZED_IO when they are defined
18071 * sysdeps/mach/hurd/bits/posix_opt.h:
18072 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18073 (_XOPEN_REALTIME): Undefine macro.
18074 (_XOPEN_REALTIME_THREADS): Undefine macro.
18075 (_XOPEN_SHM): Undefine macro.
18076 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18077 macro to -1.
18078 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18079 macro to -1.
18080 (_POSIX_ASYNC_IO): Undefine macro.
18081 (_POSIX_PRIORITIZED_IO): Undefine macro.
18082 (_POSIX_SPIN_LOCKS): Define macro to -1.
18083
ee16e894
ST
18084 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18085 SA_NODEFER, SA_RESETHAND.
18086 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18087 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18088 F_DUPFD_CLOEXEC.
18089
6103ae3b
TS
180902012-05-10 Thomas Schwinge <thomas@schwinge.name>
18091
18092 * elf/Makefile (pldd-modules): Define unconditionally.
18093
80b4e5f3
TS
180942012-05-10 Thomas Schwinge <thomas@schwinge.name>
18095
18096 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18097
edadcbd6
ST
180982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18099
18100 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18101 Return ENOENT when name is empty.
18102 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18103
80694780
TS
181042012-05-10 Thomas Schwinge <thomas@schwinge.name>
18105
1792c087
TS
18106 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18107
80694780
TS
18108 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18109
6b645f0d
ST
181102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18111
80694780
TS
18112 Fix mlock in all cases except non-readable pages.
18113 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18114 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18115
6b645f0d
ST
18116 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18117 (__mkdir): When path is `/', just fail with EEXIST.
18118 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18119
e468f8a3
TS
181202012-05-10 Thomas Schwinge <thomas@schwinge.name>
18121
18122 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18123 <sys/uio.h> (for writev).
18124 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18125 and <sys/param.h> (for MIN).
18126
a4186cff
PT
181272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18128
18129 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18130 REQUESTED_TIME. Properly set the remaining time and return EINTR
18131 if interrupted.
18132
510bbf14
TS
181332012-05-10 Thomas Schwinge <thomas@schwinge.name>
18134
18135 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18136 Depend on against $(link-rpcuserlibs).
18137
5d5722e8
ST
181382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18139
a4186cff
PT
18140 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18141 (__libc_stack_end): Do not use attribute_relro.
18142 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18143 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18144 to libthread-provided value.
a4186cff
PT
18145 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18146 attribute_relro.
5d5722e8 18147
37233df9
TS
181482012-05-10 Thomas Schwinge <thomas@schwinge.name>
18149
be971a2b
TS
18150 [BZ #3748]
18151 * bits/libc-lock.h (__libc_once_get): New macro.
18152 * sysdeps/mach/bits/libc-lock.h: Likewise.
18153 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18155 instead of using implementation details.
18156
37233df9
TS
18157 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18158 * libio/freopen.c: Likewise.
18159 * libio/freopen64.c: Likewise.
18160 * misc/syslog.c: Likewise.
18161 * nscd/connections.c: Likewise.
18162 * nscd/netgroupcache.c: Likewise.
18163 * sysdeps/posix/getcwd.c: Likewise.
18164
38de94a5
RM
181652012-05-10 Roland McGrath <roland@hack.frob.com>
18166
18167 * math/w_ilogbf.c: Add #include <limits.h>.
18168
67530489
ST
181692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18170
a4186cff 18171 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18172 path instead of returning without unlocking.
18173
67530489
ST
18174 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18175 immediate-write ioctls.
18176 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18177
5aa3a74a
TS
181782012-05-10 Thomas Schwinge <thomas@schwinge.name>
18179
18bad2ae
TS
18180 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18181 __builtin_frame_address instead of making assumptions about the
18182 location of the return address relative to DATA. Force early load of
18183 the return address.
18184 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18185 __builtin_frame_address.
18186
5aa3a74a
TS
18187 dup3 for GNU Hurd.
18188 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18189 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18190 implement dup3 and do some further code clean-ups.
18191 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18192 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18193
ecd0de9a
ST
181942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18195
cd9fa985
ST
18196 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18197
a4186cff
PT
18198 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18199 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18200 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18201 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18202 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18203 d->port.lock.
802ca5a5 18204
a4186cff
PT
18205 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18206 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18207 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18208
bcf55240
TS
182092012-05-10 Thomas Schwinge <thomas@schwinge.name>
18210
6960eb42
TS
18211 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18212 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18213 definitions.
18214
eb43375f
TS
18215 accept4 for GNU Hurd.
18216 * include/sys/socket.h (__libc_accept4): New prototype.
18217 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18218 to implement __libc_accept4.
18219 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18220 __libc_accept4.
18221 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18222
bcf55240
TS
18223 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18224 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18225 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18226 signal-defines.sym.
18227
6178c55b
ST
182282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18229
a4186cff 18230 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18231
6f080c2f
TS
182322012-05-10 Thomas Schwinge <thomas@schwinge.name>
18233
18234 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18235 assertion on O_CLOEXEC flag.
18236 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18237 * hurd/intern-fd.c: Likewise.
18238 * hurd/port2fd.c: Likewise.
18239
bcfe3a54
ST
182402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18241
18242 [BZ #3906]
18243 * bits/in.h (IPV6_PKTINFO): Define new macro.
18244 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18245
89c9aa49
AZ
182462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18247
18248 [BZ #13954]
18249 [BZ #13955]
18250 [BZ #13956]
18251 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18252 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18253 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18254 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18257 * math/libm-test.inc (logb_test) : Additional logb tests.
18258
021db4be
AJ
182592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18260 Andreas Jaeger <aj@suse.de>
18261
18262 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18263 * configure: Regenerated.
18264 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18265 * config.make.in (link-obsolete-rpc): New substituted variable.
18266 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18267 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18268 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18269 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18270 so that libc.a contains the symbols.
18271 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18272 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18273 * sunrpc/auth_none.c: Likewise.
18274 * sunrpc/auth_unix.c: Likewise.
18275 * sunrpc/authdes_prot.c: Likewise.
18276 * sunrpc/authuxprot.c: Likewise.
18277 * sunrpc/clnt_gen.c: Likewise.
18278 * sunrpc/clnt_perr.c: Likewise.
18279 * sunrpc/clnt_raw.c: Likewise.
18280 * sunrpc/clnt_simp.c: Likewise.
18281 * sunrpc/clnt_tcp.c: Likewise.
18282 * sunrpc/clnt_udp.c: Likewise.
18283 * sunrpc/clnt_unix.c: Likewise.
18284 * sunrpc/des_crypt.c: Likewise.
18285 * sunrpc/des_soft.c: Likewise.
18286 * sunrpc/get_myaddr.c: Likewise.
18287 * sunrpc/key_call.c: Likewise.
18288 * sunrpc/key_prot.c: Likewise.
18289 * sunrpc/netname.c: Likewise.
18290 * sunrpc/pm_getmaps.c: Likewise.
18291 * sunrpc/pm_getport.c: Likewise.
18292 * sunrpc/pmap_clnt.c: Likewise.
18293 * sunrpc/pmap_prot.c: Likewise.
18294 * sunrpc/pmap_prot2.c: Likewise.
18295 * sunrpc/pmap_rmt.c: Likewise.
18296 * sunrpc/publickey.c: Likewise.
18297 * sunrpc/rpc_cmsg.c: Likewise.
18298 * sunrpc/rpc_common.c: Likewise.
18299 * sunrpc/rpc_dtable.c: Likewise.
18300 * sunrpc/rpc_prot.c: Likewise.
18301 * sunrpc/rpc_thread.c: Likewise.
18302 * sunrpc/rtime.c: Likewise.
18303 * sunrpc/svc.c: Likewise.
18304 * sunrpc/svc_auth.c: Likewise.
18305 * sunrpc/svc_raw.c: Likewise.
18306 * sunrpc/svc_run.c: Likewise.
18307 * sunrpc/svc_tcp.c: Likewise.
18308 * sunrpc/svc_udp.c: Likewise.
18309 * sunrpc/svc_unix.c: Likewise.
18310 * sunrpc/svcauth_des.c: Likewise.
18311 * sunrpc/xcrypt.c: Likewise.
18312 * sunrpc/xdr.c: Likewise.
18313 * sunrpc/xdr_array.c: Likewise.
18314 * sunrpc/xdr_float.c: Likewise.
18315 * sunrpc/xdr_intXX_t.c: Likewise.
18316 * sunrpc/xdr_mem.c: Likewise.
18317 * sunrpc/xdr_rec.c: Likewise.
18318 * sunrpc/xdr_ref.c: Likewise.
18319 * sunrpc/xdr_sizeof.c: Likewise.
18320 * sunrpc/xdr_stdio.c: Likewise.
18321
b5c086a2
RM
183222012-05-10 Roland McGrath <roland@hack.frob.com>
18323
18324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18325 change. Update copyright years.
18326
6d74dd09
JM
183272012-05-10 Joseph Myers <joseph@codesourcery.com>
18328
18329 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18330
28e72501
MK
183312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18332 Joseph Myers <joseph@codesourcery.com>
18333 Paul Pluzhnikov <ppluzhnikov@google.com>
18334
18335 [BZ #14012]
18336 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18337 requiring rpcgen.
18338 [cross-compiling] (extra-libs): Likewise.
18339 [cross-compiling] (extra-libs-others): Likewise.
18340 [cross-compiling] (librpcsvc-routines): Likewise.
18341 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18342 [cross-compiling] (omit-deps): Likewise.
18343 (sunrpc-CPPFLAGS): New variable.
18344 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18345 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18346 (cross-rpcgen-objs): New variable.
18347 (extra-objs): Append $(cross-rpcgen-objs).
18348 ($(cross-rpcgen-objs)): New rule.
18349 ($(objpfx)cross-rpcgen): Likewise.
18350 (rpcgen-cmd): Define to use $(built-program-file). Expand
18351 comment.
18352 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18353 ($(objpfx)x%.stmp): Likewise.
18354 * sunrpc/proto.h [IS_IN_build] (_): Define.
18355 [IS_IN_build] (_libc_intl_domainname): Likewise.
18356
c8c59454
L
183572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18358
18359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18360 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18361 and R_X86_64_TPOFF64.
18362
6f27cd16
JM
183632012-05-10 Joseph Myers <joseph@codesourcery.com>
18364
18365 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18366 sysdeps/unix/sysv/syscalls.list.
18367 (stime): Likewise.
18368 (utime): Likewise.
18369 * sysdeps/unix/sysv/syscalls.list: Remove file.
18370
02467e1c
PE
183712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18372
18373 [BZ #3440]
18374 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18375 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18376 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18377 (__LC_IDENTIFICATION): Make these macros useful in #if
18378 expressions, as required by C99.
18379
da392631
AS
183802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18381
18382 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18383 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18384 after this.
18385
8115f29b
L
183862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18387
18388 * stdlib/longlong.h: Updated from GCC.
18389
bdd74070
AJ
183902012-05-09 Andreas Jaeger <aj@suse.de>
18391
edfe0dbe
AJ
18392 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18393 default is first entry.
18394 (run_mode): Set type.
18395 (main): Remove informal message about syslog.
18396 (options): Fix typo.
18397
bcfe3a54
ST
18398 [BZ #14053]
18399 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18400 to asm.
bcfe3a54
ST
18401 (lrint): Likewise.
18402 (llrintf): Likewise.
18403 (llrint): Likewise.
18404 (rint): Likewise.
18405 (rintf): Likewise.
18406 (nearbyint): Likewise.
18407 (nearbyintf): Likewise.
bdd74070 18408
91d8d69e
AJ
184092012-05-09 Andreas Jaeger <aj@suse.de>
18410 Pedro Alves <palves@redhat.com>
18411
18412 * nscd/nscd.c (run_mode): Use enum.
18413 (main): Cleanup coding style issue.
18414
bb90b80b
AJ
184152012-05-09 Alexandre Oliva <aoliva@redhat.com>
18416 Andreas Jaeger <aj@suse.de>
18417
bcfe3a54
ST
18418 * nscd/nscd.c (go_background): Replaced with...
18419 (run_mode): ... this.
bb90b80b 18420 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18421 (options): Add -F --foreground.
18422 (main): Implement it.
18423 (parse_opt): Parse it.
bb90b80b 18424
1a4b75a1
AJ
184252012-05-09 Andreas Jaeger <aj@suse.de>
18426
18427 [BZ #14083]
18428 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18429 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18430 -Wconversion warning.
18431 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18432 Likewise.
18433
b1cc2472
JM
184342012-05-09 Joseph Myers <joseph@codesourcery.com>
18435
18436 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18437 == 0.
18438 (LC_ALL): Use macro-int-constant.
18439 (LC_COLLATE): Likewise.
18440 (LC_CTYPE): Likewise.
18441 (LC_MESSAGES): Likewise.
18442 (LC_MONETARY): Likewise.
18443 (LC_NUMERIC): Likewise.
18444 (LC_TIME): Likewise.
18445 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18446 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18448 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18449 Specify type.
18450 [C99-based standards] (float_t): Expect type.
18451 [C99-based standards] (double_t): Expect type.
18452 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18453 type.
18454 [C99-based standards] (HUGE_VALL): Likewise.
18455 [C99-based standards] (INFINITY): Likewise.
18456 [C99-based standards] (NAN): Likewise.
18457 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18458 [C99-based standards] (FP_NAN): Likewise.
18459 [C99-based standards] (FP_NORMAL): Likewise.
18460 [C99-based standards] (FP_SUBNORMAL): Likewise.
18461 [C99-based standards] (FP_ZERO): Likewise.
18462 [C99-based standards] (FP_FAST_FMA): Use
18463 optional-macro-int-constant. Specify type. Require == 1.
18464 [C99-based standards] (FP_FAST_FMAF): Likewise.
18465 [C99-based standards] (FP_FAST_FMAL): Likewise.
18466 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18467 [C99-based standards] (FP_ILOGBNAN): Likewise.
18468 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18469 Specify type.
18470 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18471 [C99-based standards] (math_errhandling): Specify type.
18472 [ISO99 || ISO11] (signgam): Do not allow.
18473 [non-C99-based standards] (copysignf): Do not allow.
18474 [non-C99-based standards] (exp2f): Likewise.
18475 [non-C99-based standards] (log2f): Likewise.
18476 [non-C99-based standards] (modff): Allow.
18477 [non-C99-based standards] (erff): Do not allow.
18478 [non-C99-based standards] (erfcf): Likewise.
18479 [non-C99-based standards] (gammaf): Likewise.
18480 [non-C99-based standards] (hypotf): Likewise.
18481 [non-C99-based standards] (j0f): Likewise.
18482 [non-C99-based standards] (j1f): Likewise.
18483 [non-C99-based standards] (jnf): Likewise.
18484 [non-C99-based standards] (lgammaf): Likewise.
18485 [non-C99-based standards] (tgammaf): Likewise.
18486 [non-C99-based standards] (y0f): Likewise.
18487 [non-C99-based standards] (y1f): Likewise.
18488 [non-C99-based standards] (ynf): Likewise.
18489 [non-C99-based standards] (isnanf): Likewise.
18490 [non-C99-based standards] (acoshf): Likewise.
18491 [non-C99-based standards] (asinhf): Likewise.
18492 [non-C99-based standards] (atanhf): Likewise.
18493 [non-C99-based standards] (cbrtf): Likewise.
18494 [non-C99-based standards] (expm1f): Likewise.
18495 [non-C99-based standards] (ilogbf): Likewise.
18496 [non-C99-based standards] (log1pf): Likewise.
18497 [non-C99-based standards] (logbf): Likewise.
18498 [non-C99-based standards] (nextafterf): Likewise.
18499 [non-C99-based standards] (remainderf): Likewise.
18500 [non-C99-based standards] (rintf): Likewise.
18501 [non-C99-based standards] (scalbf): Likewise.
18502 [non-C99-based standards] (copysignl): Likewise.
18503 [non-C99-based standards] (exp2l): Likewise.
18504 [non-C99-based standards] (log2l): Likewise.
18505 [non-C99-based standards] (modfl): Allow.
18506 [non-C99-based standards] (erfl): Do not allow.
18507 [non-C99-based standards] (erfcl): Likewise.
18508 [non-C99-based standards] (gammal): Likewise.
18509 [non-C99-based standards] (hypotl): Likewise.
18510 [non-C99-based standards] (j0l): Likewise.
18511 [non-C99-based standards] (j1l): Likewise.
18512 [non-C99-based standards] (jnl): Likewise.
18513 [non-C99-based standards] (lgammal): Likewise.
18514 [non-C99-based standards] (tgammal): Likewise.
18515 [non-C99-based standards] (y0l): Likewise.
18516 [non-C99-based standards] (y1l): Likewise.
18517 [non-C99-based standards] (ynl): Likewise.
18518 [non-C99-based standards] (isnanl): Likewise.
18519 [non-C99-based standards] (acoshl): Likewise.
18520 [non-C99-based standards] (asinhl): Likewise.
18521 [non-C99-based standards] (atanhl): Likewise.
18522 [non-C99-based standards] (cbrtl): Likewise.
18523 [non-C99-based standards] (expm1l): Likewise.
18524 [non-C99-based standards] (ilogbl): Likewise.
18525 [non-C99-based standards] (log1pl): Likewise.
18526 [non-C99-based standards] (logbl): Likewise.
18527 [non-C99-based standards] (nextafterl): Likewise.
18528 [non-C99-based standards] (remainderl): Likewise.
18529 [non-C99-based standards] (rintl): Likewise.
18530 [non-C99-based standards] (scalbl): Likewise.
18531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18532 [non-C99-based standards] (FP_*): Do not allow.
18533 [C99-based standards] (FP_*): Change to
18534 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18535 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18536 allow.
18537 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18538 (SIG_ERR): Likewise.
18539 [X/Open-based standards] (SIG_HOLD): Likewise.
18540 (SIG_IGN): Likewise.
18541 (SIGABRT): Use macro-int-constant. Specify type. Require
18542 positive value.
18543 (SIGFPE): Likewise.
18544 (SIGILL): Likewise.
18545 (SIGINT): Likewise.
18546 (SIGSEGV): Likewise.
18547 (SIGTER): Likewise.
18548 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18549 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18550 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18551 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18552 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18553 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18554 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18555 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18556 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18557 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18558 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18559 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18560 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18561 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18562 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18563 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18564 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18565 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18566 [X/Open-based standards] (SIGTRAP): Likewise.
18567 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18568 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18569 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18570 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18571 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18572 allow.
18573
b9f1922d
IW
185742012-05-08 Ian Wienand <ianw@vmware.com>
18575
18576 [BZ #14080]
18577 * time/tzset.c (__tzset_parse_tz): Update default rules for
18578 daylight time changes in the Energy Policy Act of 2005.
18579
1db86e88
AJ
185802012-05-09 Andreas Jaeger <aj@suse.de>
18581
18582 [BZ #13983]
18583 * elf/ldconfig.c (parse_conf): Change string to make clear that
18584 ldconfig only issued a warning if ld.so.conf does not exist.
18585
dee4a4e3
DM
185862012-05-08 David S. Miller <davem@davemloft.net>
18587
ee0db190
DM
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18589 movxtod instead of popping the value on the stack.
18590
dee4a4e3
DM
18591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18592
6a43ec98
CD
185932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18594
18595 * config.h.in: Add HAVE_ARM_PCS_VFP.
18596
05c2c961
RMG
185972012-05-08 Roland Mc Grath <roland@hack.frob.com>
18598
bcfe3a54
ST
18599 [BZ #13979]
18600 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18601 checking but the checks are disabled for any reason.
05c2c961 18602
4b30f61a
L
186032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18604
18605 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18606 and ELF64_R_TYPE with ELFW(R_TYPE).
18607
eee2bc67
JM
186082012-05-08 Joseph Myers <joseph@codesourcery.com>
18609
7ea5391a
JM
18610 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18611 (ulimit): Likewise.
18612
eee2bc67
JM
18613 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18614 (settimeofday): Likewise.
18615
abb66a67
MF
186162012-05-08 Mike Frysinger <vapier@gentoo.org>
18617
18618 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18619 a struct th_u2 inside the union, and move tu_block/tu_code into
18620 a new th_u3 union of tu_block/tu_code inside of that. Move
18621 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18622 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18623 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18624 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18625 (th_stuff): Change to th_u1.tu_stuff.
18626 (th_data): Define.
18627 (th_msg): Change to th_u1.th_u2.tu_data.
18628
7f18b530
DM
186292012-05-07 David S. Miller <davem@davemloft.net>
18630
05760585
DM
18631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18632
7f18b530
DM
18633 [BZ #14074]
18634 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18635 (SETUP_PIC_REG): Use it.
18636 (SETUP_PIC_REG_LEAF): Use it.
18637
495fd99f
JM
186382012-05-07 Joseph Myers <joseph@codesourcery.com>
18639
18640 [BZ #13885]
18641 [BZ #13923]
18642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18643 USE_AS_EXPM1L.
18644 (EXPL_FINITE): Likewise.
18645 (FLDLOG): Likewise.
18646 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18647 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18648 e_expl.S.
18649 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18650 USE_AS_EXPM1L.
18651 (EXPL_FINITE): Likewise.
18652 (FLDLOG): Likewise.
18653 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18654 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18655 e_expl.S.
18656 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18657 test of -max_value argument for long double.
18658 * sysdeps/i386/fpu/libm-test-ulps: Update.
18659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18660
6693d694
DM
186612012-05-06 David S. Miller <davem@davemloft.net>
18662
18663 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18664 quad soft-float symbols whose references which are compiler
18665 generated.
18666 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18667
6c23e11c
JM
186682012-05-06 Joseph Myers <joseph@codesourcery.com>
18669
d8b82cad
JM
18670 [BZ #13884]
18671 [BZ #13914]
18672 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18673 USE_AS_EXP10L.
18674 (EXPL_FINITE): Likewise.
18675 (FLDLOG): Likewise.
18676 (c0): Likewise.
18677 (c1): Likewise.
18678 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18679 Adjust comments for base varying.
18680 (__expl_finite): Change alias to EXPL_FINITE.
18681 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18682 e_expl.S.
18683 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18684 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18685 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18686 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18687 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18688 USE_AS_EXP10L.
18689 (EXPL_FINITE): Likewise.
18690 (FLDLOG): Likewise.
18691 (c0): Likewise.
18692 (c1): Likewise.
18693 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18694 Adjust comments for base varying.
18695 (__expl_finite): Change alias to EXPL_FINITE.
18696 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18697 tests for bugs.
18698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18699
6c23e11c
JM
18700 [BZ #14064]
18701 * math/libm-test.inc (check_float_internal): Correct ulp
18702 calculation for subnormal expected results.
18703
29ba805c
AJ
187042012-05-06 Andreas Jaeger <aj@suse.de>
18705
18706 * Makeconfig (+math-flags): New, set to -frounding-math.
18707 (+cflags): Add +math-flags so that all of glibc gets compiled with
18708 it.
18709
18710 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18711
7b17aeda
JM
187122012-05-05 Joseph Myers <joseph@codesourcery.com>
18713
5779f134
JM
18714 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18715 Disable one test.
18716
41498f4d
JM
18717 [BZ #13787]
18718 [BZ #13922]
18719 [BZ #14036]
18720 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18721 (__ieee754_expl): Allow for and saturate large arguments.
18722 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18723 (u_threshold): Likewise.
18724 (__exp): Call __ieee754_exp before checking for overflow and
18725 underflow.
18726 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18727 (u_threshold): Likewise.
18728 (__expf): Call __ieee754_expf before checking for overflow and
18729 underflow.
18730 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18731 (u_threshold): Likewise.
18732 (__expl): Call __ieee754_expl before checking for overflow and
18733 underflow.
18734 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18735 (__ieee754_expl): Allow for and saturate large arguments.
18736 * math/libm-test.inc (exp_test): Add another test. Do not allow
18737 missing overflow exception on overflow.
18738 (expm1_test): Do not allow missing overflow exception on overflow.
18739
6698b8bf
JM
18740 * sysdeps/i386/fpu/e_expl.c: Move to ...
18741 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18742 rather than using inline asm.
18743 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18744 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18745 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18746
7b17aeda
JM
18747 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18748 (nice): Likewise.
18749 (poll): Likewise.
18750 (signal): Likewise.
18751 (time): Likewise.
18752 (times): Likewise.
18753
f7c85819
JM
187542012-05-04 Joseph Myers <joseph@codesourcery.com>
18755
18756 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18757 sysdeps/unix/common/syscalls.list.
18758 (fchmod): Likewise.
18759 (fchown): Likewise.
18760 (ftruncate): Likewise.
18761 (getrusage): Likewise.
18762 (gettimeofday): Likewise.
18763 (setpgid): Likewise.
18764 (setregid): Likewise.
18765 (setreuid): Likewise.
18766 (sigaction): Likewise.
18767 (truncate): Likewise.
18768 (vhangup): Likewise.
18769 * sysdeps/unix/common/syscalls.list: Remove file.
18770 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18771 * sysdeps/unix/sysv/linux/Implies: Likewise.
18772
336270d0
L
187732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18774
18775 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18777 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18778 Moved to ...
18779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18780 Here.
18781 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18782 to ...
18783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18784 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18785 to ...
18786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18787 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18788 to ...
18789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18790 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18791 to ...
18792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18793 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18794 to ...
18795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18796 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18797 to ...
18798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18799 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18800 to ...
18801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18802 Here.
18803 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18804 to ...
18805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18806 Here.
18807 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18808 to ...
18809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18810 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18811 Moved to ...
18812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18813 Here.
18814 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18815 to ...
18816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18817
d128e450
JM
188182012-05-04 Joseph Myers <joseph@codesourcery.com>
18819
fa8ee516
JM
18820 * sysdeps/unix/common/bits/dirent.h: Remove file.
18821 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18822
d128e450
JM
18823 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18824 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18825 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18826 * sysdeps/unix/bsd/isatty.c: Likewise.
18827 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18828 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18829 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18830
ff8faaf0 188312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18832
62881be4 18833 [BZ #13563]
31dc8730
AZ
18834 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18835 long double comparison inaccuracies.
18836 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18838
6fef930c
AS
188392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18840
18841 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18843
8f203e6c
JM
188442012-05-04 Joseph Myers <joseph@codesourcery.com>
18845
18846 [BZ #14049]
18847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18848 nonzero digits before rounding a hex value.
18849 * stdlib/tst-strtod.c (tests): Add another test.
18850
5197d9c2
AK
188512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18852
18853 * sysdeps/s390/fpu/libm-test-ulps: Update.
18854
f0c1dedf
AJ
188552012-05-03 Andreas Jaeger <aj@suse.de>
18856
18857 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18858 does not get optimized out.
18859 (malloc_opt_barrier): New.
18860
a65ef2ae 188612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18862 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18863
2b942cb7 18864 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18865 intermediate file deletion.
2b942cb7 18866 (generated): Add .symlist files.
a65ef2ae 18867
54b71e02
JM
188682012-05-03 Joseph Myers <joseph@codesourcery.com>
18869
18870 [BZ #13775]
18871 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18872 Redirect under this condition.
18873 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18874 [__USE_GNU] (__dprintf_chk): Not under this condition.
18875 [__USE_GNU] (__vdprintf_chk): Likewise.
18876 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18877 under this condition.
18878 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18879 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18880 [__USE_XOPEN2K8] (vdprintf): Likewise.
18881 [__USE_GNU] (__dprintf_chk): Not under this condition.
18882 [__USE_GNU] (__vdprintf_chk): Likewise.
18883 [__USE_GNU] (dprintf): Likewise.
18884 [__USE_GNU] (vdprintf): Likewise.
18885
d3dfcc41
RM
188862012-05-03 Roland McGrath <roland@hack.frob.com>
18887
18888 * elf/Makefile (common-generated): Set this instead of generated for
18889 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18890 $(all-built-dso)-derived lists.
18891
7ac30cc5
AJ
188922012-05-03 Andreas Jaeger <aj@suse.de>
18893
0c51e550
AJ
18894 * sysdeps/i386/fpu/libm-test-ulps: Update.
18895
7ac30cc5
AJ
18896 * FAQ: Removed.
18897 * FAQ.in: Likewise.
18898 * scripts/gen-FAQ.pl: Likewise.
18899 * manual/install.texi (Installation): Point to online location of
18900 FAQ.
18901 * Makefile (files-for-dist): Remove FAQ.
18902 (FAQ): Remove.
18903
d4c2917f
AM
189042012-05-02 Allan McRae <allan@archlinux.org>
18905
18906 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18907 (LDFLAGS-reldepmod5.so): Likewise.
18908 (LDFLAGS-reldep6mod1.so): Likewise.
18909 (LDFLAGS-reldep6mod4.so): Likewise.
18910 (LDFLAGS-reldep8mod3.so): Likewise.
18911 (LDFLAGS-unload4mod1.so): Likewise.
18912 (LDFLAGS-unload4mod2.so): Likewise.
18913 (LDFLAGS-tst-initorder): Likewise.
18914 (LDFLAGS-tst-initordera2.so): Likewise.
18915 (LDFLAGS-tst-initordera3.so): Likewise.
18916 (LDFLAGS-tst-initordera4.so): Likewise.
18917 (LDFLAGS-tst-initorderb2.so): Likewise.
18918 (LDFLAGS-noload): Likewise.
18919 (LDFLAGS-next): Likewise.
18920 (LDFLAGS-order2mod1.so): Likewise.
18921 (LDFLAGS-order2mod2.so): Likewise.
18922 (LDFLAGS-tst-initorder2): Likewise.
18923 (LDFLAGS-tst-initorder2a.so): Likewise.
18924 (LDFLAGS-tst-initorder2b.so): Likewise.
18925 (LDFLAGS-tst-initorder2c.so): Likewise.
18926 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18927
d77f993f
DM
189282012-05-02 David S. Miller <davem@davemloft.net>
18929
18930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18931
171a70b4
PP
189322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18933
18934 [BZ #14055]
18935 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18936
0be196ad
AJ
189372012-05-02 Andreas Jaeger <aj@suse.de>
18938
18939 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18940 since we manipulate rounding mode.
18941 (CPPFLAGS-test-idouble.c): Likewise.
18942 (CPPFLAGS-test-ifloat.c): Likewise.
18943 (CFLAGS-test-ldouble.c): Likewise.
18944 (CFLAGS-test-double.c): Likewise.
18945 (CFLAGS-test-float.c): Likewise.
18946 (CFLAGS-test-misc.c): Likewise.
18947 (CFLAGS-test-test-fenv.c): Likewise.
18948
4f9d04aa
AZ
189492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18950
2b942cb7
RM
18951 [BZ #2550]
18952 [BZ #2570]
18953 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18954 comparisons to determine direction to adjust input.
4f9d04aa 18955
82a79e7d
RM
189562012-05-01 Roland McGrath <roland@hack.frob.com>
18957
f5a01ca9
RM
18958 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18959 output to the target.
18960
90fe4186
RM
18961 * scripts/localplt.awk: New file.
18962 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18963 (check-localplt-CFLAGS): Variable removed.
18964 ($(all-built-dso:=.jmprel)): New static pattern rule.
18965 (generated): Add those targets.
18966 (localplt-built-dso): New variable.
18967 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18968
18969 * elf/check-localplt.c: File removed.
18970
82397ed6
RM
18971 * scripts/check-execstack.awk: New file.
18972 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18973 (check-execstack-CFLAGS): Variable removed.
18974 ($(objpfx)check-execstack.h): Target removed.
18975 ($(objpfx)execstack-default): New target.
18976 (generated): Add that instead of check-execstack.h.
18977 ($(all-built-dso:=.phdr)): New static pattern rule.
18978 (generated): Add those targets.
18979 * elf/check-execstack.c: File removed.
18980
82a79e7d
RM
18981 * scripts/check-textrel.awk: New file.
18982 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18983 (check-textrel-CFLAGS): Variable removed.
18984 (all-built-dso): Use := to define.o
18985 ($(all-built-dso:=.dyn)): New static pattern rule.
18986 (generated): Add those targets.
18987 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18988 * config.make.in (READELF): New substituted variable.
18989 * elf/check-textrel.c: File removed.
18990
62fde54f 189912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18992
615605c9
JM
18993 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18994 allow.
18995 * conform/data/ctype.h-data [C99-based standards] (isblank):
18996 Expect function.
18997 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18998 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19000 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19001 Specify type. Require positive value.
19002 (EILSEQ): Likewise.
19003 (ERANGE): Likewise.
19004 [ISO || POSIX] (EILSEQ): Do not expect.
19005 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19006 Specify type. Require positive value.
19007 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19008 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19009 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19010 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19011 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19012 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19013 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19014 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19015 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19016 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19017 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19018 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19019 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19020 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19021 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19022 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19023 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19024 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19025 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19026 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19027 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19028 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19029 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19030 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19031 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19032 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19033 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19034 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19035 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19036 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19037 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19038 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19039 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19040 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19041 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19042 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19043 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19044 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19045 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19046 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19047 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19048 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19049 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19050 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19051 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19052 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19053 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19054 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19055 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19056 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19057 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19058 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19059 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19060 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19061 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19062 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19063 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19064 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19065 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19066 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19067 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19068 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19069 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19070 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19071 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19072 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19073 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19074 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19075 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19076 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19077 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19078 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19079 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19080 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19081 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19082 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19083 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19084 Require >= 2.
19085 (FLT_ROUNDS): Expect as macro, not constant.
19086 (FLT_MANT_DIG): Use macro-int-constant.
19087 (DBL_MANT_DIG): Likewise.
19088 (LDBL_MANT_DIG): Likewise.
19089 (FLT_DIG): Likewise.
19090 (DBL_DIG): Likewise.
19091 (LDBL_DIG): Likewise.
19092 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19093 (DBL_MIN_EXP): Likewise.
19094 (LDBL_MIN_EXP): Likewise.
19095 (FLT_MAX_EXP): Use macro-int-constant.
19096 (DBL_MAX_EXP): Likewise.
19097 (LDBL_MAX_EXP): Likewise.
19098 (FLT_MAX_10_EXP): Likewise.
19099 (DBL_MAX_10_EXP): Likewise.
19100 (LDBL_MAX_10_EXP): Likewise.
19101 (FLT_MAX): Use macro-constant.
19102 (DBL_MAX): Likewise.
19103 (LDBL_MAX): Likewise.
19104 (FLT_EPSILON): Use macro-constant. Give upper bound.
19105 (DBL_EPSILON): Likewise.
19106 (LDBL_EPSILON): Likewise.
19107 (FLT_MIN): Likewise.
19108 (DBL_MIN): Likewise.
19109 (LDBL_MIN): Likewise.
19110 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19111 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19112 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19113 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19114 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19115 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19116 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19117 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19118 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19119 [ISO11] (FLT_TRUE_MIN): Likewise.
19120 [ISO11] (LDBL_TRUE_MIN): Likewise.
19121 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19122 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19123 (SCHAR_MIN): Use macro-int-constant. Specify type.
19124 (SCHAR_MAX): Likewise.
19125 (UCHAR_MAX): Likewise.
19126 (CHAR_MIN): Likewise.
19127 (CHAR_MAX): Likewise.
19128 (MB_LEN_MAX): Use macro-int-constant.
19129 (SHRT_MIN): Use macro-int-constant. Specify type.
19130 (SHRT_MAX): Likewise.
19131 (USHRT_MAX): Likewise.
19132 (INT_MAX): Likewise.
19133 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19134 bound negative.
19135 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19136 bound with "U".
19137 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19138 bound with "L".
19139 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19140 bound negative. Suffix upper bound with "L".
19141 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19142 bound with "UL".
19143 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19144 Specify type.
19145 [C99-based standards] (LLONG_MAX): Likewise.
19146 [C99-based standards] (ULLONG_MAX): Likewise.
19147 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19148 == 0.
19149 [ISO11] (max_align_t): Require type.
19150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19151
c9140a62
JM
19152 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19153 from $CFLAGS, without defining away __attribute__ calls.
19154 (checknamespace): Use $CFLAGS_namespace.
19155
9af0bf29
JM
19156 * conform/conformtest.pl (@keywords): Only include C99 keywords
19157 for standards based on C99 or C11.
19158
343222a2
JM
19159 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19160 Disable tests.
19161 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19162 UNIX98]: Likewise.
19163
661f8cf0
JM
19164 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19165 usability of symbols in #if.
19166
ee74b9cb
JM
19167 * conform/conformtest.pl: If macro or constant types start
19168 "promoted:", expect the symbol to be of the following type
19169 promoted by the integer promotions.
62fde54f 19170
aafc49b3
JM
19171 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19172 in one place. Also handle "macro-constant".
19173
fefdf574
JM
19174 * conform/conformtest.pl: Only accept expected macro values with
19175 "==". Parse all "macro" lines in one place.
19176 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19177
f2d922fe
JM
19178 * conform/conformtest.pl: Handle braced types on "constant" lines
19179 instead of handling "typed-constant".
19180 * conform/data/signal.h-data: Use "constant" instead of
19181 "typed-constant".
19182
d22956c9
JM
19183 * conform/conformtest.pl: Handle "optional-" at start of lines in
19184 one place rather than duplicating several cases. Handle each
19185 format of "macro" line with initial "optional-".
19186
028e2e38
JM
19187 * conform/conformtest.pl: Only accept expected constant or
19188 optional-constant values with "==". Parse all "constant" lines in
19189 one place. Parse all "optional-constant" lines in one place.
19190 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19191 * conform/data/fmtmsg.h-data: Likewise.
19192 * conform/data/netinet/in.h-data: Likewise.
19193 * conform/data/tar.h-data: Likewise.
19194 * conform/data/limits.h-data: Use "==" form on "constant" and
19195 "optional-constant" lines.
19196
1b8f2850
JM
19197 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19198 Use -std=c99 for XOPEN2K.
19199 (@knownproblems): Remove.
19200 (newtoken): Don't check %isknown.
19201
a05a144b
JM
19202 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19203 Do not expect macro.
19204 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19216 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19217 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19234 [XPG3] (acosh): Likewise.
19235 [XPG3] (asinh): Likewise.
19236 [XPG3] (atanh): Likewise.
19237 [XPG3] (cbrt): Likewise.
19238 [XPG3] (expm1): Likewise.
19239 [XPG3] (ilogb): Likewise.
19240 [XPG3] (log1p): Likewise.
19241 [XPG3] (logb): Likewise.
19242 [XPG3] (nextafter): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19245 [XPG3] (remainder): Likewise.
19246 [XPG3] (rint): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19251 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19252 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19253 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19254 [UNIX98 || XOPEN2K] (scalb): Expect.
19255 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19256 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19257 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19258 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19259 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19262 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19263 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19265 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19266 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19267 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19268 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19269 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19270 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19271 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19272 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19273 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19274 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19275 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19276 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19277 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19278 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19279 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19280 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19281 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19282 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19283 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19284 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19285 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19286 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19287 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19288 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19289 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19290 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19291 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19292 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19293 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19294 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19295 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19296 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19297 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19298 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19299 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19300 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19301 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19302 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19303 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19304 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19305 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19306 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19307 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19308 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19309 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19310 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19311 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19312 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19313 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19314 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19315 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19316 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19317 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19318 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19319 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19320 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19321 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19322 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19323 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19324 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19325 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19326 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19327 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19328 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19329 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19330 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19331 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19332 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19333 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19334 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19335 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19336 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19337 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19338 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19339 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19340 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19341 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19342 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19343 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19344 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19345 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19346 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19347 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19348 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19349 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19350 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19351 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19352 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19353 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19354 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19355 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19356 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19357 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19358 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19359 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19360 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19361 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19362 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19363 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19364 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19365 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19366 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19367 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19368 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19369 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19370 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19371 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19372 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19373 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19374 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19375 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19376 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19377 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19378 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19379 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19380 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19381 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19382 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19383 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19384 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19385 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19386 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19387 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19388 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19389 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19390 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19391 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19392
73c5ebe3
JM
19393 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19394 _XOPEN_SOURCE_EXTENDED for XPG4.
19395
39c33b6c
JM
19396 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19397
62fde54f
JM
19398 * Makeconfig (localtime): Remove variable.
19399 (inst_localtime-file): Likewise.
19400
0741d64c
AS
194012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19402
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19404 Update.
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19406 Update.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19408 Update.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19410 Update.
19411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19412 Update.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19414 Update.
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19416 Update.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19418 Update.
19419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19420 Update.
19421
7cb029ee
JM
194222012-05-01 Joseph Myers <joseph@codesourcery.com>
19423
19424 [BZ #2550]
19425 [BZ #2570]
19426 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19427 comparisons to determine direction to adjust input.
19428 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19429 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19430 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19431 Likewise.
19432 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19433 Likewise.
19434 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19435 Likewise.
19436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19438 Likewise.
19439 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19440 Likewise.
19441 * math/libm-test.inc (nexttoward_test): Add more tests.
19442
412bd966
AS
194432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19444
19445 [BZ #14040]
19446 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19447 in version GLIBC_2.1, not GLIBC_2.0.
19448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19449 Likewise.
19450
9568c0c2
JM
194512012-04-30 Joseph Myers <joseph@codesourcery.com>
19452
adfbc8ac
JM
19453 [BZ #13942]
19454 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19455 (1 - x) * (1 + x).
19456 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19457 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19458 * math/libm-test.inc (acos_test): Add more tests.
19459 (asin_test): Likewise.
19460 * sysdeps/i386/fpu/libm-test-ulps: Update.
19461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19462
5ba3cc69
JM
19463 [BZ #14034]
19464 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19465 of square root.
19466 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19467 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19468 * math/libm-test.inc (acos_test_tonearest): New function.
19469 (acos_test_towardzero): Likewise.
19470 (acos_test_downward): Likewise.
19471 (acos_test_upward): Likewise.
19472 (asin_test_tonearest): Likewise.
19473 (asin_test_towardzero): Likewise.
19474 (asin_test_downward): Likewise.
19475 (asin_test_upward): Likewise.
19476 (main): Call the new functions.
19477 * sysdeps/i386/fpu/libm-test-ulps: Update.
19478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19479
9568c0c2
JM
19480 [BZ #13884]
19481 [BZ #13924]
19482 * math/e_exp10.c: Include <float.h>.
19483 (__ieee754_exp10): Handle underflow here rather than multiplying
19484 large negative argument by M_LN10.
19485 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19486 of __ieee754_expf.
19487 * math/e_exp10l.c: Include <float.h>.
19488 (__ieee754_exp10l): Handle underflow here rather than multiplying
19489 large negative argument by M_LN10l.
19490 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19491 spurious overflow exception on underflow.
19492
5ac3ea17
MP
194932012-04-29 Marek Polacek <polacek@redhat.com>
19494
19495 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19496 (__fortify_function): New macro.
19497 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19498 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19499 __extern_always_inline.
19500 * libio/bits/stdio2.h: Likewise.
19501 * libio/bits/stdio.h: Likewise.
19502 * string/string.h: Likewise.
19503 * string/bits/string3.h: Likewise.
19504 * include/stdio.h: Likewise.
19505 * stdlib/bits/stdlib.h: Likewise.
19506 * stdlib/stdlib.h: Likewise.
19507 * rt/bits/mqueue2.h: Likewise.
19508 * rt/mqueue.h: Likewise.
19509 * posix/bits/unistd.h: Likewise.
19510 * posix/unistd.h: Likewise.
19511 * io/bits/poll2.h: Likewise.
19512 * io/bits/fcntl2.h: Likewise.
19513 * io/fcntl.h: Likewise.
19514 * io/sys/poll.h: Likewise.
19515 * misc/bits/syslog.h: Likewise.
19516 * misc/bits/syslog-ldbl.h: Likewise.
19517 * misc/sys/syslog.h: Likewise.
19518 * socket/bits/socket2.h: Likewise.
19519 * socket/sys/socket.h: Likewise.
19520 * debug/tst-chk1.c: Likewise.
19521 * wcsmbs/bits/wchar2.h: Likewise.
19522 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19523 * wcsmbs/wchar.h: Likewise.
19524
ecf0ebfb
AJ
195252012-04-29 Andreas Jaeger <aj@suse.de>
19526
19527 * Makerules (tests): Remove enable-check-abi protection.
19528 (check-abi-warn): Remove.
19529 (check-abi-%): Remove check-abi-warn usage.
19530
19531 * configure.in: Remove check-abi configure option.
19532 * configure: Regenerated.
19533 * config.make.in (enable-check-abi): Remove.
19534
6d5c57fa
AS
195352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19536
24c5d07e 19537 [BZ #14033]
ded5180a
AS
19538 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19539 double functions to double *_finite functions.
19540
7e0d315d
AS
19541 [BZ #13941]
19542 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19543 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19544 LDBL_MIN_EXP.
19545 * stdio-common/Makefile (tests): Add tst-sprintf3.
19546 * stdio-common/tst-sprintf3.c: New file.
19547
6d5c57fa
AS
19548 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19549 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19550
0749ff8b
JM
195512012-04-28 Joseph Myers <joseph@codesourcery.com>
19552
19553 * conform/conformtest.pl: Remove duplicate typed-constant
19554 handling.
19555
8dbd5d7b
DM
195562012-04-28 David S. Miller <davem@davemloft.net>
19557
19558 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19559 (check-abi-%): Remove AWK script prerequisite and explicit
19560 abilist directory.
19561 (check-abi): Rewrite to just diff the symlist with the abilist.
19562 (config-tls, config-abi-config): Delete, no longer used.
19563 (update-abi-%): Remove AWK script and explicit abilist directory.
19564 (update-abi): Rewrite to simply compare and conditionally copy the
19565 symlist and the sysdep abilist file. Remove update-abi-config
19566 checks.
19567 * abilist/ld.abilist: Remove.
19568 * abilist/libBrokenLocale.abilist: Remove.
19569 * abilist/libanl.abilist: Remove.
19570 * abilist/libcrypt.abilist: Remove.
19571 * abilist/libdl.abilist: Remove.
19572 * abilist/librt.abilist: Remove.
19573 * abilist/libthread_db.abilist: Remove.
19574 * abilist/libutil.abilist: Remove.
19575 * scripts/extract-abilist.awk: Remove.
19576 * scripts/merge-abilist.awk: Remove.
19577 * sysdeps/generic/libcidn.abilist: New file.
19578 * sysdeps/generic/libnss_compat.abilist: New file.
19579 * sysdeps/generic/libnss_db.abilist: New file.
19580 * sysdeps/generic/libnss_dns.abilist: New file.
19581 * sysdeps/generic/libnss_files.abilist: New file.
19582 * sysdeps/generic/libnss_hesiod.abilist: New file.
19583 * sysdeps/generic/libnss_nis.abilist: New file.
19584 * sysdeps/generic/libnss_nisplus.abilist: New file.
19585 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19586 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19587 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19588 file.
19589 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19590 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19591 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19592 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19593 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19594 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19595 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19596 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19597 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19598 file.
19599 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19600 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19601 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19602 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19603 file.
19604 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19605 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19606 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19607 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19608 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19609 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19610 file.
19611 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19612 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19613 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19614 file.
19615 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19617 New file.
19618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19619 New file.
19620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19621 New file.
19622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19623 New file.
19624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19625 New file.
19626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19627 New file.
19628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19629 New file.
19630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19631 New file.
19632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19633 New file.
19634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19635 New file.
19636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19637 New file.
19638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19639 New file.
19640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19641 New file.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19643 file.
19644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19645 New file.
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19647 New file.
19648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19649 file.
19650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19651 New file.
19652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19653 New file.
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19655 file.
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19657 New file.
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19659 New file.
19660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19661 New file.
19662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19663 New file.
19664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19665 New file.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19667 New file.
19668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19670 file.
19671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19672 New file.
19673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19674 file.
19675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19676 file.
19677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19678 file.
19679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19680 file.
19681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19682 file.
19683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19684 New file.
19685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19686 file.
19687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19688 file.
19689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19690 New file.
19691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19692 file.
19693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19695 file.
19696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19697 New file.
19698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19699 file.
19700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19701 file.
19702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19703 file.
19704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19705 file.
19706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19707 file.
19708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19709 New file.
19710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19711 file.
19712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19713 file.
19714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19715 New file.
19716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19717 file.
19718 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19719 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19720 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19721 file.
19722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19723 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19724 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19725 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19726 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19727 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19728 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19729 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19730 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19731 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19734 file.
19735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19736 New file.
19737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19738 file.
19739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19740 file.
19741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19742 file.
19743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19744 file.
19745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19746 file.
19747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19748 New file.
19749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19750 New file.
19751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19752 file.
19753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19754 New file.
19755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19756 file.
19757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19759 file.
19760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19761 New file.
19762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19763 file.
19764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19765 file.
19766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19767 file.
19768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19769 file.
19770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19771 file.
19772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19773 New file.
19774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19775 New file.
19776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19777 file.
19778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19779 New file.
19780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19781 file.
19782
41d73a1b
JM
197832012-04-28 Joseph Myers <joseph@codesourcery.com>
19784
19785 * conform/conformtest.pl: Fix typo in handling typed-constant from
19786 allow-header.
19787
28aeeda4
JM
197882012-04-27 Joseph Myers <joseph@codesourcery.com>
19789
adae8f5e
JM
19790 * README: Cut down references to pre-2.6 Linux kernels and
19791 Linuxthreads. Update lists of configurations in libc and ports
19792 and sort alphabetically. Say "or newer" with Linux kernel version
19793 requirements.
19794
28aeeda4
JM
19795 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19796
a462cb63
RA
197972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19798
19799 [BZ #887]
19800 * math/libm-test.inc (logb_test_downward): New test to expose
19801 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19802 rounding mode.
19803
6ad3493e
JM
198042012-04-27 Joseph Myers <joseph@codesourcery.com>
19805
19806 [BZ #14027]
19807 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19808 to be done.
19809 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19810 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19811
2ce4f015
JM
198122012-04-26 Joseph Myers <joseph@codesourcery.com>
19813
5aeb141a
JM
19814 * sysdeps/unix/i386/brk.S: Remove file.
19815 * sysdeps/unix/i386/dl-brk.S: Likewise.
19816 * sysdeps/unix/i386/pipe.S: Likewise.
19817 * sysdeps/unix/i386/sigreturn.S: Likewise.
19818 * sysdeps/unix/i386/syscall.S: Likewise.
19819 * sysdeps/unix/i386/vfork.S: Likewise.
19820 * sysdeps/unix/i386/wait.S: Likewise.
19821
7143acae
JM
19822 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19823 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19824
2ce4f015
JM
19825 * configure.in (arm*-none*): Do not allow without
19826 --enable-hacker-mode.
19827 (netbsd*): Remove case setting base_os.
19828 (386bsd*): Likewise.
19829 (freebsd*): Likewise.
19830 (bsdi*): Likewise.
19831 (osf*): Likewise.
19832 (sunos*): Likewise.
19833 (ultrix*): Likewise.
19834 (newsos*): Likewise.
19835 (dynix*): Likewise.
19836 (*bsd*): Likewise.
19837 (sysv*): Likewise.
19838 (isc*): Likewise.
19839 (esix*): Likewise.
19840 (sco*): Likewise.
19841 (minix*): Likewise.
19842 (irix4*): Likewise.
19843 (irix6*): Likewise.
19844 (solaris[2-9]*): Likewise.
19845 (none): Likewise.
19846 * configure: Regenerated.
19847
0ac229c8
AZ
198482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19849
19850 [BZ #11521]
19851 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19852 overflow or cancellation in calculating denominator.
19853 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19854 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19855 down expression to avoid unexpected rounding in newer GCCs.
19856 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19857
33f244f4
DM
198582012-04-26 David S. Miller <davem@davemloft.net>
19859
19860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19861 long-double compat symbols.
19862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19875
cfa1f3e8
DM
198762012-04-25 David S. Miller <davem@davemloft.net>
19877
19878 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19879 HWCAP_* values only after the memory barriers have been defined.
19880 (atomic_full_barrier): Define.
19881 (atomic_read_barrier): Define.
19882 (atomic_write_barrier): Define.
19883
6e236b92
SP
198842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19885
19886 * shlib-versions: Add libgcc_s version information.
19887 * sysdeps/generic/libgcc_s.h: Remove.
19888 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19889 libgcc_s.h.
19890 * sysdeps/gnu/unwind-resume.c: Likewise.
19891 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19892
aab39a09
DM
198932012-04-25 David S. Miller <davem@davemloft.net>
19894
19895 * sysdeps/unix/sparc/brk.S: Delete.
19896 * sysdeps/unix/sparc/dl-brk.S: Delete.
19897 * sysdeps/unix/sparc/pipe.S: Delete.
19898 * sysdeps/unix/sparc/sysdep.S: Delete.
19899 * sysdeps/unix/sparc/sysdep.h: Delete.
19900 * sysdeps/unix/sparc/vfork.S: Delete.
19901 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19902 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19903 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19904 ret_ERRVAL, r0, r1, MOVE): Define.
19905 (JUMPTARGET): Remove.
19906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19907 sysdeps/unix/sparc/sysdep.h
19908 (ENTRY, END): Remove.
19909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19910
a3cc4f48
JM
199112012-04-25 Joseph Myers <joseph@codesourcery.com>
19912
2ed8cda2
JM
19913 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19914 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19915 -DIS_IN_build.
19916
35d76d59
JM
19917 * timezone/README: Update upstream location and email address for
19918 tzcode and tzdata.
19919 * timezone/zdump.c: Update from tzcode 2012b.
19920 * timezone/zic.c: Likewise.
19921
a3cc4f48
JM
19922 * configure.in (libc_cv_as_needed): Remove test.
19923 * configure: Regenerated.
19924 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19925 conditional definition.
19926 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19927 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19928 * config.make.in (have-as-needed): Remove variable.
19929
ceab42c3
SP
199302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19931 Paul Pluzhnikov <ppluzhnikov@google.com>
19932
19933 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19934 strings correctly.
19935
3ce2865f
CLT
199362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19937
19938 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19939 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19940 * sysdeps/sh/strlen.S: Likewise.
19941
f37e0d68
JM
199422012-04-24 Joseph Myers <joseph@codesourcery.com>
19943
ae186e9a
JM
19944 * sysdeps/unix/fork.S: Remove file.
19945 * sysdeps/unix/i386/fork.S: Likewise.
19946 * sysdeps/unix/sparc/fork.S: Likewise.
19947
b96914af
JM
19948 * sysdeps/unix/system.c: Remove file.
19949 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19950
f37e0d68
JM
19951 * sysdeps/unix/getegid.S: Remove file.
19952 * sysdeps/unix/geteuid.S: Likewise.
19953
87ef29ca
RM
199542012-04-24 Roland McGrath <roland@hack.frob.com>
19955
83bcd236
RM
19956 * scripts/check-localplt.awk: New file.
19957 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19958 of diff.
19959 * scripts/data/localplt-generic.data: Add a comment.
19960
87ef29ca
RM
19961 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19962 NODE when __dir_mkfile failed.
19963 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19964 Reported by Ludovic Courtès <ludo@gnu.org>.
19965
e5a6e567
AJ
199662012-04-24 Andreas Jaeger <aj@suse.de>
19967
19968 * Makerules (common-clean): Also remove gen-as-const-headers
19969 files.
19970
c1820385
JM
199712012-04-24 Joseph Myers <joseph@codesourcery.com>
19972
19973 * Makerules (native-compile): Do not change working directory for
19974 build. Use $(OUTPUT_OPTION) in command.
19975 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19976
94e02fc4
AZ
199772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19978
19979 [BZ #13886]
19980 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19981 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19982 * math/libm-test.inc (floor_test): Add more tests.
19983 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19984
3a533ca3
JM
199852012-04-24 Joseph Myers <joseph@codesourcery.com>
19986
940ab4b3
JM
19987 * sysdeps/unix/getdents.c: Remove file.
19988 * sysdeps/unix/sysv/getdents.c: Likewise.
19989 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19990
90e037bd
JM
19991 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19992 sysdeps/unix/mman/syscalls.list.
19993 (mmap): Likewise.
19994 (mprotect): Likewise.
19995 (msync): Likewise.
19996 (munmap): Likewise.
19997 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19998 * sysdeps/unix/mman/syscalls.list: Remove.
19999 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20000
3a533ca3
JM
20001 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20002 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20003 * configure: Regenerated.
20004 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20005 $(libgcc_s_suffix).
20006 * config.make.in (libgcc_s_suffix): Remove variable.
20007
1ad743de
JM
200082012-04-23 Joseph Myers <joseph@codesourcery.com>
20009
4ad451e2
JM
20010 * sysdeps/unix/sysv/gethostname.c: Move to ...
20011 * sysdeps/posix/gethostname.c: ... here.
20012
5e37ce39
JM
20013 * sysdeps/unix/execve.S: Remove file.
20014
1ad743de
JM
20015 * sysdeps/unix/_exit.S: Remove file.
20016
4e681b5b
AJ
200172012-04-23 Andreas Jaeger <aj@suse.de>
20018
20019 [BZ #13739]
20020 * manual/Makefile: Remove make dist support, there's no
20021 need for a stand-alone documentation tar ball.
20022 (TEXI2DVI): Define always, it's not in Makeconfig.
20023 (dist): Removed.
20024 (tar-it): Removed.
20025 (edition): Removed.
20026 (glibc-doc-$(edition).tar): Removed
20027 (%.Z): Removed.
20028 (%.gz): Removed.
20029 (%.uu): Removed.
20030 (ETAGS): Remove, it's in Makeconfig.
20031 (move-if-change): Remove, it's in Makeconfig.
20032
38686a03 200332012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20034
20035 [BZ #13970]
20036 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20037 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20038 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20039 (strtod_l, strtof_l, strtold_l): Remove __wur.
20040 It is not necessarily an error to ignore strtol's return value.
20041 One can reliably look at the stored endptr to decide whether
20042 the number had valid syntax.
20043
7c0616fa
AJ
200442012-04-21 Andreas Jaeger <aj@suse.de>
20045
803cb6b7 20046 [BZ #13739]
7c0616fa
AJ
20047 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20048
b0fe253f
JM
200492012-04-21 Joseph Myers <joseph@codesourcery.com>
20050
20051 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20052 * sysdeps/unix/sysv/Versions: Remove file.
20053
8280f22d
MT
200542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20055
20056 [BZ #13927]
20057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20058
75ce411f 200592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20060
20061 [BZ #7064]
20062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20063 version from __vm86.
20064
097d59fa
JM
200652012-04-20 Joseph Myers <joseph@codesourcery.com>
20066
a90f3bcb
JM
20067 * sysdeps/unix/common/lxstat.c: Remove file.
20068 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20069
edc7ea78
JM
20070 * sysdeps/unix/sysv/Makefile: Remove file.
20071
cb78c221
JM
20072 * sysdeps/unix/sysv/direct.h: Remove file.
20073
efa6a45f
JM
20074 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20075 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20076 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20077 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20078 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20079 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20080 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20081
9c9f2d0c
JM
20082 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20083
4541c83b
JM
20084 * sysdeps/unix/xmknod.c: Remove file.
20085 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20086
f5d153a0
JM
20087 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20088
aa746595
JM
20089 * sysdeps/unix/sysv/i386/time.S: Remove file.
20090
cce5905e
JM
20091 * sysdeps/unix/fxstat.c: Remove file.
20092 * sysdeps/unix/xstat.c: Likewise.
20093 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20094
37fa3841
JM
20095 * sysdeps/unix/sysv/sigaction.c: Remove file.
20096
ff1962a3
JM
20097 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20098 (sysdep_headers): Remove variable.
20099 [termio.h not in sysdep_headers] (generated): Likewise.
20100 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20101 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20102 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20103 * sysdeps/unix/sysv/tcflow.c: Likewise.
20104 * sysdeps/unix/sysv/tcflush.c: Likewise.
20105 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20106 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20107 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20108 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20109 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20110
e7740d31
JM
20111 * sysdeps/unix/siglist.c: Remove file.
20112
ee06f18b
JM
20113 * sysdeps/unix/getppid.S: Remove file.
20114
097d59fa
JM
20115 * sysdeps/unix/mkdir.c: Remove file.
20116 * sysdeps/unix/rmdir.c: Likewise.
20117
ff3d51ec
AS
201182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20119
20120 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20121 ERR_MAX value.
20122 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20123 errlist-compat value.
20124
50f81fd7
DM
201252012-04-18 David S. Miller <davem@davemloft.net>
20126
20127 * sysdeps/generic/memcopy.h (reg_char): Delete.
20128 * debug/strcat_chk.c: Use char, not reg_char.
20129 * debug/strcpy_chk.c: Likewise.
20130 * debug/strncat_chk.c: Likewise.
20131 * debug/strncpy_chk.c: Likewise.
20132 * string/memchr.c: Likewise.
20133 * string/memrchr.c: Likewise.
20134 * string/rawmemchr.c: Likewise.
20135 * string/strcat.c: Likewise.
20136 * string/strchr.c: Likewise.
20137 * string/strchrnul.c: Likewise.
20138 * string/strcmp.c: Likewise.
20139 * string/strcpy.c: Likewise.
20140 * string/strncat.c: Likewise.
20141 * string/strncmp.c: Likewise.
20142 * string/strncpy.c: Likewise.
20143
8ff41c46
WS
201442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20145
20146 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20147 __builtin_memcopy is called when src and dest ranges are known to not
20148 overlap.
20149
6b652f46
WS
201502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20151
20152 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20153 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20154 fwd_align_merge macro call.
20155 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20156 bwd_align_merge macro call.
20157 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20158
b282631e
WS
201592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20160
20161 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20162 bwd_align_merge macros.
20163 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20164 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20165 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20166
95aa737c
DM
201672012-04-18 David S. Miller <davem@davemloft.net>
20168
20169 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20170
7a99a614
AJ
201712012-04-18 Andreas Jaeger <aj@suse.de>
20172
20173 [BZ# 6794]
20174 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20175 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20176 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20177
20178 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20179 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20180 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20181
20182 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20183 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20184 Adjust for changed ldbl-128 files.
20185
20186 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20187 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20188 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20189
e5270c23
DM
201902012-04-17 David S. Miller <davem@davemloft.net>
20191
20192 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20193
fb5e92c9
AS
201942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20195
20196 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20197 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20198 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20199 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20200 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20201 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20202
76da7265
AZ
202032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20204
20205 [BZ #6794]
20206 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20207 * math/libm-test.inc: Add ilogb errno and exception tests.
20208 * math/w_ilogb.c: New file: ilogb wrapper.
20209 * math/w_ilogbf.c: New file: ilogbf wrapper.
20210 * math/w_ilogbl.c: New file: ilogbl wrapper.
20211 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20212 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20213 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20214 exception being thrown with 0.0 as argument.
20215 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20216 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20217 exception being thrown with 0.0 as argument.
20218 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20219 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20220 exception being thrown with 0.0 as argument.
20221 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20222 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20223 exception being thrown with 0.0 as argument.
20224 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20225 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20227 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20228 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20229 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20230 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20231 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20232 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20233
0396e69d
PB
202342012-04-17 Petr Baudis <pasky@ucw.cz>
20235
20236 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20237 with altivec.
20238
750b5926
MP
202392012-04-16 Marek Polacek <polacek@redhat.com>
20240
20241 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20242
751728a1
MP
202432012-04-16 Marek Polacek <polacek@redhat.com>
20244
20245 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20246 operands of fdivp instruction.
20247
34a27407
L
202482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20249
20250 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20251 * elf/tst-auditmod3b.c: Likewise.
20252 * elf/tst-auditmod4b.c: Likewise.
20253 * elf/tst-auditmod5b.c: Likewise.
20254 * elf/tst-auditmod6b.c: Likewise.
20255 * elf/tst-auditmod6c.c: Likewise.
20256 * elf/tst-auditmod7b.c: Likewise.
20257 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20258 * sysdeps/x86_64/preconfigure.in: Likewise.
20259 * sysdeps/x86_64/preconfigure: Regenerated.
20260
7e73e17d
L
202612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20262
20263 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20264 __ILP32__.
20265
c7a6ab72
AB
202662012-04-13 Antoine Balestrat <merkil33@gmail.com>
20267
20268 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20269 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20270
a9e8e0e0
CL
202712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20272
20273 [BZ #13973]
20274 * locale/iso-639.def: Fix gl language name. Spotted by
20275 Yaron Shahrabani.
20276
ec98af7d
RM
202772012-04-12 Roland McGrath <roland@hack.frob.com>
20278
20279 [BZ #2074]
20280 * libio/libio.h (__io_write_fn): Update comment.
20281
247c3ede
PB
202822012-04-12 Petr Baudis <pasky@ucw.cz>
20283
20284 [BZ #2074]
20285 * stdio.texi (Hook Functions): The user provided writer function
20286 is not allowed to return -1.
20287
55939d6d
DM
202882012-04-11 David S. Miller <davem@davemloft.net>
20289
20290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20291
90020f5a
MF
202922012-04-11 Mike Frysinger <vapier@gentoo.org>
20293
20294 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20295 Add a leading slash to rtkaio.
20296
288f9098
JM
202972012-04-11 Jim Meyering <meyering@redhat.com>
20298
90020f5a
MF
20299 [BZ #11959]
20300 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20301 It is not necessarily an error to ignore fwrite's return
20302 value. One can reliably use ferror to test for errors after
20303 the fact.
288f9098 20304
4be2b570
L
203052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20306
20307 * bits/types.h (__snseconds_t): New type.
20308 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20309
20310 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20312 (__SNSECONDS_T_TYPE): Likewise.
20313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20314 (__SNSECONDS_T_TYPE): Likewise.
20315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20316 (__SNSECONDS_T_TYPE): Likewise.
20317
288f9098 203182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20319
20320 [BZ #2636]
20321 * manual/time.texi (Processor Time): Return type of times is
20322 elapsed real time since an arbitrary point in the past.
20323 (CPU Time): Move CLK_TCK from here...
20324 (Processor Time): ...to here. Correct description.
20325 * manual/conf.texi (Constants for Sysconf): Correct description of
20326 _SC_CLK_TCK.
20327
d7dd4413
DM
203282012-04-10 David S. Miller <davem@davemloft.net>
20329
20330 [BZ #13967]
20331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20332 where the is a gap between DT_REL(A) and DT_JMPREL.
20333
b46068fc
L
203342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20335
20336 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20337 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20338 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20339
73d65cc3
SP
203402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20341
20342 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20343 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20344 (dl_main): Handle --inhibit-cache.
20345 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20346 _dl_inhibit_cache.
20347 * elf/dl-load.c (_dl_map_object): Use it.
20348 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20349
bcc8d661
JM
203502012-04-09 Joseph Myers <joseph@codesourcery.com>
20351
8f9a2fae
JM
20352 [BZ #13872]
20353 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20354 (__ieee754_powl): Saturate large exponents rather than testing for
20355 overflow of y*log2(x).
20356 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20357 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20358 exceptions.
20359
bcc8d661
JM
20360 [BZ #11521]
20361 * math/s_ctan.c: Include <float.h>.
20362 (__ctan): Avoid internal overflow or cancellation in calculating
20363 denominator.
20364 * math/s_ctanf.c: Likewise.
20365 * math/s_ctanl.c: Likewise.
20366 * math/s_ctanh.c: Likewise.
20367 * math/s_ctanhf.c: Likewise.
20368 * math/s_ctanhl.c: Likewise.
20369 * math/libm-test.inc (ctan_test): Add more tests.
20370 (ctanh_test): Likewise.
20371 * sysdeps/i386/fpu/libm-test-ulps: Update.
20372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20373
823fbbb4
AJ
203742012-04-09 Andreas Jaeger <aj@suse.de>
20375
03879793
AJ
20376 [BZ #6894]
20377 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20378 is an optional BSD extension.
20379
823fbbb4
AJ
20380 [BZ #10254]
20381 * manual/stdio.texi (Opening Streams): Document additional fopen
20382 parameters.
20383
8de131cb
RM
203842012-04-09 Roland McGrath <roland@hack.frob.com>
20385
20386 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20387 %eax without telling the compiler.
20388
c0ed9d7d
CD
203892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20390
20391 [BZ # 13963]
20392 * manual/install.texi: Use sourceware.org.
20393
c483f6b4
JM
203942012-04-09 Joseph Myers <joseph@codesourcery.com>
20395
d7dd9453
JM
20396 [BZ #13873]
20397 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20398 (__ieee754_pow): Generate overflow and underflow using huge*huge
20399 and tiny*tiny rather than just returning constant infinity or zero
20400 for large exponents.
20401 * math/libm-test.inc (pow_test): Require overflow exceptions for
20402 applicable cases of large exponents.
20403
c483f6b4
JM
20404 [BZ #706]
20405 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20406 (__ieee754_pow): Use iterative multiplication algorithm only for
20407 integer exponents with absolute value below 1024. Check for odd
20408 integer exponents when using algorithm for real exponents.
20409 * math/libm-test.inc (pow_test): Add more tests.
20410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20411
d2de7579
JM
204122012-04-08 Joseph Myers <joseph@codesourcery.com>
20413
20414 [BZ #13705]
20415 * math/libm-test.inc (exp_test): Do not allow overflow exception
20416 on underflow test.
20417
f77f1232
AJ
204182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20419
20420 [BZ #13705]
20421 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20422 instead of __kernel_standard_f.
20423
3884932b
MF
204242012-04-08 Mike Frysinger <vapier@gentoo.org>
20425
20426 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20427 * sysdeps/x86_64/memset_chk.S: Likewise.
20428
54472e9c
AJ
204292012-04-08 Andreas Jaeger <aj@suse.de>
20430
6ab0fbfc
AJ
20431 [BZ #10153]
20432 * manual/startup.texi (Environment Access): Describe return value
20433 for putenv and setenv.
20434
61efba8c
AJ
20435 [BZ #6895]
20436 * manual/filesys.texi (Directory Entries): Add description for
20437 DT_LNK.
20438
95c3f29a
AJ
20439 [BZ #6890]
20440 * manual/filesys.texi (Directory Entries): Clarify that it's file
20441 system not operating system in the description of DT_UNKNOWN.
20442
54472e9c
AJ
20443 [BZ #6578]
20444 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20445
624254b1
SC
204462012-04-08 Stephen Compall <s11@member.fsf.org>
20447
20448 [BZ #6649]
20449 * manual/llio.texi (Opening and Closing Files): Add cross
20450 reference to explain mode argument.
20451
1e4920e0
MF
204522012-04-07 Mike Frysinger <vapier@gentoo.org>
20453
20454 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20455 * sysdeps/x86_64/memset_chk.S: Likewise.
20456
5ed848f3
DM
204572012-04-07 David S. Miller <davem@davemloft.net>
20458
20459 * elf/elf.h (R_SPARC_WDISP10): Define.
20460 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20461 R_SPARC_SIZE32.
20462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20463 R_SPARC_SIZE64 and R_SPARC_H34.
20464
96154cd8
CD
204652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20466
20467 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20468 conditions and remove no longer applicable assertion.
20469
9904dc47
L
204702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20471
20472 * bits/byteswap.h: Include <features.h>.
20473 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20474 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20475
f8887d0a
L
204762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20477
20478 * bits/byteswap.h (__bswap_16): Removed.
20479 Include <bits/byteswap-16.h> to get __bswap_16.
20480 * sysdeps/i386/bits/byteswap.h: Likewise.
20481 * sysdeps/s390/bits/byteswap.h: Likewise.
20482 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20483 * bits/byteswap-16.h: New file.
20484 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20485 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20486 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20487 * string/Makefile (headers): Add bits/byteswap-16.h.
20488
62470f60
PP
204892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20490
20491 [BZ #13895]
20492 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20493 extra indirection.
20494 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20495 * nss/tst-nss-static.c: New.
20496
4dad7bab
RM
204972012-04-06 Robert Millan <rmh@gnu.org>
20498
20499 [BZ #6486]
20500 * manual/llio.texi (File Position Primitive): lseek
20501 refers to WHENCE when it really means OFFSET.
20502
e9142a17
AJ
205032012-04-06 Andreas Jaeger <aj@suse.de>
20504
2c040eff
AJ
20505 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20506 strncmp declarations.
20507
e9142a17
AJ
20508 * abilist/libc.abilist: Add __poll and __ppoll.
20509
ff9f1c5f
DM
205102012-04-05 David S. Miller <davem@davemloft.net>
20511
dcd2ae90
DM
20512 * scripts/check-local-headers.sh: Accept a host triplet in the
20513 path matched by the exclude regexp.
20514
993eb054
DM
20515 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20516 definition.
20517 * sysdeps/powerpc/powerpc32/dl-machine.h
20518 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20519 * sysdeps/s390/s390-32/dl-machine.h
20520 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20521 * sysdeps/sparc/sparc32/dl-machine.h
20522 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20523 * sysdeps/sparc/sparc64/dl-machine.h
20524 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20525
ff9f1c5f
DM
20526 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20527 lazy binding.
48e2e132 20528 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20529 undefined symbol errors.
20530
48e2e132 20531 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20532 DT_NEEDED entries.
20533
e80d6f94
MM
205342012-04-05 Michael Matz <matz@suse.de>
20535
20536 [BZ #13592]
20537 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20538
349fa79f
AJ
205392012-04-05 Andreas Jaeger <aj@suse.de>
20540
20541 [BZ #13908]
20542 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20543 comment.
20544
f402708f
KK
205452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20546
20547 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20548 which ROUND is no valid rounding mode.
20549
2ecccfc9
KK
205502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20551
20552 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20553 read again.
20554 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20555
8a53f50f
KK
205562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20557
20558 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20559 an exception using FPU order intentionally.
20560
205612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20562
20563 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20564 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20565 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20566 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20567
d653abb7
SJ
205682012-04-05 Simon Josefsson <simon@josefsson.org>
20569
20570 [BZ #12340]
20571 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20572 EINVAL when BUFLEN is too smal.
20573
c3b1bf7d
TS
205742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20575
20576 [BZ #13553]
20577 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20578 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20579
b1aa60f3
AJ
205802012-04-03 Andreas Jaeger <aj@suse.de>
20581
c3b1bf7d 20582 [BZ #13938]
67f60a26
AJ
20583 * manual/setjmp.texi (System V contexts): Fix sentence.
20584
b1aa60f3
AJ
20585 [BZ #13926]
20586 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20587 New macro for this case.
20588 [!__GNUC__] (__bswap_64): New inline function for this case.
20589 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20590 * bits/byteswap.h: Likewise.
20591 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20592 ull, guard with __GLIBC_HAVE_LONG_LONG.
20593
20594 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20595 __GLIBC_HAVE_LONG_LONG.
20596
20597 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20598 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20599
39c59c35
TMQMF
206002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20601
20602 [BZ #13691]
20603 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20604 inptr and inend, rather than using last_ch.
20605
135ffda8
DM
206062012-04-02 David S. Miller <davem@davemloft.net>
20607
20608 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20609 * stdio-common/printf-parse.h (read_int): Change return type to
20610 'int', return -1 on INT_MAX overflow.
20611 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20612 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20613 overflows INT_MAX. Check for overflow of in-format-string precision
20614 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20615 SIZE_MAX not INT_MAX for integer overflow test.
20616 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20617 skip the construct in the format string but do not record anything.
20618 * stdio-common/bug22.c: Adjust to test both width/prevision
20619 INT_MAX overflow as well as total length INT_MAX overflow. Check
20620 explicitly for proper errno values.
20621
228c019e
TS
206222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20623
302cadd3
TS
20624 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20625 CHAR_MAX.
20626 * string/test-strcmp.c [! WIDE]: Likewise.
20627 * time/tst-mktime2.c: Likewise for INT_MAX.
20628 * string/test-string.h: #include <sys/param.h> for MIN.
20629
228c019e
TS
20630 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20631 * sysdeps/i386/init-first.c (init): Likewise.
20632 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20633 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20634 * sysdeps/sh/init-first.c (init): Likewise.
20635
cfa633f5
UD
206362012-04-01 Ulrich Drepper <drepper@gmail.com>
20637
20638 * po/ru.po: Update from translation team.
d1635ef8 20639 * po/vi.po: Likewise.
cfa633f5 20640
6cd0a5ea
SP
206412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20642
20643 * resolv/nss_dns/dns-host.c: Merge copyright years.
20644
4b43400f
LD
206452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20646
20647 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20648 Optimize memcpy with prefetch if
20649 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20650 src, dst pointers have unequal 16 byte alignments.
20651
48c41d04
SP
206522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20653
20654 [BZ #13928]
20655 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20656 from a CNAME entry and return the minimum ttl for the query.
20657 (gaih_getanswer_slice): Likewise.
20658
b8dc394d
JL
206592012-03-30 Jeff Law <law@redhat.com>
20660
20661 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20662 due to long keys.
20663 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20664 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20665
2f5a5ed0
JL
20666 * resolv/nss_dns/dns-host.c: Update copyright year.
20667
1d39e359
UD
206682012-03-30 Ulrich Drepper <drepper@gmail.com>
20669
c030f70c 20670 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20671 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20672
1d39e359
UD
20673 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20674 comments for sendmmsg.
20675
206762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20677
20678 [BZ #13691]
20679 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20680 with only 1 character between 0x0041 and 0x01b0.
20681 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20682 * wcsmbs/tst-mbsnrtowcs.c: New file.
20683
20fde227
DM
206842012-03-29 David S. Miller <davem@davemloft.net>
20685
20686 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20687 small copies by hand.
20688
984a4237
JL
206892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20690
20691 [BZ #13761]
20692 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20693 _nss_compat_initgroups_dyn): Fall back to malloc/free
20694 for large group memberships.
20695
18c9d62b
DM
206962012-03-28 David S. Miller <davem@davemloft.net>
20697
88d85d4f
DM
20698 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20699 that branches into memcpy.
20700 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20702 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20703 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20705 bits.
20706 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20707 implementation too.
20708 * sysdeps/sparc/mempcpy.S: New file.
20709
e5aa83e1
DM
20710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20711 the IFUNC routine in the libc case.
20712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20713
88570753
DM
20714 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20715 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20716 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20717 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20718 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20719 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20720 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20721 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20722
249d7567
DM
20723 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20724 loop to 256 bytes instead of 64 bytes and fix test signedness.
20725
18c9d62b
DM
20726 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20727 * sysdeps/sparc/sparc32/Makefile: rather than here...
20728 * sysdeps/sparc/sparc64/Makefile: and here.
20729
05f3d1f6
UD
207302012-03-28 Ulrich Drepper <drepper@gmail.com>
20731
20732 * malloc/mallocbug.c: Avoid warnings about unused variables.
20733
86ae07a8
JL
207342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20735
20736 [BZ #13760]
20737 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20738 in the right place. Discard and retry query if response is
20739 larger than input buffer size.
20740
41bf21a1
JM
207412012-03-28 Joseph Myers <joseph@codesourcery.com>
20742
d6270972
JM
20743 [BZ #369]
20744 [BZ #2678]
20745 [BZ #3866]
20746 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20747 x for large integer exponent.
20748 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20749 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20750 sign of result as needed afterwards.
20751 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20752 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20753 result for underflowing pow the same as for overflow.
20754 (__kernel_standard_l): Handle powl overflow and underflow here
20755 rather than calling __kernel_standard.
20756 * math/libm-test.inc (pow_test): Add more tests.
20757
414fca03 20758 [BZ #3868]
41bf21a1
JM
20759 [BZ #13879]
20760 [BZ #13910]
20761 [BZ #13911]
20762 [BZ #13912]
20763 [BZ #13913]
20764 [BZ #13915]
20765 [BZ #13916]
20766 [BZ #13917]
20767 [BZ #13918]
20768 [BZ #13919]
20769 [BZ #13920]
20770 [BZ #13921]
20771 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20772 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20773 (__kernel_standard_l): New function.
20774 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20775 __kernel_standard.
20776 * math/w_acosl.c (__acosl): Likewise.
20777 * math/w_asinl.c (__asinl): Likewise.
20778 * math/w_atan2l.c (__atan2l): Likewise.
20779 * math/w_atanhl.c (__atanhl): Likewise.
20780 * math/w_coshl.c (__coshl): Likewise.
20781 * math/w_exp10l.c (__exp10l): Likewise.
20782 * math/w_exp2l.c (__exp2l): Likewise.
20783 * math/w_fmodl.c (__fmodl): Likewise.
20784 * math/w_hypotl.c (__hypotl): Likewise.
20785 * math/w_j0l.c (__j0l, __y0l): Likewise.
20786 * math/w_j1l.c (__j1l, __y1l): Likewise.
20787 * math/w_jnl.c (__jnl, __ynl): Likewise.
20788 * math/w_lgammal.c (__lgammal): Likewise.
20789 * math/w_log10l.c (__log10l): Likewise.
20790 * math/w_log2l.c (__log2l): Likewise.
20791 * math/w_logl.c (__logl): Likewise.
20792 * math/w_powl.c (__powl): Likewise.
20793 * math/w_remainderl.c (__remainderl): Likewise.
20794 * math/w_scalbl.c (sysv_scalbl): Likewise.
20795 * math/w_sinhl.c (__sinhl): Likewise.
20796 * math/w_sqrtl.c (__sqrtl): Likewise.
20797 * math/w_tgammal.c (__tgammal): Likewise.
20798 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20799 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20800 * math/libm-test.inc (acos_test): Add more tests.
20801 (acosh_test): Likewise.
20802 (asin_test): Likewise.
20803 (atanh_test): Likewise.
20804 (exp_test): Likewise.
20805 (exp10_test): Likewise.
20806 (exp2_test): Likewise.
20807 (expm1_test): Likewise.
20808 (lgamma_test): Likewise.
20809 (log_test): Likewise.
20810 (log10_test): Likewise.
20811 (log1p_test): Likewise.
20812 (log2_test): Likewise.
20813 (pow_test): Do not allow some spurious overflow exceptions.
20814 (sqrt_test): Add more tests.
20815 (tgamma_test): Likewise.
20816 (y0_test): Likewise.
20817 (y1_test): Likewise.
20818 (yn_test): Likewise.
20819
dd62fda6
AB
208202012-03-27 Anton Blanchard <anton@samba.org>
20821
20822 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20823 MAP_HUGETLB.
20824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20825 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20826 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20827
1e3cdfda
AJ
208282012-03-27 David S. Miller <davem@davemloft.net>
20829
b855ab85
DM
20830 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20831
1e3cdfda
AJ
20832 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20833 have-as-vis3 check.
20834
208352012-03-27 Andreas Jaeger <aj@suse.de>
20836
20837 * sysdeps/x86_64/elf/configure.in: Moved to ...
20838 * sysdeps/x86_64/configure.in: ... here.
20839 * sysdeps/x86_64/elf/start.S: Moved to ...
20840 * sysdeps/x86_64/start.S: ... here.
20841 * sysdeps/x86_64/elf/configure: Delete.
20842
20843 * sysdeps/x86_64/configure.in: Merge contents from
20844 sysdeps/i386/configure.in (without i686 check).
20845
20846 * sysdeps/i386/elf/Versions: Merge into ...
20847 * sysdeps/i386/Versions: ... this.
20848 * sysdeps/i386/elf/Versions: Delete file.
20849 * sysdeps/i386/elf/start.S: Moved to ...
20850 * sysdeps/i386/start.S: ...here.
20851 * sysdeps/i386/elf/configure.in: Merge into...
20852 * sysdeps/i386/configure.in: ...here.
20853 * sysdeps/i386/elf/configure.in: Delete file.
20854 * sysdeps/i386/elf/configure: Delete file.
20855
20856 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20857 * debug/backtracesyms.c: ... here.
20858 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20859 * debug/backtracesymsfd.c: ... here.
20860 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20861 * sysdeps/generic/ifunc-sel.h: ... here.
20862
20863 * sysdeps/unix/i386/start.c: Delete file.
20864 * sysdeps/unix/sparc/start.c: Delete file.
20865 * sysdeps/unix/start.c: Delete file.
20866
20867 * sysdeps/sh/elf/configure.in: Moved to ...
20868 * sysdeps/sh/configure.in: ... here.
20869 * sysdeps/sh/elf/start.S: Moved to ...
20870 * sysdeps/sh/start.S: ... here.
20871 * sysdeps/sh/elf/configure: Delete file.
20872
20873 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20874 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20875 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20876 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20877 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20878 * sysdeps/powerpc/powerpc64/start.S: here.
20879 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20880 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20881 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20882 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20883 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20884
20885 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20886 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20887 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20888 * sysdeps/powerpc/powerpc32/start.S: ... here.
20889 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20890 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20891 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20892
20893 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20894 * sysdeps/powerpc/ifunc-sel.h: ... here.
20895 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20896 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20897
20898 * sysdeps/sparc/elf/configure.in: Moved to ...
20899 * sysdeps/sparc/configure.in: ... here.
20900 * sysdeps/sparc/elf/configure: Delete file.
20901 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20902 * sysdeps/sparc/sparc32/start.S: ... here.
20903 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20904 * sysdeps/sparc/sparc64/start.S: ... here.
20905 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20906 * sysdeps/sparc/sparc32/Makefile: ... this.
20907 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20908 * sysdeps/sparc/sparc64/Makefile: ... this.
20909
20910 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20911 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20912 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20913 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20914 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20915 * sysdeps/s390/s390-32/setjmp.S: ... here.
20916 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20917 * sysdeps/s390/s390-32/configure.in: ... here.
20918 * sysdeps/s390/s390-32/elf/configure: Delete file.
20919 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20920 * sysdeps/s390/s390-32/start.S: ... here.
20921
20922 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20923 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20924 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20925 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20926 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20927 * sysdeps/s390/s390-64/setjmp.S: ... here.
20928 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20929 * sysdeps/s390/s390-64/configure.in: ... here
20930 * sysdeps/s390/s390-64/elf/configure: Delete file.
20931 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20932 * sysdeps/s390/s390-64/start.S: ... here.
20933 * sysdeps/s390/s390-64/elf/configure: Delete.
20934
20935 * configure.in: Remove support for elf directories in sysdeps.
20936
20937 * configure: Regenerated.
20938 * sysdeps/i386/configure: Regenerated.
20939 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20940 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20941 * sysdeps/s390/s390-32/configure: Regenerated.
20942 * sysdeps/s390/s390-64/configure: Regenerated.
20943 * sysdeps/sh/configure: Regenerated.
20944 * sysdeps/sparc/configure: Regenerated.
20945 * sysdeps/x86_64/configure: Regenerated.
20946
a3f61311
AS
209472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20948
c876e002
AS
20949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20950
a3f61311
AS
20951 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20952 denormal result into account.
20953
ac4c54f0
RM
209542012-03-25 Roland McGrath <roland@hack.frob.com>
20955
20956 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20957 Reported by Allan McRae <allan@archlinux.org>.
20958
6a9b9c02
JL
209592012-03-23 Jeff Law <law@redhat.com>
20960
20961 * nss/getnssent.c (__nss_getent): Fix typo.
20962
4c42a0c1
DM
209632012-03-23 David S. Miller <davem@davemloft.net>
20964
20965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20966
1532c7ac
L
209672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20968
20969 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20970 to pad to uint64_t for each field.
20971 (dl_tls_index): Replace unsigned long with uint64_t.
20972
3ff42526
PP
209732012-03-23 Daniel Jacobowitz <dmj@google.com>
20974 Paul Pluzhnikov <ppluzhnikov@google.com>
20975
20976 [BZ #6528]
20977 * grp/Makefile (otherlibs): Don't set it.
20978 * inet/Makefile (otherlibs): Likewise.
20979 * login/Makefile (otherlibs): Likewise.
20980 * nscd/Makefile (otherlibs): Likewise.
20981 * posix/Makefile (otherlibs): Likewise.
20982 * pwd/Makefile (otherlibs): Likewise.
20983 * rt/Makefile (otherlibs): Likewise.
20984 * sunrpc/Makefile (otherlibs): Likewise.
20985 * nss/Makefile (otherlibs): Likewise.
20986 Add libnss_files to routines and static-only-routines.
20987 ($(objpfx)getent): Remove rule.
20988 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20989 static-only-routines.
20990
7c69cd14
JM
209912012-03-22 Joseph Myers <joseph@codesourcery.com>
20992
20993 [BZ #13892]
20994 * math/s_cexp.c: Include <float.h>.
20995 (__cexp): Handle exp result overflowing not necessarily
20996 overflowing both real and imaginary parts of result.
20997 * math/s_cexpf.c: Likewise.
20998 * math/s_cexpl.c: Likewise.
20999 * math/libm-test.inc (cexp_test): Add more tests.
21000 * sysdeps/i386/fpu/libm-test-ulps: Update.
21001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21002
81b035fe
L
210032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21004
21005 * include/link.h (ELFW): New macro.
21006 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21007 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21008
1da7940c
L
210092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21010
21011 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21012 with uint64_t.
21013
b749dbb9
L
210142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21015
21016 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21017 declaration.
21018 (struct La_x32_retval): Likewise.
21019
2ff87f3f
L
210202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21021
21022 * sysdeps/x86_64/preconfigure.in: New file.
21023 * sysdeps/x86_64/preconfigure: New generated file.
21024
c0df8e69
JM
210252012-03-22 Joseph Myers <joseph@codesourcery.com>
21026
48e44791
JM
21027 [BZ #13824]
21028 * math/e_exp2l.c: Include <float.h>.
21029 (__ieee754_exp2l): Handle overflow and underflow cases
21030 separately. Only pass fractional part of argument to
21031 __ieee754_expl.
21032 * math/libm-test.inc (exp2_test): Add more tests.
21033
c0df8e69
JM
21034 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21035 negating x to take absolute value.
21036 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21037 Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21039 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21040 Likewise.
21041 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21042 computing low part if x was negated.
21043 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21044
c8e43ba7
L
210452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21046
21047 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21048 la_x32_gnu_pltexit.
21049 (pltexit): Cast int_retval to ptrdiff_t.
21050 * elf/tst-auditmod3b.c: Likewise.
21051 * elf/tst-auditmod4b.c: Likewise.
21052 * elf/tst-auditmod5b.c: Likewise.
21053 * elf/tst-auditmod6b.c: Likewise.
21054 * elf/tst-auditmod6c.c: Likewise.
21055 * elf/tst-auditmod7b.c: Likewise.
21056
21057 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21058 and x32_gnu_pltexit.
21059
21060 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21061 __ELF_NATIVE_CLASS.
21062 (La_x32_regs): New macro.
21063 (La_x32_retval): Likewise.
21064 (la_x32_gnu_pltenter): New function prototype.
21065 (la_x32_gnu_pltexit): Likewise.
21066
7998fa78
AS
210672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21068
dcb33988
AS
21069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21070 exponent.
21071
233fc563
AS
21072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21073
7998fa78
AS
21074 * configure.in (libc_cv_cc_nofma): Check for option to disable
21075 generation of FMA instructions.
21076 * configure: Regenerate.
21077 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21078 * sysdeps/ieee754/dbl-64/Makefile: New file.
21079 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21080 Remove brandred-fma4.
21081 (CFLAGS-brandred-fma4.c): Remove.
21082 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21083 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21084 define.
21085 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21086 define.
21087
8e95c99a
L
210882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21089
21090 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21091 LLONG_MAX != LONG_MAX.
21092 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21093 (_fitoa_word): Likewise.
21094 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21095 LLONG_MAX != LONG_MAX.
21096 * stdio-common/_itowa.h: Include <_itoa.h>.
21097 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21098 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21099 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21100 only if not defined.
21101 (_ITOA_WORD_TYPE): Likewise.
21102 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21103 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21104
6f4db457
DM
211052012-03-21 David S. Miller <davem@davemloft.net>
21106
21107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21108
7785fe5a
L
211092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21110
21111 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21112 of x86_64 when setting libc_cv_slibdir, libdir and
21113 libc_cv_localedir.
21114 * sysdeps/unix/sysv/linux/configure: Regenerated.
21115
4535cd55
JM
211162012-03-21 Joseph Myers <joseph@codesourcery.com>
21117
21118 * manual/lang.texi (Old Varargs): Remove section.
21119 (How Variadic): Update menu.
21120 (va_start): Do not mention varargs.h.
21121
17228132
TS
211222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21123 Joseph Myers <joseph@codesourcery.com>
21124
21125 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21126 link test.
21127 * configure: Regenerated.
21128
8149f976
TS
211292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21130
05f3d1f6
UD
21131 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21132 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21133 conformtest.pl
8149f976 21134
1a4ac776
JM
211352012-03-21 Joseph Myers <joseph@codesourcery.com>
21136
be22ce65
JM
21137 * NOTES: Remove.
21138 * Makefile (files-for-dist): Remove NOTES.
21139 (NOTES): Remove rule.
21140 * README: Don't refer to NOTES.
21141 * manual/creature.texi: Don't include macros.texi.
21142 * manual/intro.texi (creature.texi): Remove comment referring to
21143 NOTES.
21144
40b601fb
JM
21145 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21146 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21147 * configure: Regenerated.
21148 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21149 LIBC_TRY_CC_OPTION.
21150 (libc_cv_as_i686): Likewise.
21151 (libc_cv_cc_avx): Likewise.
21152 (libc_cv_cc_sse2avx): Likewise.
21153 (libc_cv_cc_fma4): Likewise.
21154 (libc_cv_cc_novzeroupper): Likewise.
21155 * sysdeps/i386/configure: Regenerated.
21156
1a4ac776
JM
21157 [BZ #13883]
21158 * sysdeps/i386/fpu/s_cexp.S: Remove.
21159 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21160 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21161 * math/libm-test.inc (cexp_test): Add more tests.
21162 * sysdeps/i386/fpu/libm-test-ulps: Update.
21163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21164
a458e7fe
AM
211652012-03-21 Allan McRae <allan@archlinux.org>
21166
21167 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21168
0cb7efc5
JM
211692012-03-21 Joseph Myers <joseph@codesourcery.com>
21170
21171 [BZ #13871]
21172 * math/w_exp2.c: Do not include <float.h>.
21173 (o_threshold, u_threshold): Remove.
21174 (__exp2): Calculate result before checking finiteness and calling
21175 __kernel_standard.
21176 * math/w_exp2f.c: Likewise.
21177 * math/w_exp2l.c: Likewise.
21178 * math/libm-test.inc (exp2_test): Require overflow exception for
21179 1e6 input.
2460d3aa
JM
21180
21181 [BZ #3866]
21182 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21183 range of signed 64-bit integers before using fistpll. Remove
21184 checks for whether integers fit in mantissa bits.
21185 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21186 the range of signed 32-bit integers before using fistpl. Remove
21187 checks for whether integers fit in mantissa bits.
21188 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21189 (__ieee754_powl): Test for y outside the range of signed 64-bit
21190 integers before using fistpll. Reduce 64-bit values to 63-bit
21191 ones as needed.
21192 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21193 divide-by-zero is raised for zero to large negative powers.
21194 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21195 (__ieee754_powl): Test for y outside the range of signed 64-bit
21196 integers before using fistpll. Reduce 64-bit values to 63-bit
21197 ones as needed.
21198 * math/libm-test.inc (pow_test): Add more tests.
21199
eb96ffb0
L
212002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21201
21202 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21203 <stdio-common/_itoa.h>.
21204 * debug/segfault.c: Likewise.
21205 * elf/dl-cache.c: Likewise.
21206 * elf/dl-minimal.c: Likewise.
21207 * elf/dl-misc.c: Likewise.
21208 * elf/dl-sysdep.c: Likewise.
21209 * elf/dl-version.c: Likewise.
21210 * elf/rtld.c: Likewise.
21211 * hurd/hurdsock.c: Likewise.
21212 * hurd/lookup-retry.c: Likewise.
21213 * malloc/malloc.c: Likewise.
21214 * malloc/mtrace.c: Likewise.
21215 * nscd/nscd_getgr_r.c: Likewise.
21216 * nscd/nscd_getpw_r.c: Likewise.
21217 * nscd/nscd_getserv_r.c: Likewise.
21218 * posix/getopt_init.c: Likewise.
21219 * posix/wordexp.c: Likewise.
21220 * stdio-common/_itoa.c: Likewise.
21221 * stdio-common/printf_fphex.c: Likewise.
21222 * stdio-common/vfprintf.c: Likewise.
21223 * string/_strerror.c: Likewise.
21224 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21225 * sysdeps/i386/i686/hp-timing.h: Likewise.
21226 * sysdeps/mach/_strerror.c: Likewise.
21227 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21228 * sysdeps/mach/hurd/sethostid.c: Likewise.
21229 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21230 * sysdeps/mach/xpg-strerror.c: Likewise.
21231 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21232 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21233 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21234 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21235 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21236 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21237 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21238 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21239 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21240 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21241 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21242 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21243 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21244 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21245 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21246 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21247 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21248 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21249 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21250 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21251 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21252
21253 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21254
21255 * stdio-common/_itoa.h: Moved to ...
21256 * sysdeps/generic/_itoa.h: Here.
21257
21258 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21259
21260 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21261 instead of "_itoa.h" and "_itowa.h".
21262 * stdio-common/vfprintf.: Likewise.
21263
d1af992d
L
212642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21265
21266 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21267 <bits/wordsize.h>.
21268 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21269 (__signbit): Likwise.
21270 (llrintf): Likwise.
21271 (llrint): Likwise.
21272
114883e0
L
212732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21274
21275 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21276 __WORDSIZE != 64.
21277
c135cc1b
JM
212782012-03-20 Joseph Myers <joseph@codesourcery.com>
21279
21280 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21281 OVERFLOW_EXCEPTION_OK.
21282 * math/libm-test.inc ("Philosophy"): Update comment about
21283 exception testing.
21284 (OVERFLOW_EXCEPTION): Define.
21285 (OVERFLOW_EXCEPTION_OK): Likewise.
21286 (INVALID_EXCEPTION_OK): Renumber.
21287 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21288 (IGNORE_ZERO_INF_SIGN): Likewise.
21289 (test_exceptions): Handle FE_OVERFLOW.
21290 (exp10_test): Expect overflow exceptions.
21291 (exp2_test): Likewise.
21292 (expm1_test): Likewise.
21293 (nextafter_test): Likewise.
21294 (pow_test): Likewise.
21295 (scalbn_test): Likewise.
21296 (scalbln_test): Likewise.
21297
95443d88
L
212982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21299
21300 * sysdeps/x86_64/bits/atomic.h
21301 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21302 64bit integer.
21303 (atomic_exchange_acq): Likewise.
21304 (__arch_exchange_and_add_body): Likewise.
21305 (__arch_add_body): Likewise.
21306 (atomic_add_negative): Likewise.
21307 (atomic_add_zero): Likewise.
21308
490df6c4
L
213092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21310
c2722551 21311 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21312 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21313
5e52b189
L
213142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21315
21316 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21317 Check __x86_64__ instead of __WORDSIZE.
21318
a9879d4c
L
213192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21320
21321 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21322
5df98260
DM
213232012-03-19 David S. Miller <davem@davemloft.net>
21324
e1497744
DM
21325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21326
5df98260
DM
21327 * sysdeps/sparc/fpu/fenv_private.h: New file.
21328 * sysdeps/sparc/fpu/math_private.h: Use it.
21329 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21330 Remove.
21331 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21332 (libc_feholdexcept_setroundl): Remove.
21333 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21334 Remove.
21335 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21336 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21337
b4c35121
L
213382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21339
21340 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21341 int64_t instead of long int.
21342 (INSERT_WORDS64): Likwise.
21343
56965fd7
L
213442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21345
21346 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21347 _Unwind_GetCFA return to _Unwind_Ptr first.
21348
83d1aec8
JM
213492012-03-19 Joseph Myers <joseph@codesourcery.com>
21350
1897ad44
JM
21351 [BZ #13629]
21352 * math/s_clog.c: Include <float.h>.
21353 (__clog): Scale large or subnormal inputs.
21354 * math/s_clogf.c: Likewise.
21355 * math/s_clogl.c: Likewise.
21356 * math/s_clog10.c: Include <float.h>.
21357 (M_LOG10_2): Define.
21358 (__clog10): Scale large or subnormal inputs.
21359 * math/s_clog10f.c: Likewise.
21360 * math/s_clog10l.c: Likewise.
21361 * math/libm-test.inc (clog_test): Add more tests.
21362 (clog10_test): Likewise.
21363 * sysdeps/i386/fpu/libm-test-ulps: Update.
21364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21365
7726d6a9
JM
21366 [BZ #11451]
21367 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21368 x and y.
21369 * math/libm-test.inc (atan2_test): Add another test.
21370
83d1aec8
JM
21371 * Makerules (common-objdir-compile): Remove.
21372 * sysdeps/unix/Makefile (config-generated): Do not add
21373 $(unix-generated) to variable.
21374 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21375 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21376 Remove rule.
21377 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21378 Likewise.
21379 [generic bits/local_lim.h] (before-compile): Do not append to
21380 variable.
21381 [generic bits/local_lim.h] (common-generated): Likewise.
21382 [generic sys/param.h] (before-compile): Do not append to variable.
21383 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21384 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21385 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21386 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21387 include.
21388 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21389 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21390 [generic sys/param.h] ($(addprefix
21391 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21392 [generic sys/param.h] (common-generated): Do not append to
21393 variable.
21394 [generic sys/param.h] (sysdep_headers): Likewise.
21395 [generic bits/errno.h] (before-compile): Do not append to
21396 variable.
21397 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21398 rule.
21399 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21400 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21401 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21402 [generic bits/errno.h] (common-generated): Do not append to
21403 variable.
21404 [generic bits/ioctls.h] (before-compile): Do not append to
21405 variable.
21406 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21407 rule.
21408 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21409 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21410 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21411 rule.
21412 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21413 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21414 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21415 [generic bits/ioctls.h] (common-generated): Do not append to
21416 variable.
21417 [generic sys/syscall.h] (syscall.h): Remove variable.
21418 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21419 rule.
21420 [generic sys/syscall.h] (before-compile): Do not append to
21421 variable.
21422 [generic sys/syscall.h] (common-generated): Likewise.
21423 * sysdeps/unix/errnos-tmpl.c: Remove file.
21424 * sysdeps/unix/errnos.awk: Likewise.
21425 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21426 * sysdeps/unix/ioctls.awk: Likewise.
21427 * sysdeps/unix/mk-local_lim.c: Likewise.
21428 * sysdeps/unix/snarf-ioctls: Likewise.
21429
4851a949
RH
214302012-03-19 Richard Henderson <rth@twiddle.net>
21431
bd37f2ee
RH
21432 * sysdeps/i386/fpu/fenv_private.h: New file.
21433 * sysdeps/i386/fpu/math_private.h: Use it.
21434 (math_opt_barrier, math_force_eval): Remove.
21435 (libc_feholdexcept_setround_53bit): Remove.
21436 (libc_feupdateenv_53bit): Remove.
21437 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21438 (math_opt_barrier, math_force_eval): Remove.
21439 (libc_feholdexcept): Remove.
21440 (libc_feholdexcept_setround): Remove.
21441 (libc_fetestexcept, libc_fesetenv): Remove.
21442 (libc_feupdateenv_test): Remove.
21443 (libc_feupdateenv, libc_feholdsetround): Remove.
21444 (libc_feresetround): Remove.
21445
d0adc922
RH
21446 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21447 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21448
0fe0f1f8
RH
21449 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21450 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21451 (libc_feupdateenv_testl): New.
21452 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21453 (libc_feupdateenv_testf): New.
21454 (libc_feupdateenv): Use libc_feupdateenv_test.
21455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21456 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21457
eb92c487
RH
21458 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21459 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21460 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21461 (libc_feresetround_noex): New.
21462 (libc_feresetround_noexf): New.
21463 (libc_feresetround_noexl): New.
21464 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21465 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21466 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21467 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21468 SET_RESTORE_ROUND.
21469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21471 (__cos): Likewise.
21472 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21473 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21474 SET_RESTORE_ROUND_NOEX.
21475 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21476 SET_RESTORE_ROUND_NOEXF.
21477 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21478 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21479 (libc_feholdsetroundf): New.
21480 (libc_feresetround, libc_feresetroundf): New.
21481
7d2e8012
RH
21482 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21483 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21484 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21485
b4dabbb4
RH
21486 * sysdeps/generic/math_private.h: Include <fenv.h>.
21487 (default_libc_feholdexcept): New.
21488 (default_libc_feholdexcept_setround): New.
21489 (default_libc_fesetenv, default_libc_feupdateenv): New.
21490 (libc_feholdexcept): Only define if undefined.
21491 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21492 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21493 (libc_feholdexcept_setroundl): Likewise.
21494 (libc_feholdexcept_setround_53bit): Likewise.
21495 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21496 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21497 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21498 (libc_feupdateenv_53bit): Likewise.
21499 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21500 (libc_feholdexcept): Convert from macro to inline function.
21501 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21502 (libc_fesetenv, libc_feupdateenv): Likewise.
21503
4851a949
RH
21504 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21505 not previously defined.
21506 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21507 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21508 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21509 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21510 * sysdeps/ieee754/flt-32/math_private.h: New file.
21511 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21512 math_private.h below SET_FLOAT_WORD.
21513 (__isnan, __isinf_ns, __finite): Remove.
21514 (__isnanf, __isinf_nsf, __finitef): Remove.
21515
e79d442e
AS
215162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21517
21518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21519
90b80344
DM
215202012-03-17 David S. Miller <davem@davemloft.net>
21521
21522 [BZ #6471]
21523 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21524 for 2.16.
21525
edc21804
DM
215262012-03-16 David S. Miller <davem@davemloft.net>
21527
77e927af
DM
21528 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21529 warnings.
21530
374976dd
DM
21531 [BZ #6471]
21532 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21533 properly.
21534 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21535 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21536 sysdep_routines when subdir is sysvipc.
21537 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21538 __getshmlba helper.
21539
edc21804
DM
21540 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21541
473c3ef3
L
215422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21543
21544 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21545 [__LP64__].
21546
eb0f39b6
L
215472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21548
21549 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21550 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21551 (__lround): Renamed to ...
21552 (__llround): This. Replace long int with long long int.
21553 Define lround functions as aliases of llround functions.
21554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21555
6b6cd74b
L
215562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21557
21558 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21559 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21560 adresses to uintptr_t. Replace "long int" and "unsigned long
21561 int" with "greg_t" on va_arg.
21562
f1a77b01
L
215632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21564
21565 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21566 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21567
21568 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21569 Move e_machine check before EI_CLASS check. Handle x32
21570 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21571 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21572 SKIP_EM_IA_64 and include
21573 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21574
21575 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21576 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21577 (add_system_dir): New macro.
21578
21579 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21580 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21581
11b90b9f
JM
215822012-03-16 Joseph Myers <joseph@codesourcery.com>
21583
c36e1d23
JM
21584 [BZ #2551]
21585 [BZ #2552]
21586 [BZ #2553]
21587 [BZ #2554]
21588 [BZ #2562]
21589 [BZ #2563]
21590 [BZ #2565]
21591 [BZ #2566]
21592 [BZ #2576]
21593 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21594 (y0): Likewise.
21595 * math/w_j0f.c (j0f): Likewise.
21596 (y0f): Likewise.
21597 * math/w_j0l.c (__j0l): Likewise.
21598 (__y0l): Likewise.
21599 * math/w_j1.c (j1): Likewise.
21600 (y1): Likewise.
21601 * math/w_j1f.c (j1f): Likewise.
21602 (y1f): Likewise.
21603 * math/w_j1l.c (__j1l): Likewise.
21604 (__y1l): Likewise.
21605 * math/w_jn.c (jn): Likewise.
21606 (yn): Likewise.
21607 * math/w_jnf.c (jnf): Likewise.
21608 (ynf): Likewise.
21609 * math/w_jnl.c (__jnl): Likewise.
21610 (__ynl): Likewise.
21611 * math/libm-test.inc (j0_test): Add more tests.
21612 (j1_test): Likewise.
21613 (jn_test): Likewise. Add trailing semicolon to existing test.
21614 (y0_test): Likewise.
21615 (y1_test): Likewise.
21616 * sysdeps/i386/fpu/libm-test-ulps: Update.
21617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21618
11b90b9f
JM
21619 [BZ #13851]
21620 [BZ #13854]
21621 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21622 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21623 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21624 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21625 (__tanl): Set errno for infinite argument.
21626 * sysdeps/i386/fpu/mptan.c: Remove.
21627 * sysdeps/i386/fpu/s_tan.S: Likewise.
21628 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21629 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21630 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21631 * math/libm-test.inc (tan_test): Add more tests and enable more
21632 tests for double and long double.
21633 * sysdeps/i386/fpu/libm-test-ulps: Update.
21634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21635
6a1bd2a1
JK
216362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21637
21638 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21639 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21640
10a803e0
RM
216412012-03-16 Roland McGrath <roland@hack.frob.com>
21642
21643 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21644 * configure.in: Use it for both main tree and add-ons.
21645 * configure: Regenerated.
21646
f196c7f7
L
216472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21648
21649 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21650
8848d99d
JM
216512012-03-16 Joseph Myers <joseph@codesourcery.com>
21652
96cbe7f4
JM
21653 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21654 in comment.
21655
8848d99d
JM
21656 [BZ #13851]
21657 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21658 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21662 infinite argument.
21663 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21664 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21665 != 0 for prec == 2.
21666 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21667 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21668 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21669 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21670 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21671 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21672 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21673 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21674 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21675 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21676 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21677 * math/libm-test.inc (cos_test): Add more tests and enable more
21678 tests for long double.
21679 (sin_test): Likewise.
21680 (sincos_test): Likewise.
21681 * sysdeps/i386/fpu/libm-test-ulps: Update.
21682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21683
dd7f4703
DM
216842012-03-16 David S. Miller <davem@davemloft.net>
21685
21686 * sysdeps/sparc/fpu/math_private.h: New file.
21687
006f1daa
DM
216882012-03-15 David S. Miller <davem@davemloft.net>
21689
c0c83bc8
DM
21690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21691 file.
e6a62e18 21692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21694 file.
e6a62e18
DM
21695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21701 sysdep routines.
21702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21703
88cb87d9
DM
21704 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21705 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21706
006f1daa 21707 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21709 sparc-ifunc.h
006f1daa 21710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21712 Likewise.
21713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21714 Likewise.
006f1daa
DM
21715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21719 Likewise.
006f1daa
DM
21720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21725 Likewise.
21726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21727 Likewise.
006f1daa
DM
21728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21746 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21750 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21751 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21752
11e0098e
AS
217532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21754
21755 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21756 scaling.
21757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21758
e85b09d0
AJ
217592012-03-15 Andreas Jaeger <aj@suse.de>
21760
21761 [BZ #13852]
21762 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21763 ieee754/flt-32 implementation for sin, cos and sincos.
21764 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21765 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21766 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21767 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21768 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21769 ieee754/flt-32 implementation for tan.
21770
21771 * math/libm-test.inc (cos_test): Enable some large input tests for
21772 float as well
21773 (sin_test): Likewise.
21774 (sincos_test): Likewise.
21775 (tan_test): Add tests for large input.
21776
21777 * sysdeps/i386/fpu/libm-test-ulps: Update.
21778
81c64153
AJ
217792012-03-15 Andreas Jaeger <aj@suse.de>
21780
21781 [BZ #13658]
21782 * math/libm-test.inc (cos_test): Add more test cases.
21783 (sin_test): Likewise.
21784 (sincos_test): Likewise.
21785
7bbfa5c6
AJ
217862012-03-15 Andreas Jaeger <aj@suse.de>
21787
21788 [BZ #13837]
21789 * math/libm-test.inc (cos_test): Add a test case for large input
21790 value.
21791 (sin_test): Likewise.
21792 (sincos_test): Likewise.
21793
217942012-03-15 Andreas Jaeger <aj@suse.de>,
21795 Joseph Myers <joseph@codesourcery.com>
21796
21797 [BZ #13658]
0671f479 21798 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21799 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21800 * sysdeps/i386/fpu/branred.c: Likewise.
21801 * sysdeps/i386/fpu/dosincos.c: Likewise.
21802 * sysdeps/i386/fpu/mpa.c: Likewise.
21803 * sysdeps/i386/fpu/s_cos.S: Likewise.
21804 * sysdeps/i386/fpu/s_sin.S: Likewise.
21805 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21806 * sysdeps/i386/fpu/sincos32.c: Likewise.
21807
21808 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21809 Define.
21810 (libc_feupdateenv_53bit): Define.
21811 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21812 Define.
21813 (libc_feupdateenv_53bit): Define.
21814
21815 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21816 53 bit (without extend i386 double precision).
21817
21818 * math/libm-test.inc (sincos_test): Add tests for large input.
21819 (sin): Likewise.
21820 (cos): Likewise.
21821
21822 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21823
9cad04ea
AS
218242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21825
21826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21827
f7062b9a
DM
218282012-03-15 David S. Miller <davem@davemloft.net>
21829
21830 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21831 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21832 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21833 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21846 file.
f7062b9a 21847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21849 file.
f7062b9a 21850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21852 file.
f7062b9a 21853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21855 file.
f7062b9a
DM
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21857 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21858 fmin/fmax sysdep routines.
21859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21860
7bd951ff
DM
218612012-03-14 David S. Miller <davem@davemloft.net>
21862
559398ab
DM
21863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21883 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21887 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21890 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21892 routines.
21893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21894 file.
559398ab 21895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21897 file.
559398ab 21898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21900 file.
559398ab 21901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21903 file.
559398ab 21904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21906 file.
559398ab 21907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21909 file.
21910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21911 file.
21912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21913 file.
21914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21915 file.
21916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21917 New file.
21918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21919 file.
21920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21921 file.
559398ab 21922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21924 file.
559398ab 21925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21927 file.
559398ab 21928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21930 file.
559398ab 21931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21933 VIS3 routines.
559398ab
DM
21934
21935 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21936 New file.
21937
5a1c1e32
DM
21938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21939
eae47a36
DM
21940 * sysdeps/sparc/configure.in: New file.
21941 * sysdeps/sparc/configure: Generate.
21942 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21943 * configure: Regenerate.
21944 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21945 * config.make.in (have-as-vis3): New.
21946 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21947 available use -Av9d instead of -Av9a.
21948 * sysdeps/sparc/sparc64/Makefile: Likewise.
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21951 New file.
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21953 file.
21954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21955 New file.
21956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21957 file.
eae47a36
DM
21958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21963
c0c83bc8
DM
21964 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21965 fzeros/fnegs to load 0x80000000 into a float register instead of
21966 using the stack.
7bd951ff
DM
21967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21968
bd951ccb
JM
219692012-03-14 Joseph Myers <joseph@codesourcery.com>
21970
21971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21972 bits/syscall.h.
21973 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21974 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21975 ($(inst_includedir)/bits/syscall.h): Remove rule.
21976 ($(objpfx)bits/syscall.d): Include instead of
21977 $(objpfx)syscall-list.d.
21978 (generated): Change syscall-list.h and syscall-list.d to
21979 bits/syscall.h and bits/syscall.d.
21980
bb4e6db2
RM
219812012-03-14 Roland McGrath <roland@hack.frob.com>
21982
21983 [BZ #13846]
21984 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21985
aa4a2ae1
JM
219862012-03-14 Joseph Myers <joseph@codesourcery.com>
21987
e456826d
JM
21988 [BZ #13841]
21989 * math/s_csqrt.c: Include <float.h>.
21990 (__csqrt): Scale large or subnormal inputs.
21991 * math/s_csqrtf.c: Likewise.
21992 * math/s_csqrtl.c: Likewise.
21993 * math/libm-test.inc (csqrt_test): Add more tests.
21994 * sysdeps/i386/fpu/libm-test-ulps: Update.
21995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21996
aa4a2ae1
JM
21997 [BZ #13840]
21998 * math/libm-test.inc (hypot_test): Add more tests.
21999
7c10fd35
DM
220002012-03-13 David S. Miller <davem@davemloft.net>
22001
22002 [BZ #13840]
22003 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22004 double-precision for the calculation instead of scaling.
22005
f453b98b
JM
220062012-03-13 Joseph Myers <joseph@codesourcery.com>
22007
22008 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22009 manipulate bits before adding and subtracting TWO52[sx].
22010 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22011 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22012 Likewise.
22013 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22014
09a3453f
DM
220152012-03-13 David S. Miller <davem@davemloft.net>
22016
8e59da90
DM
22017 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22018 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22020 rtld-global-offsets.h
22021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22022
2a8ab7f2
DM
22023 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22024 large parameters.
22025
10f62770
DM
22026 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22027
5f0bdb18
DM
22028 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22029 'err' in the ifdef scope in which it is actually used.
22030
09a3453f
DM
22031 * nss/nss_db/db-init.c: Include string.h
22032
b4b2eb5e
DM
220332012-03-12 David S. Miller <davem@davemloft.net>
22034
98bb2f1c
DM
22035 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22036 masking out of the most significant byte of random value used.
22037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22038 Fix coding style in previous change.
22039
b4b2eb5e
DM
22040 * sysdeps/unix/sysv/linux/kernel-features.h
22041 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22042 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22043 expression.
22044 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22045 later.
22046
6e226b09
DM
220472012-03-11 David S. Miller <davem@davemloft.net>
22048
a1bcbd40
DM
22049 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22050 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22051 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22052 for 'resultvar' otherwise things get truncated on 64-bit.
22053
cb9d6174
DM
22054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22055 Fix masking out of the most significant byte of random value used.
22056
6e226b09
DM
22057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22058
058c132d
AS
220592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22060
22061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22062
2d2cd515
DM
220632012-03-09 David S. Miller <davem@davemloft.net>
22064
22065 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22066 variables with appropriate CPP guards.
22067 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22068 frame pointer, not the stack pointer. Correct layout comments. Fix test
22069 on resulting framesize and the management of the outregs buffer for pltexit.
22070 Preserve floating point return values across _dl_call_pltexit call.
22071 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22072 framesize and the management of the outregs buffer for pltexit.
22073 Preserve floating point return values across _dl_call_pltexit
22074 call.
22075 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22076 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22077 (print_exit): Fix format string for return register value.
22078
9a07f9d0
JM
220792012-03-10 Joseph Myers <joseph@codesourcery.com>
22080
22081 * sunrpc/Makefile (others): Add rpcgen.
22082 ($(objpfx)rpcgen): Remove special build rule and dependency on
22083 libc.
22084 * sunrpc/rpcgen.c: New file.
22085
547b5e30
PE
220862012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22087
c524201a
PE
22088 [BZ #13673]
22089 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22090 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22091 * sysdeps/i386/crti.S: Likewise.
22092 * sysdeps/i386/crtn.S: Likewise.
22093 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22094 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22095 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22096 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22097 * sysdeps/sh/crti.S: Likewise.
22098 * sysdeps/sh/crtn.S: Likewise.
22099 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22100
7b6235f2
PE
22101 [BZ #13673]
22102 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22103 with URL.
22104 * locale/programs/locfile-kw.gperf: Likewise.
22105 * locale/programs/charmap-kw.h: Regenerated.
22106 * locale/programs/locfile-kw.h: Likewise.
22107
547b5e30
PE
22108 [BZ #13673]
22109 * intl/plural.y: Replace FSF snail mail address with URL.
22110 * intl/plural.c: Regenerated.
22111
5f0a5dae
RH
221122012-03-09 Richard Henderson <rth@twiddle.net>
22113
22114 * include/math_private.h: Remove file.
22115 * math/math_private.h: Move file ...
22116 * sysdeps/generic/math_private.h: ... here.
22117
b8c03620
RH
22118 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22119 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22120 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22121
4e234f5d 22122 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22123 and <math_private.h>.
22124 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22125 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22126 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22127 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22128 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22129 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22130 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22133 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22135 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22139 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22140 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22141 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22143 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22145 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22147 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22148 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22154 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22155 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22157 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22158 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22159 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22160 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22162 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22163 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22164 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22165 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22166 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22167 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22168 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22169 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22170 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22171 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22172 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22173 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22174 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22175 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22176 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22177 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22178 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22179 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22180 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22181 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22182 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22193 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22204 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22212 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22213 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22214 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22215 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22216 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22217 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22218 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22219 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22220 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22221 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22222 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22223 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22224 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22225 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22226 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22227 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22228 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22229 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22230 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22231 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22232 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22233 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22234 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22235 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22236 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22237 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22238 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22239 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22240 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22241 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22242 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22243 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22244 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22245 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22246 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22247 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22248 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22249 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22250 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22251 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22252 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22253 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22254 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22255 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22256 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22257 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22258 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22259 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22260 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22261 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22262 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22263 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22264 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22265 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22266 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22267 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22268 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22269 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22270 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22271 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22272 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22273 * sysdeps/ieee754/k_standard.c: Likewise.
22274 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22278 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22279 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22284 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22285 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22286 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22287 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22288 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22291 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22294 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22300 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22301 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22305 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22307 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22308 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22309 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22312 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22313 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22314 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22315 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22317 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22318 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22319 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22320 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22324 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22325 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22326 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22327 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22330 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22331 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22332 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22333 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22335 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22336 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22340 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22341 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22344 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22346 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22347 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22348 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22350 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22351 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22353 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22354 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22356 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22357 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22358 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22359 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22360 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22361 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22362 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22363 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22364 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22365 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22366 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22367 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22368 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22369 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22370 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22371 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22372 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22373 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22374 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22375 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22376 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22377 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22378 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22379 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22380 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22381 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22382 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22383 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22384 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22385 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22386 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22387 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22388 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22389 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22390 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22391 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22392 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22393 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22394 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22395 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22396 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22397 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22398 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22399 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22400 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22401 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22402 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22403 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22404 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22405 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22406 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22409 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22410 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22411 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22413 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22414 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22415 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22416 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22417 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22422 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22423 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22424 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22434 * sysdeps/ieee754/s_lib_version.c: Likewise.
22435 * sysdeps/ieee754/s_matherr.c: Likewise.
22436 * sysdeps/ieee754/s_signgam.c: Likewise.
22437 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22438 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22439 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22440 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22441 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22442 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22443 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22444 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22445 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22446 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22447 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22448 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22449 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22450 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22451 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22452 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22453 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22454 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22455 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22457 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22458
1991fa03
JM
224592012-03-09 Joseph Myers <joseph@codesourcery.com>
22460
22461 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22462 * sunrpc/rpc_main.c: Likewise.
22463 * sunrpc/rpc_svcout.c: Likewise.
22464
60d6f5a6
DM
224652012-03-09 David S. Miller <davem@davemloft.net>
22466
22467 * include/math_private.h: New file.
22468
4962050e
JM
224692012-03-09 Joseph Myers <joseph@codesourcery.com>
22470
02a6f887
JM
22471 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22472 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22473 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22474 from <bits/socket_type.h>.
22475 (enum __socket_type): Don't define here.
22476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22478 bits/socket_type.h.
22479
c6e013c1
JM
22480 [BZ #13566]
22481 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22482 checking __USE_GNU.
22483
4962050e
JM
22484 * Makerules ($(inst_includedir)/%.h): New rule.
22485 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22486 (install-others): Remove variable setting.
22487 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22488
38842f45
RH
224892012-03-08 Richard Henderson <rth@twiddle.net>
22490
67bb6da6
RH
22491 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22492 from macro to inline function; merge with the
22493 !__LIBC_INTERNAL_MATH_INLINES version.
22494 (__ieee754_sqrtf): Likewise.
22495
15194b4b
RH
22496 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22497 to inline function.
22498 (__rintf, __floor, __floorf): Likewise.
22499
64e21ede
RH
22500 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22501 macro to inline function.
22502 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22503
38842f45
RH
22504 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22505 not <math/math_private.h>.
22506
c64bf5fe
DM
225072012-03-08 David S. Miller <davem@davemloft.net>
22508
22509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22510 copyright year.
22511 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22512
82d86f28
TS
225132012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22514
22515 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22516 normalization.
22517 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22518 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22519
aea5d727
UD
225202012-03-08 Ulrich Drepper <drepper@gmail.com>
22521
22522 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22523 be defined individually, they must be defined as a block. Define
22524 S for printing a string instead of hidint the different by using a
22525 macro for adding the 'l'.
22526 * stdio-common/tst-fphex-wide.c: Adjust.
22527
70bca0a3
MP
225282012-03-07 Marek Polacek <polacek@redhat.com>
22529
22530 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22531
65b81130
MP
225322012-03-08 Marek Polacek <polacek@redhat.com>
22533
22534 [BZ #13806]
22535 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22536 * stdio-common/tst-fphex.c: Define a few macros to make the
22537 test reusable. Use them.
22538 * stdio-common/tst-fphex-wide.c: New file.
22539
07037eeb
JM
225402012-03-08 Joseph Myers <joseph@codesourcery.com>
22541
a7a93d50
JM
22542 [BZ #6911]
22543 * manual/macros.texi (gnusystems): New macro.
22544 (nongnusystems): Likewise.
22545 (gnulinuxhurdsystems): Likewise.
22546 (gnuhurdsystems): Likewise..
22547 (gnulinuxsystems): Likewise.
22548 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22549 variants of the GNU system, not "GNU system".
22550 * manual/conf.texi: Likewise.
22551 * manual/errno.texi: Likewise. Update example of errno macro
22552 expansion.
22553 * manual/filesys.texi: Likewise.
22554 (getumask): Document as specific to GNU/Hurd.
22555 * manual/install.texi: Likewise. Reword some references to
22556 GNU/Linux.
22557 * manual/intro.texi: Likewise.
22558 * manual/io.texi: Likewise.
22559 (File Name Portability): Detail which constraints are inapplicable
22560 to all GNU systems and which are only inapplicable to GNU/Hurd.
22561 * manual/job.texi: Likewise.
22562 * manual/llio.texi: Likewise.
22563 (O_NOCTTY): Document as present on GNU/Linux.
22564 * manual/maint.texi: Likewise.
22565 * manual/memory.texi: Likewise.
22566 * manual/pattern.texi: Likewise.
22567 * manual/pipe.texi: Likewise.
22568 * manual/process.texi: Likewise.
22569 * manual/resource.texi: Likewise.
22570 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22571 child on GNU/Hurd.
22572 * manual/setjmp.texi: Likewise.
22573 * manual/signal.texi: Likewise.
22574 * manual/startup.texi: Likewise.
22575 * manual/stdio.texi: Likewise.
22576 * manual/terminal.texi: Likewise.
22577 (ONLCR): Document as POSIX.
22578 (OXTABS): Document availability on GNU/Linux as XTABS.
22579 (ONOEOT): Document availability separately from other bits.
22580 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22581 * manual/time.texi: Likewise.
22582 * manual/users.texi: Likewise.
22583 * INSTALL: Regenerated.
22584 * sysdeps/gnu/errlist.c: Regenerated.
22585
07037eeb
JM
22586 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22587 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22588 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22589 puts.
22590 * configure: Regenerated.
22591
d1d3431a
JM
225922012-03-07 Joseph Myers <joseph@codesourcery.com>
22593
af6a1e37
JM
22594 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22595 default includes instead of AC_HEADER_CHECK.
22596 * sysdeps/i386/configure: Regenerated.
22597
d1d3431a
JM
22598 [BZ #10716]
22599 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22600 * math/s_cacoshf.c (__cacoshf): Likewise.
22601 * math/s_cacoshl.c (__cacoshl): Likewise.
22602 * math/s_casinh.c (__casinh): Set signs of result from argument.
22603 * math/s_casinhf.c (__casinhf): Likewise.
22604 * math/s_casinhl.c (__casinhl): Likewise.
22605 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22606 (casinh_test): Add more tests.
22607 * sysdeps/i386/fpu/libm-test-ulps: Update.
22608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22609
482ff4da
UD
226102012-03-07 Ulrich Drepper <drepper@gmail.com>
22611
872fda05
UD
22612 * po/zh_TW.po: Update from translation team.
22613
a4300c7a
UD
22614 * login/Makefile (distribute): Remove variable.
22615 * catgets/Makefile: Likewise.
22616 * mach/Makefile: Likewise.
22617 * malloc/Makefile: Likewise.
22618 * misc/Makefile: Likewise.
22619 * iconv/Makefile: Likewise.
22620 * nscd/Makefile: Likewise.
22621 * hurd/Makefile: Likewise.
22622 * manual/Makefile: Likewise.
22623 * locale/Makefile: Likewise.
22624 * intl/Makefile: Likewise.
22625 * conform/Makefile: Likewise.
22626 * nss/Makefile: Likewise.
22627 * time/Makefile: Likewise.
22628 * soft-fp/Makefile: Likewise.
22629 * dirent/Makefile: Likewise.
22630 * gmon/Makefile: Likewise.
22631 * po/Makefile: Likewise.
22632 * rt/Makefile: Likewise.
22633 * socket/Makefile: Likewise.
22634 * math/Makefile: Likewise.
22635 * signal/Makefile: Likewise.
22636 * debug/Makefile: Likewise.
22637 * elf/Makefile: Likewise.
22638 * timezone/Makefile: Likewise.
22639 * stdlib/Makefile: Likewise.
22640 * iconvdata/Makefile: Likewise.
22641 * sunrpc/Makefile: Likewise.
22642 * io/Makefile: Likewise.
22643 * argp/Makefile: Likewise.
22644 * inet/Makefile: Likewise.
22645 * hesiod/Makefile: Likewise.
22646 * grp/Makefile: Likewise.
22647 * csu/Makefile: Likewise.
22648 * wctype/Makefile: Likewise.
22649 * crypt/Makefile: Likewise.
22650 * libio/Makefile: Likewise.
22651 * string/Makefile: Likewise.
22652 * nis/Makefile: Likewise.
22653 * resolv/Makefile: Likewise.
22654 * stdio-common/Makefile: Likewise.
22655 * wcsmbs/Makefile: Likewise.
22656 * dlfcn/Makefile: Likewise.
22657 * posix/Makefile: Likewise.
22658
3b7c4e74 22659 [BZ #6959]
482ff4da
UD
22660 * timezone/Makefile: Don't install timezone files, just the programs
22661 and scripts.
22662
f72ed77d
UD
226632012-03-06 Ulrich Drepper <drepper@gmail.com>
22664
a000466f
UD
22665 * nss/databases.def: Add missing gshadow entry.
22666
f72ed77d
UD
22667 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22668
a53b7a4e
MP
226692012-03-06 Marek Polacek <polacek@redhat.com>
22670
22671 [BZ #13726]
22672 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22673 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22674 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22675 * stdio-common/tst-long-dbl-fphex.c: New file.
22676
e9258400
DM
226772012-03-06 David S. Miller <davem@davemloft.net>
22678
22679 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22680 (set_obp_int): New function.
22681 (get_obp_int): New function.
22682 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22684 Avoid unused variable warnings on 'val' and use builtin_expect.
22685 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22686 __builtin_expect.
e9258400
DM
22687 (INLINE_CLONE_SYSCALL): Likewise.
22688
3bd2c723
DM
226892012-03-05 David S. Miller <davem@davemloft.net>
22690
22691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22692
bbb78d03
AS
226932012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22694
884c5db4
AS
22695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22696
bbb78d03
AS
22697 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22698 only for |x| >= 40.
22699 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22700
1c9f702a 227012012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22702
22703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22704 Replace gettimeofday with __vdso_gettimeofday.
22705
7be16f82
RM
22706 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22707 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22708 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22709
22710 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22711 time with __vdso_time.
22712
ed58a00f
JM
227132012-03-05 Joseph Myers <joseph@codesourcery.com>
22714
22715 * manual/lang.texi (size_t): Note types to which size_t may be
22716 equivalent with the GNU C Library, but do not describe when
22717 differences between them are significant.
22718
30ee4ced
AJ
227192012-03-05 Andreas Jaeger <aj@suse.de>
22720
22721 * sysdeps/i386/fpu/libm-test-ulps: Update.
22722
b7cd39e8
JM
227232012-03-05 Joseph Myers <joseph@codesourcery.com>
22724
22725 [BZ #3976]
22726 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22727 (__ieee754_pow): Save and restore rounding mode and use
22728 round-to-nearest for main computations.
22729 * math/libm-test.inc (pow_test_tonearest): New function.
22730 (pow_test_towardzero): Likewise.
22731 (pow_test_downward): Likewise.
22732 (pow_test_upward): Likewise.
22733 (main): Call the new functions.
22734 * sysdeps/i386/fpu/libm-test-ulps: Update.
22735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22736
22737 [BZ #3976]
22738 * math/libm-test.inc (cosh_test_tonearest): New function.
22739 (cosh_test_towardzero): Likewise.
22740 (cosh_test_downward): Likewise.
22741 (cosh_test_upward): Likewise.
22742 (sinh_test_tonearest): Likewise.
22743 (sinh_test_towardzero): Likewise.
22744 (sinh_test_downward): Likewise.
22745 (sinh_test_upward): Likewise.
22746 (main): Call the new functions.
22747 * sysdeps/i386/fpu/libm-test-ulps: Update.
22748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22749
6c6a98c9
TV
227502012-03-05 Tom de Vries <tom@codesourcery.com>
22751
22752 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22753 default stack guard is set in last bytes.
22754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22755
21bb2d2e 227562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22757
21bb2d2e 22758 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22759
21bb2d2e
AJ
22760 [BZ #13656]
22761 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22762 possibly allocate from heap instead of stack.
22763 * stdio-common/bug-vfprintf-nargs.c: New file.
22764 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22765
c6922934
AS
227662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22767
22768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22769
bc957d53
MP
227702012-03-03 Marek Polacek <polacek@redhat.com>
22771
22772 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22773 * math/math_private.h: Likewise.
22774 * stdlib/tst-strtod.c: Likewise.
22775 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22776 * sysdeps/x86_64/bits/atomic.h: Likewise.
22777
6358490d
DM
227782012-03-02 David S. Miller <davem@davemloft.net>
22779
22780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22784 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22785 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22786 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22787 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22788
01ae168d
RM
227892012-03-02 Roland McGrath <roland@hack.frob.com>
22790
d9a17c07
RM
22791 [BZ #13792]
22792 * manual/examples/README: New file, says the example source files
22793 can be used under GPL>=2.
22794 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22795 line containing just "*/".
22796 * manual/examples/add.c: Add copyright header (GPL>=2).
22797 * manual/examples/argp-ex1.c: Likewise.
22798 * manual/examples/argp-ex2.c: Likewise.
22799 * manual/examples/argp-ex3.c: Likewise.
22800 * manual/examples/argp-ex4.c: Likewise.
22801 * manual/examples/atexit.c: Likewise.
22802 * manual/examples/db.c: Likewise.
22803 * manual/examples/dir.c: Likewise.
22804 * manual/examples/dir2.c: Likewise.
22805 * manual/examples/execinfo.c: Likewise.
22806 * manual/examples/filecli.c: Likewise.
22807 * manual/examples/filesrv.c: Likewise.
22808 * manual/examples/fmtmsgexpl.c: Likewise.
22809 * manual/examples/genpass.c: Likewise.
22810 * manual/examples/inetcli.c: Likewise.
22811 * manual/examples/inetsrv.c: Likewise.
22812 * manual/examples/isockad.c: Likewise.
22813 * manual/examples/longopt.c: Likewise.
22814 * manual/examples/memopen.c: Likewise.
22815 * manual/examples/memstrm.c: Likewise.
22816 * manual/examples/mkfsock.c: Likewise.
22817 * manual/examples/mkisock.c: Likewise.
22818 * manual/examples/mygetpass.c: Likewise.
22819 * manual/examples/pipe.c: Likewise.
22820 * manual/examples/popen.c: Likewise.
22821 * manual/examples/rprintf.c: Likewise.
22822 * manual/examples/search.c: Likewise.
22823 * manual/examples/select.c: Likewise.
22824 * manual/examples/setjmp.c: Likewise.
22825 * manual/examples/sigh1.c: Likewise.
22826 * manual/examples/sigusr.c: Likewise.
22827 * manual/examples/stpcpy.c: Likewise.
22828 * manual/examples/strdupa.c: Likewise.
22829 * manual/examples/strftim.c: Likewise.
22830 * manual/examples/strncat.c: Likewise.
22831 * manual/examples/subopt.c: Likewise.
22832 * manual/examples/swapcontext.c: Likewise.
22833 * manual/examples/termios.c: Likewise.
22834 * manual/examples/testopt.c: Likewise.
22835 * manual/examples/testpass.c: Likewise.
22836 * manual/examples/timeval_subtract.c: Likewise.
22837
01ae168d
RM
22838 [BZ #13792]
22839 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22840 function to ...
22841 * manual/timeval_subtract.c.texi: ... here, new file.
22842
49efa33d
DM
228432012-03-02 David S. Miller <davem@davemloft.net>
22844
22845 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22846
28afd92d
JM
228472012-03-02 Joseph Myers <joseph@codesourcery.com>
22848
804360ed
JM
22849 [BZ #3976]
22850 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22851 (__sin): Save and restore rounding mode and use round-to-nearest
22852 for all computations.
22853 (__cos): Save and restore rounding mode and use round-to-nearest
22854 for all computations.
22855 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22856 <fenv.h>.
22857 (tan): Save and restore rounding mode and use round-to-nearest for
22858 all computations.
22859 * math/libm-test.inc (cos_test_tonearest): New function.
22860 (cos_test_towardzero): Likewise.
22861 (cos_test_downward): Likewise.
22862 (cos_test_upward): Likewise.
22863 (sin_test_tonearest): Likewise.
22864 (sin_test_towardzero): Likewise.
22865 (sin_test_downward): Likewise.
22866 (sin_test_upward): Likewise.
22867 (tan_test_tonearest): Likewise.
22868 (tan_test_towardzero): Likewise.
22869 (tan_test_downward): Likewise.
22870 (tan_test_upward): Likewise.
22871 (main): Call the new functions.
22872 * sysdeps/i386/fpu/libm-test-ulps: Update.
22873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22874
a6d06d7b
JM
22875 [BZ #10135]
22876 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22877 small n, then large n, before computing and testing k+n.
22878 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22880 Likewise.
22881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22882 Likewise.
22883 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22884 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22885 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22886 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22889 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22891 * math/libm-test.inc (scalbn_test): Add more tests.
22892 (scalbln_test): Likewise.
22893
07e12bb3
JM
22894 * manual/filesys.texi (mode_t): Describe constraints on size and
22895 signedness, not exact equivalence to a particular type.
22896 (ino_t): Likewise.
22897 (ino64_t): Likewise.
22898 (dev_t): Likewise.
22899 (nlink_t): Likewise.
22900 (blkcnt_t): Likewise.
22901 (blkcnt64_t): Likewise.
22902 * manual/llio.texi (off_t): Likewise.
22903
28afd92d
JM
22904 [BZ #3976]
22905 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22906 (__ieee754_exp): Save and restore rounding mode and use
22907 round-to-nearest for all computations.
22908 * math/libm-test.inc (exp_test_tonearest): New function.
22909 (exp_test_towardzero): Likewise.
22910 (exp_test_downward): Likewise.
22911 (exp_test_upward): Likewise.
22912 (main): Call the new functions.
22913 * sysdeps/i386/fpu/libm-test-ulps: Update.
22914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22915
b1eeb65d
CD
229162012-03-01 Chris Demetriou <cgd@google.com>
22917
22918 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22919 have predictable order.
22920
53362a4b
DM
229212012-03-01 David S. Miller <davem@davemloft.net>
22922
3c969083
DM
22923 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22924
759707de
DM
22925 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22926 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22927 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22928 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22929
dfdb8ff2
DM
22930 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22931 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22932 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22934 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22935 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22936 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22937 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22938 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22939
ead89f96
DM
22940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22941
7f66bd07
DM
22942 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22943 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22944 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22945
53362a4b
DM
22946 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22947 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22948 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22949 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22950 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22953 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22954 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22955 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22956 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22957 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22959 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22960 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22962 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22963 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22964 * sysdeps/sparc/elf/configure: Regenerated.
22965
7b1902cb
JM
229662012-03-01 Joseph Myers <joseph@codesourcery.com>
22967
bec039bc
JM
22968 * configure.in (AS, LD): Require binutils 2.20 or later.
22969 * configure: Regenerated.
22970 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22971 as required minimum version.
22972 * INSTALL: Regenerated.
22973
7b1902cb
JM
22974 [BZ #2541]
22975 [BZ #4108]
22976 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22977 before squaring exponent.
22978 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22979 bottom long double and 27 bits of top long double before squaring
22980 exponent.
22981 * math/libm-test.inc (erfc_test): Add more tests.
22982 * sysdeps/i386/fpu/libm-test-ulps: Update.
22983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22985
f775c276
KT
229862012-03-01 Kai Tietz <ktietz@redhat.com>
22987
22988 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22989 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22990 containing bit-fields.
22991 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22992 * soft-fp/single.h (_FP_UNION_S): Likewise.
22993 * soft-fp/double.h (_FP_UNION_D): Likewise.
22994
5b8a4d4a
JM
229952012-02-29 Joseph Myers <joseph@codesourcery.com>
22996
0bab47b6
JM
22997 [BZ #13786]
22998 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22999 not include ../strcmp.S.
23000 [USE_AS_STRNCASECMP_L]: Likewise.
23001 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23002 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23003 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23004 (__strncasecmp_l_ia32): Define as alias to
23005 __strncasecmp_l_nonascii.
23006
0fcad3e2
JM
23007 [BZ #5794]
23008 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23009 * sysdeps/i386/fpu/libm-test-ulps: Update.
23010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23011
5b8a4d4a
JM
23012 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23014
8fdceb2e
JL
230152012-02-29 Jeff Law <law@redhat.com>
23016
23017 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23018 out of bounds read.
23019
1f393a11
MP
230202012-02-29 Marek Polacek <polacek@redhat.com>
23021
23022 [BZ #13706]
23023 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23024 * elf/Makefile: Add rules to run tst-unused-dep.out.
23025
8847f037
DM
230262012-02-28 David S. Miller <davem@davemloft.net>
23027
23028 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23029 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23030 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23031 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23032 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23033 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23034
169d7f11
JM
230352012-02-29 Joseph Myers <joseph@codesourcery.com>
23036
23037 * math/libm-test.inc (llround_test): Move one test from
23038 lround_test. Use TEST_f_L in moved test.
23039 (lround_test): Move misplaced test to llround_test. Add testcase
23040 from bug 2561.
23041
39adf059
UD
230422012-02-28 Ulrich Drepper <drepper@gmail.com>
23043
23044 * sysdeps/x86_64/fpu/e_expf.S: New file.
23045 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23046
71b5d1c5
SB
230472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23048
23049 [BZ #13637]
23050 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23051 of remain_len that may cause incomplete multi-byte character and
23052 false match.
23053 * posix/bug-regex33.c: New file.
23054 * posix/Makefile (tests): Add bug-regex33.
23055
1f77f049
JM
230562012-02-28 Joseph Myers <joseph@codesourcery.com>
23057
23058 * manual/macros.texi: New file.
23059 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23060 * manual/libc.texinfo: Include macros.texi.
23061 * manual/creatute.texi: Likewise.
23062 * manual/install.texi: Likewise.
23063 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23064 @glibcadj{} in references to the GNU C Library.
23065 * manual/charset.texi: Likewise.
23066 * manual/conf.texi: Likewise.
23067 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23068 when not using those macros.
23069 * manual/creature.texi: Likewise.
23070 * manual/crypt.texi: Likewise.
23071 * manual/errno.texi: Likewise.
23072 * manual/filesys.texi: Likewise.
23073 * manual/header.texi: Likewise.
23074 * manual/install.texi: Likewise.
23075 * manual/intro.texi: Likewise.
23076 * manual/io.texi: Likewise.
23077 * manual/job.texi: Likewise.
23078 * manual/lang.texi: Likewise.
23079 * manual/libc.texiinfo: Likewise.
23080 * manual/llio.texi: Likewise.
23081 * manual/locale.texi: Likewise.
23082 * manual/maint.texi: Likewise.
23083 * manual/math.texi: Likewise.
23084 * manual/memory.texi: Likewise.
23085 * manual/message.texi: Likewise.
23086 * manual/nss.texi: Likewise.
23087 * manual/pattern.texi: Likewise.
23088 * manual/process.texi: Likewise.
23089 * manual/resource.texi: Likewise.
23090 * manual/search.texi: Likewise.
23091 * manual/setjmp.texi: Likewise.
23092 * manual/signal.texi: Likewise.
23093 * manual/socket.texi: Likewise.
23094 * manual/startup.texi: Likewise.
23095 * manual/stdio.texi: Likewise.
23096 * manual/string.texi: Likewise.
23097 * manual/sysinfo.texi: Likewise.
23098 * manual/syslog.texi: Likewise.
23099 * manual/terminal.texi: Likewise.
23100 * manual/time.texi: Likewise.
23101 * manual/users.texi: Likewise.
23102 * INSTALL: Regenerated.
23103 * NOTES: Regenerated.
d40c5d54 23104 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23105
450bf206
AS
231062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23107
23108 * include/dirent.h: Include <dirstream.h> before
23109 <dirent/dirent.h>.
23110
741a235b
DM
231112012-02-28 David S. Miller <davem@davemloft.net>
23112
23113 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23114 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23115 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23116 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23117
d6b5aa58
DM
231182012-02-27 David S. Miller <davem@davemloft.net>
23119
1aff59a3
DM
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23122 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23123 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23124
d6b5aa58
DM
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23126 frame pointer instead of stack pointer relative arg slot.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23128 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23129 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23130
433f48bf
CD
231312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23132
23133 [BZ #3992]
23134 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23135
d674b76d
DM
231362012-02-27 David S. Miller <davem@davemloft.net>
23137
23138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23142 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23143 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23144 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23145 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23146
0e7727f7
JM
231472012-02-27 Joseph Myers <joseph@codesourcery.com>
23148
23149 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23150 later. Allow versions 5-9.
43be4ca2 23151 * configure: Regenerated.
0e7727f7
JM
23152 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23153 required minimum version and 4.6 as recommended version. Do not
23154 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23155 * INSTALL: Regenerated.
0e7727f7 23156
a78bc654
DM
231572012-02-27 David S. Miller <davem@davemloft.net>
23158
428d5830
DM
23159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23163 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23164 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23165 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23166 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23167
a78bc654
DM
23168 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23169 manipulate bits before adding and subtracting TWO112[sx].
23170 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23171
4579f81c
RM
231722012-02-27 Roland McGrath <roland@hack.frob.com>
23173
36c8acb4
RM
23174 [BZ #13775]
23175 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23176 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23177 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23178 being in POSIX, because they are in 1003.1-2008.
23179
84ad622b
RM
23180 * rt/tst-aio.c: Include <fcntl.h>.
23181 * rt/tst-aio7.c: Likewise.
23182 * rt/tst-aio64.c: Likewise.
23183
4579f81c
RM
23184 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23185
abd923db
JM
231862012-02-27 Joseph Myers <joseph@codesourcery.com>
23187
23188 * manual/install.texi (--with-headers): Describe headers as
23189 interface headers, not private headers.
23190 (Specific advice for GNU/Linux systems): Describe use of headers
23191 from "make headers_install", not private headers from older
23192 kernels.
43be4ca2 23193 * INSTALL: Regenerated.
abd923db
JM
23194 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23195 Change to 2.6.19.
23196 * sysdeps/unix/sysv/linux/configure: Regenerated.
23197
6664049b
JM
23198 * manual/llio.texi (fclean): Remove documentation.
23199
bb8b6697
JM
23200 * manual/Makefile (libc-texi-generated): New variable. Include
23201 version.texi.
23202 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23203 $(libc-texi-generated), not duplicated list of files.
23204 (version.texi, stamp-version): New rules.
23205 (realclean): Remove $(libc-texi-generated), not individual files
23206 from that list. Do not remove dir-add.texinfo.
23207 * manual/libc.texinfo: Comment out uses of edition numbers and
23208 references to printed manual. Remove last-updated dates.
23209 (EDITION): Comment out.
23210 (ISBN): Likewise.
23211 (VERSION, UPDATED): Remove.
23212 (version.texi): Include.
23213
12e5c3b9
AS
232142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23215
23216 * sysdeps/posix/spawni.c: Include <signal.h>.
23217 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23218 * sysdeps/pthread/aio_fsync.c: Likewise.
23219
4efeffc1 232202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23221
ba63ba08
UD
23222 * conform/Makefile (tests): Run only when not cross-compiling and
23223 when fast-check is not defined.
23224
d94a4670
UD
23225 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23226 * conform/data/limits.h-data: Fixes for POSIX2008.
23227 * conform/run-conformtest.sh: Run all tests.
23228 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23229 headers.
23230 * include/bits/dlfcn.h: Likewise.
23231 * include/langinfo.h: Likewise.
23232 * include/monetary.h: Likewise.
23233 * include/sys/poll.h: Likewise.
23234
23235 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23236 for __USE_GNU.
23237 * posix/spawn.h: Define __need_sigset_t.
23238 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23239 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23240 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23241 to get sigevent_t only.
23242 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23243 only for __USE_GNU.
23244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23245 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23246 process_vm_writev only for __USE_GNU.
23247 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23248
23249 * conform/Makefile: For now ignore errors from run-conformtest.
23250 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23251 POSIX to avoid namespace pollution. Don't prepend headers.
23252 * conform/data/aio.h-data: Fixes for POSIX testing.
23253 * conform/data/fcntl.h-data: Likewise.
23254 * conform/data/glob.h-data: Likewise.
23255 * conform/data/grp.h-data: Likewise.
23256 * conform/data/pthread.h-data: Likewise.
23257 * conform/data/pwd.h-data: Likewise.
23258 * conform/data/signal.h-data: Likewise.
23259 * conform/data/spawn.h-data: Likewise.
23260 * conform/data/stdio.h-data: Likewise.
23261 * conform/data/stdlib.h-data: Likewise.
23262 * conform/data/stropts.h-data: Likewise.
23263 * conform/data/sys/mman.h-data: Likewise.
23264 * conform/data/sys/stat.h-data: Likewise.
23265 * conform/data/sys/types.h-data: Likewise.
23266 * conform/data/sys/wait.h-data: Likewise.
23267 * conform/data/time.h-data: Likewise.
23268 * conform/data/unistd.h-data: Likewise.
23269 * conform/data/utime.h-data: Likewise.
23270
23271 * io/sys/stat.h: fchmod was always in POSIX.
23272 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23273 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23274 * rt/aio.h: Define __need_timespec before including <time.h>.
23275 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23276 struct. Add forward declaration of pthread_attr_t and use it in
23277 sigevent.
23278 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23279 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23280 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23281 always remove CLK_TCK definition.
23282
c20105c3
AS
232832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23284
23285 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23286
7a270350
UD
232872012-02-25 Ulrich Drepper <drepper@gmail.com>
23288
31341567
UD
23289 * conform/run-conformtest.sh: New file.
23290 * conform/Makefile: Run run-conformtest for tests.
23291 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23292 support.
23293
23294 * conform/data/uchar.h-data: New file.
23295 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23296 * conform/data/arpa/inet.h-data: Likewise.
23297 * conform/data/assert.h-data: Likewise.
23298 * conform/data/complex.h-data: Likewise.
23299 * conform/data/cpio.h-data: Likewise.
23300 * conform/data/ctype.h-data: Likewise.
23301 * conform/data/dirent.h-data: Likewise.
23302 * conform/data/dlfcn.h-data: Likewise.
23303 * conform/data/errno.h-data: Likewise.
23304 * conform/data/fcntl.h-data: Likewise.
23305 * conform/data/float.h-data: Likewise.
23306 * conform/data/fmtmsg.h-data: Likewise.
23307 * conform/data/fnmatch.h-data: Likewise.
23308 * conform/data/ftw.h-data: Likewise.
23309 * conform/data/glob.h-data: Likewise.
23310 * conform/data/grp.h-data: Likewise.
23311 * conform/data/iconv.h-data: Likewise.
23312 * conform/data/inttypes.h-data: Likewise.
23313 * conform/data/langinfo.h-data: Likewise.
23314 * conform/data/libgen.h-data: Likewise.
23315 * conform/data/limits.h-data: Likewise.
23316 * conform/data/locale.h-data: Likewise.
23317 * conform/data/math.h-data: Likewise.
23318 * conform/data/monetary.h-data: Likewise.
23319 * conform/data/mqueue.h-data: Likewise.
23320 * conform/data/ndbm.h-data: Likewise.
23321 * conform/data/net/if.h-data: Likewise.
23322 * conform/data/netdb.h-data: Likewise.
23323 * conform/data/netinet/in.h-data: Likewise.
23324 * conform/data/nl_types.h-data: Likewise.
23325 * conform/data/poll.h-data: Likewise.
23326 * conform/data/pthread.h-data: Likewise.
23327 * conform/data/pwd.h-data: Likewise.
23328 * conform/data/regex.h-data: Likewise.
23329 * conform/data/sched.h-data: Likewise.
23330 * conform/data/search.h-data: Likewise.
23331 * conform/data/semaphore.h-data: Likewise.
23332 * conform/data/setjmp.h-data: Likewise.
23333 * conform/data/signal.h-data: Likewise.
23334 * conform/data/spawn.h-data: Likewise.
23335 * conform/data/stdarg.h-data: Likewise.
23336 * conform/data/stdio.h-data: Likewise.
23337 * conform/data/stdlib.h-data: Likewise.
23338 * conform/data/string.h-data: Likewise.
23339 * conform/data/strings.h-data: Likewise.
23340 * conform/data/stropts.h-data: Likewise.
23341 * conform/data/sys/ipc.h-data: Likewise.
23342 * conform/data/sys/mman.h-data: Likewise.
23343 * conform/data/sys/msg.h-data: Likewise.
23344 * conform/data/sys/resource.h-data: Likewise.
23345 * conform/data/sys/select.h-data: Likewise.
23346 * conform/data/sys/sem.h-data: Likewise.
23347 * conform/data/sys/shm.h-data: Likewise.
23348 * conform/data/sys/socket.h-data: Likewise.
23349 * conform/data/sys/stat.h-data: Likewise.
23350 * conform/data/sys/statvfs.h-data: Likewise.
23351 * conform/data/sys/time.h-data: Likewise.
23352 * conform/data/sys/timeb.h-data: Likewise.
23353 * conform/data/sys/times.h-data: Likewise.
23354 * conform/data/sys/types.h-data: Likewise.
23355 * conform/data/sys/uio.h-data: Likewise.
23356 * conform/data/sys/un.h-data: Likewise.
23357 * conform/data/sys/utsname.h-data: Likewise.
23358 * conform/data/sys/wait.h-data: Likewise.
23359 * conform/data/syslog.h-data: Likewise.
23360 * conform/data/tar.h-data: Likewise.
23361 * conform/data/termios.h-data: Likewise.
23362 * conform/data/utime.h-data: Likewise.
23363 * conform/data/utmpx.h-data: Likewise.
23364 * conform/data/varargs.h-data: Likewise.
23365 * conform/data/wchar.h-data: Likewise.
23366 * conform/data/wctype.h-data: Likewise.
23367 * conform/data/wordexp.h-data: Likewise.
23368
23369 * include/stropts.h: New file.
23370 * include/uchar.h: New file.
23371 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23372 * include/assert.h: Likewise.
23373 * include/ctype.h: Likewise.
23374 * include/dirent.h: Likewise.
23375 * include/dlfcn.h: Likewise.
23376 * include/fcntl.h: Likewise.
23377 * include/fnmatch.h: Likewise.
23378 * include/glob.h: Likewise.
23379 * include/grp.h: Likewise.
23380 * include/libio.h: Likewise.
23381 * include/locale.h: Likewise.
23382 * include/math.h: Likewise.
23383 * include/net/if.h: Likewise.
23384 * include/netdb.h: Likewise.
23385 * include/netinet/in.h: Likewise.
23386 * include/pthread.h: Likewise.
23387 * include/pwd.h: Likewise.
23388 * include/regex.h: Likewise.
23389 * include/sched.h: Likewise.
23390 * include/search.h: Likewise.
23391 * include/setjmp.h: Likewise.
23392 * include/signal.h: Likewise.
23393 * include/stdio.h: Likewise.
23394 * include/stdlib.h: Likewise.
23395 * include/string.h: Likewise.
23396 * include/sys/cdefs.h: Likewise.
23397 * include/sys/mman.h: Likewise.
23398 * include/sys/msg.h: Likewise.
23399 * include/sys/resource.h: Likewise.
23400 * include/sys/select.h: Likewise.
23401 * include/sys/socket.h: Likewise.
23402 * include/sys/stat.h: Likewise.
23403 * include/sys/statvfs.h: Likewise.
23404 * include/sys/time.h: Likewise.
23405 * include/sys/times.h: Likewise.
23406 * include/sys/uio.h: Likewise.
23407 * include/sys/utsname.h: Likewise.
23408 * include/sys/wait.h: Likewise.
23409 * include/termios.h: Likewise.
23410 * include/time.h: Likewise.
23411 * include/ulimit.h: Likewise.
23412 * include/unistd.h: Likewise.
23413 * include/utime.h: Likewise.
23414 * include/wchar.h: Likewise.
23415 * include/wctype.h: Likewise.
23416 * include/wordexp.h: Likewise.
23417
23418 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23419
7a270350
UD
23420 * time/time.h: TIME_UTC must be a macro.
23421 Make timespec_get available for ISO C11 only as well.
23422
7724defc
UD
234232012-02-24 Ulrich Drepper <drepper@gmail.com>
23424
23425 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23426 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23427
6b1d1d46
JM
234282012-02-24 Joseph Myers <joseph@codesourcery.com>
23429
23430 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23431
0f8bbd69
JM
234322012-02-24 Joseph Myers <joseph@codesourcery.com>
23433
23434 * manual/texinfo.tex: Update to version 2012-01-19.16.
23435
66ab80bc
JM
234362012-02-24 Joseph Myers <joseph@codesourcery.com>
23437
23438 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23439
74981cc5
RM
234402012-02-24 Roland McGrath <roland@hack.frob.com>
23441
ee968201
RM
23442 [BZ #13738]
23443 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23444 * manual/fdl-1.3.texi: New file.
23445 * manual/fdl-1.1.texi: File removed.
23446
74981cc5
RM
23447 [BZ #13738]
23448 * manual/libc.texinfo (FDL_VERSION): New @set.
23449 Use it for mention of FDL in cover text.
23450 (Documentation License): Use it in @include file name.
23451
7bb764bc
JM
234522012-02-22 Joseph Myers <joseph@codesourcery.com>
23453 Roland McGrath <roland@hack.frob.com>
23454
23455 [BZ #5461]
23456 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23457 not LONG_LONG_MAX and LONG_LONG_MIN.
23458 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23459 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23460 name.
23461 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23462
6cbeae47
JM
234632012-02-22 Joseph Myers <joseph@codesourcery.com>
23464
23465 [BZ #2547]
23466 [BZ #11365]
23467 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23468 manipulate bits before adding and subtracting TWO23[sx].
23469 * math/libm-test.inc (nearbyint_test): Add more tests.
23470
fe45ce09
JM
234712012-02-22 Joseph Myers <joseph@codesourcery.com>
23472
23473 [BZ #2548]
23474 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23475 bits before adding and subtracting TWO23[sx].
23476 * math/libm-test.inc (rint_test): Add more tests.
23477 (rint_test_tonearest): Likewise.
23478 (rint_test_towardzero): Likewise.
23479 (rint_test_downward): Likewise.
23480 (rint_test_upward: Likewise.
23481
ff3b3d82
JM
234822012-02-22 Joseph Myers <joseph@codesourcery.com>
23483
23484 [BZ #10110]
23485 * include/stdc-predef.h: New file. Extracted from features.h.
23486 * include/features.h: Include stdc-predef.h.
23487 * Makefile (headers): Add stdc-predef.h.
23488 * CONFORMANCE (Compiler limitations): Update.
23489
ef0aab35
JM
234902012-02-22 Joseph Myers <joseph@codesourcery.com>
23491
23492 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23493
58639409
DM
234942012-02-21 David S. Miller <davem@davemloft.net>
23495
23496 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23497 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23498
c0e70b25
DM
234992012-02-20 David S. Miller <davem@davemloft.net>
23500
23501 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23502 using a normal save/restore sequence, rather than allocating a
23503 dummy stack frame just to store a frame pointer and restore.
23504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23505
fb06851d
JM
235062012-02-21 Joseph Myers <joseph@codesourcery.com>
23507
23508 * manual/install.texi: Fix stray word in line-wrapped comment.
23509
7a8b71c3
DM
235102012-02-20 David S. Miller <davem@davemloft.net>
23511
d510c123
DM
23512 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23513 both binutils and gcc support GOTDATA.
23514
0722d7c2
DM
23515 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23516 "rd %pc" in the PIC register setup sequences.
23517
3d2b3019
DM
23518 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23519 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23520 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23521 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23522 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23524 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23525 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23527 (SYSCALL_ERROR_HANDLER): Likewise.
23528 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23529 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23531 (SYSCALL_ERROR_HANDLER): Likewise.
23532
c80098a9
DM
23533 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23534 (HAVE_GCC_GOTDATA): New.
23535 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23536 relocation support in both binutils and gcc.
23537 * sysdeps/sparc/elf/configure: Regenerate.
23538
3a2545a0
DM
23539 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23540 * sysdeps/sparc/sparc32/elf/configure: Delete.
23541 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23542 * sysdeps/sparc/sparc64/elf/configure: Delete.
23543 * sysdeps/sparc/elf/configure.in: New file.
23544 * sysdeps/sparc/elf/configure: Generate.
23545
7a8b71c3
DM
23546 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23547 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23548 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23549 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23550 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23551
f1e86fca
JM
235522012-02-21 Joseph Myers <joseph@codesourcery.com>
23553
23554 * manual/install.texi: Do not mention specific glibc version
23555 numbers.
23556 * manual/libc.texinfo (VERSION, UPDATED): Update.
23557 (@copying): Use @copyright{} and range of years.
23558
0e7dfaef
JM
235592012-02-21 Joseph Myers <joseph@codesourcery.com>
23560
23561 [BZ #13695]
23562 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23563 [crti.S not in sysdirs] (generated): Do not append.
23564 [crti.S not in sysdirs] (omit-deps): Likewise.
23565 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23566 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23567 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23568 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23569 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23570 Likewise.
23571 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23572 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23573 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23574 * csu/defs.awk: Remove file.
23575 * sysdeps/generic/initfini.c: Likewise.
23576 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23577 variable.
23578 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23579 Likewise.
23580
599af3ca
JM
235812012-02-20 Joseph Myers <joseph@codesourcery.com>
23582
23583 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23584 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23585 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23586 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23587 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23588 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23589 <bits/epoll.h>.
23590 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23591 (__EPOLL_PACKED): Define to empty if not defined by
23592 <bits/epoll.h>.
23593 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23594 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23595 bits/epoll.h.
23596
0e499750
JM
235972012-02-20 Joseph Myers <joseph@codesourcery.com>
23598
23599 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23600 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23601 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23602 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23603 <bits/timerfd.h>.
23604 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23606 bits/timerfd.h.
23607
5ad91f6e
JM
236082012-02-20 Joseph Myers <joseph@codesourcery.com>
23609
23610 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23611 in C locale.
23612 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23613 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23616
06b99b02
AJ
236172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23618
23619 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23620 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23621
7638c0fd
AS
236222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23623
23624 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23625 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23626 defined.
23627 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23628 Likewise.
23629 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23630 entry for 2.16.
23631
92221550
AJ
236322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23633
23634 * math/w_acos.c: Use non-signaling floating-point comparisons.
23635 * math/w_acosf.c: Likewise.
23636 * math/w_acosh.c: Likewise.
23637 * math/w_acoshf.c: Likewise.
23638 * math/w_acoshl.c: Likewise.
23639 * math/w_acosl.c: Likewise.
23640 * math/w_asin.c: Likewise.
23641 * math/w_asinf.c: Likewise.
23642 * math/w_asinl.c: Likewise.
23643 * math/w_atanh.c: Likewise.
23644 * math/w_atanhf.c: Likewise.
23645 * math/w_atanhl.c: Likewise.
23646 * math/w_exp2.c: Likewise.
23647 * math/w_exp2f.c: Likewise.
23648 * math/w_exp2l.c: Likewise.
23649 * math/w_j0.c: Likewise.
23650 * math/w_j0f.c: Likewise.
23651 * math/w_j0l.c: Likewise.
23652 * math/w_j1.c: Likewise.
23653 * math/w_j1f.c: Likewise.
23654 * math/w_j1l.c: Likewise.
23655 * math/w_jn.c: Likewise.
23656 * math/w_jnf.c: Likewise.
23657 * math/w_log.c: Likewise.
23658 * math/w_log10.c: Likewise.
23659 * math/w_log10f.c: Likewise.
23660 * math/w_log10l.c: Likewise.
23661 * math/w_log2.c: Likewise.
23662 * math/w_log2f.c: Likewise.
23663 * math/w_log2l.c: Likewise.
23664 * math/w_logf.c: Likewise.
23665 * math/w_logl.c: Likewise.
23666 * math/w_sqrt.c: Likewise.
23667 * math/w_sqrtf.c: Likewise.
23668 * math/w_sqrtl.c: Likewise.
23669 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23670 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23672 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23673 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23674
ebaf36eb
JM
236752012-02-19 Joseph Myers <joseph@codesourcery.com>
23676
23677 [BZ #9739]
23678 * manual/string.texi (strnlen): Use correct parameter name in
23679 equivalent expression.
23680
71c254a6
JM
236812012-02-19 Joseph Myers <joseph@codesourcery.com>
23682
23683 [BZ #11174]
23684 * manual/users.texi (seteuid): Consistently use neweuid for
23685 argument name.
23686
16d2c631
JM
236872012-02-19 Joseph Myers <joseph@codesourcery.com>
23688
23689 [BZ #13704]
23690 * manual/nss.texi (Services in the NSS configuration): Correct
23691 list of services in example configuration file.
23692
cd837b09
NB
236932012-02-19 Nick Bowler <nbowler@draconx.ca>
23694
23695 [BZ #11322]
23696 * manual/arith.texi: Remove statements about negative zero
23697 behaving identically to zero.
23698
02c4bbad
JM
236992012-02-18 Joseph Myers <joseph@codesourcery.com>
23700
23701 [BZ #5993]
23702 * manual/install.texi: Do not document upgrading from libc5.
23703
366842e7
JM
237042012-02-18 Joseph Myers <joseph@codesourcery.com>
23705
23706 [BZ #4596]
23707 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23708
dd54084d
DM
237092012-02-18 David S. Miller <davem@davemloft.net>
23710
23711 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23712 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23713 %o7 across the call.
23714 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23715 instead.
23716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23717 SETUP_PIC_REG_LEAF.
23718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23719 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23720 * sysdeps/sparc/crtn.S: Likewise.
23721
2bcc53a3
UD
237222012-02-17 Ulrich Drepper <drepper@gmail.com>
23723
23724 * aout/Makefile: Remove.
23725
09c093b5
RK
237262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23727
23728 [BZ #13058]
23729 * manual/examples/argp-ex1.c (main): Format definition in GNU
23730 style.
23731 * manual/examples/argp-ex2.c (main): Likewise.
23732 * manual/examples/argp-ex3.c (main): Likewise.
23733 * manual/examples/argp-ex4.c (main): Likewise.
23734 * manual/examples/longopt.c (main): Use new-style prototype
23735 definition.
23736 * manual/examples/strncat.c (main): Specify return type and use
23737 (void) for arguments.
23738 * manual/examples/subopt.c (main): Use char **argv argument.
23739
2ee633a2
JM
237402012-02-17 Joseph Myers <joseph@codesourcery.com>
23741
23742 [BZ #5077]
23743 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23744 rounding modes.
23745
0520adde
FB
237462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23747
23748 [BZ #6907]
23749 * manual/string.texi (strchr): Change when strchrnul is
23750 recommended.
23751
3f4081cd
DGM
237522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23753
23754 [BZ #174]
23755 * manual/locale.texi (setlocale): Document LOCPATH.
23756
d1b10e78
JM
237572012-02-17 Joseph Myers <joseph@codesourcery.com>
23758
23759 [BZ #10210]
23760 * manual/process.texi (execle): Move @dots{} before last argument.
23761
79c6869c
PB
237622012-02-17 Paul Bolle <pebolle@tiscali.nl>
23763
23764 [BZ #12047]
23765 * manual/charset.texi (Generic Charset Conversion): Fix typo
23766 (LC_TYPE -> LC_CTYPE).
23767
cc6e48bc
NB
237682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23769
23770 [BZ #5805]
23771 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23772 (scalbnf): Likewise.
23773 (scalbnl): Likewise.
23774 (scalbln): Likewise.
23775 (scalblnf): Likewise.
23776 (scalblnl): Likewise.
23777 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23778 (vwarnx): Likewise.
23779 (verr): Likewise.
23780 (verrx): Likewise.
23781 * manual/filesys.texi (telldir): Use braces around return type.
23782 * manual/llio.texi (mmap): Add space after comma.
23783 (mmap64): Likewise.
23784 * manual/math.texi (jn): Use @var{} on parameter names.
23785 (jnf): Likewise.
23786 (jnl): Likewise.
23787 (yn): Likewise.
23788 (ynf): Likewise.
23789 (ynl): Likewise.
23790 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23791 line.
23792 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23793 "...".
23794 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23795 (sched_get_priority_max): Likewise.
23796 * manual/signal.texi (sigvec): Add space after comma.
23797 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23798 names.
23799 (if_indextoname): Likewise.
23800 (if_freenameindex): Likewise.
23801 (sendto): Use ',' instead of '.' in prototype.
23802 * manual/startup.texi (syscall): Use @dots{} instead of literal
23803 "...".
23804 * manual/stdio.texi (__fpending): Separate initial words of
23805 paragraph from @deftypefun line.
23806 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23807 "...".
23808 (vsyslog): Use @var{} on parameter names.
23809 * manual/terminal.texi (stty): Use @var{} on parameter names.
23810 * manual/users.texi (getutmp): Use @var{} on parameter names.
23811 (getutmpx): Likewise.
23812
5b23062f
JM
238132012-02-17 Joseph Myers <joseph@codesourcery.com>
23814
23815 [BZ #6884]
23816 * manual/stdio.texi (fopen): Fix typos in description of
23817 ",ccs=STRING".
23818
8dee4833
AJ
238192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23820
23821 [BZ #4026]
23822 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23823 get clock_id definition.
23824
9078ce93
TS
238252012-02-17 Thomas Schwinge <thomas@schwinge.name>
23826
23827 [BZ #4822]
23828 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23829 (madvise): Cast every argument to void on its own.
23830
3835c55f
JM
238312012-02-17 Joseph Myers <joseph@codesourcery.com>
23832
23833 [BZ #9902]
23834 * manual/startup.texi (Exit Status): Fix typo.
23835
35c47e37
JM
238362012-02-17 Joseph Myers <joseph@codesourcery.com>
23837
23838 [BZ #10140]
23839 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23840 * manual/examples/argp-ex2.c: Likewise.
23841 * manual/examples/argp-ex3.c: Likewise.
23842
e3b69ca7
RH
238432012-02-16 Richard Henderson <rth@redhat.com>
23844
23845 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23846 * sysdeps/s390/s390-32/initfini.c: Remove.
23847 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23848 * sysdeps/s390/s390-64/initfini.c: Remove.
23849
df83af67
KK
238502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23851
23852 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23853 compiler output for sysdeps/generic/initfini.c.
23854 * sysdeps/sh/elf/initfini.c: Remove file.
23855
f63f3380
DM
238562012-02-16 David S. Miller <davem@davemloft.net>
23857
fb59b3a4
DM
23858 [BZ #11494]
23859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23860
f63f3380
DM
23861 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23862 * sysdeps/sparc/crti.S: New file.
23863 * sysdeps/sparc/crtn.S: New file.
23864 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23865 * sysdeps/sparc/sparc64/Makefile: Likewise.
23866
df6a4a4a
MF
238672012-02-15 Mike Frysinger <vapier@gentoo.org>
23868
6dd8f3dc 23869 [BZ #3335]
df6a4a4a
MF
23870 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23871
1cac7236
RM
238722012-02-15 Roland McGrath <roland@hack.frob.com>
23873
d2c736f8
RM
23874 [BZ #4822]
23875 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23876
1cac7236
RM
23877 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23878 (write, read, close): Likewise.
23879 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23880
8e475601
JM
238812012-02-15 Joseph Myers <joseph@codesourcery.com>
23882
23883 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23884 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23885 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23886 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23887 <bits/signalfd.h>.
23888 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23890 bits/signalfd.h.
23891
ed656b40
MP
238922012-02-14 Marek Polacek <polacek@redhat.com>
23893
23894 * sysdeps/x86_64/crti.S: New file.
23895 * sysdeps/x86_64/crtn.S: New file.
23896 * sysdeps/x86_64/elf/initfini.c: Remove file.
23897
2a979d3a
JM
238982012-02-13 Joseph Myers <joseph@codesourcery.com>
23899
23900 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23901 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23902 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23903 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23904 <bits/inotify.h>.
23905 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23907 bits/inotify.h.
23908
2a418ac3
JM
239092012-02-13 Joseph Myers <joseph@codesourcery.com>
23910
23911 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23912 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23913 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23914 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23915 <bits/eventfd.h>.
23916 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23918 bits/eventfd.h.
23919
fb779be7
TS
239202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23921
e19e83c5
RM
23922 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23923 __feraiseexcept instead of feraiseexcept.
7c35ffed 23924
fb779be7
TS
23925 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23926 nanosleep invocations.
23927 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23928 strings, and add error checking for a nanosleep invocations.
23929
59ba27a6
PE
239302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23931
23932 Replace FSF snail mail address with URLs, as per GNU coding standards.
23933 Most of the snail mail addresses were wrong anyway, and omitting
23934 them makes the source code easier to maintain. Almost all of the
23935 changes are to license notices and to locale LC_IDENTIFICATION
23936 addresses, except for this one:
23937 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23938 not its snail mail address.
23939
57b957eb
RH
239402012-02-09 Richard Henderson <rth@twiddle.net>
23941
af850b1c
RH
23942 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23943 of kernel-features.h.
23944
57b957eb
RH
23945 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23946
6b73181a
MP
239472012-02-08 Marek Polacek <polacek@redhat.com>
23948
23949 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23950 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23951 * sysdeps/gnu/_G_config.h: Likewise.
23952 * sysdeps/generic/_G_config.h: Likewise.
23953
26ecc33a
AS
239542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23955
6c6dbc63
AS
23956 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23957 tests.
23958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23959
e216c012
AS
23960 * sysdeps/powerpc/powerpc32/crti.S: New file.
23961 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23962 * sysdeps/powerpc/powerpc64/crti.S: New file.
23963 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23964
26ecc33a
AS
23965 * Makeconfig (have-initfini): Don't set.
23966 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23967 * configure.in (nopic_initfini): Don't substitute.
23968 * config.h.in (HAVE_INITFINI): Don't #undef.
23969 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23970 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23971
3add8e13
JM
239722012-02-08 Joseph Myers <joseph@codesourcery.com>
23973
23974 Support crti.S and crtn.S provided directly by architectures.
23975 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23976 [crti.S in sysdirs] (omit-deps): Likewise.
23977 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23978 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23979 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23980 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23981 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23982 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23983 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23984 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23985 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23986 compiler output for sysdeps/generic/initfini.c.
23987 * sysdeps/i386/elf/Makefile: Remove file.
23988 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23989
a22f12b4
MP
239902012-02-07 Marek Polacek <polacek@redhat.com>
23991
23992 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23993 * sysdeps/gnu/_G_config.h: Likewise.
23994 * sysdeps/mach/hurd/_G_config.h: Likewise.
23995
148cf100
MP
239962012-02-07 Marek Polacek <polacek@redhat.com>
23997
23998 * math/Makefile (tests): Add tst-CMPLX2.
23999 * math/tst-CMPLX2.c: New file.
24000
cfdc0dd7
AS
240012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24002
84ba42c4
AS
24003 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24004
cfdc0dd7
AS
24005 * math/libm-test.inc (jn_test): Add missing L suffix.
24006
622c86f4
MP
240072012-02-06 Marek Polacek <polacek@redhat.com>
24008
24009 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24010 * sysdeps/i386/fpu/e_powf.S: Likewise.
24011 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24012 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24013 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24014 * sysdeps/i386/fpu/e_pow.S: Likewise.
24015 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24016 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24017 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24018 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24019 * sysdeps/i386/fpu/e_log2.S: Likewise.
24020 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24021 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24022 * sysdeps/i386/fpu/e_powl.S: Likewise.
24023 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24024 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24025 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24026 * sysdeps/i386/fpu/e_logl.S: Likewise.
24027 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24028 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24029 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24030 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24031 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24032 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24033 * sysdeps/i386/fpu/e_log.S: Likewise.
24034 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24035 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24036 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24037 * sysdeps/i386/fpu/e_logf.S: Likewise.
24038 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24039 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24040 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24041 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24042 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24043 * sysdeps/i386/fpu/e_log10.S: Likewise.
24044 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24045 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24046 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24047 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24048 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24049 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24050 * sysdeps/i386/asm-syntax.h: Likewise.
24051 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24052 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24053 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24054 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24055 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24056 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24057 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24058 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24059 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24060 * sysdeps/powerpc/sysdep.h: Likewise.
24061 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24062 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24063
d4a54ac6
JM
240642012-02-06 Joseph Myers <joseph@codesourcery.com>
24065
24066 [BZ #411]
24067 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24068
314054ea
JM
240692012-02-06 Joseph Myers <joseph@codesourcery.com>
24070
24071 * sysdeps/i386/sysdep.h: Include <features.h>.
24072 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24073 version.
24074
d8e0ca50
JM
240752012-02-05 Joseph Myers <joseph@codesourcery.com>
24076
24077 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24078 Define.
24079 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24080 LOAD_PIC_REG_STR.
24081
b1da7dd9
JM
240822012-02-03 Joseph Myers <joseph@codesourcery.com>
24083
24084 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24085 (SETUP_PIC_REG): Use GET_PC_THUNK.
24086 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24087 macro.
24088
9a1d9254
JM
240892012-02-03 Joseph Myers <joseph@codesourcery.com>
24090
24091 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24092 for non-PIC compilation.
24093 (SETUP_PIC_REG): Add .p2align directive.
24094 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24095 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24096 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24097 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24098 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24099 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24100 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24102 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24103 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24104 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24105 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24106 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24107 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24108 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24109 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24110 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24111 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24112 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24113 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24114 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24115 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24116 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24117 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24118 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24119 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24120 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24121 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24122 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24123 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24124 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24125 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24126 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24127 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24128 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24129 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24130 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24131 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24132 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24133 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24134 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24135
65dc3b75
JM
241362012-02-03 Joseph Myers <joseph@codesourcery.com>
24137
24138 * math/tst-CMPLX.c: Include <stdio.h>.
24139
d55bf177
JM
241402012-01-31 Joseph Myers <joseph@codesourcery.com>
24141
24142 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24143 float.
24144 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24145 * sysdeps/sparc/bits/mathdef.h: Likewise.
24146
69db4f8f
MP
241472012-01-31 Marek Polacek <polacek@redhat.com>
24148
24149 * libio/libio.h: Don't define _PARAMS.
24150 * locale/programs/config.h: Don't define PARAMS.
24151 * stdlib/strtol_l.c: Likewise.
24152 (__strtol_l): Remove PARAMS from the prototype.
24153
41b81892
UD
241542012-01-31 Ulrich Drepper <drepper@gmail.com>
24155
3b49edc0
UD
24156 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24157 names. Just use the correct names. Remove unnecessary wrapper
24158 functions.
24159 * malloc/arena.c: Likewise.
24160 * malloc/hooks.c: Likewise.
24161
41b81892
UD
24162 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24163 ARENA_TEST says not to. Simplify test for creation of a new arena.
24164 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24165
27a25b6e
UD
241662012-01-30 Ulrich Drepper <drepper@gmail.com>
24167
24168 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24169 into tail calls.
24170 (update_get_addr): New function.
24171 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24172 GET_ADDR_MODULE parameter.
24173
c8a89e7d
JM
241742012-01-30 Joseph Myers <joseph@codesourcery.com>
24175
24176 * crypt/cert.c: Remove __STDC__ conditionals.
24177 * crypt/crypt-entry.c: Likewise.
24178 * crypt/crypt_util.c: Likewise.
24179 * libio/filedoalloc.c: Likewise.
24180 * libio/fileops.c: Likewise.
24181 * libio/genops.c: Likewise.
24182 * libio/iofclose.c: Likewise.
24183 * libio/iofdopen.c: Likewise.
24184 * libio/iofopen.c: Likewise.
24185 * libio/iofopen64.c: Likewise.
24186 * libio/iogetdelim.c: Likewise.
24187 * libio/iopopen.c: Likewise.
24188 * libio/obprintf.c: Likewise.
24189 * libio/oldfileops.c: Likewise.
24190 * libio/oldiofclose.c: Likewise.
24191 * libio/oldiofdopen.c: Likewise.
24192 * libio/oldiofopen.c: Likewise.
24193 * libio/oldiopopen.c: Likewise.
24194 * libio/wfiledoalloc.c: Likewise.
24195 * libio/wgenops.c: Likewise.
24196 * locale/programs/xmalloc.c: Likewise.
24197 * misc/syslog.c: Likewise.
24198 * stdio-common/xbug.c: Likewise.
24199 * string/memchr.c: Likewise.
24200 * string/memcmp.c: Likewise.
24201 * string/memrchr.c: Likewise.
24202 * string/rawmemchr.c: Likewise.
24203 * sysdeps/posix/getcwd.c: Likewise.
24204 * time/strftime_l.c: Likewise.
24205
3b100462
JM
242062012-01-30 Joseph Myers <joseph@codesourcery.com>
24207
24208 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24209 * config.make.in (config-cflags-sse2avx): Define.
24210 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24211 Fix typo.
24212
607998af
CM
242132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24214
24215 * scripts/config.guess: Update from upstream config git repository.
24216 * scripts/config.sub: Likewise.
24217
3601428f
CM
242182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24219
3ac8b282
CM
24220 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24221 (EM_NUM): Update.
24222 (R_TILEPRO_*, R_TILEGX_*): New macros.
24223
e034841e
CM
24224 * scripts/firstversions.awk: Fix bug in version range handling.
24225
540d7568
CM
24226 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24227
3601428f
CM
24228 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24229
463de862
CM
24230 * include/sys/epoll.h: New file.
24231 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24232 libc_hidden_def.
24233
73139a76
UD
242342012-01-28 Ulrich Drepper <drepper@gmail.com>
24235
96bc5b45
UD
24236 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24237 Avoid unnecessary __WORDSIZE == 64 test.
24238 (fmaxf): Use VEX format if possible.
24239 (fmax): Likewise.
24240 (fminf): Likewise.
24241 (fmin): Likewise.
24242
56f6f6a2
UD
24243 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24244 * math/math_private.h: Remove libc_fegetround* and
24245 libc_fesetround*.
24246 * sysdeps/i386/configure.in: Check for -msse2avx.
24247 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24248 also if SSE2AVX is defined.
24249 Remove libc_fegetround* and libc_fesetround*.
24250 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24251 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24252 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24253 of HAS_YMM_USABLE.
24254 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24255 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24256 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24257 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24258 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24259
73139a76
UD
24260 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24261
d73f93a4
AZ
242622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24263
24264 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24265 size is not set.
24266 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24267
6ee65ed6
UD
242682012-01-27 Ulrich Drepper <drepper@gmail.com>
24269
24270 [BZ #13618]
24271 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24272 relocation.
24273 * Makeconfig (libm): Define.
24274 * elf/Makefile: Add rules to build and run tst-relsort1.
24275 * elf/tst-relsort1.c: New file.
24276 * elf/tst-relsort1mod1.c: New file.
24277 * elf/tst-relsort1mod2.c: New file.
24278
8db21882
JM
242792012-01-27 Joseph Myers <joseph@codesourcery.com>
24280
24281 * math/s_ldexp.c: Remove __STDC__ conditionals.
24282 * math/s_ldexpf.c: Likewise.
24283 * math/s_ldexpl.c: Likewise.
24284 * math/s_nextafter.c: Likewise.
24285 * math/s_nexttowardf.c: Likewise.
24286 * math/s_significand.c: Likewise.
24287 * math/s_significandf.c: Likewise.
24288 * math/s_significandl.c: Likewise.
24289 * math/w_jnl.c: Likewise.
24290 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24291 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24292 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24293 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24294 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24296 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24297 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24298 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24299 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24300 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24301 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24302 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24303 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24304 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24305 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24306 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24307 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24309 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24310 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24311 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24312 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24313 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24314 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24315 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24316 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24317 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24318 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24319 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24320 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24321 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24322 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24323 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24324 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24326 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24327 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24328 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24329 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24330 * sysdeps/ieee754/k_standard.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24333 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24334 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24335 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24337 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24340 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24349 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24350 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24363 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24364 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24365 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24366 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24367 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24369 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24370 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24375 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24376 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24377 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24378 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24380 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24381 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24382 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24383 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24385 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24386 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24387 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24388 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24389 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24392 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24393 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24394 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24395 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24396 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24397 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24398 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24399 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24400 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24401 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24402 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24403 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24406 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24407 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24408 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24409 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24410 * sysdeps/ieee754/s_matherr.c: Likewise.
24411 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24412 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24413 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24415
965a54a4
JM
244162012-01-26 Joseph Myers <joseph@codesourcery.com>
24417
24418 * crypt/md5.h: Remove __STDC__ conditionals.
24419 * libio/libioP.h: Likewise.
24420 * locale/programs/config.h: Likewise.
24421 * sysdeps/generic/sysdep.h: Likewise.
24422 * sysdeps/i386/asm-syntax.h: Likewise.
24423 * sysdeps/s390/asm-syntax.h: Likewise.
24424 * sysdeps/unix/sysdep.h: Likewise.
24425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24427
7071ad79
JM
244282012-01-26 Joseph Myers <joseph@codesourcery.com>
24429
24430 * libio/libio.h: Remove __STDC__ conditionals.
24431 * malloc/obstack.h: Likewise.
24432 * math/complex.h: Likewise.
24433 * math/math.h: Likewise.
24434 * sysdeps/generic/_G_config.h: Likewise.
24435 * sysdeps/gnu/_G_config.h: Likewise.
24436 * sysdeps/mach/hurd/_G_config.h: Likewise.
24437 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24438 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24439 * sysdeps/sparc/bits/mathdef.h: Likewise.
24440
afc5ed09
UD
244412012-01-26 Ulrich Drepper <drepper@gmail.com>
24442
24443 [BZ #13583]
24444 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24445 Clean up HAS_* macros.
afc5ed09 24446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24447 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24448 possible.
24449 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24450 HAS_AVX.
24451 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24452 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24453 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24454 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24455 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24456
bdb6de1d
JM
244572012-01-25 Joseph Myers <joseph@codesourcery.com>
24458
24459 * elf/tst-unique3.cc (gets): Remove declaration.
24460 * elf/tst-unique3lib.cc (gets): Likewise.
24461 * elf/tst-unique3lib2.cc (gets): Likewise.
24462 * elf/tst-unique4.cc (gets): Likewise.
24463
b15549e6
UD
244642012-01-24 Ulrich Drepper <drepper@gmail.com>
24465
24466 * include/stdio.h: Add C++ protection. Add gets declarations and
24467 definitions.
24468 * debug/tst-chk1.c: Don't declare gets here.
24469 * stdio-common/tst-gets.c: Likewise.
24470
a037381f
JM
244712012-01-24 Joseph Myers <joseph@codesourcery.com>
24472
24473 * posix/glob: Remove directory.
24474
f1d4aa75
JM
244752012-01-24 Joseph Myers <joseph@codesourcery.com>
24476
24477 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24478
81c0c964
PT
244792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24480
24481 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24482 of the non-standard EPFNOSUPPORT.
24483
0ea698ae
ST
244842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24485
24486 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24487 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24488 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24489
d220b117
UD
244902012-01-21 Ulrich Drepper <drepper@gmail.com>
24491
24492 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24493
3e1aa84e
UD
244942012-01-20 Ulrich Drepper <drepper@gmail.com>
24495
24496 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24497 transient errors.
24498 * nscd/grpcache.c (cache_addgr): Likewise.
24499 * nscd/hstcache.c (cache_addhst): Likewise.
24500 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24501 * nscd/pwdcache.c (cache_addpw): Likewise.
24502 * nscd/servicescache.c (cache_addserv): Likewise.
24503
400aa020
UD
245042012-01-16 Ulrich Drepper <drepper@gmail.com>
24505
d77e7869
UD
24506 * malloc/malloc.c: Various cleanups.
24507 * malloc/hooks.c: Likewise.
24508
400aa020
UD
24509 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24510 * stdlib/bug-fmtmsg1.c: New file.
24511
24512 * stdlib/fmtmsg.c (init): Add missing unlock.
24513 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24514
e0a309cf
MP
245152012-01-12 Marek Polacek <polacek@redhat.com>
24516
24517 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24518 and _GNU_SOURCE.
24519
929d11c7
WS
245202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24521
24522 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24523 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24524 macro to ensure uniqueness of label name.
24525 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24526 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24527
41d0e869
UD
245282012-01-11 Ulrich Drepper <drepper@gmail.com>
24529
0cc5ed3b
UD
24530 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24531
41d0e869
UD
24532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24533 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24534 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24536
a47a831a
UD
245372012-01-10 Ulrich Drepper <drepper@gmail.com>
24538
daa891c0
UD
24539 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24540
24541 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24542 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24543 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24544
e58ef0f2
UD
24545 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24546
a47a831a 24547 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24548 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24549 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24551
24552 * math/bits/math-finite.h: Add ldexp support.
24553
a0bfc9c7
MP
245542012-01-10 Marek Polacek <polacek@redhat.com>
24555
24556 * locale/programs/localedef.h (show_archive_content): Add noreturn
24557 attribute.
24558
d6e97a1d
UD
245592012-01-09 Ulrich Drepper <drepper@gmail.com>
24560
24561 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24562
d5835c26
UD
245632012-01-08 Ulrich Drepper <drepper@gmail.com>
24564
e5f484c6
UD
24565 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24566
d5835c26
UD
24567 * io/Makefile (headers): Add bits/poll2.h.
24568
d1f741e9
WS
245692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24570
24571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24572 typo #include statement.
24573
ec09c1c4
UD
245742012-01-08 Ulrich Drepper <drepper@gmail.com>
24575
24576 * include/sys/cdefs.h: Define __attribute_alloc_size.
24577 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24578 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24579 * elf/pldd.c: Likewise.
24580 * iconv/iconv_charmap.c: Likewise.
24581 * iconv/iconvconfig.c: Likewise.
24582 * iconv/strtab.c: Likewise.
24583 * locale/programs/locale.c: Likewise.
24584 * locale/programs/localedef.h: Likewise.
24585 * locale/programs/simple-hash.c: Likewise.
24586 * nscd/nscd.h: Likewise.
24587 * nss/makedb.c: Likewise.
24588 * sysdeps/generic/ldconfig.h: Likewise.
24589 * locale/programs/localedef.c: Remove xmalloc prototype.
24590 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24591
20b38e03
PP
245922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24593
24594 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24595 appropriate.
24596
a0da5fe1
UD
245972012-01-08 Ulrich Drepper <drepper@gmail.com>
24598
1d5a644a 24599 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24600 * math/tst-CMPLX.c: New file.
1d5a644a 24601
8784a6db
UD
24602 * math/complex.h (CMPLXL): Fix typo.
24603
d9a216c0
UD
24604 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24605 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24606 GLIBC_2.16.
24607 * debug/tst-chk1.c: Add poll and ppoll tests.
24608 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24609 * include/sys/poll.h: Add hidden proto for ppoll.
24610 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24611 * sysdeps/mach/hurd/ppoll.c: Likewise.
24612 * io/ppoll.c: Likewise.
24613 * debug/poll_chk.c: New file.
24614 * debug/ppoll_chk.c: New file.
24615 * include/bits/poll2.h: New file.
24616 * io/bits/poll2.h: New file.
24617
ac097f5c
UD
24618 [BZ #1350]
24619 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24620
2119dcfa
UD
24621 * configure.in: static is always set to yes. Remove.
24622 * config.make.in: Don't set build-static.
24623 * Makeconfig: Remove use of build-static.
24624 * dlfcn/Makefile: Likewise.
24625 * elf/Makefile: Likewise.
24626 * math/Makefile: Likewise.
24627 * misc/Makefile: Likewise.
24628 * nptl/Makefile: Likewise.
24629 * sysdeps/mach/hurd/Makefile: Likewise.
24630
121766a9
UD
24631 * configure.in: PWD_P is not used anymore.
24632 * config.make.in: Remove PWD_P entry.
24633
51a1d39c 24634 * configure.in: Remove last remnants of RANLIB.
8720d066 24635 No need to check for signed size_t anymore.
215f4bdc
UD
24636 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24637 and IA-64.
3857022a 24638 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24639 * aclocal.m4: Likewise.
24640
d3ed7225
UD
24641 * wcsmbs/mbrtoc16.c: Implement using towc function.
24642 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24643 * wcsmbs/wcsmbsload.c: Likewise.
24644 * iconv/gconv_simple.c: Likewise.
24645 * iconv/gconv_int.h: Likewise.
24646 * iconv/gconv_builtin.h: Likewise.
24647 * iconv/iconv_prog.c: Remove CHAR16 handling.
24648
24649 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24650
24651 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24652
a0da5fe1
UD
24653 * configure.in: Remove --with-elf and --enable-bounded options.
24654 Dont set base_machine for ia64. More non-ELF conditions removed.
24655 Remove testing and setting of leading underscore information.
24656 * config.make.in (build-bounded): Set to no.
24657 * config.h.in: Remove NO_UNDERSCORES entry.
24658 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24659 them.
24660 * csu/start.c: Remove !NO_UNDERSCORE code.
24661 * locale/localeinfo.h: Likewise.
24662 * sysdeps/generic/machine-gmon.h: Likewise.
24663 * sysdeps/generic/sysdep.h: Likewise.
24664 * sysdeps/i386/sysdep.h: Likewise.
24665 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24666 * sysdeps/mach/sysdep.h: Likewise.
24667 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24668 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24669 * sysdeps/sh/sysdep.h: Likewise.
24670 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24671 * sysdeps/unix/i386/sysdep.S: Likewise.
24672 * sysdeps/unix/sparc/start.c: Likewise.
24673 * sysdeps/unix/sparc/sysdep.S: Likewise.
24674 * sysdeps/unix/sparc/sysdep.h: Likewise.
24675 * sysdeps/unix/start.c: Likewise.
24676 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24677 * sysdeps/x86_64/sysdep.h: Likewise.
24678
df78418a
UD
246792012-01-07 Ulrich Drepper <drepper@gmail.com>
24680
a784e502
UD
24681 [BZ #13553]
24682 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24683 for non-gcc.
24684 * argp/argp-fmtstream.h: Use const instead __const.
24685 * argp/argp.h: Likewise.
24686 * assert/assert.h: Likewise.
24687 * bits/fenv.h: Likewise.
24688 * bits/sched.h: Likewise.
24689 * bits/sigset.h: Likewise.
24690 * bits/sigthread.h: Likewise.
24691 * catgets/nl_types.h: Likewise.
24692 * conform/data/pthread.h-data: Likewise.
24693 * crypt/crypt-private.h: Likewise.
24694 * crypt/crypt.h: Likewise.
24695 * crypt/crypt_util.c: Likewise.
24696 * ctype/ctype.h: Likewise.
24697 * debug/execinfo.h: Likewise.
24698 * debug/mbsnrtowcs_chk.c: Likewise.
24699 * debug/mbsrtowcs_chk.c: Likewise.
24700 * debug/wcsnrtombs_chk.c: Likewise.
24701 * debug/wcsrtombs_chk.c: Likewise.
24702 * debug/wcstombs_chk.c: Likewise.
24703 * dirent/dirent.h: Likewise.
24704 * dlfcn/dlfcn.h: Likewise.
24705 * elf/neededtest4.c: Likewise.
24706 * grp/grp.h: Likewise.
24707 * gshadow/gshadow.h: Likewise.
24708 * iconv/gconv.h: Likewise.
24709 * iconv/gconv_int.h: Likewise.
24710 * iconv/gconv_simple.c: Likewise.
24711 * iconv/iconv.h: Likewise.
24712 * iconv/loop.c: Likewise.
24713 * iconv/skeleton.c: Likewise.
24714 * include/aio.h: Likewise.
24715 * include/aliases.h: Likewise.
24716 * include/argz.h: Likewise.
24717 * include/arpa/inet.h: Likewise.
24718 * include/assert.h: Likewise.
24719 * include/dirent.h: Likewise.
24720 * include/dlfcn.h: Likewise.
24721 * include/execinfo.h: Likewise.
24722 * include/fcntl.h: Likewise.
24723 * include/fenv.h: Likewise.
24724 * include/glob.h: Likewise.
24725 * include/grp.h: Likewise.
24726 * include/libintl.h: Likewise.
24727 * include/mntent.h: Likewise.
24728 * include/netdb.h: Likewise.
24729 * include/pwd.h: Likewise.
24730 * include/rpc/netdb.h: Likewise.
24731 * include/sched.h: Likewise.
24732 * include/search.h: Likewise.
24733 * include/shadow.h: Likewise.
24734 * include/signal.h: Likewise.
24735 * include/stdio.h: Likewise.
24736 * include/stdlib.h: Likewise.
24737 * include/string.h: Likewise.
24738 * include/sys/socket.h: Likewise.
24739 * include/sys/stat.h: Likewise.
24740 * include/sys/statfs.h: Likewise.
24741 * include/sys/statvfs.h: Likewise.
24742 * include/sys/syslog.h: Likewise.
24743 * include/sys/time.h: Likewise.
24744 * include/sys/uio.h: Likewise.
24745 * include/time.h: Likewise.
24746 * include/unistd.h: Likewise.
24747 * include/utmp.h: Likewise.
24748 * include/wchar.h: Likewise.
24749 * include/wctype.h: Likewise.
24750 * inet/aliases.h: Likewise.
24751 * inet/arpa/inet.h: Likewise.
24752 * inet/netinet/ether.h: Likewise.
24753 * inet/netinet/in.h: Likewise.
24754 * intl/libintl.h: Likewise.
24755 * io/bits/fcntl2.h: Likewise.
24756 * io/fcntl.h: Likewise.
24757 * io/ftw.h: Likewise.
24758 * io/sys/poll.h: Likewise.
24759 * io/sys/stat.h: Likewise.
24760 * io/sys/statfs.h: Likewise.
24761 * io/sys/statvfs.h: Likewise.
24762 * io/utime.h: Likewise.
24763 * libio/bits/stdio.h: Likewise.
24764 * libio/bits/stdio2.h: Likewise.
24765 * libio/libio.h: Likewise.
24766 * libio/libioP.h: Likewise.
24767 * libio/stdio.h: Likewise.
24768 * locale/lc-ctype.c: Likewise.
24769 * locale/locale.h: Likewise.
24770 * login/utmp.h: Likewise.
24771 * malloc/arena.c: Likewise.
24772 * malloc/malloc.c: Likewise.
24773 * malloc/malloc.h: Likewise.
24774 * malloc/mcheck.c: Likewise.
24775 * malloc/mtrace.c: Likewise.
24776 * math/bits/mathcalls.h: Likewise.
24777 * math/fenv.h: Likewise.
24778 * math/math_private.h: Likewise.
24779 * misc/bits/error.h: Likewise.
24780 * misc/bits/syslog.h: Likewise.
24781 * misc/err.h: Likewise.
24782 * misc/error.h: Likewise.
24783 * misc/fstab.h: Likewise.
24784 * misc/mntent.h: Likewise.
24785 * misc/regexp.h: Likewise.
24786 * misc/search.h: Likewise.
24787 * misc/sgtty.h: Likewise.
24788 * misc/sys/mman.h: Likewise.
24789 * misc/sys/syslog.h: Likewise.
24790 * misc/sys/uio.h: Likewise.
24791 * misc/sys/xattr.h: Likewise.
24792 * misc/ttyent.h: Likewise.
24793 * nis/rpcsvc/ypclnt.h: Likewise.
24794 * nss/nss.h: Likewise.
24795 * posix/bits/unistd.h: Likewise.
24796 * posix/fnmatch.h: Likewise.
24797 * posix/glob.h: Likewise.
24798 * posix/sched.h: Likewise.
24799 * posix/spawn.h: Likewise.
24800 * posix/sys/wait.h: Likewise.
24801 * posix/unistd.h: Likewise.
24802 * posix/wordexp.h: Likewise.
24803 * pwd/pwd.h: Likewise.
24804 * resolv/netdb.h: Likewise.
24805 * resource/sys/resource.h: Likewise.
24806 * rt/aio.h: Likewise.
24807 * rt/bits/mqueue2.h: Likewise.
24808 * rt/mqueue.h: Likewise.
24809 * shadow/shadow.h: Likewise.
24810 * signal/signal.h: Likewise.
24811 * socket/send.c: Likewise.
24812 * socket/sendto.c: Likewise.
24813 * socket/sys/socket.h: Likewise.
24814 * stdio-common/printf.h: Likewise.
24815 * stdlib/bits/stdlib.h: Likewise.
24816 * stdlib/fmtmsg.h: Likewise.
24817 * stdlib/monetary.h: Likewise.
24818 * stdlib/stdlib.h: Likewise.
24819 * stdlib/ucontext.h: Likewise.
24820 * streams/stropts.h: Likewise.
24821 * string/argz.h: Likewise.
24822 * string/bits/string2.h: Likewise.
24823 * string/string.h: Likewise.
24824 * string/strings.h: Likewise.
24825 * sunrpc/rpc/auth.h: Likewise.
24826 * sunrpc/rpc/auth_des.h: Likewise.
24827 * sunrpc/rpc/clnt.h: Likewise.
24828 * sunrpc/rpc/netdb.h: Likewise.
24829 * sunrpc/rpc/pmap_clnt.h: Likewise.
24830 * sunrpc/rpc/xdr.h: Likewise.
24831 * sysdeps/generic/inttypes.h: Likewise.
24832 * sysdeps/generic/net/if.h: Likewise.
24833 * sysdeps/generic/sys/swap.h: Likewise.
24834 * sysdeps/gnu/net/if.h: Likewise.
24835 * sysdeps/gnu/utmpx.h: Likewise.
24836 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24837 * sysdeps/i386/i486/bits/string.h: Likewise.
24838 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24839 * sysdeps/s390/bits/string.h: Likewise.
24840 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24841 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24842 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24843 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24844 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24845 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24846 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24847 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24848 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24849 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24850 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24851 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24852 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24853 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24854 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24855 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24856 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24858 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24859 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24861 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24862 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24863 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24864 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24865 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24866 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24867 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24868 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24869 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24870 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24871 * sysvipc/sys/ipc.h: Likewise.
24872 * sysvipc/sys/msg.h: Likewise.
24873 * sysvipc/sys/sem.h: Likewise.
24874 * sysvipc/sys/shm.h: Likewise.
24875 * termios/termios.h: Likewise.
24876 * time/sys/time.h: Likewise.
24877 * time/time.h: Likewise.
24878 * wcsmbs/bits/wchar2.h: Likewise.
24879 * wcsmbs/uchar.h: Likewise.
24880 * wcsmbs/wchar.h: Likewise.
24881 * wctype/wctype.h: Likewise.
24882
0269750c
UD
24883 [BZ #13551]
24884 * Makeconfig: Remove all but ELF support including AIX support.
24885 * Makerules: Likewise.
24886 * config.h.in: Likewise.
24887 * config.make.in: Likewise.
24888 * configure: Likewise.
24889 * configure.in: Likewise.
24890 * csu/Makefile: Likewise.
24891 * csu/version.c: Likewise.
24892 * debug/Makefile: Likewise.
24893 * dlfcn/Makefile: Likewise.
24894 * elf/Makefile: Likewise.
24895 * extra-lib.mk: Likewise.
24896 * iconv/Makefile: Likewise.
24897 * include/libc-symbols.h: Likewise.
24898 * include/shlib-compat.h: Likewise.
24899 * resolv/Makefile: Likewise.
24900 * resolv/res_libc.c: Likewise.
24901 * rt/Makefile: Likewise.
24902 * sysdeps/i386/asm-syntax.h: Likewise.
24903 * sysdeps/i386/sysdep.h: Likewise.
24904 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24905 * sysdeps/mach/sysdep.h: Likewise.
24906 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24907 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24908 * sysdeps/s390/asm-syntax.h: Likewise.
24909 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24910 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24911 * sysdeps/sh/sysdep.h: Likewise.
24912 * sysdeps/unix/sparc/sysdep.h: Likewise.
24913 * sysdeps/wordsize-32/divdi3.c: Likewise.
24914 * sysdeps/x86_64/sysdep.h: Likewise.
24915
00bbd29b
UD
24916 * argp/Versions: Remove _argp_unlock_xxx.
24917
24918 [BZ #13559]
24919 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24920 * abilist/libBrokenLocale.abilist: Likewise.
24921 * abilist/libanl.abilist: Likewise.
24922 * abilist/libc.abilist: Likewise.
24923 * abilist/libcrypt.abilist: Likewise.
24924 * abilist/libdl.abilist: Likewise.
24925 * abilist/libm.abilist: Likewise.
24926 * abilist/libnsl.abilist: Likewise.
24927 * abilist/libpthread.abilist: Likewise.
24928 * abilist/libresolv.abilist: Likewise.
24929 * abilist/librt.abilist: Likewise.
24930 * abilist/libthread_db.abilist: Likewise.
24931 * abilist/libutil.abilist: Likewise.
24932 * abilist/libnss_db.abilist: New file.
24933
24934 * scripts/abilist.awk: Add support for indirect functions.
24935
a2693a0e
UD
24936 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24937
3f05895f
UD
24938 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24939
ecb6fb48
UD
24940 * shlib-versions: Remove entries for ports architectures.
24941
664f8cb9
UD
24942 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24943 files in ports.
24944 * elf/stackguard-macros.h: Remove support for IA-64.
24945 * elf/tst-auditmod1.c: Likewise.
24946 * sysdeps/generic/ldsodefs.h: Likewise.
24947
7ae81d88
UD
24948 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24949 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24950 configure files.
24951
bdeba135
UD
24952 [BZ #13552]
24953 * configure.in: Remove --enable-omitfp support.
24954 * FAQ.in: Adjust.
24955 * config.make.in: Likewise.
24956 * Makeconfig: Likewise.
24957 * manual/install.texi: Likewise.
24958
d75a0a62
UD
24959 In case anyone cares, the IA-64 architecture could move to ports.
24960 * sysdeps/ia64/*: Removed.
24961 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24962 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24963
dcc9756b
UD
24964 [BZ #13555]
24965 * configure.in: Remove entries for unsupported architectures.
24966
d3761ebc 24967 [BZ #13533]
9954432e
UD
24968 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24969 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24970 routines.
24971 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24972 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24973 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24974 fall back to using wcrtomb.
24975 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24976 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24977 renaming.
24978 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24979 * wcsmbs/tst-c16c32-1.c: New file.
24980
24981 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24982 local variable.
24983
c3a87236
UD
24984 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24985
28926a1b
UD
24986 * elf/tst-unique3.cc: Add explicit declaration of gets.
24987 * elf/tst-unique3lib.cc: Likewise.
24988 * elf/tst-unique3lib2.cc: Likewise.
24989 * elf/tst-unique4.cc: Likewise.
24990
df78418a
UD
24991 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24992
8ecd6b2a
JM
249932012-01-06 Joseph Myers <joseph@codesourcery.com>
24994
24995 [BZ #13566]
24996 * assert/assert.h (static_assert): Don't define for C++.
24997 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24998 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24999
9f115170
UD
250002012-01-03 Ulrich Drepper <drepper@gmail.com>
25001
5e0d0300
UD
25002 * iconv/loop.c (single loop): Fix assertion in storing of
25003 remaining bytes.
25004
9f115170
UD
25005 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25006
81fb02b0
UD
250072012-01-01 Ulrich Drepper <drepper@gmail.com>
25008
25009 * posix/getconf.c: Update copyright year.
25010 * nss/getent.c: Likewise.
a316c1f6 25011 * nss/makedb.c: Likewise.
81fb02b0
UD
25012 * iconv/iconvconfig.c: Likewise.
25013 * iconv/iconv_prog.c: Likewise.
25014 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25015 * elf/pldd.c: Likewise.
25016 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25017 * catgets/gencat.c: Likewise.
25018 * csu/version.c: Likewise.
25019 * elf/ldd.bash.in: Likewise.
25020 * elf/sprof.c (print_version): Likewise.
25021 * locale/programs/locale.c: Likewise.
25022 * locale/programs/localedef.c: Likewise.
a316c1f6 25023 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25024 * nscd/nscd.c (print_version): Likewise.
25025 * debug/xtrace.sh: Likewise.
25026 * malloc/memusage.sh: Likewise.
25027 * malloc/mtrace.pl: Likewise.
25028 * debug/catchsegv.sh: Likewise.
25029
2ba92745
JJ
250302011-12-30 Jakub Jelinek <jakub@redhat.com>
25031
25032 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25033 pure attribute.
25034
dadebdae
UD
250352011-12-24 Ulrich Drepper <drepper@gmail.com>
25036
d3761ebc 25037 [BZ #13533]
db6af3eb
UD
25038 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25039 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25040 transformations.
25041 * iconv/gconv_int.h: Likewise.
25042 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25043 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25044 from libc for GLIBC_2.16.
25045 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25046 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25047 * wcsmbs/uchar.h: Really define mbstate_t.
25048 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25049 * wcsmbs/c16rtomb.c: New file.
25050 * wcsmbs/mbrtoc16.c: New file.
25051 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25052 for C/POSIX locale.
25053 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25054 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25055
dadebdae
UD
25056 * wcsmbs/wchar.h: Add missing __restrict.
25057
67371b56
UD
250582011-12-23 Ulrich Drepper <drepper@gmail.com>
25059
74033a25
UD
25060 [BZ #13532]
25061 * time/Makefile (routines): Add timespec_get.
25062 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25063 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25064 timespec for ISO C11.
25065 * time/timespec_get.c: New file.
25066 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25067 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25068
380d7e87
UD
25069 [BZ #13531]
25070 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25071 * stdlib/stdlib.h: Declare aligned_alloc.
25072 * Versions.def: Add GLIBC_2.16 for libc.
25073 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25074
4e9e7a35
UD
25075 [BZ 13527]
25076 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25077 ISO C11.
25078
380d7e87 25079 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25080 code.
25081
03a71829
UD
25082 [BZ #13528]
25083 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25084
839e283e
UD
25085 [BZ #13529]
25086 * assert/assert.h (static_assert): Define.
25087
ce5294e2 25088 * version.h: Update for 2.16 development version.
90fa7312 25089
8d44e150 25090 [BZ #13526]
d7809905
UD
25091 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25092 _ISOC11_SOURCE.
25093
c0da14cd
UD
25094 * version.h (RELEASE): Bump for 2.15 release.
25095 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25096
530a3249
MP
25097 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25098 Patch by Marek Polacek <mpolacek@redhat.com>.
25099
67371b56
UD
25100 * bits/byteswap.h: Protect long long constants with __extension__.
25101 * sysdeps/i386/bits/byteswap.h: Likewise.
25102 * sysdeps/ia64/bits/byteswap.h: Likewise.
25103 * sysdeps/s390/bits/byteswap.h: Likewise.
25104 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25105
15db4de1
LD
251062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25107
25108 [BZ #13540]
bbe315ea
LD
25109 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25110 destination buffer.
15db4de1
LD
25111 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25112
2b2596b1
MP
251132011-12-23 Marek Polacek <polacek@redhat.com>
25114
25115 * elf/dl-addr.c (determine_info): Add inline keyword.
25116 * elf/tst-auditmod4b.c (check_avx): Likewise.
25117 * elf/tst-auditmod6b.c (check_avx): Likewise.
25118 * elf/tst-auditmod6c.c (check_avx): Likewise.
25119 * elf/tst-auditmod7b.c (check_avx): Likewise.
25120
70c6c246
UD
251212011-12-23 Ulrich Drepper <drepper@gmail.com>
25122
25123 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25124 !__SSE_MATH__.
25125
c044cf14
LD
251262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25127
15db4de1 25128 [BZ #13540]
c044cf14
LD
25129 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25130 processing for last bytes.
25131
6b13d9d9
BH
251322011-08-06 Bruno Haible <bruno@clisp.org>
25133
d455f537
BH
25134 [BZ #13061]
25135 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25136 U+0385, not to U+1FEE.
25137
6b13d9d9
BH
25138 [BZ #13062]
25139 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25140 entry for U+00A5 U+0301.
25141
db910efd
UD
251422011-12-22 Ulrich Drepper <drepper@gmail.com>
25143
27deeafc
UD
25144 [BZ #13166]
25145 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25146 buffer for the output is too small.
25147
aed9d171
UD
25148 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25149 optimization.
25150
db910efd
UD
25151 [BZ #13185]
25152 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25153 SSE flags if possible.
25154
2bd779ae
LD
251552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25156
e7f9dac3 25157 [BZ #13540]
2bd779ae
LD
25158 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25159 processing for last bytes.
25160
154bfc16
JM
251612011-12-22 Joseph Myers <joseph@codesourcery.com>
25162
25163 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25164 (syscall-list-default-options, syscall-list-default-condition)
25165 (syscall-list-includes): Define.
25166 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25167 list of ABIs and options and #if conditions for each ABI. Do not
25168 handle common syscalls between ABIs specially.
25169 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25170 Remove.
25171 (syscall-list-variants, syscall-list-32bit-options)
25172 (syscall-list-32bit-condition, syscall-list-64bit-options)
25173 (syscall-list-64bit-condition): Define.
25174 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25175 (syscall-list-variants, syscall-list-32bit-options)
25176 (syscall-list-32bit-condition, syscall-list-64bit-options)
25177 (syscall-list-64bit-condition): Define.
25178 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25179 Remove.
25180 (syscall-list-variants, syscall-list-32bit-options)
25181 (syscall-list-32bit-condition, syscall-list-64bit-options)
25182 (syscall-list-64bit-condition): Define.
25183 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25184 Remove.
25185 (syscall-list-variants, syscall-list-32bit-options)
25186 (syscall-list-32bit-condition, syscall-list-64bit-options)
25187 (syscall-list-64bit-condition): Define.
25188
21eaf3a5
UD
251892011-12-22 Ulrich Drepper <drepper@gmail.com>
25190
16c6f992
UD
25191 * locale/iso-639.def: Add brx entry.
25192
41043168
UD
25193 [BZ #13328]
25194 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25195 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25196
21eaf3a5
UD
25197 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25198 __feraiseexcept_renamed.
25199
e3a851a2
UD
252002011-12-21 Ulrich Drepper <drepper@gmail.com>
25201
4920765e
UD
25202 [BZ #13538]
25203 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25204 EPOLLET with unsigned values.
25205 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25206 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25207
e3a851a2
UD
25208 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25209 to large cancellation.
25210 * math/s_cacoshf.c: Likewise.
25211 * math/s_cacoshl.c: Likewise.
25212
b27e24b8
RK
252132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25214
25215 [BZ #13305]
aebefeee 25216 [BZ #12786]
b27e24b8
RK
25217 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25218 * math/s_cacoshf.c: Likewise.
25219 * math/s_cacoshl.c: Likewise.
25220
ee190f67
UD
252212011-12-21 Ulrich Drepper <drepper@gmail.com>
25222
25223 [BZ #13439]
25224 * iconv/gconv.h: Define __GCONV_SWAP.
25225 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25226 * iconvdata/utf-16.c: Likewise.
25227 * iconvdata/utf-32.c: Likewise.
25228
707f25df
AS
252292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25230
25231 [BZ #13524]
25232 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25233 numerator after shifting it by one limb.
25234
d2daaa1e
RÁE
252352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25236
25237 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25238 under [__USE_EXTERN_INLINES].
25239
a4647e72
UD
252402011-12-17 Ulrich Drepper <drepper@gmail.com>
25241
25242 [BZ #13446]
25243 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25244
f0b264f1
AZ
252452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25246
25247 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25248 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25249 optimized code.
25250 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25251 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25252 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25253 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25254 for strncasecmp/strncasecmp_l compilation.
25255 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25256 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25257
8ef4f244
MP
252582011-12-08 Marek Polacek <mpolacek@redhat.com>
25259
25260 [BZ #13484]
25261 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25262 of __asm__.
25263
97ac2654
UD
252642011-12-17 Ulrich Drepper <drepper@gmail.com>
25265
25266 [BZ #13506]
25267 * time/tzfile.c (__tzfile_read): Check values from file header.
25268
91d2a845
WS
252692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25270
25271 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25272 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25273 * powerpc/powerpc32/dl-start.S: Likewise.
25274 * powerpc/powerpc32/elf/start.S: Likewise.
25275 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25276 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25277 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25278 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25279 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25280 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25281 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25282 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25283 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25284 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25285 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25286 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25287 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25288 * powerpc/powerpc32/memset.S: Likewise.
25289 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25290 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25291 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25292 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25293 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25294 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25295 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25296 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25297 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25298 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25299 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25300 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25301 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25302
a1267ba1
AZ
253032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25304
25305 * math/libm-test.inc: Added more nearbyint tests.
25306 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25307 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25308 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25309 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25310
ad8ac1bd
RL
253112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25312
25313 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25314 FD_CLOEXEC.
25315
1d3e4b61
UD
253162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25317
25318 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25319 Add wcscpy-ssse3 wcscpy-c.
25320 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25321 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25322 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25323 * sysdeps/x86_64/wcschr.S: New file.
25324 * sysdeps/x86_64/wcsrchr.S: New file.
25325 * string/test-strcmp.c: Remove checking of wcscmp function for
25326 wrong alignments.
25327 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25328 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25329 wcsrchr-sse2 wcsrchr-c.
25330 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25331 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25332 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25333 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25334 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25335 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25336 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25337 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25338 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25339 * wcsmbc/wcschr.c (WCSCHR): New macro.
25340
5b330a2d
UD
253412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25342
25343 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25344 * wcsmbs/test-wcsrchr.c: New file.
25345 * string/test-strrchr.c: Add wcsrchr support.
25346 (WIDE): New macro.
25347 * wcsmbs/test-wcscpy.c: New file.
25348 * string/test-strcpy.c: Add wcscpy support.
25349 (WIDE): New macro.
26428b7c 25350
f039c043
UD
253512011-12-10 Ulrich Drepper <drepper@gmail.com>
25352
25353 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25354 the inner loop.
25355
850fb039
AS
253562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25357
25358 [BZ #13472]
25359 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25360
4efbd5cb
UD
253612011-12-04 Ulrich Drepper <drepper@gmail.com>
25362
52ff5dd0 25363 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25364 Minor optimizations.
52ff5dd0 25365
4efbd5cb
UD
25366 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25367 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25368 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25369
8a426e12
UD
253702011-12-03 Ulrich Drepper <drepper@gmail.com>
25371
aff2453d
UD
25372 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25373 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25374 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25375 for gcc to avoid warnings.
25376 * inet/Makefile (tests): Add tst-checks.
25377 * inet/tst-checks.c: New file.
25378
25379 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25380 warning.
25381
25382 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25383 __wmemcmp_sse2.
25384
25385 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25386 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25387
8a426e12
UD
25388 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25389
9bea3473
UD
253902011-12-02 Ulrich Drepper <drepper@gmail.com>
25391
3a965496
UD
25392 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25393 problem.
25394
9bea3473
UD
25395 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25396
f101631b
UD
253972011-11-29 Joseph Myers <joseph@codesourcery.com>
25398
25399 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25400 conditional on GCC version.
25401 (__arch_compare_and_exchange_val_8_acq)
25402 (__arch_compare_and_exchange_val_16_acq)
25403 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25404 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25405 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25406
a98275aa
UD
254072011-12-02 Joseph Myers <joseph@codesourcery.com>
25408
25409 * sysdeps/sh/backtrace.c: New file.
25410
d4cc29a2
AS
254112011-12-02 Andreas Schwab <schwab@redhat.com>
25412
25413 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25414 parenthesis.
25415
6257af2d
AS
254162011-12-01 Andreas Schwab <schwab@redhat.com>
25417
25418 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25419 falling back to utime.
25420
b5f44c1a
AS
254212011-11-30 Andreas Schwab <schwab@redhat.com>
25422
25423 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25424 expectations for float.
25425
f3a6cc0a
AS
254262011-11-29 Andreas Schwab <schwab@redhat.com>
25427
25428 * locale/weight.h (findidx): Add parameter len.
25429 * locale/weightwc.h (findidx): Likewise.
25430 * posix/fnmatch_loop.c (FCT): Adjust caller.
25431 * posix/regcomp.c (build_equiv_class): Likewise.
25432 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25433 * posix/regexec.c (check_node_accept_bytes): Likewise.
25434 * string/strcoll_l.c (STRCOLL): Likewise.
25435 * string/strxfrm_l.c (STRXFRM): Likewise.
25436
9d65ea3a
UD
254372011-11-17 Ulrich Drepper <drepper@gmail.com>
25438
25439 * Makefile.in: Remove CVSOPT handling.
25440 * configure.in: Remove use of AC_REVISION.
25441 * iconvdata/Makefile (distribute): No need to filter out CVS.
25442 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25443 handling.
25444
5583a086
AS
254452011-11-16 Andreas Schwab <schwab@redhat.com>
25446
25447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25448 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25449 [USE_AS_STRNCASECMP_L]: Likewise.
25450 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25451 NO_TLS_DIRECT_SEG_REFS.
25452 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25453 Fix argument offsets for non-PIC.
25454 [USE_AS_STRNCASECMP_L]: Likewise.
25455 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25456 NO_TLS_DIRECT_SEG_REFS.
25457
d62a8200
UD
254582011-11-15 Ulrich Drepper <drepper@gmail.com>
25459
9d65ea3a 25460 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25461 O_CLOEXEC.
25462 * locale/loadlocale.c (_nl_load_locale): Likewise.
25463
09f93bd3
AS
254642011-11-15 Andreas Schwab <schwab@redhat.com>
25465
446514f9
AS
25466 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25467 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25468 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25469 (SYSCALL_GETTIME): Set errno on error.
25470
09f93bd3
AS
25471 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25472 count references to noai6ai_cached.
25473
312be3f9
UD
254742011-11-15 Ulrich Drepper <drepper@gmail.com>
25475
25476 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25477
25478 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25479 FD_CLOEXEC for /proc/self/maps.
25480
25481 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25482 FD_CLOEXEC for /proc/meminfo.
25483
25484 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25485 gai.conf.
25486
25487 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25488 FD_CLOEXEC for given file.
25489
25490 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25491
25492 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25493 FD_CLOEXEC for /etc/hosts.
25494 (_gethtent): Likewise.
25495
25496 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25497
25498 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25499 cancellation and set FD_CLOEXEC for /etc/netgroup.
25500
25501 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25502 reading /etc/publickey.
25503
25504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25505 allow cancellation when reading /etc/group.
25506
25507 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25508 cancellation.
25509 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25510
25511 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25512 when using data file.
25513
25514 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25515
25516 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25517 (write_nis_obj): Use "c" and "e" in fopen.
25518
25519 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25520
25521 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25522
25523 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25524
25525 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25526
25527 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25528 locale.alias.
25529
25530 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25531
25532 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25533
25534 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25535
25536 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25537 file parsing and set FD_CLOEXEC.
25538
82af0fa8
UD
255392011-11-14 Ulrich Drepper <drepper@gmail.com>
25540
25541 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25542
a5fb313c
AS
255432011-11-14 Andreas Schwab <schwab@redhat.com>
25544
25545 * malloc/arena.c (arena_get2): Don't call reused_arena when
25546 _int_new_arena failed.
25547
6abf3465
UD
255482011-11-14 Ulrich Drepper <drepper@gmail.com>
25549
25550 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25551 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25552 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25553 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25554 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25555 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25556 to compile strcasecmp and strncasecmp.
25557 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25558 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25559
25560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25561
76e3966e
UD
255622011-11-13 Ulrich Drepper <drepper@gmail.com>
25563
25564 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25565 locale-defines.sym to gen-as-const-headers.
25566 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25567 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25569 to compile strcasecmp and strncasecmp.
25570 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25571 strcasecmp_l and strncasecmp_l.
25572 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25573 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25574 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25575 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25576 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25577 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25578 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25579 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25580 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25581 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25582 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25583
ab26144e
UD
255842011-11-12 Ulrich Drepper <drepper@gmail.com>
25585
7edb22ef
UD
25586 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25587 result of SYSDEP_GETTIME_CPU to retval.
25588 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25589 parameter list to macro. Remove trailing semicolon. Adjust users.
25590
9694fc44
UD
25591 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25592 variable.
25593
8ad89ef8
UD
25594 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25595 mantissa words.
25596 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25597
0c822ef9
UD
25598 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25599 from unused variable.
25600
874e0564
UD
25601 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25602 DWARF definitions.
25603 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25604 for assembling.
25605
3a2edc79
UD
25606 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25607 over namespaces.
25608
f3c2577f
UD
25609 * sunrpc/rpc_prot.c (rejected): Fix case value.
25610
294ce126
UD
25611 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25612 unsigned long long int to avoid warnings in shift.
25613
5e2b63c6
UD
25614 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25615 of use of trans.
25616 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25617 variable tmp.
25618
e7f4b08e
UD
25619 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25620 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25621 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25622
ab26144e
UD
25623 * nis/nis_table.c (nis_list): Use variable of correct type for
25624 result of __follow_path call.
25625
8a6d5255
AZ
256262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25627
25628 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25629 of math functions ceil, trunc, floor, round, and sqrt, when
25630 avaliable on the platform.
25631 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25632 name clash.
25633 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25634 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25635 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25636
aaddc98c
MP
256372011-10-30 Marek Polacek <mpolacek@redhat.com>
25638
25639 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25640 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25641
95b7042b
RM
256422011-11-11 Roland McGrath <roland@hack.frob.com>
25643
25644 * include/unistd.h: Fix __readlink return type.
25645 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25646
57769839
UD
256472011-11-11 Ulrich Drepper <drepper@gmail.com>
25648
25649 * stdlib/ucontext.h: Undo last change for makecontext.
25650
edc5984d
AS
256512011-11-11 Andreas Schwab <schwab@redhat.com>
25652
98591e58
AS
25653 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25654
edc5984d
AS
25655 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25656 * setjmp/setjmp.h: Mark functions as non-leaf.
25657 * setjmp/bits/setjmp2.h: Likewise.
25658 * stdlib/ucontext.h: Likewise.
25659
77cdc054
AS
256602011-11-10 Andreas Schwab <schwab@redhat.com>
25661
25662 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25663 (reused_arena): Don't check arena limit.
25664 (arena_get2): Atomically check arena limit.
25665
fe72eebd
UD
256662011-11-08 Ulrich Drepper <drepper@gmail.com>
25667
5f078c32
UD
25668 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25669 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25670
fe72eebd
UD
25671 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25672 instructions.
25673
ae1bc2fa
AS
256742011-11-07 Andreas Schwab <schwab@redhat.com>
25675
7583a88d
AS
25676 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25677 handler when locking.
25678
ae1bc2fa
AS
25679 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25680 Fix size of allocated buffer.
25681
10fb0bfa
AS
256822011-11-04 Andreas Schwab <schwab@redhat.com>
25683
998832a4
AS
25684 [BZ #10103]
25685 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25686 declarations for long double functions.
25687 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25688
10fb0bfa
AS
25689 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25690
3d7ba52b
AS
256912011-11-03 Andreas Schwab <schwab@redhat.com>
25692
a9ae54a1
AS
25693 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25694 installed.
25695
3d7ba52b
AS
25696 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25697 is disabled.
25698
bc8db248
ST
256992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25700
25701 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25702
45b96dd6
AS
257032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25704
647776f6
AS
25705 * include/alloca.h (stackinfo_alloca_round): Define.
25706 (extend_alloca): Use it.
25707 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25708 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25709 here.
25710
d91a8b93
AS
25711 * scripts/check-local-headers.sh: Ignore libaudit.h.
25712
45b96dd6
AS
25713 * nscd/Makefile (extra-objs): Make recursively expanded.
25714
432d41ce
UD
257152011-11-01 Ulrich Drepper <drepper@gmail.com>
25716
34372fc6
UD
25717 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25718 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25719
fadb59f8
UD
25720 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25721 * posix/tst-rfc3484-2.c: Likewise.
25722 * posix/tst-rfc3484-3.c: Likewise.
25723
78239589
UD
25724 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25725 process_vm_writev.
25726 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25727 process_vm_writev.
25728 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25729 process_vm_writev from libc using GLIBC_2.15 version.
25730
432d41ce
UD
25731 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25732
02f9c6cf
PP
257332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25734
25735 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25736 stack usage.
25737
3a2c0242
UD
257382011-10-31 Ulrich Drepper <drepper@gmail.com>
25739
f4ec4833
UD
25740 [BZ #13367]
25741 * nss/getent.c (initgroups_keys): Show error message in case no group
25742 names are given.
25743
3a2c0242
UD
25744 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25745 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25746 __bump_nl_timestamp.
25747 * nscd/connections (nscd_init): When host database is served open
25748 netlink socket and request notification about configuration changes.
25749 (main_loop_poll): Track netlink file descriptor and bump timestamp
25750 in case data becomes available.
25751 (main_loop_epoll): Likewise.
25752 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25753 (database_pers_head): Add extra_data fileds.
25754 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25755 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25756 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25757 Adjust caller.
25758 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25759 in6ai data, call __free_in6ai.
25760 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25761 Add -DHAVE_NETLINK.
25762 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25763 interface information. Reuse previous data if netlink timestamp
25764 is not changed.
25765 (__bump_nl_timestamp): New function.
25766 (__free_in6ai): New function.
25767
636064eb
UD
257682011-10-30 Ulrich Drepper <drepper@gmail.com>
25769
25770 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25771 close_not_cancel_no_status here.
25772 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25773
9beb2334
UD
257742011-10-29 Ulrich Drepper <drepper@gmail.com>
25775
6ef76f3b
UD
25776 [BZ #13276]
25777 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25778 return value.
25779
0ffc4f3e 25780 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25781 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25782 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25783
cb95113e
UD
257842011-07-03 Andreas Jaeger <aj@suse.de>
25785
25786 [BZ #10709]
25787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25788 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25789 * math/libm-test.inc (sin_test): Add test case.
25790
a1b560ff
UD
257912011-10-29 Ulrich Drepper <drepper@gmail.com>
25792
c9aaface
UD
25793 [BZ #13337]
25794 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25795 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25796
d272e7f1
UD
25797 * elf/chroot_canon.c (chroot_canon): Cleanups.
25798
1bc33071
UD
25799 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25800
1760874d
TJ
25801 [BZ #13335]
25802 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25803 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25804
51d91b18
UD
25805 * string/test-strchr.c: Make usable for strchrnul testing.
25806 * string/test-strchrnul.c: New file.
25807 * string/Makefile (strop-tests): Add strchrnul.
25808
a1b560ff 25809 * po/it.po: Update from translation team.
b611fb81 25810 * po/es.po: Likewise.
a1b560ff 25811
a5b81e1f
UD
258122011-10-28 Ulrich Drepper <drepper@gmail.com>
25813
fd52bc6d
UD
25814 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25815 the three constants needed as parameters. Drop the others.
25816 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25817 __m128i_strloadu_tolower.
52e4b9eb
UD
25818 Create and initialize variable zero and use it in all the places
25819 where _mm_setzero_si128 was used.
fd52bc6d 25820
a5b81e1f
UD
25821 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25822 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25823 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25824 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25825 anymore.
25826 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25827 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25828 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25829 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25830 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25831 __mpranred, __mptan.
25832 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25833 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25834 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25835 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25836 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25837 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25838 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25839 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25840 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25841
b4343346
AS
258422011-10-28 Andreas Schwab <schwab@redhat.com>
25843
0c92d8a8
AS
25844 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25845 redefine if SHARED.
25846 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25847
b4343346
AS
25848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25849 wide char related routines to wcsmbs subdir.
25850
3871f58f
AS
258512011-10-27 Andreas Schwab <schwab@redhat.com>
25852
25853 [BZ #13344]
25854 * misc/sys/cdefs.h (__THROWNL): Define.
25855 * posix/unistd.h: Use __THREADNL instead of __THREAD
25856 for memory synchronization functions.
25857
94d44d9f
RM
258582011-10-26 Roland McGrath <roland@hack.frob.com>
25859
21b64b15 25860 [BZ #13349]
94d44d9f
RM
25861 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25862 doesn't exist.
25863 * manual/stdio.texi (Obstack Streams): Node removed.
25864
f6ce9294
AS
258652011-10-26 Andreas Schwab <schwab@redhat.com>
25866
80479147
AS
25867 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25868 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25869 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25870
f6ce9294
AS
25871 * math/math_private.h (math_force_eval): Allow non-addressable
25872 arguments.
25873 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25874
618280a1
UD
258752011-10-25 Ulrich Drepper <drepper@gmail.com>
25876
e0016b11
UD
25877 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25878 file is not needed.
25879
25880 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25881 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25882 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25883 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25884 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25885 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25887 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25888 Add AVX variants.
25889 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25890 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25891 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25892 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25893 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25894 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25895 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25896 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25897 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25898 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25899 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25900 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25901 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25902 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25903 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25904 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25905 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25906 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25907 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25908
25909 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25910 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25911
618280a1
UD
25912 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25913 place. Use VEX encoding when compiling for AVX.
25914
37822576
AS
259152011-10-25 Andreas Schwab <schwab@redhat.com>
25916
1f1e1947
AS
25917 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25918 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25919
37822576
AS
25920 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25921
31ea014d
UD
259222011-10-25 Ulrich Drepper <drepper@gmail.com>
25923
d7826aa1 25924 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25925 useless if() expression.
d7826aa1
UD
25926 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25927 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25928 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25929 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25930 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25931 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25932 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25933 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25934 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25935 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25936 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25937 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25938 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25939 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25940 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25941 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25942 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25944 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25945
31ea014d
UD
25946 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25947
16437fec
AS
259482011-10-25 Andreas Schwab <schwab@redhat.com>
25949
25950 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25951 condition.
25952 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25953
31d3cc00
UD
259542011-10-25 Ulrich Drepper <drepper@gmail.com>
25955
25956 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25957 .text section. Avoid duplicate constants.
25958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25966 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25967 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25968 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25969 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25970 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25971 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25972 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25974 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25975 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25978 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25979 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25980 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25981 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25982 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25983 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25984 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25985 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25986 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25987 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25988 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25989 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25990 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25991 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25992 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25993 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25994 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25995 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25996 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25997 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25998 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25999 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26000 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26001 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26002 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26003
58985aa9
UD
260042011-10-24 Ulrich Drepper <drepper@gmail.com>
26005
202c9deb
UD
26006 * sysdeps/x86_64/dla.h: Move to ...
26007 * sysdeps/x86_64/fpu/dla.h: ...here.
26008 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26009 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26010
af968f62
UD
26011 * config.make.in: Add have-mfma4 entry.
26012 * configure.in: Substitute libc_cv_cc_fma4.
26013 * math/Makefile (dbl-only-routines): Add sincostab.
26014 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26015 Use __sincostab not sincos.
26016 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26017 name is a macro.
26018 * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise. Define singArctan2
26022 using __copysign.
26023 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26024 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26025 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26026 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26027 and __inv.
26028 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26029 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26030 __copysign.
26031 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26032 define aliases when function name is a macro.
26033 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26034 sysdeps/ieee754/dbl-64/sincos.tbl.
26035 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26036 fma4-enabled routines.
26037 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26038 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26039 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26040 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26041 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26042 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26043 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26044 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26045 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26046 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26047 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26048 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26049 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26050 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26051 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26052 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26053 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26054 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26055 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26056 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26057 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26058 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26059 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26060 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26061 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26062 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26063 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26064 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26065 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26066 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26067
58985aa9
UD
26068 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26069 rename.
26070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26078
a201fbcf
AS
260792011-10-24 Andreas Schwab <schwab@redhat.com>
26080
26081 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26082
fc2ee42a
LD
260832011-10-23 Ulrich Drepper <drepper@gmail.com>
26084
bb3129bd
UD
26085 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26086
0275fff8
UD
26087 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26088 prediction.
26089 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26090
2fa2ae85
UD
26091 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26092 Remove unused variable magic_bits.
26093 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26094
fc2ee42a
LD
26095 * string/strnlen.c: Define and use STRNLEN macro.
26096 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26097 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26099 * wcsmbs/wcslen.c: Define and use WCSLEN.
26100 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26101 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26102 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26103 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26104 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26105 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26106 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26107
ce7dd29f
LD
261082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26109
26110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26111 strnlen-sse2-no-bsf.
26112 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26113 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26114 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26115 Add strnlen support.
26116 (USE_AS_STRNLEN): New macro.
26117 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26118 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26119 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26120 * sysdeps/x86_64/wcslen.S: New file.
26121
979c70a3
MZ
261222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26123
26124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26125 XMM-moves are used for copying on small sizes.
26126
2d09f82f
LD
261272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26128
26129 * wcsmbs/Makefile (strop-tests): Add wcschr.
26130 * wcsmbs/test-wcschr.c: New file.
26131 * string/test-strchr.c: Update.
26132 Add wcschr support.
26133 (WIDE): New macro.
26134
619fccca
LD
261352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26136
2d09f82f 26137 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26138 * wcsmbs/test-wcslen.c: New file.
26139 * string/test-strlen.c: Update.
26140 Add wcslen support.
26141 (WIDE): New macro.
26142
09f699ea
UD
261432011-10-23 Ulrich Drepper <drepper@gmail.com>
26144
26145 * po/it.po: Update from translation team.
26146
95584d3b
LD
261472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26148
26149 * sysdeps/x86_64/wcscmp.S: Update.
26150 Fix wrong comparison semantics.
26151 wcscmp shall use signed comparison not unsigned.
26152 Don't use substraction to avoid overflow bug.
26153 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26154 * wcsmbc/wcscmp.c: Likewise.
26155 * string/test-strcmp.c: Likewise.
26156 Add new tests to check cases with negative values.
26157
c8b3296b
UD
261582011-10-23 Ulrich Drepper <drepper@gmail.com>
26159
26160 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26161 * sysdeps/x86_64/dla.h: ...here. New file.
26162 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26167 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26171
246ad57a
AS
261722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26173
26174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26175 __ynl_finite aliases.
26176
a1a87169
UD
261772011-10-22 Ulrich Drepper <drepper@gmail.com>
26178
0d355eb7
UD
26179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26180
a1a87169
UD
26181 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26182 define DLA_FMA.
26183 [DLA_FMA] (EMULV): Use DLA_FMA.
26184 [DLA_FMA] (MUL12): Use EMULV.
26185 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26186 that are not needed.
26187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26190 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26194
ee2aafe0
AS
261952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26196
26197 * math/s_nan.c: Undef __nan.
26198 * math/s_nanf.c: Undef __nanf.
26199 * math/s_nanl.c: Undef __nanl.
26200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26201 "math_private.h".
26202
bc62c2fb
UD
262032011-10-22 Ulrich Drepper <drepper@gmail.com>
26204
77425c63
UD
26205 * math/s_catan.c: Add branch predictions.
26206 * math/s_catanf.c: Likewise.
26207 * math/s_catanh.c: Likewise.
26208 * math/s_catanhf.c: Likewise.
26209 * math/s_catanhl.c: Likewise.
26210 * math/s_catanl.c: Likewise.
26211 * math/s_cexp.c: Likewise.
26212 * math/s_cexpf.c: Likewise.
26213 * math/s_cexpl.c: Likewise.
26214 * math/s_clog.c: Likewise.
26215 * math/s_clog10.c: Likewise.
26216 * math/s_clog10f.c: Likewise.
26217 * math/s_clog10l.c: Likewise.
26218 * math/s_clogf.c: Likewise.
26219 * math/s_clogl.c: Likewise.
26220 * math/s_csqrt.c: Likewise.
26221 * math/s_csqrtf.c: Likewise.
26222 * math/s_csqrtl.c: Likewise.
26223 * math/s_ctanf.c: Likewise.
26224 * math/s_ctanh.c: Likewise.
26225 * math/s_ctanhf.c: Likewise.
26226 * math/s_ctanhl.c: Likewise.
26227 * math/s_ctanl.c: Likewise.
26228
bc62c2fb
UD
26229 * math/math_private.h: Define __nan, __nanf, __nanl.
26230 * math/s_cacosh.c: Include <math_private.h>.
26231 * math/s_cacoshl.c: Likewise.
26232 * math/s_casinh.c: Likewise.
26233 * math/s_casinhf.c: Likewise.
26234 * math/s_casinhl.c: Likewise.
26235 * math/s_ccos.c: Rely entire on ccosh.
26236 * math/s_ccosf.c: Rely entire on ccoshf.
26237 * math/s_ccosl.c: Rely entirely on ccoshl.
26238 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26239 Remove tests for FE_INVALID.
26240 * math/s_ccoshf.c: Likewise.
26241 * math/s_ccoshl.c: Likewise.
26242 * math/s_csin.c: Likewise.
26243 * math/s_csinf.c: Likewise.
26244 * math/s_csinh.c Likewise.
26245 * math/s_csinhf.c: Likewise.
26246 * math/s_csinhl.c: Likewise.
26247 * math/s_csinl.c: Likewise.
26248 * math/s_ctan.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26250 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26251 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26252
8ec250a4
UD
262532011-10-21 Ulrich Drepper <drepper@gmail.com>
26254
c196fed8
UD
26255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26256 compilation problems.
26257
8ec250a4
UD
26258 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26259 __builtin_expect.
26260
8d4f46c6
UD
262612011-10-20 Ulrich Drepper <drepper@gmail.com>
26262
ed72b654
UD
26263 * sysdeps/i386/configure.in: Test for -mfma4 option.
26264 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26265 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26266 COMMON_CPUID_INDEX_80000001.
26267 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26268 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26269 use it if FMA3 is not supported.
26270 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26271
8d4f46c6
UD
26272 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26273 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26274
d45c60c2
AS
262752011-10-20 Andreas Schwab <schwab@redhat.com>
26276
26277 [BZ #12892]
26278 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26279 it would create a cycle with a link time dependency.
26280
d9a4d2ab
UD
262812011-10-19 Ulrich Drepper <drepper@gmail.com>
26282
855d1560
UD
26283 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26284 instruction.
26285 * string/Makefile (strop-tests): Add rawmemchr.
26286 * string/test-rawmemchr.c: New file.
26287
d9a4d2ab
UD
26288 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26289 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26290 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26291 when compiling str{,n}casecmp and when AVX is available. Hook up
26292 new optimized code in initializers.
26293
8f3b1ffe
AS
262942011-10-19 Andreas Schwab <schwab@redhat.com>
26295
26296 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26297 __feraiseexcept instead of feraiseexcept.
26298
d38f1dba
UD
262992011-10-18 Ulrich Drepper <drepper@gmail.com>
26300
d9a8d0ab
UD
26301 * math/math_private.h: Define defaults for libc_fetestexcept and
26302 libc_feupdateenv.
26303 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26304 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26305 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26306 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26307 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26308 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26309 libc_fetestexcept and libc_feupdateenv.
26310
4855e3dd
UD
26311 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26312 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26313 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26314 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26315 libc_feholdexcept_setround.
26316
581d30e3
UD
26317 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26318 Add s_nearbyint-c and s_nearbyintf-c.
26319 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26320 nearbyintf inlines.
26321 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26322 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26323 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26324 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26325
d38f1dba
UD
26326 * math/math_private.h: Define defaults for libc_fegetround,
26327 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26328 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26329 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26330 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26331 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26332 standard functions.
26333 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26334 Remove comments and hacks for old compiler versions.
26335 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26336 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26337 libc_feholdexceptl.
26338
caa6c9d8
AS
263392011-10-18 Andreas Schwab <schwab@redhat.com>
26340
26341 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26342 (__feraiseexcept_renamed): Add __NTH.
26343 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26344 namespace violations.
26345
97c066e6
UD
263462011-10-17 Ulrich Drepper <drepper@gmail.com>
26347
99ce7b04
UD
26348 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26349
1004d182
UD
26350 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26351
228a984d
UD
26352 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26353 recently added interfaces.
26354 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26355
c8553a6a
UD
26356 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26357 about macro parameter expansion.
26358
ed22dcf6
UD
26359 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26360 __NO_MATH_INLINES is defined. Cleanups.
26361
26362 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26363 and __floorf is target has SSE4.1.
26364 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26365 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26366 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26367 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26368
b171c137
UD
26369 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26370 name.
26371 (floorf): Likewise.
26372
97c066e6
UD
26373 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26374
629f62ef
AS
263752011-10-17 Andreas Schwab <schwab@redhat.com>
26376
49a43d80
AS
26377 * misc/sys/cdefs.h: Fix last change.
26378
629f62ef
AS
26379 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26380 database lookup.
26381
e453f6cd
UD
263822011-10-16 Ulrich Drepper <drepper@gmail.com>
26383
aa78043a
UD
26384 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26385
ad0f5cad
UD
26386 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26388 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26392 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26393 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26394 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26395 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26396 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26397 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26398 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26399 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26400 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26401 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26402 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26403 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26404 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26405 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26406 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26407 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26408
26409 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26410 ceil, ceilf, floor, floorf.
26411
26412 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26413 Perform IRELATIVE relocations last.
26414
e453f6cd
UD
26415 * elf/do-rel.h: Add another parameter nrelative, replacing the
26416 local variable with the same name. Change name of the function
26417 to end in Rel or Rela (uppercase).
26418 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26419 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26420 elf_dynamic_do_##reloc function.
26421
fd5bdc09
UD
264222011-10-15 Ulrich Drepper <drepper@gmail.com>
26423
79b195b5
UD
26424 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26425 is sufficient, at least on modern CPUs.
26426
d4a28569
UD
26427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26428
b61099b5
UD
26429 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26430 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26431
bcf01e6d
UD
26432 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26433 __expl_finite.
26434 * math/bits/math-finite.h: Add entries for exp.
26435 * math/e_expl.c: Add __*_finite alias.
26436 * sysdeps/i386/fpu/e_exp.S: Likewise.
26437 * sysdeps/i386/fpu/e_expf.S: Likewise.
26438 * sysdeps/i386/fpu/e_expl.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26440 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26441 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26444 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26445 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26446
ba1a0d59
UD
26447 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26448 is sufficient, at least on modern CPUs.
26449
fd5bdc09
UD
26450 * ctype/ctype-info.c (__ctype_init): Define.
26451 * include/ctype.h (__ctype_init): Declare.
26452 (__ctype_b_loc): The variable is always initialized.
26453 (__ctype_toupper_loc): Likewise.
26454 (__ctype_tolower_loc): Likewise.
26455 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26456 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26457
7872cfb0
AS
264582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26459
b468825a
AS
26460 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26461
7872cfb0
AS
26462 * configure.in: Also look in $cxxmachine/include for C++ system
26463 headers.
26464
be13f7bf
LD
264652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26466
26467 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26468 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26469 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26470 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26471 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26472 (USE_AS_WMEMCMP): New macro.
26473 Fixing indents.
26474 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26475 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26476 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26477 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26479 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26480 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26481 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26482 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26483 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26484 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26485 (USE_AS_WMEMCMP): New macro.
26486 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26487 * sysdeps/string/test-memcmp.c: Update.
26488 Fix simple_wmemcmp.
26489 Add new tests.
26490 * wcsmbs/wmemcmp.c: Update.
26491 (WMEMCMP): New macro.
26492 Fix overflow bug.
26493
556a2007
AJ
264942011-10-12 Andreas Jaeger <aj@suse.de>
26495
26496 [BZ #13268]
26497 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26498
538faaa7
UD
264992011-10-15 Ulrich Drepper <drepper@gmail.com>
26500
ab6737ff
UD
26501 * libio/iofwide.c (do_length): Avoid warning.
26502
538faaa7
UD
26503 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26504
396a21b1
UD
265052011-10-14 Ulrich Drepper <drepper@gmail.com>
26506
cdf2901f
UD
26507 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26508
38ad40ce
UD
26509 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26510 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26511 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26512 * sysdeps/i386/i686/fpu/e_log.S: New file.
26513 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26514 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26515
396a21b1
UD
26516 * ctype/ctype.h: Add support for inlined isXXX functions when
26517 compiling C++ code.
26518
6b1f68c9
AS
265192011-10-14 Andreas Schwab <schwab@redhat.com>
26520
349290c0
AS
26521 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26522
6b1f68c9
AS
26523 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26524
f2282d42
RM
265252011-10-13 Roland McGrath <roland@hack.frob.com>
26526
26527 [BZ #13291]
26528 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26529
5298ffa8
AS
265302011-10-13 Andreas Schwab <schwab@redhat.com>
26531
714fad23
AS
26532 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26533 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26534 feraiseexcept.
26535
81dcc7fb
AS
26536 * sysdeps/x86_64/memrchr.S: Check for zero size.
26537
5298ffa8
AS
26538 * string/stratcliff.c: Add memrchr tests.
26539
951fbcec
LD
265402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26541
26542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26543 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26544 rawmemchr-sse2 rawmemchr-sse2-bsf.
26545 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26546 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26547 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26548 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26549 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26550 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26551 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26552 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26553 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26554 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26555 * string/memrchr.c (MEMRCHR): New macro.
26556
0ac5ae23
UD
265572011-10-12 Ulrich Drepper <drepper@gmail.com>
26558
26559 Add integration with gcc's -ffinite-math-only and optimize wrapper
26560 functions in libm.
26561 * Versions.def: Define GLIBC_2.15 version for libm.
26562 * math/Makefile (headers): Add bits/math-finite.h.
26563 * math/bits/math-finite.h: New file.
26564 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26565 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26566 * math/e_acoshl.c: Add __*_finite alias.
26567 * math/e_acosl.c: Likewise.
26568 * math/e_asinl.c: Likewise.
26569 * math/e_atan2l.c: Likewise.
26570 * math/e_atanhl.c: Likewise.
26571 * math/e_coshl.c: Likewise.
26572 * math/e_exp10.c: Likewise.
26573 * math/e_exp10f.c: Likewise.
26574 * math/e_exp10l.c: Likewise.
26575 * math/e_exp2l.c: Likewise.
26576 * math/e_fmodl.c: Likewise.
26577 * math/e_gammal_r.c: Likewise.
26578 * math/e_hypotl.c: Likewise.
26579 * math/e_j0l.c: Likewise.
26580 * math/e_j1l.c: Likewise.
26581 * math/e_jnl.c: Likewise.
26582 * math/e_lgammal_r.c: Likewise.
26583 * math/e_log10l.c: Likewise.
26584 * math/e_log2l.c: Likewise.
26585 * math/e_logl.c: Likewise.
26586 * math/e_powl.c: Likewise.
26587 * math/e_sinhl.c: Likewise.
26588 * math/e_sqrtl.c: Likewise.
26589 * math/e_scalb.c: Completely rewritten and optimized.
26590 * math/e_scalbf.c: Likewise.
26591 * math/e_scalbl.c: Likewise.
26592 * math/w_acos.c: Likewise.
26593 * math/w_acosf.c: Likewise.
26594 * math/w_acosl.c: Likewise.
26595 * math/w_acosh.c: Likewise.
26596 * math/w_acoshf.c: Likewise.
26597 * math/w_acoshl.c: Likewise.
26598 * math/w_asin.c: Likewise.
26599 * math/w_asinf.c: Likewise.
26600 * math/w_asinl.c: Likewise.
26601 * math/w_atan2.c: Likewise.
26602 * math/w_atan2f.c: Likewise.
26603 * math/w_atan2l.c: Likewise.
26604 * math/w_atanh.c: Likewise.
26605 * math/w_atanhf.c: Likewise.
26606 * math/w_atanhl.c: Likewise.
26607 * math/w_exp10.c: Likewise.
26608 * math/w_exp10f.c: Likewise.
26609 * math/w_exp10l.c: Likewise.
26610 * math/w_fmod.c: Likewise.
26611 * math/w_fmodf.c: Likewise.
26612 * math/w_fmodl.c: Likewise.
26613 * math/w_j0.c: Likewise.
26614 * math/w_j0f.c: Likewise.
26615 * math/w_j0l.c: Likewise.
26616 * math/w_j1.c: Likewise.
26617 * math/w_j1f.c: Likewise.
26618 * math/w_j1l.c: Likewise.
26619 * math/w_jn.c: Likewise.
26620 * math/w_jnf.c: Likewise.
26621 * math/w_log.c: Likewise.
26622 * math/w_logf.c: Likewise.
26623 * math/w_logl.c: Likewise.
26624 * math/w_log10.c: Likewise.
26625 * math/w_log10f.c: Likewise.
26626 * math/w_log10l.c: Likewise.
26627 * math/w_log2.c: Likewise.
26628 * math/w_log2f.c: Likewise.
26629 * math/w_log2l.c: Likewise.
26630 * math/w_pow.c: Likewise.
26631 * math/w_powf.c: Likewise.
26632 * math/w_powl.c: Likewise.
26633 * math/w_remainder.c: Likewise.
26634 * math/w_remainderf.c: Likewise.
26635 * math/w_remainderl.c: Likewise.
26636 * math/w_scalb.c: Likewise.
26637 * math/w_scalbf.c: Likewise.
26638 * math/w_scalbl.c: Likewise.
26639 * math/w_sqrt.c: Likewise.
26640 * math/w_sqrtf.c: Likewise.
26641 * math/w_sqrtl.c: Likewise.
26642 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26643 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26644 used.
26645 * math/math_private.h: Declare __kernel_standard_f.
26646 * math/w_cosh.c: Remove cruft and optimize a bit.
26647 * math/w_coshf.c: Likewise.
26648 * math/w_coshl.c: Likewise.
26649 * math/w_exp2.c: Likewise.
26650 * math/w_exp2f.c: Likewise.
26651 * math/w_exp2l.c: Likewise.
26652 * math/w_hypot.c: Likewise.
26653 * math/w_hypotf.c: Likewise.
26654 * math/w_hypotl.c: Likewise.
26655 * math/w_lgamma.c: Likewise.
26656 * math/w_lgamma_r.c: Likewise.
26657 * math/w_lgammaf.c: Likewise.
26658 * math/w_lgammaf_r.c: Likewise.
26659 * math/w_lgammal.c: Likewise.
26660 * math/w_lgammal_r.c: Likewise.
26661 * math/w_sinh.c: Likewise.
26662 * math/w_sinhf.c: Likewise.
26663 * math/w_sinhl.c: Likewise.
26664 * math/w_tgamma.c: Likewise.
26665 * math/w_tgammaf.c: Likewise.
26666 * math/w_tgammal.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26669 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26670 Minor optimizations. Pretty printing. Remove cruft.
26671 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26672 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26673 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26674 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26675 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26676 * sysdeps/i386/fpu/e_asin.S: Likewise.
26677 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26678 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26679 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26680 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26681 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26682 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26683 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26684 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26685 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26686 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26687 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26688 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26689 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26690 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26691 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26692 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26693 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26694 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26695 * sysdeps/i386/fpu/e_log.S: Likewise.
26696 * sysdeps/i386/fpu/e_log10.S: Likewise.
26697 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26699 * sysdeps/i386/fpu/e_log2.S: Likewise.
26700 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26701 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26702 * sysdeps/i386/fpu/e_logf.S: Likewise.
26703 * sysdeps/i386/fpu/e_logl.S: Likewise.
26704 * sysdeps/i386/fpu/e_pow.S: Likewise.
26705 * sysdeps/i386/fpu/e_powf.S: Likewise.
26706 * sysdeps/i386/fpu/e_powl.S: Likewise.
26707 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26708 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26709 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26710 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26711 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26713 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26714 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26715 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26720 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26721 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26723 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26725 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26726 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26727 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26729 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26730 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26732 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26733 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26736 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26737 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26738 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26739 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26740 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26741 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26742 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26743 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26744 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26745 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26746 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26747 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26748 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26749 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26750 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26751 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26752 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26753 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26754 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26755 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26756 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26757 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26793 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26796 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26799 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26801 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26802 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26804 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26805 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26809 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26810 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26811 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26812 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26813 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26814 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26815 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26816 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26817 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26818 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26819 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26820 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26821 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26822 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26823 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26824 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26826 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26827 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26828 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26829 (__isnanf): Likewise.
26830 (__isinf_ns): Likewise.
26831 (__isinf_nsf): Likewise.
26832 (__finite): Likewise.
26833 (__finitef): Likewise.
26834 (__ieee754_sqrt): Define as macro.
26835 (__ieee754_sqrtf): Define as macro.
26836 (__ieee754_sqrtl): Define as macro.
26837 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26838 inlined copy.
26839 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26840 __FINITE_MATH_ONLY__ consistent.
26841 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26842
12cc2fcd
AS
268432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26844
a843a204
AS
26845 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26846 of rawmemchr.
26847
12cc2fcd
AS
26848 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26849
c853acd5
UD
268502011-10-09 Ulrich Drepper <drepper@gmail.com>
26851
26852 * po/ja.po: Update from translation team.
26853
c658d255
RM
268542011-10-08 Roland McGrath <roland@hack.frob.com>
26855
110946e4
RM
26856 * locale/programs/locarchive.c (prepare_address_space): New function.
26857 (create_archive, enlarge_archive, open_archive): Use it.
26858
50604220
RM
26859 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26860 inside [SHARED], where it is used.
26861
c658d255
RM
26862 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26863
26864 * nss/getent.c (netgroup_keys): Remove unused variable.
26865 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26866
6a621eb7
UD
268672011-10-08 Ulrich Drepper <drepper@gmail.com>
26868
7edb55ce
UD
26869 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26870 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26872 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26873 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26874 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26875 * math/Makefile (libm-calls): Add s_isinf_ns.
26876 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26877 * math/multc3.c: Likewise.
26878 * math/s_casin.c: Likewise.
26879 * math/s_casinf.c: Likewise.
26880 * math/s_casinl.c: Likewise.
26881 * math/s_ccos.c: Likewise.
26882 * math/s_ccosf.c: Likewise.
26883 * math/s_ccosl.c: Likewise.
26884 * math/s_ctan.c: Likewise.
26885 * math/s_ctanf.c: Likewise.
26886 * math/s_ctanh.c: Likewise.
26887 * math/s_ctanhf.c: Likewise.
26888 * math/s_ctanhl.c: Likewise.
26889 * math/s_ctanl.c: Likewise.
26890 * math/w_fmod.c: Likewise.
26891 * math/w_fmodf.c: Likewise.
26892 * math/w_fmodl.c: Likewise.
26893 * math/w_remainder.c: Likewise.
26894 * math/w_remainderf.c: Likewise.
26895 * math/w_remainderl.c: Likewise.
26896 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26897 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26900 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26901 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26902 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26903 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26904
187da0ae
UD
26905 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26906 of the number.
26907 * stdio-common/printf_fphex.c: Likewise.
26908 * stdio-common/printf_size.c: Likewise.
26909
9277c064
UD
26910 * math/e_exp10.c: Include math_private.h using <...> not "...".
26911 * math/e_exp10f.c: Likewise.
26912 * math/e_exp10l.c: Likewise.
26913 * math/e_exp2l.c: Likewise.
26914 * math/e_j0l.c: Likewise.
26915 * math/e_j1l.c: Likewise.
26916 * math/e_jnl.c: Likewise.
26917 * math/e_lgammal_r.c: Likewise.
26918 * math/e_rem_pio2l.c: Likewise.
26919 * math/e_scalb.c: Likewise.
26920 * math/e_scalbf.c: Likewise.
26921 * math/e_scalbl.c: Likewise.
26922 * math/k_cosl.c: Likewise.
26923 * math/k_sinl.c: Likewise.
26924 * math/k_tanl.c: Likewise.
26925 * math/s_cacoshf.c: Likewise.
26926 * math/s_catan.c: Likewise.
26927 * math/s_catanf.c: Likewise.
26928 * math/s_catanh.c: Likewise.
26929 * math/s_catanhf.c: Likewise.
26930 * math/s_catanhl.c: Likewise.
26931 * math/s_catanl.c: Likewise.
26932 * math/s_ccosh.c: Likewise.
26933 * math/s_ccoshf.c: Likewise.
26934 * math/s_ccoshl.c: Likewise.
26935 * math/s_cexp.c: Likewise.
26936 * math/s_cexpf.c: Likewise.
26937 * math/s_cexpl.c: Likewise.
26938 * math/s_clog.c: Likewise.
26939 * math/s_clog10.c: Likewise.
26940 * math/s_clog10f.c: Likewise.
26941 * math/s_clog10l.c: Likewise.
26942 * math/s_clogf.c: Likewise.
26943 * math/s_clogl.c: Likewise.
26944 * math/s_csin.c: Likewise.
26945 * math/s_csinf.c: Likewise.
26946 * math/s_csinh.c: Likewise.
26947 * math/s_csinhf.c: Likewise.
26948 * math/s_csinhl.c: Likewise.
26949 * math/s_csinl.c: Likewise.
26950 * math/s_csqrt.c: Likewise.
26951 * math/s_csqrtf.c: Likewise.
26952 * math/s_csqrtl.c: Likewise.
26953 * math/s_ctan.c: Likewise.
26954 * math/s_ctanf.c: Likewise.
26955 * math/s_ctanh.c: Likewise.
26956 * math/s_ctanhf.c: Likewise.
26957 * math/s_ctanhl.c: Likewise.
26958 * math/s_ctanl.c: Likewise.
26959 * math/s_ldexp.c: Likewise.
26960 * math/s_ldexpf.c: Likewise.
26961 * math/s_ldexpl.c: Likewise.
26962 * math/s_significand.c: Likewise.
26963 * math/s_significandf.c: Likewise.
26964 * math/s_significandl.c: Likewise.
26965 * math/w_acos.c: Likewise.
26966 * math/w_acosf.c: Likewise.
26967 * math/w_acosh.c: Likewise.
26968 * math/w_acoshf.c: Likewise.
26969 * math/w_acoshl.c: Likewise.
26970 * math/w_acosl.c: Likewise.
26971 * math/w_asin.c: Likewise.
26972 * math/w_asinf.c: Likewise.
26973 * math/w_asinl.c: Likewise.
26974 * math/w_atan2.c: Likewise.
26975 * math/w_atan2f.c: Likewise.
26976 * math/w_atan2l.c: Likewise.
26977 * math/w_atanh.c: Likewise.
26978 * math/w_atanhf.c: Likewise.
26979 * math/w_atanhl.c: Likewise.
26980 * math/w_cosh.c: Likewise.
26981 * math/w_coshf.c: Likewise.
26982 * math/w_coshl.c: Likewise.
26983 * math/w_dremf.c: Likewise.
26984 * math/w_exp10.c: Likewise.
26985 * math/w_exp10f.c: Likewise.
26986 * math/w_exp10l.c: Likewise.
26987 * math/w_exp2.c: Likewise.
26988 * math/w_exp2f.c: Likewise.
26989 * math/w_fmod.c: Likewise.
26990 * math/w_fmodf.c: Likewise.
26991 * math/w_fmodl.c: Likewise.
26992 * math/w_hypot.c: Likewise.
26993 * math/w_hypotf.c: Likewise.
26994 * math/w_hypotl.c: Likewise.
26995 * math/w_j0.c: Likewise.
26996 * math/w_j0f.c: Likewise.
26997 * math/w_j0l.c: Likewise.
26998 * math/w_j1.c: Likewise.
26999 * math/w_j1f.c: Likewise.
27000 * math/w_j1l.c: Likewise.
27001 * math/w_jn.c: Likewise.
27002 * math/w_jnf.c: Likewise.
27003 * math/w_jnl.c: Likewise.
27004 * math/w_lgamma.c: Likewise.
27005 * math/w_lgamma_r.c: Likewise.
27006 * math/w_lgammaf.c: Likewise.
27007 * math/w_lgammaf_r.c: Likewise.
27008 * math/w_lgammal.c: Likewise.
27009 * math/w_lgammal_r.c: Likewise.
27010 * math/w_log.c: Likewise.
27011 * math/w_log10.c: Likewise.
27012 * math/w_log10f.c: Likewise.
27013 * math/w_log10l.c: Likewise.
27014 * math/w_log2.c: Likewise.
27015 * math/w_log2f.c: Likewise.
27016 * math/w_log2l.c: Likewise.
27017 * math/w_logf.c: Likewise.
27018 * math/w_logl.c: Likewise.
27019 * math/w_pow.c: Likewise.
27020 * math/w_powf.c: Likewise.
27021 * math/w_powl.c: Likewise.
27022 * math/w_remainder.c: Likewise.
27023 * math/w_remainderf.c: Likewise.
27024 * math/w_remainderl.c: Likewise.
27025 * math/w_scalb.c: Likewise.
27026 * math/w_scalbf.c: Likewise.
27027 * math/w_scalbl.c: Likewise.
27028 * math/w_sinh.c: Likewise.
27029 * math/w_sinhf.c: Likewise.
27030 * math/w_sinhl.c: Likewise.
27031 * math/w_sqrt.c: Likewise.
27032 * math/w_sqrtf.c: Likewise.
27033 * math/w_sqrtl.c: Likewise.
27034 * math/w_tgamma.c: Likewise.
27035 * math/w_tgammaf.c: Likewise.
27036 * math/w_tgammal.c: Likewise.
27037
6a621eb7
UD
27038 * po/ja.po: Update from translation team.
27039
bf582445
AJ
270402011-09-29 Andreas Jaeger <aj@suse.de>
27041
f9efbf3a
AJ
27042 [BZ #13179]
27043 * sunrpc/netname.c (netname2host): Fix logic.
27044
bf582445
AJ
27045 [BZ #6779]
27046 [BZ #6783]
27047 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27048 correctly.
27049 * math/w_remainder.c (__remainder): Likewise.
27050 * math/w_remainderf.c (__remainderf): Likewise.
27051 * math/libm-test.inc (remainder_test): Add test cases.
27052
48693bea
AK
270532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27054
27055 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27056 sdiv_qrnnd.
27057
42622229
LD
270582011-10-07 Ulrich Drepper <drepper@gmail.com>
27059
27060 * string/test-memcmp.c: Avoid unncessary #defines.
27061 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27062
093ecf92
LD
270632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27064
27065 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27066 Use new sse2 version for core i3 - i7 as it's faster
27067 than sse42 version.
27068 (bit_Prefer_PMINUB_for_stringop): New.
27069 * sysdeps/x86_64/rawmemchr.S: Update.
27070 Replace with faster SSE2 version.
27071 * sysdeps/x86_64/memrchr.S: New file.
27072 * sysdeps/x86_64/memchr.S: Update.
27073 Replace with faster SSE2 version.
27074
fde56e5c
MP
270752011-09-12 Marek Polacek <mpolacek@redhat.com>
27076
27077 * elf/dl-load.c (lose): Add cast to avoid warning.
27078
21fd49a9
UD
270792011-10-07 Ulrich Drepper <drepper@gmail.com>
27080
5a06e643
UD
27081 * po/ca.po: Update from translation team.
27082
684ae515
UD
27083 * inet/getnetgrent_r.c: Hook up nscd.
27084 * nscd/Makefile (routines): Add nscd_netgroup.
27085 (nscd-modules): Add netgroupcache.
27086 (CFLAGS-netgroupcache.c): Define.
27087 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27088 (cache_search): Add const to second parameter.
27089 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27090 INNETGR.
27091 (dbs): Add netgrdb entry.
27092 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27093 (verify_persistent_db): Handle netgrdb.
27094 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27095 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27096 GETFDNETGR.
27097 (netgroup_response_header): Define.
27098 (innetgroup_response_header): Define.
27099 (datahead): Add netgroup_response_header and innetgroup_response_header
27100 elements.
27101 * nscd/nscd.conf: Add entries for netgroup cache.
27102 * nscd/nscd.h (dbtype): Add netgrdb.
27103 (_PATH_NSCD_NETGROUP_DB): Define.
27104 (netgroup_iov_disabled): Declare.
27105 (xmalloc, xcalloc, xrealloc): Move declarations here.
27106 (cache_search): Adjust prototype.
27107 Add netgroup-related prototypes.
27108 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27109 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27110 (__nscd_innetgr): Declare.
27111 * nscd/selinux.c (perms): Use access_vector_t as element type and
27112 add netgroup-related initializers.
27113 * nscd/netgroupcache.c: New file.
27114 * nscd/nscd_netgroup.c: New file.
27115 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27116 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27117 For four parameters use innetgr.
27118 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27119 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27120 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27121 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27122
21fd49a9
UD
27123 * nscd/connections.c (register_traced_file): Don't register file
27124 for disabled databases.
27125
054c0457
UD
271262011-10-06 Ulrich Drepper <drepper@gmail.com>
27127
32b63198
UD
27128 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27129
054c0457
UD
27130 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27131 from tree and freeing node.
27132
64031225
JO
271332011-09-25 Jiri Olsa <jolsa@redhat.com>
27134
27135 * nss/nsswitch.c (__nss_database_lookup): Handle
27136 nss_parse_service_list out of memory case.
27137
0490345c
JO
271382011-09-15 Jiri Olsa <jolsa@redhat.com>
27139
27140 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27141 out of memory case.
27142
3a62d00d
AS
271432011-10-04 Andreas Schwab <schwab@redhat.com>
27144
27145 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27146 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27147 pass it down.
27148 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27149 elf_machine_rela, elf_machine_lazy_rel.
27150 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27151 (ELF_DYNAMIC_DO_REL): Likewise.
27152 (ELF_DYNAMIC_DO_RELA): Likewise.
27153 (ELF_DYNAMIC_RELOCATE): Likewise.
27154 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27155 to ELF_DYNAMIC_DO_REL.
27156 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27157 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27158 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27159 elf_machine_rela.
27160 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27161 skip_ifunc, don't call ifunc function if non-zero.
27162 (elf_machine_rela): Likewise.
27163 (elf_machine_lazy_rel): Likewise.
27164 (elf_machine_lazy_rela): Likewise.
27165 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27166 (elf_machine_lazy_rel): Likewise.
27167 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27168 Likewise.
27169 (elf_machine_lazy_rel): Likewise.
27170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27171 Likewise.
27172 (elf_machine_lazy_rel): Likewise.
27173 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27174 (elf_machine_lazy_rel): Likewise.
27175 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27176 (elf_machine_lazy_rel): Likewise.
27177 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27178 (elf_machine_lazy_rel): Likewise.
27179 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27180 (elf_machine_lazy_rel): Likewise.
27181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27182 (elf_machine_lazy_rel): Likewise.
27183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27184 (elf_machine_lazy_rel): Likewise.
27185
68577918
UD
271862011-09-28 Ulrich Drepper <drepper@gmail.com>
27187
27188 * nss/nss_files/files-init.c (_nss_files_init): Use static
27189 initialization for all the *_traced_file variables.
27190
68822d74
AS
271912011-09-28 Andreas Schwab <schwab@redhat.com>
27192
27193 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27194
2056100b
RM
271952011-09-27 Roland McGrath <roland@hack.frob.com>
27196
27197 [BZ #13226]
27198 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27199
32c76b63
AS
272002011-09-27 Andreas Schwab <schwab@redhat.com>
27201
27202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27203 Reread the line before reparsing it.
27204
bf972c9d
AS
272052011-09-26 Andreas Schwab <schwab@redhat.com>
27206
27207 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27208
e057a1b5
JM
272092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27210 Maxim Kuvyrkov <maxim@codesourcery.com>
27211 Joseph Myers <joseph@codesourcery.com>
27212
27213 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27214 if needed for __stack_chk_guard.
27215
bc7e1c36
RM
272162011-09-19 Roland McGrath <roland@hack.frob.com>
27217
ecb1482f
RM
27218 * sysdeps/posix/spawni.c (script_execute): Always define it.
27219 It will be optimized away if unused.
27220 (maybe_script_execute): New function.
27221 (__spawni): Call it.
27222
bc7e1c36
RM
27223 * Makerules: Don't include tls.make.
27224 (config-tls): Always set to thread.
27225 * tls.make.c: File removed.
27226
1c3b002b
MF
272272011-09-19 Mike Frysinger <vapier@gentoo.org>
27228
27229 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27230 * config.make.in (CPPFLAGS-config): New substituted variable.
27231
2840865d
UD
272322011-09-15 Ulrich Drepper <drepper@gmail.com>
27233
88738eb6
UD
27234 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27235
cbf645a6 27236 [BZ #13192]
2840865d
UD
27237 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27238 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27239
b402e91a
RM
272402011-09-15 Roland McGrath <roland@hack.frob.com>
27241
27242 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27243 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27244 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27245 (CALL_FAIL): Likewise.
27246 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27247 (CALL_FAIL): Macro removed.
27248 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27249
4c1a1f71
UD
272502011-09-15 Ulrich Drepper <drepper@gmail.com>
27251
27252 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27253 for __FINITE_MATH_ONLY__ == 1.
27254
edc121be
AS
272552011-09-15 Andreas Schwab <schwab@redhat.com>
27256
27257 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27258 __ieee754_sqrt instead of sqrt.
27259 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27260 __ieee754_sqrtf instead of sqrtf.
27261 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27262 __floorf instead of floorf.
27263 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27264 __floorf, __truncf instead of floorf, truncf.
27265
cd205654
UD
272662011-09-14 Ulrich Drepper <drepper@gmail.com>
27267
ee4d0315
UD
27268 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27269
cd205654
UD
27270 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27271 __extern_always_inline.
27272 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27273 32-bit.
27274
48b67d71
AS
272752011-09-14 Andreas Schwab <schwab@redhat.com>
27276
27277 * elf/rtld.c (dl_main): Also relocate in dependency order when
27278 doing symbol dependency testing.
27279
1ae12c75
AS
272802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27281
27282 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27283 Always define `refsym'.
27284
995a80df
AS
272852011-09-13 Andreas Schwab <schwab@redhat.com>
27286
e529793b
AS
27287 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27288 (__FD_ELT): Renamed from __FDELT.
27289 * misc/bits/select2.h (__FD_ELT): Likewise.
27290 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27291 __FD_MASK instead of __FDELT, __FDMASK.
27292 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27293 Likewise.
27294 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27295 Likewise.
27296
52d4fef8
AS
27297 * elf/Makefile (gen-ldd): Fix pattern.
27298
995a80df
AS
27299 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27300 (init_tls): Likewise.
27301
8682f8b0
UD
273022011-09-12 Ulrich Drepper <drepper@gmail.com>
27303
27304 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27305
de82006d
AS
273062011-09-12 Andreas Schwab <schwab@redhat.com>
27307
a7c8e6a1
AS
27308 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27309 `struct cmsghdr *' instead of `void *'.
27310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27311 Likewise.
27312
0f31fe77
AS
273132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27314
27315 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27316 if non-absolute.
27317 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27318 ldd_rewrite_script.
0f31fe77 27319
32b4c839
UD
273202011-09-11 Ulrich Drepper <drepper@gmail.com>
27321
83cd1420
UD
27322 * configure.in: Remove --with-tls option.
27323 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27324 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27325 out in case it is missing.
27326 * sysdeps/ia64/elf/configure.in: Likewise.
27327 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27328 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27329 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27330 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27331 * sysdeps/sh/elf/configure.in: Likewise.
27332 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27333 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27334 * sysdeps/x86_64/elf/configure.in: Likewise.
27335 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27336 * sysdeps/mach/hurd/tls.h: Likewise.
27337
633f745d
UD
27338 [BZ #13067]
27339 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27340
f318beb8
UD
27341 [BZ #13090]
27342 * configure.in: Fix use of AC_INIT.
27343
32b4c839
UD
27344 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27345
3ce1f295
UD
273462011-09-10 Ulrich Drepper <drepper@gmail.com>
27347
bb016596
UD
27348 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27349 __set_errno.
8e58439c
UD
27350 * malloc/hooks.c: Likewise.
27351
aebae053 27352 [BZ #11929]
02d46fc4
UD
27353 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27354 variables statically.
27355 (narenas): Initialize.
27356 (list_lock): Initialize.
bb016596
UD
27357 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27358 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27359 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27360 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27361 Add initializers to main_arena and mp_.
27362 (malloc_state): Remove pagesize member. Change all users to use
27363 GLRO(dl_pagesize).
27364
27365 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27366 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27367 is always initialized.
27368
22a89187
UD
27369 * malloc/malloc.c: Removed unused configurations and dead code.
27370 * malloc/arena.c: Likewise.
27371 * malloc/hooks.c: Likewise.
02d46fc4 27372 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27373
d063d164
UD
27374 * include/tls.h: Removed. USE___THREAD must always be defined.
27375 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27376 * elf/dl-libc.c: Likewise.
27377 * elf/dl-tsd.c: Likewise.
27378 * include/errno.h: Likewise.
27379 * include/netdb.h: Likewise.
27380 * include/resolv.h: Likewise.
27381 * inet/herrno-loc.c: Likewise.
27382 * inet/herrno.c: Likewise.
27383 * malloc/arena.c: Likewise.
27384 * malloc/hooks.c: Likewise.
27385 * malloc/malloc.c: Likewise.
27386 * resolv/res-state.c: Likewise.
27387 * resolv/res_libc.c: Likewise.
27388 * sysdeps/i386/dl-machine.h: Likewise.
27389 * sysdeps/ia64/dl-machine.h: Likewise.
27390 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27391 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27392 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27393 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27394 * sysdeps/sh/dl-machine.h: Likewise.
27395 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27396 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27397 * sysdeps/unix/i386/sysdep.S: Likewise.
27398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27399 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27400 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27404 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27408 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27409 * sysdeps/x86_64/dl-machine.h: Likewise.
27410 * tls.make.c: Likewise.
27411
3ce1f295
UD
27412 * configure.in: Remove --with-__thread option. Make tests for
27413 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27414 tls_model attribute fail if no support is available. Remove
27415 USE_IN_LIBIO.
27416 * Makeconfig: Adjust for dropped configure option. All features are
27417 now mandatory.
27418 * Makerules: Likewise.
27419 * Versions.def: Likewise.
27420 * argp/argp-fmtstream.c: Likewise.
27421 * argp/argp-fmtstream.h: Likewise.
27422 * argp/argp-help.c: Likewise.
27423 * assert/assert.c: Likewise.
27424 * config.h.in: Likewise.
27425 * config.make.in: Likewise.
27426 * configure: Likewise.
27427 * configure.in: Likewise.
27428 * csu/Versions: Likewise.
27429 * csu/init.c: Likewise.
27430 * elf/tst-audit2.c: Likewise.
27431 * elf/tst-tls10.c: Likewise.
27432 * elf/tst-tls10.h: Likewise.
27433 * elf/tst-tls11.c: Likewise.
27434 * elf/tst-tls12.c: Likewise.
27435 * elf/tst-tls14.c: Likewise.
27436 * elf/tst-tlsmod11.c: Likewise.
27437 * elf/tst-tlsmod12.c: Likewise.
27438 * elf/tst-tlsmod13.c: Likewise.
27439 * elf/tst-tlsmod13a.c: Likewise.
27440 * elf/tst-tlsmod14a.c: Likewise.
27441 * elf/tst-tlsmod15b.c: Likewise.
27442 * elf/tst-tlsmod16a.c: Likewise.
27443 * elf/tst-tlsmod16b.c: Likewise.
27444 * elf/tst-tlsmod7.c: Likewise.
27445 * elf/tst-tlsmod8.c: Likewise.
27446 * elf/tst-tlsmod9.c: Likewise.
27447 * gmon/gmon.c: Likewise.
27448 * grp/fgetgrent_r.c: Likewise.
27449 * grp/putgrent.c: Likewise.
27450 * hurd/fopenport.c: Likewise.
27451 * include/libc-symbols.h: Likewise.
27452 * include/tls.h: Likewise.
27453 * intl/gettextP.h: Likewise.
27454 * intl/loadinfo.h: Likewise.
27455 * locale/global-locale.c: Likewise.
27456 * locale/localeinfo.h: Likewise.
27457 * mach/devstream.c: Likewise.
27458 * malloc/arena.c: Likewise.
27459 * malloc/set-freeres.c: Likewise.
27460 * misc/err.c: Likewise.
27461 * misc/getttyent.c: Likewise.
27462 * misc/mntent_r.c: Likewise.
27463 * posix/getopt.c: Likewise.
27464 * posix/wordexp.c: Likewise.
27465 * pwd/fgetpwent_r.c: Likewise.
27466 * resolv/Versions: Likewise.
27467 * resolv/res_hconf.c: Likewise.
27468 * shadow/fgetspent_r.c: Likewise.
27469 * shadow/putspent.c: Likewise.
27470 * stdio-common/printf_fphex.c: Likewise.
27471 * stdio-common/tmpfile.c: Likewise.
27472 * stdlib/abort.c: Likewise.
27473 * stdlib/fmtmsg.c: Likewise.
27474 * sunrpc/auth_unix.c: Likewise.
27475 * sunrpc/clnt_perr.c: Likewise.
27476 * sunrpc/clnt_tcp.c: Likewise.
27477 * sunrpc/clnt_udp.c: Likewise.
27478 * sunrpc/clnt_unix.c: Likewise.
27479 * sunrpc/openchild.c: Likewise.
27480 * sunrpc/svc_simple.c: Likewise.
27481 * sunrpc/svc_tcp.c: Likewise.
27482 * sunrpc/svc_udp.c: Likewise.
27483 * sunrpc/svc_unix.c: Likewise.
27484 * sunrpc/xdr.c: Likewise.
27485 * sunrpc/xdr_array.c: Likewise.
27486 * sunrpc/xdr_rec.c: Likewise.
27487 * sunrpc/xdr_ref.c: Likewise.
27488 * sunrpc/xdr_stdio.c: Likewise.
27489
1248c1c4
PB
274902011-09-09 Ulrich Drepper <drepper@gmail.com>
27491
27492 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27493
274942011-07-03 Andreas Jaeger <aj@suse.de>
27495
27496 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27497 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27498 regenerate with gen-libm-tests.pl.
27499
275002010-05-12 Petr Baudis <pasky@suse.cz>
27501
27502 [BZ #11589]
27503 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27504 around j0() zero points by switching to j1().
27505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27506 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27508 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27509
f22e1074
UD
275102011-09-09 Ulrich Drepper <drepper@gmail.com>
27511
f19009c1
UD
27512 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27513 instead of 0.
27514 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27515 instead of 0.
f19009c1
UD
27516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27517 Patch in part by Pavel Roskin <proski@gnu.org>.
27518
3f8cc204
UD
27519 [BZ #13138]
27520 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27521 realloc.
27522 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27523 Free memory block if necessary.
27524
f22e1074
UD
27525 [BZ #12847]
27526 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27527 be NULL. Don't lock in this case.
27528
0a2349f9
RM
275292011-09-09 Roland McGrath <roland@hack.frob.com>
27530
27531 * elf/elf.h (ELFOSABI_GNU): New macro.
27532 (ELFOSABI_LINUX): Define to that.
27533
f3cdd467
DZ
275342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27535
27536 * string/strncat.c (strncat): Undef the symbol in case it has been
27537 defined in bits/string.h.
27538
74718d13
UD
275392011-09-09 Ulrich Drepper <drepper@gmail.com>
27540
633e9e0f
UD
27541 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27542
0a2349f9 27543 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27544 link map.
27545
f9924780
AJ
275462011-08-17 Andreas Jaeger <aj@suse.de>
27547
27548 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27549
7f5517aa
PP
275502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27551 Ian Lance Taylor <iant@google.com>
27552
27553 * math/libm-test.inc (lround_test): New testcase.
27554 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27555
762011fe
UD
275562011-09-08 Ulrich Drepper <drepper@gmail.com>
27557
92963737
UD
27558 * Makefile: Remove support for automatic cvs check-ins.
27559 * Makerules: Likewise.
27560 * config.make.in: Likewise.
27561 * configure.in: Likewise.
27562 * intl/Makefile: Likewise.
27563 * locale/Makefile: Likewise.
27564 * po/Makefile: Likewise.
27565 * posix/Makefile: Likewise.
27566 * sysdeps/gnu/Makefile: Likewise.
27567 * sysdeps/mach/hurd/Makefile: Likewise.
27568 * sysdeps/sparc/sparc32/Makefile: Likewise.
27569
b0727fd8
JS
27570 [BZ #13118]
27571 * posix/Makefile (bug-regex32-ENV): Define.
27572 Patch by John Stanley <jpsinthemix@verizon.net>.
27573
a0f33f99
UD
27574 * misc/Makefile (headers): Add bits/select2.h.
27575 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27576 * misc/bits/select2.h: New file.
27577 * include/bits/select2.h: New file.
27578 * debug/Makefile (routines): Add fdelt_chk.
27579 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27580 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27581 FD_ISSET.
27582 * debug/fdelt_chk.c: New file.
27583
762011fe
UD
27584 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27585 * wcsmbs/test-wmemcmp.c: Likewise.
27586 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27587 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27588
275892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27590
27591 * string/Makefile (strop-tests): Add memcmp.
27592 * string/test-wmemcmp.c: New file.
27593 * string/test-memcmp.c: Add wmemcmp support.
27594
7f513ec8
RM
275952011-09-08 Roland McGrath <roland@hack.frob.com>
27596
0442afb4
RM
27597 [BZ #13153]
27598 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27599 2011-07-19 change.
27600
7f513ec8
RM
27601 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27602 garbage value in a __mach_port_mod_refs call in the cases of the
27603 task-self and thread-self ports.
27604
a12b2239
ST
276052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27606
27607 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27608
610f9ab4
AS
276092011-09-08 Andreas Schwab <schwab@redhat.com>
27610
7f513ec8 27611 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27612
48882a1a
LD
276132011-09-07 Ulrich Drepper <drepper@gmail.com>
27614
b49865be
UD
27615 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27616
fdc86bc9
UD
27617 * elf/dl-libc.c (dlerror_run): Pass back error code from
27618 dl_catch_error.
27619
c966526a
UD
27620 [BZ #13123]
27621 * elf/dl-load.c (lose): Free l_origin if it is valid.
27622
48882a1a
LD
27623 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27624 names.
27625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27626 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27627 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27629 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27630 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27631
77a2a8b4
AZ
276322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27633
27634 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27635 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27636 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27637 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27638 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27639 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27640 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27641 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27642 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27643 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27644
24f579d8
AM
276452011-08-15 Alan Modra <amodra@gmail.com>
27646
27647 [BZ #13092]
27648 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27649 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27650 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27651 ppc_mcount to static-only-routines.
27652 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27653 __mcount_internal.
27654 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27655 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27656
3d4837df
UD
276572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27658
27659 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27660 for finite and infinity parameters.
27661
22700377
WS
276622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27663
27664 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27665 and add nop instructions for throughput optimization.
27666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27667
5025581e
WS
276682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27669
27670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27671 aligned copy for power7 with vector-scalar instructions.
27672 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27673
08a300c9
L
276742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27675
27676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27677 AVX check.
27678
59178ef9
AS
276792011-09-07 Andreas Schwab <schwab@redhat.com>
27680
27681 [BZ #13144]
27682 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27683 last change.
27684
e38ba7ab
UD
276852011-09-07 Ulrich Drepper <drepper@gmail.com>
27686
27687 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27688 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27689 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27690 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27691 clock_gettime.
27692
d53a73ac
UD
276932011-09-06 Ulrich Drepper <drepper@gmail.com>
27694
fc8bffcc
UD
27695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27696 Forgot to demangle the pointer.
27697
ceaa0c5d
UD
27698 * sysdeps/i386/sysdep.h: Define atom_text_section.
27699 * sysdeps/x86_64/sysdep.h: Likewise.
27700 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27701 section with atom_text_section.
27702 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27703 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27704 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27705 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27706 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27707
a77d3c17
UD
27708 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27709 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27710 already be defined. Change to take two parameters and don't assign
27711 result to variable. Adjust all users.
27712 Define INTERNAL_GETTIME if not already defined.
27713 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27714 call.
27715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27716 HAVE_CLOCK_GETTIME_VSYSCALL.
27717 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27718
d53a73ac
UD
27719 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27720 gettimeofday vsyscall, just use time.
27721
a8f84144
AS
277222011-09-06 Andreas Schwab <schwab@redhat.com>
27723
27724 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27725 <errno.h>.
27726
ef606249
UD
277272011-09-06 Ulrich Drepper <drepper@gmail.com>
27728
27729 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27730 syscall on x86-64.
27731 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27732 syscall.
27733 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27734 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27735 syscall if possible.
27736
6585cb60
UD
277372011-09-05 Ulrich Drepper <drepper@gmail.com>
27738
27739 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27740 e_ident. Don't pass to find_mapsXX.
27741 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27742
a5f524e4
LD
277432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27744
27745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27746 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27747 * sysdeps/x86_64/multiarch/strchr.S: Update.
27748 Check bit_slow_BSF bit.
27749 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27750 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27751 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27752
554881ef
UD
277532011-09-05 Ulrich Drepper <drepper@gmail.com>
27754
d96de963
UD
27755 [BZ #13134]
27756 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27757 before glibc 2.15.
27758 (tryshell): Define.
27759 (__spawni): Change last parameter to be flag. Test
27760 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27761 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27762 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27763 * posix/spawni.c: Likewise.
27764 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27765 * posix/spawnp.c: Likewise. Change normal version to use
27766 SPAWN_XFLAGS_USE_PATH.
27767 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27768 SPAWN_XFLAGS_TRY_SHELL.
27769
d48e5868
UD
27770 [BZ #13150]
27771 * posix/glob.h: Remove gcc 1.x support.
27772
554881ef
UD
27773 [BZ #13068]
27774 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27775
693fb948
LD
277762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27777
27778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27779 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27780 strrchr-sse2-bsf
27781 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27782 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27783 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27784 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27785 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27786 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27787
1b48c537
UD
277882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27789
49d42c37
UD
27790 * sysdeps/x86_64/wcscmp.S: New file.
27791
1b48c537
UD
27792 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27793 wcscmp-c wcscmp-sse2
27794 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27795 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27796 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27797 * wcsmbs/wcscmp.c: Allow renaming.
27798
15c95c5d
DM
277992011-09-05 David S. Miller <davem@davemloft.net>
27800
27801 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27802 stack slot, rather than the struct return pointer slot.
27803 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27804 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27806 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27807
2f0ad8f3
UD
278082011-09-05 Ulrich Drepper <drepper@gmail.com>
27809
d88ae418
UD
27810 * po/ja.po: Update from translation team.
27811
2f0ad8f3
UD
27812 [BZ #13144]
27813 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27814 kernel in 64-bit binaries.
27815
5f4318d1
DM
278162011-09-01 David S. Miller <davem@davemloft.net>
27817
27818 * elf/elf.h (HWCAP_SPARC_*): Move to..
27819 * sysdeps/sparc/sysdep.h: this new file and add new values.
27820 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27821 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27822 _DL_HWCAP_COUNT to 24.
27823 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27824 entries.
27825 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27826 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27827 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27829 instead of magic constants.
27830 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27831
3ba57516
DM
278322011-08-31 David S. Miller <davem@davemloft.net>
27833
27834 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27836 Reimplement to do errno handling inline.
27837 (SYSCALL_ERROR_HANDLER): New macro.
27838 (__SYSCALL_STRING): Do not do errno handling in asm.
27839 (__CLONE_SYSCALL_STRING): Delete.
27840 (__INTERNAL_SYSCALL_STRING): Delete.
27841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27842 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27843 (PSEUDO): Reimplement to do errno handling inline.
27844 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27845 (SYSCALL_ERROR_HANDLER): New macro.
27846 (__SYSCALL_STRING): Do not do errno handling in asm.
27847 (__CLONE_SYSCALL_STRING): Delete.
27848 (__INTERNAL_SYSCALL_STRING): Delete.
27849 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27850 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27851 i386.
27852 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27853 (inline_syscall*): Add 'err' argument.
27854 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27855 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27856 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27857 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27858
27859 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27860 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27861
2bc17433
AS
278622011-08-30 Andreas Schwab <schwab@redhat.com>
27863
27864 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27865
fbeb5f4d
JO
278662011-08-29 Jiri Olsa <jolsa@redhat.com>
27867
27868 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27869 directive.
27870
ad69cc26
DM
278712011-08-24 David S. Miller <davem@davemloft.net>
27872
27873 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27874
39dd69df
AS
278752011-08-24 Andreas Schwab <schwab@redhat.com>
27876
27877 * elf/Makefile: Add rules to build and run unload8 test.
27878 * elf/unload8.c: New file.
27879 * elf/unload8mod1.c: New file.
27880 * elf/unload8mod1x.c: New file.
27881 * elf/unload8mod2.c: New file.
27882 * elf/unload8mod3.c: New file.
27883
27884 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27885 it wasn't used.
27886
2c0b250a
DM
278872011-08-23 David S. Miller <davem@davemloft.net>
27888
27889 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27890 subtract stack bias.
27891 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27892 %sp not %fp in calculations.
27893 (_JMPBUF_UNWINDS_ADJ): Likewise.
27894
22044b48
DM
27895 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27896 (aio_suspend): Call it to force an exception region around the
27897 AIO_MISC_WAIT() invocation.
27898
2cae4995
AS
278992011-08-23 Andreas Schwab <schwab@redhat.com>
27900
27901 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27902 backslash.
27903
873a772e
AJ
279042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27905
27906 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27907 protection macro.
27908 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27909 and <dl-machine.h>.
27910 (Elf64_FuncDesc): Remove.
27911
25ad0df1
DM
279122011-08-22 David S. Miller <davem@davemloft.net>
27913
27914 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27915 sigaltstack check, add missing cfi directives.
27916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27917 missing cfi directives, and sigaltstack handling.
27918
e888bcbe
AS
279192011-08-16 Andreas Schwab <schwab@redhat.com>
27920
27921 [BZ #11724]
27922 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27923 object is seen twice.
27924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27925
27926 * elf/Makefile (distribute): Add tst-initorder2.c.
27927 (tests): Add tst-initorder2.
27928 (modules-names): Add tst-initorder2a tst-initorder2b
27929 tst-initorder2c tst-initorder2d. Add rules to build them.
27930 ($(objpfx)tst-initorder2.out): New rule.
27931 * elf/tst-initorder2.c: New file.
27932 * elf/tst-initorder2.exp: New file.
27933
87162f46
AS
279342011-08-22 Andreas Schwab <schwab@redhat.com>
27935
70538b7f
AS
27936 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27937
f55ffe58
AS
27938 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27939 dependencies back to end of function.
27940
87162f46
AS
27941 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27942 $(elfobjdir)/ld.so.
27943
91b392a4
UD
279442011-08-21 Ulrich Drepper <drepper@gmail.com>
27945
27946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27947 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27949 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27950 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27951 of __vdso_gettimeofday.
27952 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27953 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27954 attribute_hidden.
27955 (_libc_vdso_platform_setup): Remove initialization of
27956 __vdso_gettimeofday and __vdso_time.
27957
5c43483f
UD
279582011-08-20 Ulrich Drepper <drepper@gmail.com>
27959
775a77e7
UD
27960 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27961 and fgetc_unlocked.
27962 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27963 getc_unlocked.
89f447ed 27964
49c74ba9
UD
27965 * elf/dl-open.c (add_to_global): Report additions to the global scope
27966 for LD_DEBUG=scopes.
27967 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27968 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27969
5c43483f
UD
27970 [BZ #13114]
27971 * stdio-common/Makefile (tests): Add bug24.
27972 * stdio-common/bug24.c: New file.
27973
a101b025
AJ
279742011-08-19 Andreas Jaeger <aj@suse.de>
27975
27976 [BZ #13114]
27977 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27978 non-existant file when using close-on-exec mode.
27979
c88f1766
UD
279802011-08-20 Ulrich Drepper <drepper@gmail.com>
27981
0276a718
UD
27982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27983 the very first instruction.
27984
c88f1766
UD
27985 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27986 the CFI state in the end.
27987 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27988 inclusion of dl-trampoline.h.
27989 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27990
51ccffa0
AS
279912011-08-19 Andreas Schwab <schwab@redhat.com>
27992
94d7165f
AS
27993 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27994 expectations for long double.
27995
51ccffa0
AS
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27997 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27998
fd708658 279992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28000
28001 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28002 artificual limit depends upon the system page size.
28003
44f0a71e
UD
280042011-08-17 Ulrich Drepper <drepper@gmail.com>
28005
28006 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28007 * resolv/Makefile: Define CFLAGS-libresolv.
28008
8de79a24
AS
280092011-08-17 Andreas Schwab <schwab@redhat.com>
28010
28011 * nss/makedb.c (compute_tables): Make variables used in nested
28012 function static.
28013
27724598
UD
280142011-08-17 Ulrich Drepper <drepper@gmail.com>
28015
c5305d88
UD
28016 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28017 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28018 if buffer was too small.
28019
27724598
UD
28020 * elf/pldd.c (main): Attach to all threads in the process.
28021 Rewrite /proc handling to use *at functions.
28022
076fe015
UD
280232011-08-16 Ulrich Drepper <drepper@gmail.com>
28024
174baab3
UD
28025 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28026 specifies first scope to show.
28027 (dl_open_worker): Update callers. Move printing scope of new
28028 object to before the relocation.
44f0a71e 28029 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28030 * sysdeps/generic/ldsodefs.h: Update declaration.
28031
076fe015
UD
28032 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28033 string for the scope number.
28034
a60df2c3
UD
280352011-08-14 Ulrich Drepper <drepper@gmail.com>
28036
28037 * nscd/servicescache.c (cache_addserv): Make sure written is always
28038 initialized.
28039
5e4287d1
RM
280402011-08-14 Roland McGrath <roland@hack.frob.com>
28041
85ae0589
RM
28042 * sysdeps/i386/i486/bits/atomic.h
28043 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28044 statement expression, so as to suppress "set but not used" warning.
28045 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28046
69f63097
RM
28047 * string/strncat.c (STRNCAT): Use prototype definition.
28048
675456ef
RM
28049 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28050 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28051 -Iprograms here.
28052 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28053 (localedef-modules): Add localedef.
28054 (locale-modules): Add locale.
28055
5e4287d1
RM
28056 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28057 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28058 to avoid a warning.
28059
9c96ff23
DM
280602011-08-14 David S. Miller <davem@davemloft.net>
28061
28062 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28063 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28064
f9ddf089
UD
280652011-08-13 Ulrich Drepper <drepper@gmail.com>
28066
44f0a71e 28067 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28068 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28069 * elf/rtld.c (dl_main): Set l_name of vDSO.
28070 Call _dl_show_scope when DL_DEBUG_SCOPES.
28071 (process_dl_debug): Recognize scopes flag and also set it for all.
28072 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28073 Declare _dl_show_scope.
28074
1dc27704
UD
28075 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28076 (do_dlopen): Pass caller_dlopen to dl_open.
28077 (__libc_dlopen_mode): Initialize caller_dlopen.
28078
f9ddf089
UD
28079 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28080 of libc. Make tolower call locale-independent. Optimize a bit by
28081 using isdigit instead of isalnum.
28082 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28083
9ac533d3
UD
280842011-08-12 Ulrich Drepper <drepper@gmail.com>
28085
28086 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28087 was a dependency or dynamically loaded.
28088
89edf2e9
UD
280892011-08-11 Ulrich Drepper <drepper@gmail.com>
28090
8e999d29
UD
28091 * intl/l10nflist.c: Allow architecture-specific pop function.
28092 * sysdeps/x86_64/l10nflist.c: New file.
28093
89edf2e9
UD
28094 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28095 classification.
28096
14d96785
AS
280972011-08-10 Andreas Schwab <schwab@redhat.com>
28098
28099 * include/dirent.h: Add libc_hidden_proto for scandirat and
28100 scandirat64. Don't declare __scandirat64.
28101 * dirent/scandirat.c: Add libc_hidden_def.
28102 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28103 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28104
6761ac04
DM
281052011-08-10 David S. Miller <davem@davemloft.net>
28106
28107 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28108 enum.
28109 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28111 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28112
c55fbd1e
UD
281132011-08-09 Ulrich Drepper <drepper@gmail.com>
28114
28115 * Versions.def [libc]: Add GLIBC_2.15.
28116 * dirent/Makefile (routines): Add scandirat and scandirat64.
28117 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28118 GLIBC_2.15.
28119 * dirent/dirent.h: Declare scandirat and scandirat64.
28120 * dirent/scandirat.c: New file.
28121 * dirent/scandirat64.c: New file.
28122 * sysdeps/wordsize-64/scandirat.c: New file.
28123 * sysdeps/wordsize-64/scandirat64.c: New file.
28124 * dirent/opendir.c: Define opendirat.
28125 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28126 using scandirat.
28127 * dirent/scandir64.c: Adjust for scandir.c change.
28128 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28129 __scandirat64, and __scandir_cancel_handler.
28130 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28131 additional parameter and use openat instead of open (outside of ld.so).
28132 Add new __opendir as wrapper around __opendirat.
28133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28134 here without requiring old scandirat implementation.
28135
879165f2
UD
281362011-08-08 Ulrich Drepper <drepper@gmail.com>
28137
28138 * dirent/scandir.c (cancel_handler): Renamed to
28139 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28140 defined. Adjust users.
28141 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28142 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28143
cb7e923b
UD
281442011-08-04 Ulrich Drepper <drepper@gmail.com>
28145
16292edd
UD
28146 * string/test-string.h (IMPL): Use __STRING to expand name and then
28147 stringify it.
28148
cb7e923b
UD
28149 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28150 of cleanups.
28151
cff82933
LD
281522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28153
28154 * string/Makefile: Update.
28155 (strop-tests): Append strncat.
28156 * string/test-wcscmp.c: New file.
28157 New comprehensive test for wcscmp.
28158 * string/test-strcmp.c: Update.
28159 (WIDE): New define.
28160
9be9bfcc
AS
281612011-07-22 Andreas Schwab <schwab@redhat.com>
28162
28163 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28164 line.
28165
2e96f1c7
AS
281662011-07-26 Andreas Schwab <schwab@redhat.com>
28167
28168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28169 encoding to ACE if AI_IDN.
28170
85188888
JJ
281712011-08-01 Jakub Jelinek <jakub@redhat.com>
28172
28173 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28174 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28175
5fa16e9b
LD
281762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28177
28178 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28179 Fix overflow bug in strncat.
28180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28181
28182 * string/test-strncat.c: Update.
28183 Add new tests for checking overflow bugs.
28184
281852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28186
28187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28188 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28189 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28190 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28191 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28192 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28193 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28194 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28195 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28196
28197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28198 (USE_AS_STRCAT): Define.
28199 Add strcat and strncat support.
28200 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28201
8c1a459f
AS
282022011-07-25 Andreas Schwab <schwab@redhat.com>
28203
28204 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28205 __n bigger than INT_MAX+1.
28206 (__strncmp_g): Likewise.
28207
bba33c28
UD
282082011-07-23 Ulrich Drepper <drepper@gmail.com>
28209
798be72d
UD
28210 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28211 * libio/stido.h: Likewise.
28212
8accd4dc
UD
28213 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28214 (AF_NFC): Define.
28215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28216 (AF_NFC): Define.
28217
cbff0d96
UD
28218 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28219 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28220 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28221 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28222 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28223
9191c04a
UD
28224 [BZ #13021]
28225 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28226 installed.
28227
bba33c28
UD
28228 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28229 typo.
28230 (_dl_x86_64_save_sse): Likewise.
28231
90f139dd
UD
282322011-07-22 Ulrich Drepper <drepper@gmail.com>
28233
1aae088a
UD
28234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28235 OSXSAVE.
28236 (_dl_x86_64_save_sse): Likewise.
28237
8e2045f5
UD
28238 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28239
90f139dd
UD
28240 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28241
1d002f25
AS
282422011-07-21 Andreas Schwab <schwab@redhat.com>
28243
28244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28245 change.
28246 (_dl_x86_64_save_sse): Use correct AVX check.
28247
21137f89
UD
282482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28249
28250 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28251 bug in strncpy/strncat.
28252 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28253
a65c0b7a
UD
282542011-07-21 Ulrich Drepper <drepper@gmail.com>
28255
28256 * string/tester.c (test_strcat): Add tests for different alignments
28257 of source and destination.
28258 (test_strncat): Likewise.
28259
6986b98a
UD
282602011-07-20 Ulrich Drepper <drepper@gmail.com>
28261
90bb2039
UD
28262 [BZ #12852]
28263 * posix/glob.c (glob): Check passed in values before using them in
28264 expressions to avoid some overflows.
28265 (glob_in_dir): Likewise.
28266
5644ef54
UD
28267 [BZ #13007]
28268 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28269 check for AVX enablement so that we don't crash with old kernels and
28270 new hardware.
28271 * elf/tst-audit4.c: Add same checks here.
28272 * elf/tst-audit6.c: Likewise.
28273
28274 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28275
bfc9dc9b
AS
282762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28277
28278 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28279
702e64bb
UD
282802011-07-20 Ulrich Drepper <drepper@gmail.com>
28281
28282 * po/cs.po: Update from translation team.
28283 * po/bg.po: Likewise.
28284
295e904f
MP
282852011-07-12 Marek Polacek <mpolacek@redhat.com>
28286
28287 * misc/sys/cdefs.h: Add support for const attribute.
28288 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28289 to gnu_dev_{major,minor,makedev} functions.
28290
3ff94596
MP
282912011-07-20 Marek Polacek <mpolacek@redhat.com>
28292
28293 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28294
28b59fca
AS
282952011-07-20 Andreas Schwab <schwab@redhat.com>
28296
28297 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28298 strlen results.
28299
19df733e
AK
283002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28301
28302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28303 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28304 register in order to avoid conflicts with the soft frame pointer
28305 being held in r11 when necessary.
28306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28307 (INTERNAL_VSYSCALL_NCS): Likewise.
28308
c8835729
MP
283092011-07-14 Marek Polacek <mpolacek@redhat.com>
28310
28311 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28312 * elf/dl-fini.c (_dl_fini): Adjust caller.
28313 * elf/dl-close.c (_dl_close_worker): Likewise.
28314 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28315
b902330c
MP
283162011-07-15 Marek Polacek <mpolacek@redhat.com>
28317
8991e135
MP
28318 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28319 "aux_cache->nlibs < 0".
28320
b902330c
MP
28321 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28322 in the reload-count case.
28323
99710781
LD
283242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28325
28326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28327 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28328 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28329 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28330 * sysdeps/x86_64/multiarch/strcat.S: New file.
28331 * sysdeps/x86_64/multiarch/strncat.S: New file.
28332 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28333 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28334 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28335 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28336 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28337 (USE_AS_STRCAT): Define.
28338 Add strcat and strncat support.
28339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28340 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28341 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28342 * string/strncat.c: Update.
28343 (USE_AS_STRNCAT): Define.
28344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28345 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28346 and i7.
28347 * sysdeps/x86_64/multiarch/init-arch.h
28348 (bit_Prefer_PMINUB_for_stringop): New.
28349 (index_Prefer_PMINUB_for_stringop): Likewise.
28350 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28351 bit_Prefer_PMINUB_for_stringop.
28352
7dc6bd90
UD
283532011-07-19 Ulrich Drepper <drepper@gmail.com>
28354
28355 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28356 buffer64.
28357 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28358 of casting of buffer.
28359 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28360 buffer32 and buffer64.
28361 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28362 writes instead of casting of buffer.
28363 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28364 buffer32.
28365 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28366 casting of buffer.
28367
e0e72284
AS
283682011-07-19 Andreas Schwab <schwab@redhat.com>
28369
28370 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28371
feb1eb0b
UD
283722011-07-19 Ulrich Drepper <drepper@gmail.com>
28373
28374 * nscd/nscd.c (termination_handler): Don't do anything for a database
28375 if it has not yet been initialized.
28376
298711ff
UD
283772011-07-18 Ulrich Drepper <drepper@gmail.com>
28378
28379 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28380
283812011-07-15 Marek Polacek <mpolacek@redhat.com>
28382
28383 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28384
f9d68389
UD
283852011-07-18 Ulrich Drepper <drepper@gmail.com>
28386
28387 * po/nl.po: Update from translation team.
28388 * po/sv.po: Likewise.
28389
db290cf5
RM
283902011-07-16 Roland McGrath <roland@hack.frob.com>
28391
28392 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28393 now disallowed by GCC.
5c550700 28394
fd5e21c7
RM
28395 * configure.in (use-default-link): Default to yes if a test -shared
28396 link meets our qualifications.
28397 * configure: Regenerated.
28398
5c550700
RM
28399 * config.make.in (output-format): New variable.
28400 * configure.in: Check for ld --print-output-format support.
28401 * configure: Regenerated.
28402 * Makerules ($(common-objpfx)format.lds)
28403 [$(output-format) != unknown]: Just use $(output-format),
28404 instead of the linker-script munging.
28405
9fa2c032
RM
284062011-07-14 Roland McGrath <roland@hack.frob.com>
28407
a6928d51
RM
28408 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28409 of $(common-objpfx)shlib.lds.
28410 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28411
661607b3
RM
28412 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28413 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28414
9fa2c032
RM
28415 * configure.in (-z relro check): Adjust test code to add a large
28416 writable data section after it.
28417 * configure: Regenerated.
28418
defe9061
RM
284192011-07-11 Roland McGrath <roland@hack.frob.com>
28420
28421 * configure.in (-z relro check): Fix test code to make the variable
28422 truly const.
28423 * configure: Regenerated.
28424
319b9ad4
UD
284252011-07-11 Ulrich Drepper <drepper@gmail.com>
28426
28427 * nscd/nscd.h (struct traced_file): Define.
28428 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28429 elements. Add traced_files.
28430 (inotify_fd): Declare.
28431 (register_traced_file): Declare.
28432 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28433 (inotify_fd): Export.
28434 (resolv_conf_descr): Remove.
28435 (nscd_init): Move inotify descriptor creation to main.
28436 Don't register files for notification here.
28437 (register_traced_file): New function.
28438 (invalidate_cache): Don't use reset_res to determine whether to call
28439 res_init, go through the list of registered files.
28440 (main_loop_poll): The inotify descriptors are now stored in the
28441 structures for the traced files.
28442 (main_loop_epoll): Likewise
28443 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28444 to __nss_disable_nscd.
28445 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28446 for a database anymore. Check the records for all the registered
28447 files instead.
28448 * nss/Makefile (libnss_files-routines): Add files-init.
28449 (libnss_db-routines): Add db-init.
28450 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28451 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28452 * nss/nss_db/db-init.c: New file.
28453 * nss/nss_files/files-init.c: New file.
28454 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28455 __nss_lookup_function.
28456 (__nss_lookup_function): Call nss_load_library.
28457 (nss_load_all_libraries): New function.
28458 (__nss_disable_nscd): Take parameter with callback function for files
28459 to register. Set is_nscd. Load all the DSOs for the NSS modules
28460 used for the cached services.
28461 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28462 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28463 options for features to all the files in nscd.
28464
28465 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28466
23bee3e8
RM
284672011-07-10 Roland McGrath <roland@hack.frob.com>
28468
28469 * csu/elf-init.c (__libc_csu_init): Comment typo.
28470
46a5b7f0
UD
284712011-07-09 Ulrich Drepper <drepper@gmail.com>
28472
28473 * po/pl.po: Update from translation team.
28474 * po/ja.po: Likewise.
28475 * po/ru.po: Likewise.
28476 * po/ko.po: Likewise.
28477 * po/fr.po: Likewise.
28478
d30cf5bb
RM
284792011-07-09 Roland McGrath <roland@hack.frob.com>
28480
113ddea4
RM
28481 * configure.in (.ctors/.dtors header and trailer check):
28482 Use an empirical test on a built program.
28483 * configure: Regenerated.
28484
574920b4
RM
28485 * configure.in (-z relro check): Use an empirical test on a built DSO.
28486 Detect, but do not require, on ia64.
28487 * configure: Regenerated.
28488
d30cf5bb
RM
28489 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28490 Update tests that use readelf to use $READELF instead.
28491 * configure: Regenerated.
28492
8538fdb3
UD
284932011-07-08 Ulrich Drepper <drepper@gmail.com>
28494
28495 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28496 if the result is not used.
28497
04d08991
AJ
284982011-07-05 Andreas Jaeger <aj@suse.de>
28499
28500 [BZ#9696]
28501 * stdlib/tst-strtod.c: Add testcase.
28502
de283087
AD
285032011-07-07 Ulrich Drepper <drepper@gmail.com>
28504
4e5f31c8 28505 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28506 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28507 The latter has a higher limit. Take additional parameter to pass to
28508 the new function.
28509 (__pathconf): Pass file to __statfs_link_max.
28510 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28511 __statfs_link_max.
28512 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28513 __statfs_link_max.
28514
de283087
AD
28515 [BZ #12868]
28516 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28517 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28518 Handle Lustre.
28519 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28520 (__statfs_filesize_max): Likewise.
28521 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28522
c75fa153
AJ
285232011-07-05 Andreas Jaeger <aj@suse.de>
28524
28525 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28526
1a544854
UD
285272011-07-06 Marek Polacek <mpolacek@redhat.com>
28528
28529 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28530 `status' variable.
28531 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28532 Likewise.
28533
6f0eec67
UD
285342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28535
28536 * Makefile (strop-tests): Add strncat.
28537 * string/test-strncat.c: New file.
28538
aae30307
UD
285392011-06-30 Marek Polacek <mpolacek@redhat.com>
28540
28541 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28542
c0cfb5eb
UD
285432011-06-21 Andreas Jaeger <aj@suse.de>
28544
28545 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28546 Copy rule from iconvdata/Makefile.
28547
01636b21
UD
285482011-07-06 Ulrich Drepper <drepper@gmail.com>
28549
28550 [BZ #12922]
28551 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28552 but no long options are defined, just return 'W'.
28553
9895c8bc
UD
285542011-06-22 Marek Polacek <mpolacek@redhat.com>
28555
28556 [BZ #9696]
28557 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28558
5d4cf042
UD
285592011-07-06 Ulrich Drepper <drepper@gmail.com>
28560
28561 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28562 netgroups to read.
960e5535 28563 (innetgr): Likewise.
5d4cf042 28564
751eb97e
RM
285652011-07-05 Roland McGrath <roland@hack.frob.com>
28566
28567 * config.make.in (install_root): Default to $(DESTDIR).
28568
f15f1e45
UD
285692011-07-05 Ulrich Drepper <drepper@gmail.com>
28570
28571 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28572
4e34ac6a
RM
285732011-07-02 Roland McGrath <roland@hack.frob.com>
28574
5e9b6af4
RM
28575 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28576
84f9ea0f
RM
28577 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28578 containing directory rather than embedding absolute directory names.
28579
ea5ee9f7
RM
28580 * scripts/check-local-headers.sh: Rewritten using awk.
28581 Match by word, not by line. Print error messages for matches.
28582 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28583
1b74661a
RM
28584 * Makerules [shlib-lds-flags empty]:
28585 ($(common-objpfx)libc_pic.opts): New target.
28586 ($(common-objpfx)libc_pic.os.clean): New target.
28587 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28588
28589 * config.make.in (OBJCOPY): New variable.
28590 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28591 * configure: Regenerated.
28592
f781ef40
RM
28593 * config.make.in (use-default-link): New variable.
28594 * configure.in (use_default_link): Grok --with-default-link to set it.
28595 * configure: Regenerated.
28596 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28597 (shlib-lds, shlib-lds-flags): Define to empty.
28598
2d4fa81e
RM
28599 * Makerules (shlib-lds): New variable.
28600 (shlib-lds-flags): New variable.
28601 (build-shlib, build-moduile, build-module-asneeded): Use it.
28602 ($(common-objpfx)libc.so): Use $(shlib-lds).
28603 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28604 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28605
31fffa6b
RM
28606 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28607 DT_FLAGS/DT_FLAGS_1 with zero flags.
28608
4e34ac6a
RM
28609 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28610 linker script munging.
28611
fcfc776b
UD
286122011-07-02 Ulrich Drepper <drepper@gmail.com>
28613
28614 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28615 as 128-bit value.
28616 * crypt/sha512.c (sha512_process_block): Perform total addition using
28617 128-bit if possible.
28618 (__sha512_finish_ctx): Likewise.
28619 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28620 as 64-bit value.
28621 * crypt/sha256.c (SWAP64): Define.
28622 (sha256_process_block): Perform total addition using 64-bit if
28623 possible.
28624 (__sha256_finish_ctx): Likewise.
28625
99231d9a
UD
286262011-07-01 Ulrich Drepper <drepper@gmail.com>
28627
28628 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28630 * nscd/hstcache.c (cache_addhst): Likewise.
28631 * nscd/grpcache.c (cache_addgr): Likewise.
28632 * nscd/aicache.c (addhstaiX): Likewise
28633 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28634
445b4a53
TK
286352011-07-01 Thorsten Kukuk <kukuk@suse.de>
28636
28637 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28638 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28639 * nscd/hstcache.c (cache_addhst): Likewise.
28640 * nscd/grpcache.c (cache_addgr): Likewise.
28641 * nscd/aicache.c (addhstaiX): Likewise
28642
6d4d8e8e
AS
286432011-07-01 Andreas Schwab <schwab@redhat.com>
28644
28645 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28646 domain only when needed.
28647
89f654c5
AS
286482011-06-30 Andreas Schwab <schwab@redhat.com>
28649
28650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28651 is always restored.
28652
cf3b23ff
UD
286532011-06-29 Ulrich Drepper <drepper@gmail.com>
28654
28655 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28656 are re-adding the entry.
28657 * nscd/servicescache.c (cache_addserv): Likewise.
28658
751626f9
AJ
286592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28660
28661 * sysdeps/generic/dl-irel.h: fix protection against multiple
28662 inclusions.
28663 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28664
9113ea1f
UD
286652011-06-28 Ulrich Drepper <drepper@gmail.com>
28666
5c0b8d90
UD
28667 [BZ #12935]
28668 * malloc/memusage.sh: Fix quoting in message.
28669 * debug/xtrace.sh: Likewise.
28670
9113ea1f
UD
28671 * configure.in: Remove support for --experimental-malloc option, make
28672 it the default.
28673 * config.make.in: Likewise.
28674 * malloc/Makefile: Likewise.
28675
a4172181
AS
286762011-06-27 Andreas Schwab <schwab@redhat.com>
28677
28678 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28679 two-byte characters.
28680
78a7eee7
RM
286812011-06-27 Roland McGrath <roland@hack.frob.com>
28682
62bede13
RM
28683 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28684 AC_CACHE_CHECK invocation.
28685 * configure: Regenerated.
28686
78a7eee7
RM
28687 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28688
5ce33a62
UD
286892011-06-27 Ulrich Drepper <drepper@gmail.com>
28690
034807a9
UD
28691 [BZ #12350]
28692 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28693 bit from old_res_options.
28694
4902da17
UD
28695 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28696
5ce33a62
UD
28697 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28698 value type for setfct.
28699
c2344f56
L
287002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28701
28702 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28703 __gettimeofday instead of gettimeofday.
28704
68468076
UD
287052011-06-26 Ulrich Drepper <drepper@gmail.com>
28706
28707 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28708
acb0d739
L
287092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28710
28711 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28712
28713 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28714 info.
28715
8912479f
L
287162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28717
28718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28719 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28720 strcpy-sse2-unaligned strncpy-sse2-unaligned
28721 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28722 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28723 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28724 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28725 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28726 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28727 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28728 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28729 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28730 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28731 (STRCPY): Support SSE2 and SSSE3 versions.
28732
d5495a11
UD
287332011-06-24 Ulrich Drepper <drepper@gmail.com>
28734
28735 [BZ #12874]
28736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28737 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28738 kernels which artificially limit size of requests.
28739
0b1cbaae
L
287402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28741
28742 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28743 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28744 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28745 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28746 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28747 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28748 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28749 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28750 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28751 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28752 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28753 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28754 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28755 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28756 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28758 Enable unaligned load optimization for Intel Core i3, i5 and i7
28759 processors.
28760 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28761 Define.
28762 (index_Fast_Unaligned_Load): Define.
28763 (HAS_FAST_UNALIGNED_LOAD): Define.
28764
07f494a0
MP
287652011-06-23 Marek Polacek <mpolacek@redhat.com>
28766
28767 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28768
fa3fc0fe
UD
287692011-06-22 Ulrich Drepper <drepper@gmail.com>
28770
28771 [BZ #12907]
28772 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28773 until it is clear that the information is realy needed.
28774 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28775
e12df166
AS
287762011-06-22 Andreas Schwab <schwab@redhat.com>
28777
28778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28779
852eb34d
UD
287802011-06-22 Ulrich Drepper <drepper@gmail.com>
28781
84e2a551
UD
28782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28783 /sys/devices/system/cpu/online if it is usable.
28784
852eb34d
UD
28785 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28786 reading the information from the /proc filesystem to once a second.
28787
6e502e19
UD
287882011-06-21 Andreas Jaeger <aj@suse.de>
28789
28790 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28791 NULL after inclusion of kernel headers.
28792
75d39ff2
UD
287932011-06-21 Ulrich Drepper <drepper@gmail.com>
28794
51f9aa6a
UD
28795 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28796 calls to internal_setent.
28797
c0244a9d
UD
28798 [BZ #12885]
28799 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28800 addresses using gethostbyname4_r ignore IPv4 addresses.
28801
c5e3c2ae
UD
28802 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28803 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28804
75d39ff2
UD
28805 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28806
42675c6f
DM
288072011-06-20 David S. Miller <davem@davemloft.net>
28808
28809 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28810 inclusions.
28811 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28812
28813 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28814 (elf_irel): Use it.
28815 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28816 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28817 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28818 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28819 * sysdeps/x86_64/dl-irel.h: Likewise.
28820
28821 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28822 * elf/dl-sym.c: Likewise.
28823
57912a71
UD
288242011-06-15 Ulrich Drepper <drepper@gmail.com>
28825
28826 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28827 need to dereference resplen2.
28828
ee22793d
AS
288292011-06-14 Andreas Schwab <schwab@redhat.com>
28830
28831 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28832
a9e836b0
UD
288332011-06-15 Ulrich Drepper <drepper@gmail.com>
28834
77fb9117
UD
28835 * Makeconfig: Define vardbdir and inst_vardbdir.
28836 * nss/Makefile: Add rules to install db-Makefile.
28837
40c1b22c
UD
28838 * nss/nss_db/db-XXX.c: Cleanup.
28839
9f2da732
UD
28840 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28841 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28842 GLIBC_PRIVATE.
28843 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28844 * nss/makedb.c: Implement -g option to specify that value strings
28845 are generated and should not be added to table iterated over for
28846 get*ent calls.
28847 * nss/nss_db/db-initgroups.c: New file.
28848
82e9a1f7
UD
28849 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28850 interface.
28851
c41af17e
UD
28852 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28853 (internal_getgrouplist): Adjust to name change.
28854 Update use_initgroups_entry if this is not the first call.
28855 * nss/databases.def: Add initgroups entry.
28856
a9e836b0
UD
28857 * nss/makedb.c (compute_tables): Check result of multiple hash table
28858 sizes to minimize maximum chain length.
28859
2666d441
UD
288602011-06-14 Ulrich Drepper <drepper@gmail.com>
28861
28862 * Versions.def: Add entry for libnss_db.
28863 * shlib-versions: Likewise.
28864 * nss/Makefile: Add rules to build libnss_db.
28865 * nss/Versions: Add libnss_db information. Organize libnss_files
28866 entries better.
28867 * nss/db-Makefile: Add gshadow support. Change rules for the new
28868 makedb progra. Some minor improvements to generate smaller files.
28869 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28870 here from...
28871 * nss/makedb.c: ...here.
28872 Improve database format to be smaller and require less memory at
28873 runtime.
28874 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28875 db anymore.
28876 * nss/nss_db/db-netgrp.c: Likewise.
28877 * nss/nss_db/db-open.c: Likewise.
28878 * nss/nss_files/flies-XXX.x: Adjust comments.
28879 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28880 * nss/nss_files/files-grp.c: Likewise.
28881 * nss/nss_files/files-hosts.c: Likewise.
28882 * nss/nss_files/files-network.c: Likewise.
28883 * nss/nss_files/files-proto.c: Likewise.
28884 * nss/nss_files/files-pwd.c: Likewise.
28885 * nss/nss_files/files-rpc.c: Likewise.
28886 * nss/nss_files/files-service.c: Likewise.
28887 * nss/nss_files/files-sgrp.c: Likewise.
28888 * nss/nss_files/files-spwd.c: Likewise.
28889 * nss/nss_db/db-alias.c: Removed.
28890 * nss/nss_db/dummy-db.h: Removed.
28891
9ee76b5a
UD
288922011-06-02 Ulrich Drepper <drepper@gmail.com>
28893
28894 * nss/makedb.c: Rewritten to not use database library.
28895 * nss/Makefile: Update to build new makedb program.
28896
c71ca1f8
AJ
288972011-06-14 Andreas Jaeger <aj@suse.de>
28898
28899 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28900 memset declaration.
28901
3154bfb8
UD
289022011-06-10 Andreas Schwab <schwab@redhat.com>
28903
28904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28905 tmpbuf.
28906
b350afab
RM
289072011-06-10 Roland McGrath <roland@hack.frob.com>
28908
decd4e50
RM
28909 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28910 * elf/Makefile ($(objpfx)ld.so): Likewise.
28911
5615eaf2
RM
28912 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28913 Don't list ld.so twice in dependencies.
28914
28915 * posix/bug-regex31.c: Include <stdlib.h>.
28916
28917 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28918
28919 * nis/nss_compat/compat-spwd.c
28920 (getspent_next_nss_netgr): Remove unused variable.
28921 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28922
28923 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28924 nonmembers" output to use the right array.
28925
28926 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28927
28928 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28929
28930 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28931 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28932 * catgets/gencat.c (read_input_file): Likewise.
28933 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28934
28935 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28936 variable definition inside #if's controlling its use.
28937
28938 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28939
28940 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28941
28942 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28943
28944 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28945 unreachable code.
28946
28947 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28948
b68e08db
RM
28949 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28950 * configure: Regenerated.
28951
b350afab
RM
28952 * Makerules: Revert last change.
28953 * elf/Makefile: Likewise.
28954
28368601
RM
289552011-06-09 Roland McGrath <roland@hack.frob.com>
28956
28957 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28958 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28959 (reloc-link): Likewise.
28960
11988f8f
UD
289612011-06-09 Ulrich Drepper <drepper@gmail.com>
28962
28963 * elf/Makefile: Add rules to build pldd.
28964 * elf/pldd.c: New file.
28965 * elf/pldd-xx.c: New file.
28966
e80fab37
UD
289672011-06-07 Ulrich Drepper <drepper@gmail.com>
28968
28969 * version.h: Update for 2.15 development version.
28970
9b849836
DM
289712011-06-07 David S. Miller <davem@davemloft.net>
28972
28973 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28974 ifuncs.
28975 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28976 elf_machine_lazy_rel): Likewise.
28977 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28979 elf_machine_lazy_rel): Likewise.
28980 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28981 dl_hwcap via passed in argument.
28982 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28983 Likewise.
28984
5a31b283
AK
289852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28986
28987 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28988
069e52f8
RM
289892011-06-06 Roland McGrath <roland@hack.frob.com>
28990
28991 [BZ #12849]
28992 * manual/fdl-1.1.texi: New file, verbatim from:
28993 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28994 * manual/lgpl-2.1.texi: New file, verbatim from:
28995 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28996 * manual/Makefile (licenses): New variable, list those new file names.
28997 (texis): Use it.
28998 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28999
29000 * manual/fdl.texi: File removed.
29001 * manual/lesser.texi: File removed.
29002 * manual/libc.texinfo (Copying, Documentation License):
29003 Use new @include file names, put @appendix directive before @include.
29004
f16846a5
JJ
290052011-06-04 Jakub Jelinek <jakub@redhat.com>
29006
29007 [BZ #12841]
29008 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29009 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29010 (mq_open): Add __NTH.
29011
3d29045b
L
290122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29013
29014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29015 Assume Intel Core i3/i5/i7 processor if AVX is available.
29016
8c297311
UD
290172011-05-31 Ulrich Drepper <drepper@gmail.com>
29018
29019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29020 typo.
29021
c8fc0c91
UD
290222011-05-31 Andreas Schwab <schwab@redhat.com>
29023
29024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29025 memory. Use alloca_account. Fix memory leak when retrying.
29026
5b27a807
UD
290272011-05-31 Ulrich Drepper <drepper@gmail.com>
29028
356f8bc6
UD
29029 * version.h (RELEASE): Bump for 2.14 release.
29030 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29031
5b27a807
UD
29032 * config.make.in (RANLIB): Remove entry.
29033
01f16ab0
UD
290342011-05-30 Ulrich Drepper <drepper@gmail.com>
29035
41fce8bd
UD
29036 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29037 (libc.pot): Work around missing support for .ksh extension in xgettext.
29038
4769ae77
UD
29039 [BZ #12684]
29040 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29041 if both request failed.
29042 (send_dg): In case of server errors clear resplen or *resplen2.
29043
6b1e7d19
UD
29044 [BZ #12454]
29045 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29046 when there are multiple maps.
29047 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29048 (_dl_fini): Remove test here.
29049
01f16ab0
UD
29050 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29051
b1ebd700
UD
290522011-05-29 Ulrich Drepper <drepper@gmail.com>
29053
7ae22829
UD
29054 [BZ #12350]
29055 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29056 bit from old_res_options.
29057 (gaih_inet): Likewise.
29058
553149f6 29059 [BZ #11099]
18a84741 29060 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29061 as signed.
29062
652ffab1
UD
29063 * resolv/res_init.c (res_setoptions): Make the code more compact.
29064
16985fd0
UD
29065 [BZ #11558]
29066 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29067 set RES_USEVC.
29068
0464f746
UD
29069 [BZ #11634]
29070 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29071
7d17596c
UD
29072 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29073
cf6bbbd7
UD
29074 [BZ #11781]
29075 * malloc/malloc.h: Declare malloc hook variables as volatile.
29076
13f1ab36
UD
29077 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29078 in last patch.
29079
b1ebd700
UD
29080 [BZ #11799]
29081 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29082 raise in the comment.
80e2212d
UD
29083 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29084 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29085 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29086
ce67228d
UD
290872011-05-28 Ulrich Drepper <drepper@gmail.com>
29088
8887a920
UD
29089 [BZ #12811]
29090 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29091 grow the buffers more if it already has to be sufficient.
29092 (build_wcs_upper_buffer): Likewise.
29093 * posix/regexec.c (check_matching): Likewise.
29094 (clean_state_log_if_needed): Likewise.
29095 (extend_buffers): Don't enlarge buffers beyond size of the input
29096 buffer.
29097 Patches mostly by Emil Wojak <emil@wojak.eu>.
29098 * posix/bug-regex32.c: New file.
29099 * posix/Makefile (tests): Add bug-regex32.
29100
4f031072
UD
29101 * locale/findlocale.c (_nl_find_locale): Return right away if
29102 _nl_explode_name failed.
29103 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29104
d0478f0c
UD
29105 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29106
de81b246
UD
29107 * debug/xtrace.sh: Unify messages.
29108 * malloc/memusage.sh: Likewise.
29109
c738465a
UD
29110 [BZ #12813]
29111 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29112 time symbol from vDSO. Substitute with vsyscall if not available.
29113 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29114 __vdso_time.
29115
f1f929d7
UD
29116 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29117 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29118 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29119 Add sendmmsg and internal_sendmmsg.
29120 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29121 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29122 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29123
ce67228d
UD
29124 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29125 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29126 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29127
e57420c6
UD
291282011-05-27 Ulrich Drepper <drepper@gmail.com>
29129
a8509ca5
UD
29130 [BZ #12813]
29131 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29132 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29133 available.
29134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29135 __vdso_getcpu.
29136
e57420c6
UD
29137 [BZ #12814]
29138 * iconvdata/Makefile (tests): Add bug-iconv9.
29139 * iconvdata/bug-iconv9.c: New file.
29140
4d07db15
AS
291412011-05-27 Andreas Schwab <schwab@redhat.com>
29142
29143 [BZ #12814]
29144 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29145
ea486f69
JJ
291462011-05-25 Jakub Jelinek <jakub@redhat.com>
29147
29148 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29149 (struct user_regs_struct): Change intcs field back to cs.
29150
6f038433
UD
291512011-05-25 Ulrich Drepper <drepper@gmail.com>
29152
29153 * po/ja.po: Update from translation team.
29154
67f86a25
UD
291552011-05-23 Ulrich Drepper <drepper@gmail.com>
29156
29157 [BZ #12795]
29158 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29159 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29160
def7fbd6
AS
291612011-05-20 Andreas Schwab <schwab@redhat.com>
29162
29163 * stdlib/longlong.h: Update from GCC.
29164
f50ef8f1
AS
291652011-05-23 Andreas Schwab <schwab@redhat.com>
29166
29167 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29168 parameter name.
29169 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29170 Add parameter name.
29171 (__sysconf): Pass it down.
29172
de7ce8f1
UD
291732011-05-22 Ulrich Drepper <drepper@gmail.com>
29174
f2962a71
UD
29175 [BZ #12671]
29176 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29177 some situations.
29178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29179 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29180 add in in __libc_use_alloca calls. Adjust callers.
29181 (glob): Use malloc in some situations.
29182
de7ce8f1
UD
29183 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29184 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29185 pltexit.
29186
aec84f53
UD
291872011-05-21 Ulrich Drepper <drepper@gmail.com>
29188
05bb4a68
UD
29189 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29190 and CLOCK_BOOTTIME_ALARM.
29191
7ea72f99
UD
29192 [BZ #12782]
29193 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29194 is returned.
29195
7e4afad5
UD
29196 * string/_strerror.c (__strerror_r): Print negative errors as signed
29197 numbers.
29198
8e211fec
UD
29199 [BZ #12777]
29200 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29201 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29202 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29203
f7d82dc9
UD
29204 * configure.in: Fix typo in redirection and correct removal of test
29205 files in two cases.
29206
cc9e536d
UD
29207 [BZ #12788]
29208 * locale/setlocale.c (new_composite_name): Fix test to check for
29209 identical name of all categories.
29210
aec84f53
UD
29211 [BZ #12792]
29212 * libio/filedoalloc.c (local_isatty): New function.
29213 (_IO_file_doallocate): Use local_isatty.
29214 * stdio-common/perror.c (perror): In case a new stream is used
29215 forward the stream error.
29216 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29217 error flag.
29218
78e64fdc
RT
292192011-05-20 Ulrich Drepper <drepper@gmail.com>
29220
34a9094f
UD
29221 [BZ #11869]
29222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29223 alloca.
29224 * include/alloca.h (extend_alloca_account): Define.
29225
78e64fdc
RT
29226 [BZ #11857]
29227 * posix/regex.h: Fix comments with documentation of user-accessible
29228 fields after compilation and describe correct free'ing of pattern
29229 after re_compile_pattern.
29230 Patch by Reuben Thomas <rrt@sc3d.org>.
29231
457bddfc
RA
292322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29233
29234 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29235 and -mno-altivec to prevent the compiler from using Altivec and/or
29236 VSX instructions when the corresponding registers are not available.
29237
a4527b51
AS
292382011-05-19 Andreas Schwab <schwab@redhat.com>
29239
29240 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29241
ed690b2f
UD
292422011-05-19 Ulrich Drepper <drepper@gmail.com>
29243
29244 * libio/freopen.c (freopen): Use __dup2, not dup2.
29245 * libio/freopen64.c (freopen64): Likewise.
29246
8db73634
L
292472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29248
29249 [BZ #12775]
29250 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29251 * math/Makefile (tests): Add test-powl.
29252 (CFLAGS-test-powl.c): Define.
29253 * math/test-powl.c: New file.
29254
0a197a9d
L
292552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29256
29257 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29258
ee30c380
UD
292592011-05-17 Ulrich Drepper <drepper@gmail.com>
29260
29261 [BZ #11837]
29262 * iconvdata/gb18030.c: Update to GB18020-2005.
29263
6ce75379
UD
292642011-05-16 Ulrich Drepper <drepper@gmail.com>
29265
a4b89fd8
AR
29266 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29267 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29268 Patch by Aharon Robbins <arnold@skeeve.com>.
29269
ea389b12
UD
29270 [BZ #11892]
29271 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29272 on the stack.
29273
68a3f91f
UD
29274 [BZ #11895]
29275 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29276 through underflows.
29277
15cc7dd1
UD
29278 [BZ #12766]
29279 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29280 point to strings before performing equality test for error_one_per_line
29281 mode.
29282
f3799213
UD
29283 [BZ #11697]
29284 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29285
d79a9c94
UD
29286 [BZ #11820]
29287 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29288 (struct user_fpregs_struct): Avoid __uint*_t types.
29289
56e5eb46
UD
29290 [BZ #6420]
29291 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29292 symbol info. Use it instead of calling _dl_addr locally.
29293 (lock_and_info): New function.
29294 (tr_freehook): Call lock_and_info and pass symbol info as additional
29295 parameter to tr_where.
29296 (tr_mallochook): Likewise.
29297 (tr_reallochook): Likewise.
29298 (tr_memalignhook): Likewise.
29299
6ce75379
UD
29300 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29301 used and couldn't be at all thread-safe.
29302
f8a3b5bf
UD
293032011-05-15 Ulrich Drepper <drepper@gmail.com>
29304
94b7cc37
UD
29305 * libio/freopen.c (freopen): Don't close old file descriptor
29306 before the new one is opened. Instead dup the new file descriptor
29307 to the old one after the new stream is created.
29308 * libio/freopen64.c (freopen64): Likewise.
29309 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29310 * libio/fileops.c (_IO_new_file_close_it): Handle new
29311 _IO_FLAGS2_NOCLOSE flag.
29312 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29313 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29314 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29315 _IO_FLAGS2_NOCLOSE flag.
29316 * include/unistd.h: Add hidden_proto for dup3.
29317 Define __have_dup3.
29318 * io/dup3.c: Define hidden symbol.
29319 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29320
bd25564e
UD
29321 [BZ #7101]
29322 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29323 when an incomplete long option is used.
29324 * posix/tst-getopt_long1.c: New file.
29325 * posix/Makefile (tests): Add tst-getopt_long1.
29326
c84cfef4
UD
29327 [BZ #10138]
29328 * scripts/config.guess: Update from autoconf-2.68.
29329 * scripts/config.sub: Likewise.
29330
3b85df27
UD
29331 [BZ #10157]
29332 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29333 tests into ...
29334 (has_cpuclock): ...this. New function.
29335 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29336 macro here based on has_cpuclock code.
29337
15a856b1
UD
29338 [BZ #10149]
29339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29340 First byte (not low byte) is now always NUL.
29341 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29342
05f399e6
UD
29343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29344 Use non-cancelable interfaces.
29345
10a52685 29346 [BZ #9809]
94ecc67d
UD
29347 * locale/iso-639.def: Add entry for Sorani.
29348
f8a3b5bf
UD
29349 [BZ #11901]
29350 * include/stdlib.h: Move include protection to the right place.
29351 Define abort_msg_s. Declare __abort_msg with it.
29352 * stdlib/abort.c (__abort_msg): Adjust type.
29353 * assert/assert.c (__assert_fail_base): New function. Majority
29354 of code from __assert_fail. Allocate memory for __abort_msg with
29355 mmap.
29356 (__assert_fail): Now call __assert_fail_base.
29357 * assert/assert-perr.c: Remove bulk of implementation. Use
29358 __assert_fail_base.
29359 * include/assert.hL Declare __assert_fail_base.
29360 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29361 mmap.
29362 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29363
1af4e298
UD
293642011-05-14 Ulrich Drepper <drepper@gmail.com>
29365
f8a3b5bf 29366 [BZ #11952]
d26dfc60
MG
29367 [BZ #12453]
29368 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29369 until all modules are registered in the DTV.
29370 * elf/Makefile: Add rules to build and run tst-tls19.
29371 * elf/tst-tls19.c: New file.
29372 * elf/tst-tls19mod1.c: New file.
29373 * elf/tst-tls19mod2.c: New file.
29374 * elf/tst-tls19mod3.c: New file.
29375 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29376
2fc54d6f
UD
29377 [BZ #12083]
29378 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29379 correctly.
29380
98d76b46
UD
29381 [BZ #12601]
29382 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29383 two-byte sequence errors.
29384 * iconvdata/Makefile (tests): Add bug-iconv8.
29385 * iconvdata/bug-iconv8.c: New file.
29386
da3c19ef
UD
29387 [BZ #12626]
29388 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29389 buf2 definition.
29390
ca408c15
UD
29391 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29392
d6f67f7d
UD
29393 [BZ #12432]
29394 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29395 (dummy_getcfa): New function.
29396 (init): Get _Unwind_GetCFA address, use dummy if not found.
29397 (backtrace_helper): In recursion check, also check whether CFA changes.
29398 (__backtrace): Completely initialize arg.
29399
1af4e298 29400 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29401 storing incomplete byte sequence in state object. Avoid testing for
29402 guaranteed too small input if we know there is enough data available.
1af4e298 29403
da62f81b
AS
294042011-05-11 Andreas Schwab <schwab@redhat.com>
29405
29406 * Makeconfig (+link-pie): Indent.
29407 * Rules (binaries-pie): Define if $(have-fpie) and
29408 $(build-shared).
29409 (binaries-shared): Also filter out $(binaries-pie).
29410 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29411 * nscd/Makefile (others-pie): Add nscd.
29412 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29413 ($(objpfx)nscd): Remove command override.
29414 * login/Makefile (others-pie): Add pt_chown.
29415 ($(objpfx)pt_chown): Remove command override.
29416 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29417 remove command overrides.
29418
fcabc0f8
UD
294192011-05-13 Ulrich Drepper <drepper@gmail.com>
29420
20030ae6
UD
29421 * libio/tst_putwc.c: Fix error messages.
29422
fcabc0f8
UD
29423 [BZ #12724]
29424 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29425 currently writing and seek to current position when not.
29426 * libio/Makefile (tests): Add bug-fclose1.
29427 * libio/bug-fclose1.c: New file.
29428
320a5dc0
PB
294292011-05-12 Ulrich Drepper <drepper@gmail.com>
29430
29431 [BZ #12511]
29432 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29433 don't set DF_1_NODELETE here.
29434 (do_lookup_x): When entering new entry test for copy relocation
29435 and if necessary set DF_1_NODELETE flag.
29436 * elf/tst-unique4.cc: New file.
29437 * elf/tst-unique4.h: New file.
29438 * elf/tst-unique4lib.cc: New file.
29439 * elf/Makefile: Add rules to build and run tst-unique4.
29440 Patch by Piotr Bury <pbury@goahead.com>.
29441
22836f52
UD
294422011-05-11 Ulrich Drepper <drepper@gmail.com>
29443
f574184a
UD
29444 [BZ #12052]
29445 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29446
e1fb097f
UD
29447 [BZ #12625]
29448 * misc/mntent_r.c (addmntent): Flush the stream after the output
29449
22836f52
UD
29450 [BZ #12393]
29451 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29452 (is_trusted_path_normalize): Skip initial colon. Append slash
29453 to empty buffer. Duplicate is_trusted_path code but allow
29454 constructed patch to be prefix.
29455 (is_dst): Allow $ORIGIN followed by /.
29456 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29457 Correct testing of result of is_trusted_path_normalize
29458 (decompose_rpath): Fix warning.
29459
7b3b0b2a
UD
294602011-05-10 Ulrich Drepper <drepper@gmail.com>
29461
29462 [BZ #11257]
29463 * grp/initgroups.c (internal_getgrouplist): When we found the service
29464 list through the initgroups entry in nsswitch.conf do not always
29465 continue on a successful lookup. Don't always use the
eac80ce2 29466 __nss_group_database value if it is set.
7b3b0b2a
UD
29467 * nss/nsswitch.conf (initgroups): Change action for successful db
29468 lookup to continue for compatibility.
29469
2a81eaa5
UD
294702011-05-09 Ulrich Drepper <drepper@gmail.com>
29471
be97a69e
UD
29472 [BZ #11532]
29473 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29474 and CP774 modules.
29475 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29476 and CP774 modules.
29477 * iconvdata/tst-tables.sh: Likewise.
29478 * iconvdata/cp770.c: New file.
29479 * iconvdata/cp771.c: New file.
29480 * iconvdata/cp772.c: New file.
29481 * iconvdata/cp773.c: New file.
29482 * iconvdata/cp774.c: New file.
29483 * iconvdata/testdata/CP770: New file.
29484 * iconvdata/testdata/CP770..UTF8: New file.
29485 * iconvdata/testdata/CP771: New file.
29486 * iconvdata/testdata/CP771..UTF8: New file.
29487 * iconvdata/testdata/CP772: New file.
29488 * iconvdata/testdata/CP772..UTF8: New file.
29489 * iconvdata/testdata/CP773: New file.
29490 * iconvdata/testdata/CP773..UTF8: New file.
29491 * iconvdata/testdata/CP774: New file.
29492 * iconvdata/testdata/CP774..UTF8: New file.
29493
29494 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29495 END CHARMAP line.
29496 * iconvdata/gen-8bit-gap.sh: Likewise.
29497 * iconvdata/gen-8bit.sh: Likewise.
29498
c1e9e399
UD
29499 * locale/iso-639.def: Add ary entry.
29500
24c55fb3 29501 [BZ #11258]
96b4b1b0
UD
29502 * locale/C-translit.h.in: Add U20A1 transliteration.
29503
bdc2f971
KB
29504 [BZ #12178]
29505 * locale/iso-639.def: Add wae entry.
29506 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29507
2952b117
UD
29508 [BZ #12545]
29509 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29510 for n.
29511
2a81eaa5
UD
29512 [BZ #12711]
29513 * locale/C-translit.h.in: Add entry for U20B9.
29514 Patch by pravin.d.s@gmail.com.
29515
28377d1b
UD
295162011-05-08 Ulrich Drepper <drepper@gmail.com>
29517
7fb90fb8
UD
29518 [BZ #12713]
29519 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29520 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29521 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29522 in rtld. Use *stat64.
7fb90fb8 29523 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29524 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29525 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29526 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29527 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29528 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29529 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29530 __fstatat64 macros.
7fb90fb8
UD
29531 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29532 * dirent/rewinddir.c: Add libc_hidden_def.
29533 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29534 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29535
28377d1b
UD
29536 * include/dirent.h (__alloc_dir): Add flags parameter.
29537 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29538 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29539 __alloc_dir.
29540 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29541 from fdopendir if O_CLOEXEC is already set.
29542
66bdbaa4
AM
295432011-03-15 Alan Modra <amodra@gmail.com>
29544
29545 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29546 l_tls_firstbyte_offset non-zero. Save padding offset in
29547 l_tls_firstbyte_offset for later use.
29548 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29549 freeing static tls block.
29550
95721191
JN
295512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29552
29553 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29554 where #ifdef was intended. The intent is to prevent ARG_MAX from
29555 being defined by the kernel headers.
29556
f87dfb1f
UD
295572011-05-07 Ulrich Drepper <drepper@gmail.com>
29558
29559 [BZ #12734]
29560 * resolv/resolv.h: Define RES_NOTLDQUERY.
29561 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29562 no-tld-query and set RES_NOTLDQUERY.
29563 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29564 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29565 modern BIND to search name as TLD unless forbidden.
29566
47c3cd7a
UD
295672011-05-07 Petr Baudis <pasky@suse.cz>
29568 Ulrich Drepper <drepper@gmail.com>
29569
29570 [BZ #12393]
29571 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29572 (is_trusted_path): ...to here.
c1e9ea35 29573 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29574 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29575 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29576
8a35c912
PP
295772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29578
29579 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29580 __BEGIN/__END_DECLS.
29581
acd41f47
UD
295822011-05-06 Ulrich Drepper <drepper@gmail.com>
29583
29584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29585 NSS_STATUS_NOTFOUND if no record was found.
29586
597df647
AS
295872011-05-05 Andreas Schwab <schwab@redhat.com>
29588
29589 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29590 (headers-not-in-tirpc): Remove rpc/netdb.h
29591 * resolv/netdb.h: Revert last change.
29592
b9af1301
PP
295932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29594
29595 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29596 circular dependency between libgcc.a and libc.a.
29597
4e34d5f5
AS
295982011-05-05 Andreas Schwab <schwab@redhat.com>
29599
29600 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29601 * nis/Makefile: Don't install rpcsvc/*.
29602 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29603 instead of <rpc/types.h>.
29604 (MAXHOSTNAMELEN): Define.
29605
00ee369c
AS
296062011-05-03 Andreas Schwab <schwab@redhat.com>
29607
29608 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29609
0b592a30
MB
296102011-04-28 Maciej Babinski <mbabinski@google.com>
29611
29612 [BZ #12714]
29613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29614 gethostbyname4_r when IPv6 results are possible.
29615
6e04cbbe
UD
296162011-05-02 Ulrich Drepper <drepper@gmail.com>
29617
29618 [BZ #12723]
29619 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29620 _PC_PIPE_BUF handling.
29621
e4ecafe0
BH
296222011-04-30 Bruno Haible <bruno@clisp.org>
29623
29624 [BZ #12717]
29625 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29626 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29627 to 'int'.
29628 * inet/getnameinfo.c (getnameinfo): Likewise.
29629
125ee683
UD
296302011-04-29 Ulrich Drepper <drepper@gmail.com>
29631
29632 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29633 to groups setting in database lookup.
29634 * nss/nsswitch.conf: Add initgroups entry.
29635
b722481a
EB
296362011-04-22 Ulrich Drepper <drepper@gmail.com>
29637
29638 [BZ #12685]
29639 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29640 mode string.
29641 Patch by Eric Blake <eblake@redhat.com>.
29642
4df46dbd
L
296432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29644
29645 * sunrpc/Makefile (need-export-routines): Add svc_run.
29646 (routines): Remove svc_run.
29647 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29648 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29649 * sunrpc/svc_run.c (svc_run): Likewise.
29650 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29651
e84142d2
UD
296522011-04-21 Ulrich Drepper <drepper@gmail.com>
29653
29654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29655 problem in reallocation in last patch.
29656
877175d8
UD
296572011-04-20 Ulrich Drepper <drepper@gmail.com>
29658
29659 * sunrpc/Makefile: Move inclusion of Rules.
29660
ab8eed78
UD
296612011-04-19 Ulrich Drepper <drepper@gmail.com>
29662
29663 * nss/nss_files/files-initgroups.c: New file.
29664 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29665 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29666 _nss_files_initgroups_dyn.
29667
e3d8f584
RS
296682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29669
29670 * elf/elf.h (R_ARM_IRELATIVE): Define.
29671
af190f45
UD
296722011-04-19 Ulrich Drepper <drepper@gmail.com>
29673
29674 * po/ru.po: Update from translation team.
29675
53cf59ef
UD
296762011-04-17 Ulrich Drepper <drepper@gmail.com>
29677
29678 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29679 dependencies.
29680
4c559bcd
MF
296812011-02-06 Mike Frysinger <vapier@gentoo.org>
29682
29683 [BZ #12653]
29684 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29685 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29687 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29688 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29689
4420675c
AS
296902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29691
29692 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29693 differing bytes.
29694 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29697
75ea32ab
UD
296982011-04-17 Ulrich Drepper <drepper@gmail.com>
29699
29700 [BZ #12420]
29701 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29702 storing it.
29703 * stdlib/bug-getcontext.c: New file.
29704 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29705
27390476
AK
297062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29707
29708 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29709 instructions into .machine "z9-109".
29710 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29711 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29712
10442705
AK
297132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29714
29715 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29716 between environment variables and auxiliary vector.
29717
7b57bfe5
UD
297182011-04-16 Ulrich Drepper <drepper@gmail.com>
29719
29720 * Makefile: Add rules to build linkobj/libc.so.
29721 * include/libc-symbols.h: Define libc_hidden_nolink.
29722 * include/rpc/auth.h: Mark functions which are to be hidden.
29723 * include/rpc/auth_des.h: Likewise.
29724 * include/rpc/auth_unix.h: Likewise.
29725 * include/rpc/clnt.h: Likewise.
29726 * include/rpc/des_crypt.h: Likewise.
29727 * include/rpc/key_prot.h: Likewise.
29728 * include/rpc/pmap_clnt.h: Likewise.
29729 * include/rpc/pmap_prot.h: Likewise.
29730 * include/rpc/pmap_rmt.h: Likewise.
29731 * include/rpc/rpc_msg.h: Likewise.
29732 * include/rpc/svc.h: Likewise.
29733 * include/rpc/svc_auth.h: Likewise.
29734 * include/rpc/xdr.h: Likewise.
29735 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29736 * nss/Makefile: Likewise.
29737 * sunrpc/Makefile: Don't install headers. Build library with normal
29738 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29739 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29740 for the compat linking library. Remove use of INTDEF/INTUSE.
29741 * sunrpc/auth_none.c: Likewise.
29742 * sunrpc/auth_unix.c: Likewise.
29743 * sunrpc/authdes_prot.c: Likewise.
29744 * sunrpc/authuxprot.c: Likewise.
29745 * sunrpc/clnt_gen.c: Likewise.
29746 * sunrpc/clnt_perr.c: Likewise.
29747 * sunrpc/clnt_raw.c: Likewise.
29748 * sunrpc/clnt_simp.c: Likewise.
29749 * sunrpc/clnt_tcp.c: Likewise.
29750 * sunrpc/clnt_udp.c: Likewise.
29751 * sunrpc/clnt_unix.c: Likewise.
29752 * sunrpc/des_crypt.c: Likewise.
29753 * sunrpc/des_soft.c: Likewise.
29754 * sunrpc/get_myaddr.c: Likewise.
29755 * sunrpc/key_call.c: Likewise.
29756 * sunrpc/key_prot.c: Likewise.
29757 * sunrpc/netname.c: Likewise.
29758 * sunrpc/pm_getmaps.c: Likewise.
29759 * sunrpc/pm_getport.c: Likewise.
29760 * sunrpc/pmap_clnt.c: Likewise.
29761 * sunrpc/pmap_prot.c: Likewise.
29762 * sunrpc/pmap_prot2.c: Likewise.
29763 * sunrpc/pmap_rmt.c: Likewise.
29764 * sunrpc/publickey.c: Likewise.
29765 * sunrpc/rpc_cmsg.c: Likewise.
29766 * sunrpc/rpc_common.c: Likewise.
29767 * sunrpc/rpc_dtable.c: Likewise.
29768 * sunrpc/rpc_prot.c: Likewise.
29769 * sunrpc/rpc_thread.c: Likewise.
29770 * sunrpc/rtime.c: Likewise.
29771 * sunrpc/svc.c: Likewise.
29772 * sunrpc/svc_auth.c: Likewise.
29773 * sunrpc/svc_authux.c: Likewise.
29774 * sunrpc/svc_raw.c: Likewise.
29775 * sunrpc/svc_run.c: Likewise.
29776 * sunrpc/svc_simple.c: Likewise.
29777 * sunrpc/svc_tcp.c: Likewise.
29778 * sunrpc/svc_udp.c: Likewise.
29779 * sunrpc/svc_unix.c: Likewise.
29780 * sunrpc/svcauth_des.c: Likewise.
29781 * sunrpc/xcrypt.c: Likewise.
29782 * sunrpc/xdr.c: Likewise.
29783 * sunrpc/xdr_array.c: Likewise.
29784 * sunrpc/xdr_float.c: Likewise.
29785 * sunrpc/xdr_intXX_t.c: Likewise.
29786 * sunrpc/xdr_mem.c: Likewise.
29787 * sunrpc/xdr_rec.c: Likewise.
29788 * sunrpc/xdr_ref.c: Likewise.
29789 * sunrpc/xdr_sizeof.c: Likewise.
29790 * sunrpc/xdr_stdio.c: Likewise.
29791
e6c61494
UD
297922011-04-10 Ulrich Drepper <drepper@gmail.com>
29793
29794 [BZ #12650]
29795 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29796 * sysdeps/ia64/dl-tls.h: Likewise.
29797 * sysdeps/powerpc/dl-tls.h: Likewise.
29798 * sysdeps/s390/dl-tls.h: Likewise.
29799 * sysdeps/sh/dl-tls.h: Likewise.
29800 * sysdeps/sparc/dl-tls.h: Likewise.
29801 * sysdeps/x86_64/dl-tls.h: Likewise.
29802 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29803
34fe483e
AS
298042011-03-14 Andreas Schwab <schwab@redhat.com>
29805
29806 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29807 rpath element also skip the following colon.
29808 (expand_dynamic_string_token): Add is_path parameter and pass
29809 down to DL_DST_REQUIRED and _dl_dst_substitute.
29810 (decompose_rpath): Call expand_dynamic_string_token with
29811 non-zero is_path. Ignore empty rpaths.
29812 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29813 with zero is_path.
29814
f12a32e6
AS
298152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29816
29817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29818 Make cancelable.
29819
38a7d692
UD
298202011-04-09 Ulrich Drepper <drepper@gmail.com>
29821
29822 [BZ #12655]
29823 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29824 Patch by Filipe David Manana <fdmanana@apache.org>.
29825
e451d22b
AS
298262011-04-07 Andreas Schwab <schwab@redhat.com>
29827
29828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29829 Maintain aligned stack.
29830 (CHECK_RSP): Remove unused macro.
29831
dedc7c7b
UD
298322011-04-03 Ulrich Drepper <drepper@gmail.com>
29833
29834 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29835 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29836
94521213
UD
298372011-04-02 Ulrich Drepper <drepper@gmail.com>
29838
29839 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29840
8cb700c0 29841 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29842
0354e355
L
298432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29844
29845 [BZ #12518]
29846 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29847 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29848 * sysdeps/x86_64/memmove.c: New file.
29849 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29850 (memcpy): Renamed to ...
29851 (__new_memcpy): This.
29852 (memcpy): Provide GLIBC_2_14 memcpy.
29853 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29854 (memcpy): Provide GLIBC_2_2_5 memcpy.
29855
8593482f
UD
298562011-04-01 Ulrich Drepper <drepper@gmail.com>
29857
29858 [BZ #12631]
29859 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29860
81a5726b
AS
298612011-03-30 Andreas Schwab <schwab@redhat.com>
29862
29863 * misc/syncfs.c: New file.
29864 * misc/Makefile (routines): Add syncfs.
29865 * posix/unistd.h: Declare syncfs.
29866 * sysdeps/unix/syscalls.list: Add syncfs.
29867
00e5419f
AS
298682011-04-01 Andreas Schwab <schwab@redhat.com>
29869
29870 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29871 open_by_handle_at.
29872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29873 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29875 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29877 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29879
748876bf
UD
298802011-04-01 Ulrich Drepper <drepper@gmail.com>
29881
658e451d
UD
29882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29883 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29884 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29885 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29886 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29888 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29889
748876bf
UD
29890 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29891 sync_file_range.c with -fexceptions.
29892 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29893 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29894 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29895 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29896 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29897 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29898 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29899 sync_file_range as cancellation point
29900 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29901 now a wrapper around __call_sync_file_range with cancellation handling.
29902 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29903 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29904 function name to __call_sync_file_range.
29905 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29906 Add call_sync_file_range.
748876bf 29907
6e63d5e1
AS
299082011-04-01 Andreas Schwab <schwab@redhat.com>
29909
29910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29911 bits/timex.h.
6e63d5e1 29912
46998f74
UD
299132011-04-01 Ulrich Drepper <drepper@gmail.com>
29914
4c1423ed
UD
29915 * iconv/iconv.h: Fix typo in comment.
29916 * io/fcntl.h: Likewise.
29917 * libio/stdio.h: Likewise.
29918 * posix/spawn.h: Likewise.
29919 * posix/unistd.h: Likewise.
29920 * stdlib/stdlib.h: Likewise.
29921 * time/time.h: Likewise.
29922 * wcsmbs/wchar.h: Likewise.
29923
158648c0
UD
29924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29925 open_by_handle): Add.
29926 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29927 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29928 Augment a few comments.
29929 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29931 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29933 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29934 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29935 open_by_handle.
29936
46998f74
UD
29937 * io/fcntl.h (AT_EMPTY_PATH): Define.
29938
83fe108b
UD
299392011-03-30 Ulrich Drepper <drepper@gmail.com>
29940
29941 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29942 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29943 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29944 to...
29945 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29946 * Versions.def: Add GLIBC_2.14.
29947 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29948 Export.
83fe108b 29949
bb242059
UD
299502011-03-22 Ulrich Drepper <drepper@gmail.com>
29951
29952 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29953 round counter.
29954 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29955
c97a1282
L
299562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29957
29958 [BZ #12597]
29959 * string/test-strncmp.c (do_page_test): New function.
29960 (check2): Likewise.
29961 (test_main): Call check2.
29962 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29963
2a115601
UD
299642011-03-20 Ulrich Drepper <drepper@gmail.com>
29965
29966 [BZ #12587]
29967 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29968 Handle cache information in CPU leaf 4.
29969 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29970
8126d904
UD
299712011-03-18 Ulrich Drepper <drepper@gmail.com>
29972
042c49c6 29973 [BZ #12583]
8126d904
UD
29974 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29975 character representation.
29976 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29977
ccfe366e
RA
299782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29979
29980 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29981 END(__isnan) to END(__isnanf) to match function entry point/label
29982 EALIGN(__isnanf,...).
29983
c6e13027
JJ
299842011-03-10 Jakub Jelinek <jakub@redhat.com>
29985
29986 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29987
33f85a3f
UD
299882011-03-10 Ulrich Drepper <drepper@gmail.com>
29989
028478fa
UD
29990 [BZ #12510]
29991 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29992 copy from the symbol referenced in the relocation to initialize the
29993 used variable.
29994 Patch by Piotr Bury <pbury@goahead.com>.
29995 * elf/Makefile: Add rules to build and tst-unique3.
29996 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29997 * elf/tst-unique3.cc: New file.
29998 * elf/tst-unique3.h: New file.
29999 * elf/tst-unique3lib.cc: New file.
30000 * elf/tst-unique3lib2.cc: New file.
30001
33f85a3f
UD
30002 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30003
03592fc7
MF
300042011-03-10 Mike Frysinger <vapier@gentoo.org>
30005
30006 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30007 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30008 to _start.
03592fc7 30009
6a5ee102
UD
300102011-03-06 Ulrich Drepper <drepper@gmail.com>
30011
30012 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30013 to-be-loaded object along a path to loader is ld.so.
30014
7e4ba49c
HJ
300152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30016 Ulrich Drepper <drepper@gmail.com>
30017
30018 * sysdeps/x86_64/memset.S: After aligning destination, code
30019 branches to different locations depending on the value of
30020 misalignment, when multiarch is enabled. Fix this.
30021
300222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30023
30024 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30025 Set _x86_64_preferred_memory_instruction for AMD processsors.
30026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30027 Set bit_Prefer_SSE_for_memop for AMD processors.
30028
13a804de
UD
300292011-03-04 Ulrich Drepper <drepper@gmail.com>
30030
30031 * libio/fmemopen.c (fmemopen): Optimize a bit.
30032
9d25c392
AS
300332011-03-03 Andreas Schwab <schwab@redhat.com>
30034
30035 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30036
a5543c6a
RM
300372011-03-03 Roland McGrath <roland@redhat.com>
30038
30039 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30040
012d35f7
DM
300412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30042
7e4ba49c 30043 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30044 __bzero_ultra1 instead of __memset_ultra1.
30045
4bff6e01
AS
300462011-02-23 Andreas Schwab <schwab@redhat.com>
30047 Ulrich Drepper <drepper@gmail.com>
30048
30049 [BZ #12509]
30050 * include/link.h (struct link_map): Add l_orig_initfini.
30051 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30052 returning unsuccessfully.
30053 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30054 close of a file loaded at startup, restore the original l_initfini
30055 list.
30056 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30057 list, store the pointer.
30058 * elf/Makefile ($(objpfx)noload-mem): New rule.
30059 (noload-ENV): Define.
30060 (tests): Add $(objpfx)noload-mem.
30061 * elf/noload.c: Include <memcheck.h>.
30062 (main): Call mtrace. Close all opened handles.
30063
f2092faf
AS
300642011-02-17 Andreas Schwab <schwab@redhat.com>
30065
30066 [BZ #12454]
30067 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30068 dependencies are missing.
30069
6c8a2e88
ST
300702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30071
f2092faf 30072 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30073 Hurd needs munmap.
30074 * sysdeps/mach/hurd/ifreq.h: New file.
30075
84a42118
PB
300762011-01-27 Petr Baudis <pasky@suse.cz>
30077 Ulrich Drepper <drepper@gmail.com>
30078
071f805e 30079 [BZ 12445]#
84a42118
PB
30080 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30081 to extend_alloca().
30082 * stdio-common/bug23.c: New file.
30083 * stdio-common/Makefile (tests): Add bug23.
30084
e23fe25b
AS
300852010-09-28 Andreas Schwab <schwab@redhat.com>
30086 Ulrich Drepper <drepper@gmail.com>
30087
30088 [BZ #12489]
30089 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30090 before performing relro protection. At old place add assertion
30091 to make sure nothing changed.
30092
d3f02e10
NS
300932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30094 Glauber de Oliveira Costa <glommer@gmail.com>
30095
30096 * elf/elf.h: Add new ARM TLS relocs.
30097
d55fd7a5
RA
300982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30099
30100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30101 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30102 cast from r3.
30103 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30104 'tests' variable.
30105 * sysdeps/wordsize-64/tst-writev.c: New file.
30106
2206397e
RA
301072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30108
30109 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30110 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30111 insns in _dl_start to prevent a TOC reference before relocs are
30112 resolved.
30113
e9433893
UD
301142011-02-15 Ulrich Drepper <drepper@gmail.com>
30115
30116 [BZ #12469]
30117 * Makeconfig: Remove RANLIB definition.
30118 * Makerules: Don't use RANLIB.
30119 * aclocal.m4: Remove ranlib test.
30120 * configure.in: No need to check for ranlib.
30121 * elf/rtld-Rules: Don't use RANLIB.
30122
f75286c6
ST
301232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30124
8e31c82d
ST
30125 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30126 protection macro.
30127 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30128 inclusion protection macro.
30129
f75286c6
ST
30130 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30131 SIGRTMIN and SIGRTMAX and print information in that case only when
30132 SIGRTMIN is defined.
30133
c1d0e639
JJ
301342011-02-11 Jakub Jelinek <jakub@redhat.com>
30135
30136 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30137 arginfo fn returning -1.
30138
30139 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30140 and thousands string is zero terminated.
30141
edf9294e
AS
301422011-02-03 Andreas Schwab <schwab@redhat.com>
30143
30144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30145 sysdeps/unix/sysv/linux/bits/socket.h.
30146
2b7e92df
ST
301472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30148
edf9294e
AS
30149 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30150 (__CPU_COUNT): Remove old macros.
30151 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30152 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30153 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30154 (__sched_cpualloc, __sched_cpufree): Add declarations.
30155
a4c7ea7b
UD
301562011-02-05 Ulrich Drepper <drepper@gmail.com>
30157
30158 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30159 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30160 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30161 (readdhstai): Return value of addhstaiX call.
30162 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30163 (addgrbyX): Return value returned by cache_addgr.
30164 (readdgrbyname): Return value returned by addgrbyX.
30165 (readdgrbygid): Likewise.
30166 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30167 (addpwbyX): Return value returned by cache_addpw.
30168 (readdpwbyname): Return value returned by addhstbyX.
30169 (readdpwbyuid): Likewise.
30170 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30171 (addservbyX): Return value returned by cache_addserv.
30172 (readdservbyname): Return value returned by addservbyX:
30173 (readdservbyport): Likewise.
30174 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30175 (addhstbyX): Return value returned by cache_addhst.
30176 (readdhstbyname): Return value returned by addhstbyX.
30177 (readdhstbyaddr): Likewise.
30178 (readdhstbynamev6): Likewise.
30179 (readdhstbyaddrv6): Likewise.
30180 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30181 (readdinitgroups): Return value returned by addinitgroupsX.
30182 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30183 (prune_cache): Keep track of timeout value of re-added entries.
30184 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30185 * nscd/nscd.h: Adjust prototypes of readd* functions.
30186
a0bf67cc
RM
301872011-02-04 Roland McGrath <roland@redhat.com>
30188
30189 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30190 (nis_stats): Likewise.
30191 * nis/nis_modify.c (nis_modify): Likewise.
30192 * nis/nis_remove.c (nis_remove): Likewise.
30193 * nis/nis_add.c (nis_add): Likewise.
30194
30195 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30196
30197 * posix/fnmatch_loop.c: Add some consts.
30198
30199 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30200
435b95eb
L
302012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30202
30203 [BZ #12460]
30204 * config.make.in (config-cflags-novzeroupper): Define.
30205 * configure.in: Substitute libc_cv_cc_novzeroupper.
30206 * elf/Makefile (AVX-CFLAGS): Define.
30207 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30208 (CFLAGS-tst-auditmod4a.c): Likewise.
30209 (CFLAGS-tst-auditmod4b.c): Likewise.
30210 (CFLAGS-tst-auditmod6b.c): Likewise.
30211 (CFLAGS-tst-auditmod6c.c): Likewise.
30212 (CFLAGS-tst-auditmod7b.c): Likewise.
30213 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30214
8517b15e
UD
302152011-02-02 Ulrich Drepper <drepper@gmail.com>
30216
30217 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30218 function to the callback.
30219 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30220
10a656fe
AS
302212011-02-02 Andreas Schwab <schwab@redhat.com>
30222
30223 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30224 of errno.
30225
968dad0a
UD
302262011-01-19 Ulrich Drepper <drepper@gmail.com>
30227
9f94d2ea 30228 [BZ #11724]
968dad0a
UD
30229 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30230 of constructors.
30231 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30232 of destructors.
30233 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30234
30235 [BZ #11724]
30236 * elf/Makefile: Add rules to build and run new test.
30237 * elf/tst-initorder.c: New file.
30238 * elf/tst-initorder.exp: New file.
30239 * elf/tst-initordera1.c: New file.
30240 * elf/tst-initordera2.c: New file.
30241 * elf/tst-initordera3.c: New file.
30242 * elf/tst-initordera4.c: New file.
30243 * elf/tst-initorderb1.c: New file.
30244 * elf/tst-initorderb2.c: New file.
30245 * elf/tst-order-a1.c: New file.
30246 * elf/tst-order-a2.c: New file.
30247 * elf/tst-order-a3.c: New file.
30248 * elf/tst-order-a4.c: New file.
30249 * elf/tst-order-b1.c: New file.
30250 * elf/tst-order-b2.c: New file.
30251 * elf/tst-order-main.c: New file.
30252 New test case by George Gensure <werkt0@gmail.com>.
30253
86e92359
UD
302542010-10-01 Andreas Schwab <schwab@redhat.com>
30255
30256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30257 decoding ACE if AI_CANONIDN.
30258
5d5732b0
UD
302592011-01-18 Ulrich Drepper <drepper@gmail.com>
30260
30261 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30262
a77e8cbc
UD
302632011-01-17 Ulrich Drepper <drepper@gmail.com>
30264
6392473f
UD
30265 * version.h (RELEASE): Bump for 2.13 release.
30266 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30267
620a0529
UD
30268 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30269
18ba70a5
UD
30270 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30271 MADV_NOHUGEPAGE.
32465c3e
UD
30272 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30273 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30274 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30275 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30276 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30277 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30278
c0dafcf1
UD
30279 * posix/getconf.c: Update copyright year.
30280 * catgets/gencat.c: Likewise.
30281 * csu/version.c: Likewise.
30282 * debug/catchsegv.sh: Likewise.
30283 * debug/xtrace.sh: Likewise.
30284 * elf/ldconfig.c: Likewise.
30285 * elf/ldd.bash.in: Likewise.
30286 * elf/sprof.c (print_version): Likewise.
30287 * iconv/iconv_prog.c: Likewise.
30288 * iconv/iconvconfig.c: Likewise.
30289 * locale/programs/locale.c: Likewise.
30290 * locale/programs/localedef.c: Likewise.
30291 * malloc/memusage.sh: Likewise.
30292 * malloc/mtrace.pl: Likewise.
30293 * nscd/nscd.c (print_version): Likewise.
30294 * nss/getent.c: Likewise.
30295
a77e8cbc
UD
30296 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30297 PF_CAIF, and PF_ALG.
30298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30299
77e8bddf
AS
303002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30301
1f20b93a
AS
30302 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30303 (modules-names): Use them.
30304 (ifunc-test-modules, ifunc-pie-tests): Define.
30305 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30306 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30307 (test-extras): Likewise.
30308 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30309 $(compile-command.c).
30310 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30311 (all-built-dso): Define.
30312 (check-textrel.out, check-execstack.out): Depend on it.
30313
77e8bddf
AS
30314 * configure.in: Don't override --enable-multi-arch.
30315
bc425b33
UD
303162011-01-15 Ulrich Drepper <drepper@gmail.com>
30317
30318 [BZ #6812]
30319 * nscd/hstcache.c (tryagain): Define.
30320 (cache_addhst): Return tryagain not notfound for temporary errors.
30321 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30322 failed.
30323
794c3ad3
UD
303242011-01-14 Ulrich Drepper <drepper@gmail.com>
30325
70181fdd
UD
30326 [BZ #10563]
30327 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30328 to make the syscall.
30329 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30330
794c3ad3
UD
30331 [BZ #12378]
30332 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30333 and fall back to matching as normal character if the string ends before
30334 the matching ']' is found. This is what POSIX requires.
30335 * posix/testfnm.c: Adjust test result.
30336 * posix/globtest.sh: Adjust test result. Add new test.
30337 * posix/tst-fnmatch.input: Likewise.
30338 * posix/tst-fnmatch2.c: Add new test.
30339
68dc9497
AS
303402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30341
30342 * elf/Makefile (check-execstack): Revert last change. Depend on
30343 check-execstack.h.
30344 (check-execstack.h): New target.
30345 (generated): Add check-execstack.h.
30346 * elf/check-execstack.c: Include "check-execstack.h".
30347 (main): Revert last change.
30348 (handle_file): Return zero if GNU_STACK is absent and
30349 DEFAULT_STACK_PERMS doesn't include PF_X.
30350
451f001b
UD
303512011-01-13 Ulrich Drepper <drepper@gmail.com>
30352
cfa28e56
UD
30353 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30354 in child fails because the descriptor is already closed.
8cf8ce17
UD
30355 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30356 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30357 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30358
1086d70d
UD
30359 [BZ #12397]
30360 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30361 syscall.
30362
451f001b
UD
30363 [BZ #10484]
30364 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30365 temporary buffer used to handle multi lookups locally.
a85b5cb4 30366 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30367
08769175
UD
303682011-01-12 Ulrich Drepper <drepper@gmail.com>
30369
30370 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30371 loader is ld.so.
30372
5e49c52e
UD
303732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30374
30375 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30376 alignment for SSE2.
30377
60522a5f
UD
303782011-01-12 Ulrich Drepper <drepper@gmail.com>
30379
30380 [BZ #12394]
30381 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30382 characters. When rounding increased number of integer digits recompute
30383 number of groups.
30384 * stdio-common/tst-grouping.c: New file.
30385 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30386
f257bbd7
UD
303872011-01-09 Ulrich Drepper <drepper@gmail.com>
30388
30389 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30390 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30391
30392 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30393 void.
30394 * bits/select.h: Likewise.
30395
fa9c15cb
UD
303962011-01-08 Ulrich Drepper <drepper@gmail.com>
30397
30398 * po/ja.po: Update from translation team.
30399
16c2895f
DM
304002011-01-04 David S. Miller <davem@sunset.davemloft.net>
30401
30402 [BZ #11155]
30403 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30404 implementation just like for lxstat, fxstatat, et al.
30405
2543fef2
JM
304062010-12-27 Jim Meyering <meyering@redhat.com>
30407
30408 [BZ #12348]
30409 * posix/regexec.c (build_trtable): Return failure indication upon
30410 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30411
98727dbe
UD
304122010-12-25 Ulrich Drepper <drepper@gmail.com>
30413
5bd6dc5c
UD
30414 [BZ #12201]
30415 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30416 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30417 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30418 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30419
97983464
UD
30420 [BZ #12207]
30421 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30422
98727dbe
UD
30423 [BZ #12204]
30424 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30425 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30426
4a531bb0
L
304272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30428
30429 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30430 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30431 script has SORT_BY_INIT_PRIORITY.
30432 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30433 NO_CTORS_DTORS_SECTIONS is defined.
30434 * elf/soinit.c: Likewise.
30435 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30436 NO_CTORS_DTORS_SECTIONS is defined.
30437 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30438 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30439 * sysdeps/sh/init-first.c: Likewise.
30440 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30441
07eb4b71
UD
304422010-12-24 Ulrich Drepper <drepper@gmail.com>
30443
30444 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30445 always use the slow path.
30446
30950a5f
RA
304472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30448
30449 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30450 similar rule which adds the sysdep directories to the header search in
30451 order to pick up the correct platform stackinfo.h.
30452 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30453 perform test if it is, otherwise return successfully without testing.
30454 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30455 DEFAULT_STACK_PERMS define in stackinfo.h.
30456 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30457 defined in stackinfo.h.
30458 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30459 DEFAULT_STACK_PERMS defined in stackinfo.h.
30460 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30461 * sysdeps/ia64/stackinfo.h: Likewise.
30462 * sysdeps/s390/stackinfo.h: Likewise.
30463 * sysdeps/sh/stackinfo.h: Likewise.
30464 * sysdeps/sparc/stackinfo.h: Likewise.
30465 * sysdeps/x86_64/stackinfo.h: Likewise.
30466 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30467 PF_X for powerpc64. Retain PF_X for powerpc32.
30468
db753e2c
UD
304692010-12-19 Ulrich Drepper <drepper@gmail.com>
30470
14b697f7
UD
30471 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30472 accurately.
db753e2c
UD
30473 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30474 GETDENTS_64BIT_ALIGNED.
30475
28300719
UD
304762010-12-14 Ulrich Drepper <dreper@gmail.com>
30477
14b697f7 30478 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30479
4f197237
AS
304802010-12-10 Andreas Schwab <schwab@redhat.com>
30481
dbb0472f
AS
30482 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30483 _GNU_SOURCE.
30484
4f197237
AS
30485 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30486 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30487 Remove __restrict.
30488 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30489 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30490
fb88ac72
UD
304912010-12-09 Ulrich Drepper <drepper@gmail.com>
30492
30493 [BZ #11655]
30494 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30495 are initialized.
30496
42acbb92
JJ
304972010-12-09 Jakub Jelinek <jakub@redhat.com>
30498
30499 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30500
c038d98d
UD
305012010-12-03 Ulrich Drepper <drepper@gmail.com>
30502
30503 * po/it.po: Update from translation team.
30504
3a4a2499
L
305052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30506
30507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30508 unused codes.
30509
1e24cf6e
UD
305102010-11-30 Ulrich Drepper <drepper@gmail.com>
30511
30512 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30513
a7690819
AS
305142010-11-24 Andreas Schwab <schwab@redhat.com>
30515
30516 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30517 specially.
30518 (gaih_getanswer_slice): Likewise.
30519
3bf8d1b1
JJ
305202010-10-20 Jakub Jelinek <jakub@redhat.com>
30521
30522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30523
6db52fbb
PB
305242010-05-31 Petr Baudis <pasky@suse.cz>
30525
30526 [BZ #11149]
30527 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30528 silently even in the chroot mode.
30529
eaca7569
UD
305302010-11-22 Ulrich Drepper <drepper@gmail.com>
30531
30532 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30533 last patch a bit. Pretty printing
30534
3056dcdb
UD
305352010-05-31 Petr Baudis <pasky@suse.cz>
30536
30537 [BZ #10085]
30538 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30539 initialization of skip_initgroups_dyn.
30540
cf7c9078
UD
305412010-11-19 Ulrich Drepper <drepper@gmail.com>
30542
30543 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30544 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30545
a1fb5e3e
UD
305462010-11-16 Ulrich Drepper <drepper@gmail.com>
30547
30548 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30549
3540d66b
AS
305502010-11-11 Andreas Schwab <schwab@redhat.com>
30551
30552 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30553 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30554 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30555 ($(objpfx)tst-fnmatch-mem): New rule.
30556 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30557 * posix/tst-fnmatch.c (main): Call mtrace.
30558
13b69574
L
305592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30560
30561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30562 Support Intel processor model 6 and model 0x2c.
30563
da93d214
LM
305642010-11-10 Luis Machado <luisgpm@br.ibm.com>
30565
30566 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30567 signed comparison.
30568
8ca52c6e
L
305692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30570
30571 [BZ #12205]
30572 * string/test-strncasecmp.c (check_result): New function.
30573 (do_one_test): Use it.
30574 (check1): New function.
30575 (test_main): Use it.
30576 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30577 Support strcasecmp and strncasecmp.
30578
69da074d
UD
305792010-11-08 Ulrich Drepper <drepper@gmail.com>
30580
30581 [BZ #12194]
30582 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30583 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30584
ff02d528
L
305852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30586
30587 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30588 IFUNC support.
30589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30590 memset-x86-64.
30591 * sysdeps/x86_64/multiarch/bzero.S: New file.
30592 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30593 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30594 * sysdeps/x86_64/multiarch/memset.S: New file.
30595 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30597 Set bit_Prefer_SSE_for_memop for Intel processors.
30598 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30599 Define.
30600 (index_Prefer_SSE_for_memop): Define.
30601 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30602
344d0b54
LM
306032010-11-04 Luis Machado <luisgpm@br.ibm.com>
30604
30605 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30606 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30607
c0dde15b
UD
306082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30609
30610 [BZ #12191]
30611 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30612 (__x86_64_raw_data_cache_size_half): Likewise.
30613 (__x86_64_raw_shared_cache_size): Likewise.
30614 (__x86_64_raw_shared_cache_size_half): Likewise.
30615
30616 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30617 (__x86_64_raw_data_cache_size_half): Likewise.
30618 (__x86_64_raw_shared_cache_size): Likewise.
30619 (__x86_64_raw_shared_cache_size_half): Likewise.
30620 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30621 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30622 and __x86_64_raw_shared_cache_size_half. Round
30623 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30624 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30625 to multiple of 256 bytes.
30626
0e516e0e
MS
306272010-11-03 Ulrich Drepper <drepper@gmail.com>
30628
30629 [BZ #12167]
30630 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30631 of inacessible symlinks. Verify result of symlink before returning it.
30632 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30633 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30634
0e012e87
ER
306352010-10-28 Erich Ritz <erichritz@gmail.com>
30636
30637 * math/math.h (isinf): Fix typo in comment.
30638
de0ff7bc
UD
306392010-11-01 Ulrich Drepper <drepper@gmail.com>
30640
30641 * po/da.po: Update from translation team.
30642
fa41c84d
UD
306432010-10-26 Ulrich Drepper <drepper@gmail.com>
30644
30645 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30646 is added to the list.
30647
f0967738
AK
306482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30649 Ulrich Drepper <drepper@gmail.com>
30650
30651 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30652 the global list here. Move code to...
30653 (_dl_add_to_namespace_list): ...here. New function.
30654 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30655 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30656 * elf/dl-load.c (lose): Don't remove the element from the list.
30657 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30658 (_dl_map_object): Likewise.
30659
306602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30661
30662 [BZ #12159]
30663 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30664 into all bytes of SSE register.
30665 Patch by Richard Li <richardpku@gmail.com>.
30666
f0967738 306672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30668
30669 [BZ #12140]
30670 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30671 perturbing.
30672
d0b9e94f
MB
306732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30674
30675 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30676 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30677 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30678 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30680 submachine.
30681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30682
8e9f92e9
AS
306832010-10-22 Andreas Schwab <schwab@redhat.com>
30684
30685 * include/dlfcn.h (__RTLD_SECURE): Define.
30686 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30687 mode & __RTLD_SECURE instead.
30688 (open_path): Rename preloaded parameter to secure.
30689 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30690 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30691 * elf/dl-deps.c (openaux): Likewise.
30692 * elf/rtld.c (struct map_args): Remove is_preloaded.
30693 (map_doit): Don't use it.
30694 (dl_main): Likewise.
30695 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30696 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30697
bc96fbda
AS
306982010-09-09 Andreas Schwab <schwab@redhat.com>
30699
30700 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30701 (sysd-rules-targets): Remove duplicates.
30702 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30703 rtld-%.$o dependency.
30704
22cd1c9b
AS
307052010-10-18 Andreas Schwab <schwab@redhat.com>
30706
30707 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30708 _dl_map_object do it.
30709
18edac48
UD
307102010-10-19 Ulrich Drepper <drepper@gmail.com>
30711
30712 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30713 fast fma builtins, define the macros in the C99 standard.
30714 (FP_FAST_FMAF): Likewise.
30715 (FP_FAST_FMAL): Likewise.
30716 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30717
30718 * bits/mathdef.h: Update copyright year.
30719 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30720
d2050124
MM
307212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30722
30723 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30724 builtins, define the macros in the C99 standard.
30725 (FP_FAST_FMAF): Likewise.
30726 (FP_FAST_FMAL): Likewise.
30727 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30728 multiply/add.
30729 (FP_FAST_FMAF): Likewise.
30730
475facd1
JJ
307312010-10-15 Jakub Jelinek <jakub@redhat.com>
30732
30733 [BZ #3268]
30734 * math/libm-test.inc (fma_test): Some new testcases.
30735 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30736 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30737 y and infinite z. Do multiplication by C already in long double.
30738 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30740 y and infinite z. Do bitwise or of inexact bit into u.d.
30741 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30742 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30743 * sysdeps/i386/fpu/s_fma.S: Removed.
30744 * sysdeps/i386/fpu/s_fmal.S: Removed.
30745
7c08a05c
JJ
307462010-10-16 Jakub Jelinek <jakub@redhat.com>
30747
30748 [BZ #3268]
30749 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30751 computation is not scheduled after fetestexcept. Fix value
30752 of minimum denormal long double.
30753
f3f7372d
JJ
307542010-10-14 Jakub Jelinek <jakub@redhat.com>
30755
30756 [BZ #3268]
30757 * math/libm-test.inc (fma_test): Add some more tests.
30758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30759 correctly.
30760
14d43591
AS
307612010-10-15 Andreas Schwab <schwab@redhat.com>
30762
30763 * scripts/data/localplt-s390-linux-gnu.data: New file.
30764 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30765
5e908464
JJ
307662010-10-13 Jakub Jelinek <jakub@redhat.com>
30767
30768 [BZ #3268]
30769 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30770 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30771 instead of dbl-64.
30772 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30773 inlines.
30774 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30776 if one of x and y is very large and the other is subnormal.
30777 * sysdeps/s390/fpu/s_fmaf.c: New file.
30778 * sysdeps/s390/fpu/s_fma.c: New file.
30779 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30780 * sysdeps/powerpc/fpu/s_fma.S: New file.
30781 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30782 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30783 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30784
307852010-10-12 Jakub Jelinek <jakub@redhat.com>
30786
30787 [BZ #3268]
30788 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30789 fma tests.
30790 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30791 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30792 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30793 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30794 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30795 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30797
b833d51f
UD
307982010-10-12 Ulrich Drepper <drepper@redhat.com>
30799
30800 [BZ #12078]
30801 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30802 * posix/bug-regex31.input: Add test case.
30803
1751705d
UD
308042010-10-11 Ulrich Drepper <drepper@gmail.com>
30805
e9b9cbf5
UD
30806 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30807 * posix/bug-regex31.input: New file.
30808
30809 [BZ #12078]
30810 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30811 (parse_sub_exp): Fix last change, use postorder.
30812
ef06edbe
UD
30813 * posix/bug-regex31.c: New file.
30814 * posix/Makefile: Add rules to build and run bug-regex31.
30815
a129c80d
UD
30816 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30817
30818 [BZ #12078]
30819 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30820
b76b818e
UD
30821 [BZ #12108]
30822 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30823 to have entries in sys_siglist.
30824
1751705d
UD
30825 [BZ #12093]
30826 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30827 be NULL.
30828
9ff8d36f
JJ
308292010-10-07 Jakub Jelinek <jakub@redhat.com>
30830
30831 [BZ #3268]
30832 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30833 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30834 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30835 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30836 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30837 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30838 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30839 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30840 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30841 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30842 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30843 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30844 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30845 * math/ftestexcept.c (fetestexcept): Likewise.
30846 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30847 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30848 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30849 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30850 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30851 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30852 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30853
af325969
UD
308542010-10-11 Ulrich Drepper <drepper@gmail.com>
30855
c579b202 30856 [BZ #12107]
af325969
UD
30857 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30858 newline.
30859
67a67b95
UD
308602010-10-06 Ulrich Drepper <drepper@gmail.com>
30861
30862 * string/bug-strstr1.c: New file.
30863 * string/Makefile: Add rules to build and run bug-strstr1.
30864
5fb308bc
EB
308652010-10-05 Eric Blake <eblake@redhat.com>
30866
30867 [BZ #12092]
30868 * string/str-two-way.h (two_way_long_needle): Always clear memory
30869 when skipping input due to the shift table.
30870
45db99c7
UD
308712010-10-03 Ulrich Drepper <drepper@gmail.com>
30872
3b111893
UD
30873 [BZ #12005]
30874 * malloc/mcheck.c: Handle large requests.
30875
45db99c7
UD
30876 [BZ #12077]
30877 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30878 for strncmp and strncasecmp.
30879 * string/stratcliff.c: Add tests for strcmp and strncmp.
30880 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30881
cf7a1eb8
NI
308822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30883
30884 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30885 __set_fpscr.
30886
6484ba5e
AJ
308872010-09-30 Andreas Jaeger <aj@suse.de>
30888
30889 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30890 (CGROUP_SUPER_MAGIC): Define.
30891 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30892 Handle btrfs and cgroup file systems.
30893 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30894 Likewise.
30895
91c42559
LM
308962010-09-27 Luis Machado <luisgpm@br.ibm.com>
30897
30898 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30899 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30900
87a97932
AK
309012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30902
30903 [BZ #12067]
30904 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30905 trying to locate the ELF header.
30906
c21cc9bc
AS
309072010-09-27 Andreas Schwab <schwab@redhat.com>
30908
30909 [BZ #11611]
30910 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30911 Mask out sign-bit copies when constructing f_fsid.
30912
315970f6
PB
309132010-09-24 Petr Baudis <pasky@suse.cz>
30914
30915 * debug/stack_chk_fail_local.c: Add missing licence exception.
30916 * debug/warning-nop.c: Likewise.
30917
1ac7a2c7
JM
309182010-09-15 Joseph Myers <joseph@codesourcery.com>
30919
30920 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30921 implementing getdents64 using getdents syscall, set d_type if
30922 __ASSUME_GETDENTS32_D_TYPE.
30923
56801c50
AS
309242010-09-16 Andreas Schwab <schwab@redhat.com>
30925
30926 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30927 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30928
dda51327
UD
309292010-09-21 Ulrich Drepper <drepper@redhat.com>
30930
30931 [BZ #12037]
30932 * posix/unistd.h: Undo change of feature selection for ftruncate from
30933 2010-01-11.
30934
8ffcee4a
UD
309352010-09-20 Ulrich Drepper <drepper@redhat.com>
30936
a545ecd9 30937 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30938 detection.
30939
e24f0a8b
AS
309402010-09-20 Andreas Schwab <schwab@redhat.com>
30941
30942 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30943 fanotify_mark.
30944 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30945
7291c56f
AS
309462010-09-14 Andreas Schwab <schwab@redhat.com>
30947
30948 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30949 variables after CHECK_SP call.
30950 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30951
bc5fb037
AS
309522010-09-13 Andreas Schwab <schwab@redhat.com>
30953 Ulrich Drepper <drepper@redhat.com>
30954
30955 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30956 re-relocationg ld.so.
30957 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30958 _dl_init_paths call.
30959 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30960 here anymore.
30961
e66e7419
UD
309622010-09-14 Ulrich Drepper <drepper@redhat.com>
30963
30964 * resolv/res_init.c (__res_vinit): Count the default server we added.
30965
c044aa75
CLT
309662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30967 Ulrich Drepper <drepper@redhat.com>
30968
30969 [BZ #11968]
30970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30971 (____longjmp_chk): Use %ebx for saving value across system call.
30972 Add unwind info.
30973
32cf4069
AS
309742010-09-06 Andreas Schwab <schwab@redhat.com>
30975
30976 * manual/Makefile: Don't mix pattern rules with normal rules.
30977
817328ee
AS
309782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30979
30980 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30981 operation.
30982 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30983 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30984 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30985 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30987 Likewise.
30988
29fddf61
UD
309892010-09-04 Ulrich Drepper <drepper@redhat.com>
30990
30991 [BZ #11979]
30992 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30993 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30994
0959ffc9
UD
309952010-09-02 Ulrich Drepper <drepper@redhat.com>
30996
30997 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30998 * sysdeps/x86_64/addmul_1.S: Likewise.
30999 * sysdeps/x86_64/lshift.S: Likewise.
31000 * sysdeps/x86_64/mul_1.S: Likewise.
31001 * sysdeps/x86_64/rshift.S: Likewise.
31002 * sysdeps/x86_64/sub_n.S: Likewise.
31003 * sysdeps/x86_64/submul_1.S: Likewise.
31004
ece29840
ST
310052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31006
0959ffc9
UD
31007 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31008 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31009 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31010 * bits/sched.h [__need_schedparam]
ece29840 31011 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31012 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31013 (__defined_schedparam): Define to 1.
ece29840
ST
31014 (__sched_param): New structure, identical to sched_param.
31015 (__need_schedparam): Undefine.
31016
e53a31fe
MF
310172010-08-31 Mike Frysinger <vapier@gentoo.org>
31018
fdc0c10d
MF
31019 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31020 (epoll_create1): Declare.
31021
e53a31fe
MF
31022 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31023
a726d796
AS
310242010-08-31 Andreas Schwab <schwab@redhat.com>
31025
31026 [BZ #7066]
31027 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31028 shifting retval into place.
31029
2f3e3dc7
UD
310302010-09-01 Ulrich Drepper <drepper@redhat.com>
31031
f2933da9
UD
31032 * nis/rpcsvc/nis.h: Update copyright notice.
31033 * nis/rpcsvc/nis.x: Likewise.
31034 * nis/rpcsvc/nis_callback.h: Likewise.
31035 * nis/rpcsvc/nis_callback.x: Likewise.
31036 * nis/rpcsvc/nis_object.x: Likewise.
31037 * nis/rpcsvc/nis_tags.h: Likewise.
31038 * nis/rpcsvc/yp.h: Likewise.
31039 * nis/rpcsvc/yp.x: Likewise.
31040 * nis/rpcsvc/ypupd.h: Likewise.
31041 * nis/yp_xdr.c: Likewise.
31042 * nis/ypupdate_xdr.c: Likewise.
31043
2f3e3dc7
UD
31044 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31045 mainly the body of pmap_getport. Add parameters to specify timeouts.
31046 (pmap_getport): Use __libc_rpc_getport.
31047 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31048 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31049 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31050
f3dcc2f9
AS
310512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31052
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31054 fanotify_mark.
31055
6d34eb5b
RM
310562010-08-27 Roland McGrath <roland@redhat.com>
31057
31058 * sysdeps/i386/i686/multiarch/Makefile
31059 (CFLAGS-varshift.c): New variable.
31060
9ea3de11
UD
310612010-08-27 Ulrich Drepper <drepper@redhat.com>
31062
c96d23fc
UD
31063 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31064 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31065
9ea3de11
UD
31066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31067
31068 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31069
623aac7f
L
310702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31071
31072 * sysdeps/x86_64/strlen.S: Unroll the loop.
31073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31074 strlen-sse2 strlen-sse2-bsf.
31075 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31076 __strlen_no_bsf if bit_Slow_BSF is set.
31077 (__strlen_sse42): Removed.
31078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31079 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31080
8b2b7715
RM
310812010-08-25 Roland McGrath <roland@redhat.com>
31082
31083 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31084 * sysdeps/x86_64/multiarch/varshift.c: New file.
31085 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31086 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31087 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31088 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31089
e73015f2
L
310902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31091
31092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31093 strlen-sse2 strlen-sse2-bsf.
31094 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31095 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31096 (__strlen_sse2): Removed.
31097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31100 bit_Slow_BSF for Atom.
31101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31102 (index_Slow_BSF): Define.
31103 (HAS_SLOW_BSF): Define.
31104
df24a73e
UD
311052010-08-25 Ulrich Drepper <drepper@redhat.com>
31106
31107 [BZ #10851]
31108 * resolv/res_init.c (__res_vinit): When no server address at all
31109 is given default to loopback.
31110
f2ac4868
RM
311112010-08-24 Roland McGrath <roland@redhat.com>
31112
09055553
RM
31113 * configure.in: Remove config-name.h generation.
31114 * configure: Regenerated.
31115 * config-name.in: File removed.
31116 * scripts/config-uname.sh: New file.
31117 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31118 ($(objdir)config-name.h): New target.
31119
f2ac4868
RM
31120 * sunrpc/rpc_parse.h: Avoid nested comment.
31121
73f27d5e
RH
311222010-08-24 Richard Henderson <rth@redhat.com>
31123 Ulrich Drepper <drepper@redhat.com>
31124 H.J. Lu <hongjiu.lu@intel.com>
31125
31126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31128 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31129 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31130 _mm_alignr_epi8 with _mm_loadu_si128.
31131 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31132 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31133 (__m128i_shift_right): Removed.
31134 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31135 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31136 * sysdeps/x86_64/multiarch/varshift.h: New file.
31137 * sysdeps/x86_64/multiarch/varshift.S: New file.
31138
84b9230c
MF
311392010-08-21 Mike Frysinger <vapier@gentoo.org>
31140
31141 * configure.in: Move assembler checks to before sysdep dir checking.
31142
9bbd0ddc
PB
311432010-08-20 Petr Baudis <pasky@suse.cz>
31144
31145 * LICENSES: Sync the sunrpc license.
31146
9da4bb31
UD
311472010-08-19 Ulrich Drepper <drepper@redhat.com>
31148
a7ab6ec8
UD
31149 * sunrpc/auth_des.c: Update copyright notice once again.
31150 * sunrpc/auth_none.c: Likewise.
31151 * sunrpc/auth_unix.c: Likewise.
31152 * sunrpc/authdes_prot.c: Likewise.
31153 * sunrpc/authuxprot.c: Likewise.
31154 * sunrpc/bindrsvprt.c: Likewise.
31155 * sunrpc/clnt_gen.c: Likewise.
31156 * sunrpc/clnt_perr.c: Likewise.
31157 * sunrpc/clnt_raw.c: Likewise.
31158 * sunrpc/clnt_simp.c: Likewise.
31159 * sunrpc/clnt_tcp.c: Likewise.
31160 * sunrpc/clnt_udp.c: Likewise.
31161 * sunrpc/clnt_unix.c: Likewise.
31162 * sunrpc/des_crypt.c: Likewise.
31163 * sunrpc/des_soft.c: Likewise.
31164 * sunrpc/get_myaddr.c: Likewise.
31165 * sunrpc/getrpcport.c: Likewise.
31166 * sunrpc/key_call.c: Likewise.
31167 * sunrpc/key_prot.c: Likewise.
31168 * sunrpc/openchild.c: Likewise.
31169 * sunrpc/pm_getmaps.c: Likewise.
31170 * sunrpc/pm_getport.c: Likewise.
31171 * sunrpc/pmap_clnt.c: Likewise.
31172 * sunrpc/pmap_prot.c: Likewise.
31173 * sunrpc/pmap_prot2.c: Likewise.
31174 * sunrpc/pmap_rmt.c: Likewise.
31175 * sunrpc/rpc/auth.h: Likewise.
31176 * sunrpc/rpc/auth_unix.h: Likewise.
31177 * sunrpc/rpc/clnt.h: Likewise.
31178 * sunrpc/rpc/des_crypt.h: Likewise.
31179 * sunrpc/rpc/key_prot.h: Likewise.
31180 * sunrpc/rpc/netdb.h: Likewise.
31181 * sunrpc/rpc/pmap_clnt.h: Likewise.
31182 * sunrpc/rpc/pmap_prot.h: Likewise.
31183 * sunrpc/rpc/pmap_rmt.h: Likewise.
31184 * sunrpc/rpc/rpc.h: Likewise.
31185 * sunrpc/rpc/rpc_des.h: Likewise.
31186 * sunrpc/rpc/rpc_msg.h: Likewise.
31187 * sunrpc/rpc/svc.h: Likewise.
31188 * sunrpc/rpc/svc_auth.h: Likewise.
31189 * sunrpc/rpc/types.h: Likewise.
31190 * sunrpc/rpc/xdr.h: Likewise.
31191 * sunrpc/rpc_clntout.c: Likewise.
31192 * sunrpc/rpc_cmsg.c: Likewise.
31193 * sunrpc/rpc_common.c: Likewise.
31194 * sunrpc/rpc_cout.c: Likewise.
31195 * sunrpc/rpc_dtable.c: Likewise.
31196 * sunrpc/rpc_hout.c: Likewise.
31197 * sunrpc/rpc_main.c: Likewise.
31198 * sunrpc/rpc_parse.c: Likewise.
31199 * sunrpc/rpc_parse.h: Likewise.
31200 * sunrpc/rpc_prot.c: Likewise.
31201 * sunrpc/rpc_sample.c: Likewise.
31202 * sunrpc/rpc_scan.c: Likewise.
31203 * sunrpc/rpc_scan.h: Likewise.
31204 * sunrpc/rpc_svcout.c: Likewise.
31205 * sunrpc/rpc_tblout.c: Likewise.
31206 * sunrpc/rpc_util.c: Likewise.
31207 * sunrpc/rpc_util.h: Likewise.
31208 * sunrpc/rpcinfo.c: Likewise.
31209 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31210 * sunrpc/rpcsvc/key_prot.x: Likewise.
31211 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31212 * sunrpc/rpcsvc/mount.x: Likewise.
31213 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31214 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31215 * sunrpc/rpcsvc/rex.x: Likewise.
31216 * sunrpc/rpcsvc/rstat.x: Likewise.
31217 * sunrpc/rpcsvc/rusers.x: Likewise.
31218 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31219 * sunrpc/rpcsvc/spray.x: Likewise.
31220 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31221 * sunrpc/rtime.c: Likewise.
31222 * sunrpc/svc.c: Likewise.
31223 * sunrpc/svc_auth.c: Likewise.
31224 * sunrpc/svc_authux.c: Likewise.
31225 * sunrpc/svc_raw.c: Likewise.
31226 * sunrpc/svc_run.c: Likewise.
31227 * sunrpc/svc_simple.c: Likewise.
31228 * sunrpc/svc_tcp.c: Likewise.
31229 * sunrpc/svc_udp.c: Likewise.
31230 * sunrpc/svc_unix.c: Likewise.
31231 * sunrpc/svcauth_des.c: Likewise.
31232 * sunrpc/xcrypt.c: Likewise.
31233 * sunrpc/xdr.c: Likewise.
31234 * sunrpc/xdr_array.c: Likewise.
31235 * sunrpc/xdr_float.c: Likewise.
31236 * sunrpc/xdr_mem.c: Likewise.
31237 * sunrpc/xdr_rec.c: Likewise.
31238 * sunrpc/xdr_ref.c: Likewise.
31239 * sunrpc/xdr_sizeof.c: Likewise.
31240 * sunrpc/xdr_stdio.c: Likewise.
31241
9da4bb31
UD
31242 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31243 handling.
31244
bdaa77bc
AS
312452010-08-19 Andreas Schwab <schwab@redhat.com>
31246
31247 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31248
fe2f79db
LM
312492010-08-19 Luis Machado <luisgpm@br.ibm.com>
31250
31251 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31252 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31253 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31254 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31255 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31256 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31257 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31258 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31259 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31260 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31261 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31262 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31263 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31264 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31265
b9b42ee0
AB
312662010-07-26 Anton Blanchard <anton@samba.org>
31267
31268 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31269 * malloc/arena.c (heap_trim): Likewise.
31270
1c06ba31
UD
312712010-08-16 Ulrich Drepper <drepper@redhat.com>
31272
31273 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31274 here. Not...
31275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31276 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31277
f8392f40
L
312782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31279
31280 * sysdeps/i386/elf/Makefile: New file.
31281
3162f12e
AS
312822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31283
31284 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31285 from fanotify_init.
31286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31288
28c90b2c
UD
312892010-08-15 Ulrich Drepper <drepper@redhat.com>
31290
31291 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31292 of strncasecmp_l.
1feccb6c 31293 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31294
ca6bb004
UD
312952010-08-14 Ulrich Drepper <drepper@redhat.com>
31296
e9f82e0d
UD
31297 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31298 strncase_l-nonascii.
31299 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31300 Add strncase_l-ssse3.
31301 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31302 * sysdeps/x86_64/strcmp.S: Likewise.
31303 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31304 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31305 * sysdeps/x86_64/strncase.S: New file.
31306 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31307 * sysdeps/x86_64/strncase_l.S: New file.
31308 * string/Makefile (strop-tests): Add strncasecmp.
31309 * string/test-strncasecmp.c: New file.
31310
31311 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31312 warning.
31313
ca6bb004
UD
31314 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31315 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31316
052fa7b3
AS
313172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31318
31319 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31320
962dba78
UD
313212010-08-12 Ulrich Drepper <drepper@redhat.com>
31322
31323 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31324 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31325 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31326
bebff237
AM
313272010-05-01 Alan Modra <amodra@gmail.com>
31328
31329 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31330 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31331 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31332 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31333 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31334 tidying. Don't tail-call __sigjmp_save for static lib.
31335 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31336 save location.
31337 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31338 (CALL_MCOUNT): Add eh info, and nop after bl.
31339 (TAIL_CALL_SYSCALL_ERROR): New macro.
31340 (PSEUDO_RET): Use it.
31341 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31342 Correct save location of integer regs and cr.
31343 (_dl_profile_resolve): Correct cr save location. Delete nops
31344 after bl when SHARED. Reduce cfi size a little by better
31345 placement of cfi directives.
31346 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31347 make a stack frame. Instead use parm save area as a temp.
31348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31349 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31351 Don't make a stack frame for parent, use parm save area.
31352 Increase child stack frame to 112 bytes. Don't save unused reg,
31353 and adjust reg usage. Set up cfi on error recovery and
31354 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31356 (__makecontext): Add dummy nop after jump to exit.
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31358 Use correct parm save area and cr save, reduce stack frame.
31359 Correct cfi for possible PSEUDO_RET frame setup.
31360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31361 Branch to local label emitted by PSEUDO_RET rather than
31362 __syscall_error.
31363
02637374
AS
313642010-08-12 Andreas Schwab <schwab@redhat.com>
31365
31366 [BZ #11904]
31367 * locale/programs/locale.c (print_assignment): New function.
31368 (show_locale_vars): Use it.
31369
c3e2f19b
UD
313702010-08-11 Ulrich Drepper <drepper@redhat.com>
31371
3cdaa6ad
UD
31372 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31373 field.
31374 (struct statfs64): Likewise.
31375 (_STATFS_F_FLAGS): Define.
31376 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31377 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31378 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31379 (ST_VALID): Define locally.
31380 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31381 __statvfs_getflags, use the provided value.
31382 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31383 __ASSUME_STATFS_F_FLAGS.
31384
754f7da3
UD
31385 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31386
10b3bedc
UD
31387 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31388 Add sys/fanotify.h.
31389 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31390 fanotify_mask for GLIBC_2.13.
31391 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31392 fanotify_init and fanotify_mark.
31393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31394 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31395
c08fb0d7
UD
31396 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31397 Add prlimit.
31398 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31399 prlimit64 for GLIBC_2.13.
31400 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31401 prlimit64.
31402 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31403 syscall.
31404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31405 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31406 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31407 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31409 add prlimit alias.
31410 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31411
15bac72b
UD
31412 [BZ #11903]
31413 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31414 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31415
c3e2f19b
UD
31416 * nss/Makefile: Add rules to build and run tst-nss-test1.
31417 * shlib-versions: Add entry for libnss_test1.
31418 * nss/nss_test1.c: New file.
31419 * nss/tst-nss-test1.c: New file.
31420
31421 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31422 (__nss_configure_lookup): Set appropriate entry in
31423 __nss_configure_lookup to true.
31424 * nss/nsswitch.h: Define enum with indeces of databases in
31425 databases and __nss_database_custom arrays. Declare
31426 __nss_database_custom.
31427 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31428 to avoid using nscd when custom rules are installed.
31429 * nss/getXXbyYY_r.c: Likewise.
31430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31431
31432 * nss/nss_files/files-parse.c: Whitespace fixes.
31433
f15ce4d8
UD
314342010-08-09 Ulrich Drepper <drepper@redhat.com>
31435
31436 [BZ #11883]
31437 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31438 * posix/fnmatch_loop.c: Likewise.
31439
d22e4cc9
AK
314402010-07-17 Andi Kleen <ak@linux.intel.com>
31441
31442 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31443 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31444 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31445 * Versions.def [GLIBC_2.13]: Add.
31446
805bc17d
UD
314472010-08-06 Ulrich Drepper <drepper@redhat.com>
31448
31449 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31450 Also fail if tpwd after pwuid call is NULL.
31451
5a42321d
ST
314522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31453
31454 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31455 when converting to ms.
31456
fd3ebeda
ST
314572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31458
31459 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31460 EOPNOTSUPP errors with ENOTTY.
31461 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31462 EOPNOTSUPP errors with ENOTTY.
31463
73507d3a
UD
314642010-07-31 Ulrich Drepper <drepper@redhat.com>
31465
31466 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31467 Add strcasecmp_l-ssse3.
31468 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31469 strcasecmp.
31470 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31471 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31472 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31473
fe36dd02
UD
314742010-07-30 Ulrich Drepper <drepper@redhat.com>
31475
66f6765a
UD
31476 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31477
42e08a54
UD
31478 * string/Makefile (strop-tests): Add strcasecmp.
31479 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31480 strcasecmp_l-nonascii.
31481 (gen-as-const-headers): Add locale-defines.sym.
31482 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31483 * sysdeps/x86_64/strcasecmp.S: New file.
31484 * sysdeps/x86_64/strcasecmp_l.S: New file.
31485 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31486 * sysdeps/x86_64/locale-defines.sym: New file.
31487 * string/test-strcasecmp.c: New file.
31488
fe36dd02
UD
31489 * string/test-strcasestr.c: Test both ends of the range of characters.
31490 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31491
48cbc0d6
RM
314922010-07-29 Roland McGrath <roland@redhat.com>
31493
76e6d6bc 31494 [BZ #11856]
48cbc0d6
RM
31495 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31496
880113d9
UD
314972010-07-27 Ulrich Drepper <drepper@redhat.com>
31498
31499 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31500 for ld.so.
31501
deb9cabb
AS
315022010-07-27 Andreas Schwab <schwab@redhat.com>
31503
31504 * manual/memory.texi (Malloc Tunable Parameters): Document
31505 M_PERTURB.
31506
1c7570ff
RM
315072010-07-26 Roland McGrath <roland@redhat.com>
31508
31509 [BZ #11840]
31510 * configure.in (-fgnu89-inline check): Set and substitute
31511 gnu89_inline, not libc_cv_gnu89_inline.
31512 * configure: Regenerated.
31513 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31514
24fb0f88
UD
315152010-07-26 Ulrich Drepper <drepper@redhat.com>
31516
31517 * string/test-strnlen.c: New file.
31518 * string/Makefile (strop-tests): Add strnlen.
31519 * string/tester.c (test_strnlen): Add a few more test cases.
31520 * string/tst-strlen.c: Better error reporting.
31521
31522 * sysdeps/x86_64/strnlen.S: New file.
31523
8e96b93a
UD
315242010-07-24 Ulrich Drepper <drepper@redhat.com>
31525
31526 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31527 lower-latency instructions.
31528
dbc676d4
UD
315292010-07-23 Ulrich Drepper <drepper@redhat.com>
31530
31531 * string/test-strcasestr.c: New file.
31532 * string/test-strstr.c: New file.
31533 * string/Makefile (strop-tests): Add strstr and strcasestr.
31534 * string/str-two-way.h: Don't undefine MAX.
31535 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31536
f6a31e0e
AS
315372010-07-21 Andreas Schwab <schwab@redhat.com>
31538
31539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31540 strcasestr-nonascii.
31541 (CFLAGS-strcasestr-nonascii.c): Define.
31542 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31543 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31544 Remove unused attribute.
31545
5dbc3b6c
RM
315462010-07-20 Roland McGrath <roland@redhat.com>
31547
31548 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31549 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31550 ld.so.cache was broken. With it, there is no way to disable dsocaps
31551 like LD_HWCAP_MASK can disable hwcaps.
31552
23d101d8
EPM
315532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31554
31555 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31556
cc9f2e47
UD
315572010-07-16 Ulrich Drepper <drepper@redhat.com>
31558
31559 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31560 call in strcasestr.
31561 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31562 __strcasestr_sse42_nonascii.
31563 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31564 strcasestr-nonascii.c.
31565 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31566
77c1b069
LM
315672010-06-15 Luis Machado <luisgpm@br.ibm.com>
31568
31569 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31570 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31571 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31572 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31573
440566c3
UD
315742010-07-09 Ulrich Drepper <drepper@redhat.com>
31575
31576 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31577 fcntl.
31578
5be9d05d
AS
315792010-07-06 Andreas Schwab <schwab@redhat.com>
31580
c30b7ee2 31581 [BZ #11577]
5be9d05d
AS
31582 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31583 dl_signal_cerror.
31584
8a492a67
UD
315852010-07-06 Ulrich Drepper <drepper@redhat.com>
31586
31587 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31588 _PC_PIPE_BUF using F_GETPIPE_SZ.
31589
713df3d5
RM
315902010-07-05 Roland McGrath <roland@redhat.com>
31591
31592 * manual/arith.texi (Rounding Functions): Fix rint description
31593 implicit in round description.
31594
702e8f14
UD
315952010-07-02 Ulrich Drepper <drepper@redhat.com>
31596
31597 * elf/Makefile: Fix linking for a few tests to make recent linker
31598 happy.
31599
52ed8be9
AS
316002010-06-30 Andreas Schwab <schwab@redhat.com>
31601
31602 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31603 $(common-objpfx)libc_nonshared.a.
31604
f47c9a11
LM
316052010-06-21 Luis Machado <luisgpm@br.ibm.com>
31606
31607 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31608 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31609 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31610 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31611 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31612 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31613 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31614 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31629 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31630 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31631 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31632 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31633 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31634 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31635 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31636 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31637 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31638 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31639 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31640 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31655
6fb8cbcb
L
316562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31659 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31660 * string/memmove.c (memmove): Renamed to ...
31661 (MEMMOVE): ...this. Default to memmove.
31662 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31663 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31664 (END_CHK): Define.
31665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31666 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31667 mempcpy-ssse3-back memmove-ssse3-back.
31668 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31671 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31672 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31673 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31674 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31675 * sysdeps/x86_64/multiarch/memmove.c: New file.
31676 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31677 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31678 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31679 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31680 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31681 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31682 Define.
31683 (index_Fast_Copy_Backward): Define.
31684 (HAS_ARCH_FEATURE): Define.
31685 (HAS_FAST_REP_STRING): Define.
31686 (HAS_FAST_COPY_BACKWARD): Define.
31687
4e733bac 316882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31689
31690 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31691 Restore proper fallback handling.
31692
63c4ed22
UD
316932010-06-19 Ulrich Drepper <drepper@redhat.com>
31694
ac2b484c
UD
31695 [BZ #11701]
31696 * posix/group_member.c (__group_member): Correct checking loop.
31697
63c4ed22
UD
31698 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31699 OOM in getpwuid_r correctly. Return error number when the caller
31700 should return, otherwise -1.
31701 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31702 call returning > 0 value.
31703 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31704
765ade4b
AS
317052010-06-07 Andreas Schwab <schwab@redhat.com>
31706
31707 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31708 libc_nonshared.a from targets in modules-names.
31709
80da2e09
KS
317102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31711
31712 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31713 requires it.
31714
158db122
LM
317152010-06-10 Luis Machado <luisgpm@br.ibm.com>
31716
31717 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31718 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31719 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31720 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31721
caa78cf8
AS
317222010-06-02 Andreas Schwab <schwab@redhat.com>
31723
31724 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31725
b2ef2c01
UD
317262010-06-14 Ulrich Drepper <drepper@redhat.com>
31727
31728 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31729 and F_GETPIPE_SZ.
31730 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31734 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31736
fbd643b6
RM
317372010-06-14 Roland McGrath <roland@redhat.com>
31738
31739 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31740
f32f2869
JJ
317412010-06-07 Jakub Jelinek <jakub@redhat.com>
31742
31743 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31744 __REDIRECT followed by __THROW.
31745 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31746 * posix/getopt.h (getopt): Likewise.
31747
2a50c078
EPM
317482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31749
31750 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31751 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31752 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31753 in AT_FLAGS.
31754 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31755 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31756
eb5ad2eb
LM
317572010-05-28 Luis Machado <luisgpm@br.ibm.com>
31758
31759 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31760
3c88fe1e
L
317612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31762
31763 [BZ #11640]
31764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31765 Properly check family and model.
31766
d2f73151
TY
317672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31768
31769 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31770
ebd2e13d
LM
317712010-05-24 Luis Machado <luisgpm@br.ibm.com>
31772
31773 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31774
b32b8b45
UD
317752010-05-21 Ulrich Drepper <drepper@redhat.com>
31776
31777 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31778 symbol reference.
31779
9acbe24d
AS
317802010-05-19 Andreas Schwab <schwab@redhat.com>
31781
31782 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31783 symbol reference.
31784
f0ccf6ea
AS
317852010-05-21 Andreas Schwab <schwab@redhat.com>
31786
3d04ff3a
AS
31787 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31788 and internal_recvmmsg.
31789 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31790 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31791 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31792 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31793
f0ccf6ea
AS
31794 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31795 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31796 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31797
5b08ac57
AS
317982010-05-20 Andreas Schwab <schwab@redhat.com>
31799
31800 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31801
4828935d
LM
318022010-05-17 Luis Machado <luisgpm@br.ibm.com>
31803
31804 POWER7 optimizations.
31805 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31806 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31807
373d545e
UD
318082010-05-19 Ulrich Drepper <drepper@redhat.com>
31809
31810 * version.h: Update for 2.13 development version.
31811
21a2b1ae
AS
318122010-05-12 Andrew Stubbs <ams@codesourcery.com>
31813
31814 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31815 exceptions. Return 0.
31816
3f7dcb2b
RM
318172010-05-07 Roland McGrath <roland@redhat.com>
31818
31819 * elf/ldconfig.c (main): Add a const.
31820
5f24d53a 318212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31822
a160f8d8
UD
31823 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31824 (args_options): Add no-idn option.
31825 (ahosts_keys_int): Add idn_flags to ai_flags.
31826 (parse_option): Handle 'i' option to clear idn_flags.
31827
5f24d53a
UD
31828 * malloc/malloc.c (_int_free): Possible race in the most recently
31829 added check. Only act on the data if no current modification
31830 happened.
265bb1ce
UD
31831
31832See ChangeLog.17 for earlier changes.
This page took 4.029898 seconds and 5 git commands to generate.