]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Consistently use page_shift in sysdeps/unix/sysv/linux/mmap64.c.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8fbec010
JM
12013-06-28 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5
0432680e
PY
62013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7
8 [BZ #12492]
9 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10 mprotect making __stack_prot writable.
11
ce61a2ad
NF
122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13 Joseph Myers <joseph@codesourcery.com>
14
15 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16 as being properly aligned.
17
f91f1c0f
MR
182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19
3d0f5d0c
MR
20 * dlfcn/modstatic5.c: New file.
21 * dlfcn/tststatic5.c: New file.
22 * dlfcn/Makefile (tests): Add tststatic5.
23 (tests-static): Likewise.
24 (modules-names): Add modstatic5.
25 (tststatic5-ENV): New variable.
26 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27
f91f1c0f
MR
28 [BZ #15022]
29 * elf/dl-support.c (_dl_main_map): New variable.
30 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31 (_dl_nns, _dl_load_adds): Set to 1.
32 (_dl_initial_searchlist): Refer to _dl_main_map.
33 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
35 call to _dl_get_origin.
36 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
37 around call_map.
38 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39 * dlfcn/modstatic3.c: New file.
40 * dlfcn/tststatic3.c: New file.
41 * dlfcn/tststatic4.c: New file.
42 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43 (tests-static): Likewise.
44 (modules-names): Add modstatic3.
45 (tststatic3-ENV, tststatic4-ENV): New variables.
46 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48
cbe7d24b
JM
492013-06-26 Joseph Myers <joseph@codesourcery.com>
50
51 * configure.in (CC): Require GCC version 4.4 or later.
52 * configure: Regenerated.
53 * manual/install.texi (Tools for Compilation): Update GCC version
54 requirement.
55 * INSTALL: Regenerated.
56
11b8a0e1
LD
572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58
59 [BZ #15674]
bb5bb87c
L
60 * string/test-memcmp.c (check2): New.
61 (main): Call check2.
62
11b8a0e1
LD
63 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64
b0037103
MR
652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
66
67 [BZ #15022]
68 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
69 over to...
70 (dl_open_worker) [!SHARED]: ... here.
71
c18c701d
RA
722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73
74 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
75
1d17fa5f
RH
762013-06-25 Richard Henderson <rth@redhat.com>
77
78 * locale/programs/locarchive.c: Include <libc-internal.h>
79
8fcb833a
JM
802013-06-25 Joseph Myers <joseph@codesourcery.com>
81
82 * manual/texinfo.tex: Update to version 2013-06-21.17, with
83 trailing whitespace removed.
84
17db6e8d
MF
852013-06-24 Mike Frysinger <vapier@gentoo.org>
86
87 [BZ #10283]
17db6e8d
MF
88 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
89 * locale/programs/locarchive.c: Include libc-mmap.h.
90 (prepare_address_space): Take two new outputs (the mmap base and len).
91 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
92 values.
93 (create_archive): Declare new mmap base and len values for
94 prepare_address_space, and store the result in ah.
95 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
96 (enlarge_archive): If ah->mmap_base is not NULL, use that and
97 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
98 Declare new mmap base and len values for
99 prepare_address_space, and store the result in new_ah.
100 (open_archive): Declare new mmap base and len values for
101 prepare_address_space, and store the result in ah.
102 (close_archive): If ah->mmap_base is not NULL, use that and
103 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
104 * sysdeps/generic/libc-mmap.h: New file.
105
d605071e
MF
1062013-06-24 Mike Frysinger <vapier@gentoo.org>
107
108 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
109 (ALIGN_UP): Likewise.
110 (PTR_ALIGN_DOWN): Likewise.
111 (PTR_ALIGN_UP): Likewise.
112
2f063a6e
RA
1132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
114
115 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
116 entry mapped to PPC_PLATFORM_POWER8.
117 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
118 POWER8.
119 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
120 (_dl_string_platform): Add case for exporting platform position for
121 POWER8.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
123 search path to sysdeps/powerpc/powerpc32/power8 directory.
124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
125 search path to sysdeps/powerpc/powerpc64/power8 directory.
126 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
127 power7 directories.
128 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
129 power7 directories.
130
a31ee4b3
SP
1312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
132
a74ca98f
SP
133 * INSTALL: Regenerate.
134
a31ee4b3
SP
135 * nscd/connections.c (nscd_init): Fix comment.
136
695c378f
JM
1372013-06-22 Joseph Myers <joseph@codesourcery.com>
138
d8412221
JM
139 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
140
695c378f
JM
141 [BZ #15667]
142 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
143 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
144
d1d54715
MR
1452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
146
147 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
148 DL_DST_REQ_STATIC.
149 (DL_DST_REQ_STATIC): Remove macro.
150
8fdda7af
JM
1512013-06-21 Joseph Myers <joseph@codesourcery.com>
152
153 [BZ #7006]
154 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
155 with a shift of 0 bits.
156
f3bc5e5a
MR
1572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
158
159 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
160 $(tststatic-ENV).
161
be09e8c9
KK
1622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
163
164 [BZ #15655]
165 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
166
85c2e611
AZ
1672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168
169 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
170 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
171 accepts -fno-tree-loop-distribute-patterns.
172 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
173 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
174 recursive call.
175 * string/memset.c (memset): Likewise.
176 * string/test-memmove.c (simple_memmove): Disable loop transformation
177 to library calls.
178 * string/test-memset.c (simple_memset): Likewise.
179 * benchtests/bench-memmove.c (simple_memmove): Likewise.
180 * benchtests/bench-memset.c (simple_memset): Likewise.
181 * configure: Regenerated.
182
c91e0825
JM
1832013-06-20 Joseph Myers <joseph@codesourcery.com>
184
b8c792af
JM
185 * math/test-misc.c (main): Ignore fesetround failure when failures
186 of subsequent rounding tests would be ignored.
187
c91e0825
JM
188 [BZ #15654]
189 * math/fedisblxcpt.c (fedisableexcept): Return 0.
190 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
191 * math/fegetenv.c (__fegetenv): Return 0.
192 * math/fegetexcept.c (fegetexcept): Return 0.
193 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
194 FE_TONEAREST.
195 * math/feholdexcpt.c (feholdexcept): Return 0.
196 * math/fesetenv.c (__fesetenv): Return 0.
197 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
198 argument FE_TONEAREST.
199 * math/feupdateenv.c (__feupdateenv): Return 0.
200 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
201
bfcacbde
RM
2022013-06-18 Roland McGrath <roland@hack.frob.com>
203
204 * elf/rtld-Rules (rtld-compile-command.S): New variable.
205 (rtld-compile-command.s, rtld-compile-command.c): New variables.
206 ($(objpfx)rtld-%.os rules): Use them.
207
e55a9b25
AZ
2082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
209
210 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
211 fields.
212
346d65b3
RM
2132013-06-17 Roland McGrath <roland@hack.frob.com>
214
12086fb4
RM
215 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
216 length of target pattern, then descending length of dependency pattern.
217 * configure.in (AWK): Require gawk 3.1.2 or newer.
218 * manual/install.texi (Tools for Compilation): Say that we do.
219 * configure: Regenerated.
220
346d65b3
RM
221 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
222 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
223 * scripts/sysd-rules.awk: ... this new script.
224 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
225 than a glob-style pattern.
226
1a846317
JM
2272013-06-17 Joseph Myers <joseph@codesourcery.com>
228
229 * math/test-misc.c (main): Do not treat incorrectly rounded
230 conversions as failure unless ROUNDING_TESTS passes.
231
8fc75e6f
JM
2322013-06-15 Joseph Myers <joseph@codesourcery.com>
233
3711a167
JM
234 [BZ #15631]
235 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
236 restore exception state around main square root computation, then
237 check for inexactness explicitly.
238
8fc75e6f
JM
239 * math/libm-test.inc (fma_test_data): Add another test.
240
61dd6208
SP
2412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
242
adf23d2c
SP
243 * manual/threads.texi (Non-POSIX Extensions): New document
244 node. Document pthread_getattr_default_np and
245 pthread_setattr_default_np.
246
61dd6208
SP
247 * Versions.def (libpthread): Add GLIBC_2.18.
248 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
250 Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
252 Likewise.
253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
254 Likewise.
255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
256 Likewise.
257 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
258 Likewise.
259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
260 Likewise.
261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
262 Likewise.
263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
264 Likewise.
265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
266 Likewise.
267
d086fc7b
LD
2682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
269
270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
271 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
272
747ef469
SP
2732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
274 H.J. Lu <hjl.tools@gmail.com>
275
276 [BZ #15627]
277 * sysdeps/x86_64/rtld-memset.c: Remove file.
278 * sysdeps/x86_64/rtld-memset.S: New file.
279
1b2feed2
JM
2802013-06-14 Joseph Myers <joseph@codesourcery.com>
281
282 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
283 (test_in_one_mode): Take arguments for whether the rounding mode
284 is supported for each floating-point type.
285 (do_test): Pass new arguments to test_in_one_mode using
286 ROUNDING_TESTS.
287
a58ad3f8
RM
2882013-06-13 Roland McGrath <roland@hack.frob.com>
289
290 * posix/tst-waitid.c (do_test): Distinguish different instances of
291 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
292 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
293 before entering the kernel for waitpid.
294
c204ab28
SP
2952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
296
297 * NEWS: Fix note on clock function precision. Text by Roland
298 McGrath.
299
f4a29fba
RM
3002013-06-13 Roland McGrath <roland@hack.frob.com>
301
302 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
303 it into place only when and if the sanity check passes.
304
1f24b9ad
JM
3052013-06-13 Joseph Myers <joseph@codesourcery.com>
306
307 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
308 output for whether conversion result is exact. Take argument
309 indicating whether type is IBM long double.
310 (round_for_all): Change need_exact field to ibm_ld.
311 * stdlib/tst-strtod-round.c (struct exactness): New type.
312 (struct test): Change bool ld_ok field to struct exactness exact.
313 (TEST): Update all definitions for change to field.
314 (tests): Regenerate array contents.
315 (test_in_one_mode): Take pointer to new field instead of old ld_ok
316 field value. Check for IBM long double here.
317 (do_test): Update calls to test_in_one_mode.
318
58206c68
SP
3192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
320
321 [BZ #12515]
322 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
323 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
324
2d6f4c5b 3252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
326
327 [BZ #15605]
328 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
329 generated by the compiler on loop optimizations.
330 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
331 general definitions.
332
94f2c076
JM
3332013-06-12 Joseph Myers <joseph@codesourcery.com>
334
335 * math/bug-nextafter.c: Include <math-tests.h>.
336 (main): Only test for exceptions if EXCEPTION_TESTS is true for
337 the relevant type.
338 * math/bug-nexttoward.c: Include <math-tests.h>.
339 (main): Only test for exceptions if EXCEPTION_TESTS is true for
340 the relevant type.
341 * math/test-misc.c: Include <math-tests.h>.
342 (main): Only test for exceptions if EXCEPTION_TESTS is true for
343 the relevant type.
344
e0e50a0a
AJ
3452013-06-12 Andreas Jaeger <aj@suse.de>
346
347 * po/ia.po: Update Interlingua translation from translation
348 project.
349
25061094
SP
3502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
351
352 * include/fenv.h: Include stdbool.h.
353 (struct rm_ctx): New structure.
354 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
355 Define macro.
356 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
357 (SET_RESTORE_ROUNDF): Likewise.
358 (SET_RESTORE_ROUNDL): Likewise.
359 (SET_RESTORE_ROUND_NOEX): Likewise.
360 (SET_RESTORE_ROUND_NOEXF): Likewise.
361 (SET_RESTORE_ROUND_NOEXL): Likewise.
362 (SET_RESTORE_ROUND_53BIT): Likewise.
363 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
364 (libc_feresetround_noexf_ctx): Likewise.
365 (libc_feresetround_noexl_ctx): Likewise.
366 (libc_feholdsetround_53bit_ctx): Likewise.
367 (libc_feresetround_53bit_ctx): Likewise.
368 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
369 (libc_feholdexcept_setround_sse_ctx): New function.
370 (libc_fesetenv_sse_ctx): Likewise.
371 (libc_feupdateenv_sse_ctx): Likewise.
372 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
373 (libc_feholdexcept_setround_387_ctx): Likewise.
374 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
375 (libc_feholdsetround_387_prec_ctx): Likewise.
376 (libc_feholdsetround_387_ctx): Likewise.
377 (libc_feholdsetround_387_53bit_ctx): Likewise.
378 (libc_feholdsetround_sse_ctx): Likewise.
379 (libc_feresetround_sse_ctx): Likewise.
380 (libc_feresetround_387_ctx): Likewise.
381 (libc_feupdateenv_387_ctx): Likewise.
382 (libc_feholdexcept_setroundf_ctx): Define macro.
383 (libc_fesetenvf_ctx): Likewise.
384 (libc_feupdateenvf_ctx): Likewise.
385 (libc_feholdsetroundf_ctx): Likewise.
386 (libc_feresetroundf_ctx): Likewise.
387 (libc_feholdexcept_setround_ctx): Likewise.
388 (libc_fesetenv_ctx): Likewise.
389 (libc_feupdateenv_ctx): Likewise.
390 (libc_feholdsetround_ctx): Likewise.
391 (libc_feresetround_ctx): Likewise.
392 (libc_feholdexcept_setroundl_ctx): Likewise.
393 (libc_feupdateenvl_ctx): Likewise.
394 (libc_feholdsetroundl_ctx): Likewise.
395 (libc_feresetroundl_ctx): Likewise.
396 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
397 (libc_feresetround_53bit_ctx): Likewise.
398
59b30555
SP
3992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
400
401 * locale/iso-639.def: Convert to UTF-8.
402
f1d73d30
JM
4032013-06-11 Joseph Myers <joseph@codesourcery.com>
404
405 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
406 (EXCEPTION_TESTS_double): Likewise.
407 (EXCEPTION_TESTS_long_double): Likewise.
408 (EXCEPTION_TESTS): Likewise.
409 * math/libm-test.inc (test_exceptions): Only test exceptions if
410 EXCEPTION_TESTS (FLOAT).
411
94aca5e7
SP
4122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
413
414 * benchtests/Makefile (string-bench): Add strcpy_chk and
415 stpcpy_chk.
416 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
417 * benchtests/bench-stpcpy_chk.c: New file.
418 * benchtests/bench-strcpy_chk-ifunc.c: New file.
419 * benchtests/bench-strcpy_chk.c: New file.
420 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
421 code.
422 (do_test): Likewise.
423
fac0c5f2
RA
4242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
425
426 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
427 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
428 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
429 with tabs where appropriate.
430 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
431 dl-procinfo.h.
432 [PPC_PLATFORM_PPC440]: Likewise.
433 [PPC_PLATFORM_PPC464]: Likewise.
434 [PPC_PLATFORM_PPC476]: Likewise.
435 (_dl_string_platform): Add support for detecting ppc405, ppc440,
436 ppc464, and ppc476 platform strings merging from ports/
437 dl-procinfo.h.
438
f22bc486
AS
4392013-06-11 Andreas Schwab <schwab@suse.de>
440
441 [BZ #14991]
442 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
443 (from_ucs4_idx): Regenerate.
444 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
445 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
446 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
447 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
448 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
449 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
450 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
451 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
452 from FROM_LOOP and TO_LOOP specific macros.
453 (BODY): Handle combining characters.
454 * iconvdata/BIG5HKSCS.irreversible: Update.
455 * iconvdata/BIG5HKSCS.precomposed: New file.
456 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
457 characters.
458 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
459
c1f75dc3
SP
4602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
461
4eacded2
SP
462 * include/sys/time.h: Fix indentation and add copyright header.
463
fec799f8
SP
464 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
465 (do_test): Likewise.
466 * string/test-memchr.c (do_one_test): Likewise.
467 (do_test): Likewise.
468 * string/test-memcmp.c (do_one_test): Likewise.
469 (do_test): Likewise.
470 * string/test-memcpy.c (do_one_test): Likewise.
471 (do_test): Likewise.
472 * string/test-memmem.c (do_one_test): Likewise.
473 (do_test): Likewise.
474 (do_random_tests): Likewise.
475 * string/test-memmove.c (do_one_test): Likewise.
476 (do_test): Likewise.
477 * string/test-memset.c (do_one_test): Likewise.
478 (do_test): Likewise.
479 * string/test-rawmemchr.c (do_one_test): Likewise.
480 (do_test): Likewise.
481 * string/test-strcasecmp.c (do_one_test): Likewise.
482 (do_test): Likewise.
483 * string/test-strcasestr.c (do_one_test): Likewise.
484 (do_test): Likewise.
485 * string/test-strcat.c (do_one_test): Likewise.
486 (do_test): Likewise.
487 * string/test-strchr.c (do_one_test): Likewise.
488 (do_test): Likewise.
489 * string/test-strcmp.c (do_one_test): Likewise.
490 (do_test): Likewise.
491 * string/test-strcpy.c (do_one_test): Likewise.
492 (do_test): Likewise.
493 * string/test-string.h: Likewise.
494 (test_init): Likewise.
495 * string/test-strlen.c (do_one_test): Likewise.
496 (do_test): Likewise.
497 * string/test-strncasecmp.c (do_one_test): Likewise.
498 (do_test): Likewise.
499 * string/test-strncat.c (do_one_test): Likewise.
500 (do_test): Likewise.
501 * string/test-strncmp.c (do_one_test): Likewise.
502 (do_test_limit): Likewise.
503 (do_test): Likewise.
504 * string/test-strncpy.c (do_one_test): Likewise.
505 (do_test): Likewise.
506 * string/test-strnlen.c (do_one_test): Likewise.
507 (do_test): Likewise.
508 * string/test-strpbrk.c (do_one_test): Likewise.
509 (do_test): Likewise.
510 * string/test-strrchr.c (do_one_test): Likewise.
511 (do_test): Likewise.
512 * string/test-strspn.c (do_one_test): Likewise.
513 (do_test): Likewise.
514 * string/test-strstr.c (do_one_test): Likewise.
515 (do_test): Likewise.
516
97020474
SP
517 * benchtests/Makefile (string-bench): Add string benchmarks.
518 * benchtests/bench-bcopy-ifunc.c: New file.
519 * benchtests/bench-bcopy.c: New file.
520 * benchtests/bench-bzero-ifunc.c: New file.
521 * benchtests/bench-bzero.c: New file.
522 * benchtests/bench-memccpy-ifunc.c: New file.
523 * benchtests/bench-memccpy.c: New file.
524 * benchtests/bench-memchr-ifunc.c: New file.
525 * benchtests/bench-memchr.c: New file.
526 * benchtests/bench-memcmp-ifunc.c: New file.
527 * benchtests/bench-memcmp.c: New file.
528 * benchtests/bench-memmem-ifunc.c: New file.
529 * benchtests/bench-memmem.c: New file.
530 * benchtests/bench-memmove-ifunc.c: New file.
531 * benchtests/bench-memmove.c: New file.
532 * benchtests/bench-mempcpy-ifunc.c: New file.
533 * benchtests/bench-mempcpy.c: New file.
534 * benchtests/bench-memset-ifunc.c: New file.
535 * benchtests/bench-memset.c: New file.
536 * benchtests/bench-rawmemchr-ifunc.c: New file.
537 * benchtests/bench-rawmemchr.c: New file.
538 * benchtests/bench-stpcpy-ifunc.c: New file.
539 * benchtests/bench-stpcpy.c: New file.
540 * benchtests/bench-stpncpy-ifunc.c: New file.
541 * benchtests/bench-stpncpy.c: New file.
542 * benchtests/bench-strcasecmp-ifunc.c: New file.
543 * benchtests/bench-strcasecmp.c: New file.
544 * benchtests/bench-strcasestr-ifunc.c: New file.
545 * benchtests/bench-strcasestr.c: New file.
546 * benchtests/bench-strcat-ifunc.c: New file.
547 * benchtests/bench-strcat.c: New file.
548 * benchtests/bench-strchr-ifunc.c: New file.
549 * benchtests/bench-strchr.c: New file.
550 * benchtests/bench-strchrnul-ifunc.c: New file.
551 * benchtests/bench-strchrnul.c: New file.
552 * benchtests/bench-strcmp-ifunc.c: New file.
553 * benchtests/bench-strcmp.c: New file.
554 * benchtests/bench-strcpy-ifunc.c: New file.
555 * benchtests/bench-strcpy.c: New file.
556 * benchtests/bench-strcspn-ifunc.c: New file.
557 * benchtests/bench-strcspn.c: New file.
558 * benchtests/bench-strlen-ifunc.c: New file.
559 * benchtests/bench-strlen.c: New file.
560 * benchtests/bench-strncasecmp-ifunc.c: New file.
561 * benchtests/bench-strncasecmp.c: New file.
562 * benchtests/bench-strncat-ifunc.c: New file.
563 * benchtests/bench-strncat.c: New file.
564 * benchtests/bench-strncmp-ifunc.c: New file.
565 * benchtests/bench-strncmp.c: New file.
566 * benchtests/bench-strncpy-ifunc.c: New file.
567 * benchtests/bench-strncpy.c: New file.
568 * benchtests/bench-strnlen-ifunc.c: New file.
569 * benchtests/bench-strnlen.c: New file.
570 * benchtests/bench-strpbrk-ifunc.c: New file.
571 * benchtests/bench-strpbrk.c: New file.
572 * benchtests/bench-strrchr-ifunc.c: New file.
573 * benchtests/bench-strrchr.c: New file.
574 * benchtests/bench-strspn-ifunc.c: New file.
575 * benchtests/bench-strspn.c: New file.
576 * benchtests/bench-strstr-ifunc.c: New file.
577 * benchtests/bench-strstr.c: New file.
578
c1f75dc3
SP
579 * benchtests/Makefile: Disable parallel execution of targets.
580 (string-bench): Add memcpy.
581 (benchset): New variable to store a list of benchmark sets.
582 (bench-func): Renamed from bench.
583 (bench-set): New target.
584 (bench): Depend on bench-func and bench-set.
585 * benchtests/README: Add section on benchmark sets.
586 * benchtests/bench-memcpy-ifunc.c: New file.
587 * benchtests/bench-memcpy.c: New file.
588 * benchtests/bench-string.h: New file.
589
50fd745b
AS
5902013-06-11 Andreas Schwab <schwab@suse.de>
591
592 [BZ #15577]
593 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
594 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
595 values in the triple.
596 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
597 terminator in the group key.
598
3ee7e9fe
AJ
5992013-06-11 Andreas Jaeger <aj@suse.de>
600
601 * po/zh_TW.po: Update Chinese (traditional) translation from
602 translation project.
603
89fb6835
SP
6042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
605
606 * include/time.h (__clock_gettime): Add libc_hidden_proto.
607 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
608 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
609 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
610 (clock_getcpuclockid): Likewise.
611 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
612 Add weak_alias and libc_hidden_def.
613 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
614 * rt/clock_gettime.c (clock_gettime): Rename to
615 __clock_gettime. Add weak_alias and libc_hidden_def.
616 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
617 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
618 __clock_nanosleep. Add weak_alias and libc_hidden_def.
619 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
620 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
621 Likewise.
622 * rt/clock_settime.c (clock_settime): Rename to
623 __clock_settime. Add weak_alias and libc_hidden_def.
624 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
625
0efa6f8b
JM
6262013-06-10 Joseph Myers <joseph@codesourcery.com>
627
b8c61b4b
JM
628 * mach/err_boot.sub: Remove trailing whitespace.
629 * mach/err_ipc.sub: Likewise.
630 * mach/err_mach.sub: Likewise.
631
0efa6f8b
JM
632 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
633 (ROUNDING_TESTS_double): Likewise.
634 (ROUNDING_TESTS_long_double): Likewise.
635 (ROUNDING_TESTS): Likewise.
636 * math/libm-test.inc: Include <math-tests.h>.
637 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
638 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
639 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
640 (IF_ROUND_INIT_FE_UPWARD): Likewise.
641
50b818bf
SP
6422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
643
644 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
645 of assigning.
646
60d2f8f3
JM
6472013-06-08 Joseph Myers <joseph@codesourcery.com>
648
4902d2c3
JM
649 * sysdeps/gnu/errlist.awk: Do not generate space at end of
650 otherwise empty TRANS lines.
651 * sysdeps/gnu/errlist.c: Regenerated.
652
60d2f8f3
JM
653 * catgets/gencat.c (error_print): Use (void) in function
654 definition.
655 * crypt/crypt_util.c (__init_des): Likewise.
656 * crypt/speeds.c (Stop): Likewise.
657 (main): Likewise.
658 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
659 * inet/ruserpass.c (token): Likewise.
660 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
661 * intl/localealias.c (extend_alias_table): Likewise.
662 * intl/plural-exp.c (init_germanic_plural): Likewise.
663 * libio/fcloseall.c (__fcloseall): Likewise.
664 * libio/genops.c (_IO_flush_all): Likewise.
665 (_IO_flush_all_linebuffered): Likewise.
666 (_IO_cleanup): Likewise.
667 (_IO_iter_begin): Likewise.
668 (_IO_iter_end): Likewise.
669 (_IO_list_lock): Likewise.
670 (_IO_list_unlock): Likewise.
671 (_IO_list_resetlock): Likewise.
672 * libio/getchar.c (getchar): Likewise.
673 * libio/getchar_u.c (getchar_unlocked): Likewise.
674 * libio/getwchar.c (getwchar): Likewise.
675 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
676 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
677 * login/getpt.c (__getpt): Likewise.
678 * login/tst-utmp.c (main): Likewise.
679 * malloc/hooks.c (__malloc_check_init): Likewise.
680 * malloc/malloc.c (__malloc_stats): Likewise.
681 * malloc/mtrace.c (tr_break): Likewise.
682 (mtrace): Likewise.
683 (muntrace): Likewise.
684 * misc/fstab.c (endfsent): Likewise.
685 * misc/getclktck.c (__getclktck): Likewise.
686 * misc/getdtsz.c (__getdtablesize): Likewise.
687 * misc/gethostid.c (gethostid): Likewise.
688 * misc/getpagesize.c (__getpagesize): Likewise.
689 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
690 (__get_nprocs): Likewise.
691 (__get_phys_pages): Likewise.
692 (__get_avphys_pages): Likewise.
693 * misc/getttyent.c (getttyent): Likewise.
694 (setttyent): Likewise.
695 (endttyent): Likewise.
696 * misc/getusershell.c (getusershell): Likewise.
697 (endusershell): Likewise.
698 (setusershell): Likewise.
699 (initshells): Likewise.
700 * misc/hsearch.c (__hdestroy): Likewise.
701 * misc/sync.c (sync): Likewise.
702 * misc/syslog.c (closelog_internal): Likewise.
703 (closelog): Likewise.
704 * misc/ttyslot.c (ttyslot): Likewise.
705 * misc/vhangup.c (vhangup): Likewise.
706 * posix/fork.c (__fork): Likewise.
707 * posix/getegid.c (__getegid): Likewise.
708 * posix/geteuid.c (__geteuid): Likewise.
709 * posix/getgid.c (__getgid): Likewise.
710 * posix/getpid.c (__getpid): Likewise.
711 * posix/getppid.c (__getppid): Likewise.
712 * posix/getuid.c (__getuid): Likewise.
713 * posix/pause.c (pause): Likewise.
714 * posix/setpgrp.c (setpgrp): Likewise.
715 * posix/setsid.c (__setsid): Likewise.
716 * posix/test-vfork.c (noop): Likewise.
717 * resolv/gethnamaddr.c (_endhtent): Likewise.
718 (_gethtent): Likewise.
719 (ht_endhostent): Likewise.
720 (gethostent): Likewise.
721 (dns_service): Likewise.
722 * stdlib/drand48.c (drand48): Likewise.
723 * stdlib/lrand48.c (lrand48): Likewise.
724 * stdlib/mrand48.c (mrand48): Likewise.
725 * stdlib/rand.c (rand): Likewise.
726 * stdlib/random.c (__random): Likewise.
727 * stdlib/setenv.c (clearenv): Likewise.
728 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
729 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
730 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
731 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
732 (__get_nprocs): Likewise.
733 (__get_phys_pages): Likewise.
734 (__get_avphys_pages): Likewise.
735 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
736 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
737 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
738 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
739 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
740 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
741 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
742 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
743 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
744 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
745 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
746 * sysdeps/mach/hurd/sync.c (sync): Likewise.
747 * sysdeps/posix/clock.c (clock): Likewise.
748 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
749 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
750 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
751 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
752 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
753 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
754 (__get_nprocs_conf): Likewise.
755 (__get_phys_pages): Likewise.
756 (__get_avphys_pages): Likewise.
757 * time/clock.c (clock): Likewise.
758 * time/tzset.c (__tzname_max): Likewise.
759
2e09a79a
JM
7602013-06-07 Joseph Myers <joseph@codesourcery.com>
761
762 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
763 (__bswap_32): Do not use "register".
764 * crypt/crypt.c (_ufc_doit_r): Likewise.
765 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
766 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
767 * gmon/gmon.c (__monstartup): Likewise.
768 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
769 * hurd/hurdmalloc.c (more_memory): Likewise.
770 (malloc): Likewise.
771 (free): Likewise.
772 (realloc): Likewise.
773 (malloc_fork_prepare): Likewise.
774 (malloc_fork_parent): Likewise.
775 (malloc_fork_child): Likewise.
776 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
777 (_svcauth_des): Likewise.
778 * inet/inet_lnaof.c (inet_lnaof): Likewise.
779 * inet/inet_net.c (inet_network): Likewise.
780 * inet/inet_netof.c (inet_netof): Likewise.
781 * inet/rcmd.c (__validuser2_sa): Likewise.
782 * io/fts.c (fts_open): Likewise.
783 (fts_load): Likewise.
784 (fts_close): Likewise.
785 (fts_read): Likewise.
786 (fts_children): Likewise.
787 (fts_build): Likewise.
788 (fts_stat): Likewise.
789 (fts_sort): Likewise.
790 (fts_alloc): Likewise.
791 (fts_lfree): Likewise.
792 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
793 (_IO_file_xsgetn): Likewise.
794 (_IO_file_xsgetn_mmap): Likewise.
795 * libio/iofopncook.c (_IO_cookie_read): Likewise.
796 (_IO_cookie_write): Likewise.
797 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
798 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
799 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
800 * malloc/obstack.c (_obstack_begin): Likewise.
801 (_obstack_begin_1): Likewise.
802 (_obstack_newchunk): Likewise.
803 (_obstack_allocated_p): Likewise.
804 (obstack_free): Likewise.
805 (_obstack_memory_used): Likewise.
806 * misc/getttyent.c (getttynam): Likewise.
807 (getttyent): Likewise.
808 (skip): Likewise.
809 (value): Likewise.
810 * misc/getusershell.c (initshells): Likewise.
811 * misc/syslog.c (__vsyslog_chk): Likewise.
812 * misc/ttyslot.c (ttyslot): Likewise.
813 * nis/nis_hash.c (__nis_hash): Likewise.
814 * posix/fnmatch_loop.c (FCT): Likewise.
815 * posix/getconf.c (print_all): Likewise.
816 (main): Likewise.
817 * posix/getopt.c (exchange): Likewise.
818 * posix/glob.c (globfree): Likewise.
819 (prefix_array): Likewise.
820 (__glob_pattern_type): Likewise.
821 * resolv/arpa/nameser.h (NS_GET16): Likewise.
822 (NS_GET32): Likewise.
823 (NS_PUT16): Likewise.
824 (NS_PUT32): Likewise.
825 * resolv/gethnamaddr.c (getanswer): Likewise.
826 (gethostbyname2): Likewise.
827 (gethostbyaddr): Likewise.
828 (_gethtent): Likewise.
829 (_gethtbyname2): Likewise.
830 (_gethtbyaddr): Likewise.
831 * resolv/ns_print.c (dst_s_get_int16): Likewise.
832 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
833 * resolv/res_init.c (__res_vinit): Likewise.
834 (net_mask): Likewise.
835 * resolv/res_mkquery.c (outchar): Likewise.
836 (PRINT): Likewise.
837 * stdio-common/printf_fp.c (outchar): Likewise.
838 (PRINT): Likewise.
839 * stdio-common/printf_fphex.c (outchar): Likewise.
840 (PRINT): Likewise.
841 * stdio-common/printf_size.c (outchar): Likewise.
842 (PRINT): Likewise.
843 * stdio-common/test_rdwr.c (main): Likewise.
844 * stdio-common/tfformat.c (matches): Likewise.
845 * stdio-common/vfprintf.c (outchar): Likewise.
846 (printf_unknown): Likewise.
847 (buffered_vfprintf): Likewise.
848 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
849 * stdio-common/xbug.c (AppendToBuffer): Likewise.
850 (ReadFile): Likewise.
851 * stdlib/qsort.c (SWAP): Likewise.
852 (_quicksort): Likewise.
853 * stdlib/setenv.c (__add_to_environ): Likewise.
854 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
855 * stdlib/strtol_l.c (__strtol_l): Likewise.
856 * stdlib/tst-strtod.c (main): Likewise.
857 * stdlib/tst-strtol.c (main): Likewise.
858 * stdlib/tst-strtoll.c (main): Likewise.
859 * string/bits/string2.h (__strcmp_cc): Likewise.
860 (__strcmp_cg): Likewise.
861 (__strcspn_c1): Likewise.
862 (__strcspn_c2): Likewise.
863 (__strcspn_c3): Likewise.
864 (__strspn_c1): Likewise.
865 (__strspn_c2): Likewise.
866 (__strspn_c3): Likewise.
867 (__strsep_1c): Likewise.
868 (__strsep_2c): Likewise.
869 (__strsep_3c): Likewise.
870 * string/memccpy.c (__memccpy): Likewise.
871 * string/stpcpy.c (__stpcpy): Likewise.
872 * string/strcmp.c (strcmp): Likewise.
873 * string/strrchr.c (strrchr): Likewise.
874 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
875 Likewise.
876 * sysdeps/mach/hurd/getcwd.c
877 (_hurd_canonicalize_directory_name_internal): Likewise.
878 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
879 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
880 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
881 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
882 Likewise, in both definitions.
883 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
884 definitions.
885 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
886 64] (__bswap_64): Likewise.
887 * time/test_time.c (main): Likewise.
888 * time/tzfile.c (__tzfile_read): Likewise.
889 (__tzfile_compute): Likewise.
890 * time/tzset.c (__tzset_parse_tz): Likewise.
891 (tzset_internal): Likewise.
892 (compute_change): Likewise.
893 * wcsmbs/wcscat.c (__wcscat): Likewise.
894 * wcsmbs/wcschr.c (wcschr): Likewise.
895 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
896 * wcsmbs/wcscspn.c (wcscspn): Likewise.
897 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
898 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
899 * wcsmbs/wcsspn.c (wcsspn): Likewise.
900 * wcsmbs/wcsstr.c (wcsstr): Likewise.
901 * wcsmbs/wmemchr.c (wmemchr): Likewise.
902 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
903 * wcsmbs/wmemset.c (wmemset): Likewise.
904
9e54314b
JM
9052013-06-06 Joseph Myers <joseph@codesourcery.com>
906
907 * scripts/config.guess: Update to version 2013-05-16.
908 * scripts/config.sub: Update to version 2013-04-24.
909 * scripts/install-sh: Update to version 2011-11-20.07.
910 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
911 * scripts/move-if-change: Update to version 2012-01-06 07:23.
912
350635a5
OB
9132013-06-06 Ondřej Bílka <neleai@seznam.cz>
914
915 * debug/fgetws_u_chk.c: Fix leading whitespaces.
916 * elf/sln.c: Likewise.
917 * hurd/hurd/ioctl.h: Likewise.
918 * hurd/hurdmalloc.c: Likewise.
919 * hurd/xattr.c: Likewise.
920 * include/shlib-compat.h: Likewise.
921 * inet/ruserpass.c: Likewise.
922 * libio/iofgets_u.c: Likewise.
923 * libio/iofgetws_u.c: Likewise.
924 * locale/programs/ld-identification.c: Likewise.
925 * locale/programs/ld-time.c: Likewise.
926 * mach/msg-destroy.c: Likewise.
927 * nss/nss_files/files-netgrp.c: Likewise.
928 * resolv/res_data.c: Likewise.
929 * soft-fp/op-1.h: Likewise.
930 * soft-fp/op-2.h: Likewise.
931 * soft-fp/op-4.h: Likewise.
932 * soft-fp/op-common.h: Likewise.
933 * stdio-common/printf_fphex.c: Likewise.
934 * stdlib/strtod_l.c: Likewise.
935 * sunrpc/rpc/clnt.h: Likewise.
936 * sysdeps/generic/framestate.c: Likewise.
937 * sysdeps/i386/bsd-_setjmp.S: Likewise.
938 * sysdeps/i386/bsd-setjmp.S: Likewise.
939 * sysdeps/i386/__longjmp.S: Likewise.
940 * sysdeps/i386/setjmp.S: Likewise.
941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
942 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
943 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
944 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
946 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
947 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
948 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
949 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
950 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
951 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
952 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
953 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
954 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
955 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
956 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
957 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
958 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
959 * sysdeps/ieee754/support.c: Likewise.
960 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
961 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
962 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
963 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
964 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
965 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
966 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
967 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
968 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
969 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
970 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
971 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
972 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
973 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
974 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
975 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
976 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
978
44a988af
OB
9792013-06-05 Ondřej Bílka <neleai@seznam.cz>
980
25506f09 981 * posix/transbug.c: Remove executable mode.
44a988af 982
9c84384c
JM
9832013-06-05 Joseph Myers <joseph@codesourcery.com>
984
985 * crypt/speeds.c: Remove trailing whitespace.
986 * dlfcn/default.c: Likewise.
987 * elf/ifuncdep2.c: Likewise.
988 * elf/ifuncmain1.c: Likewise.
989 * elf/ifuncmain1vis.c: Likewise.
990 * elf/testobj.h: Likewise.
991 * elf/tst-stackguard1.c: Likewise.
992 * gmon/sys/gmon.h: Likewise.
993 * hurd/hurdmsg.c: Likewise.
994 * hurd/new-fd.c: Likewise.
995 * hurd/ports-get.c: Likewise.
996 * iconvdata/ibm1008_420.c: Likewise.
997 * inet/tst-getni1.c: Likewise.
998 * inet/tst-getni2.c: Likewise.
999 * libio/ioungetc.c: Likewise.
1000 * libio/wfiledoalloc.c: Likewise.
1001 * manual/libm-err-tab.pl: Likewise.
1002 * math/w_dremf.c: Likewise.
1003 * misc/ftruncate.c: Likewise.
1004 * posix/bug-glob2.c: Likewise.
1005 * posix/tst-pcre.c: Likewise.
1006 * posix/wait4.c: Likewise.
1007 * resolv/README: Likewise.
1008 * resolv/res_debug.h: Likewise.
1009 * resolv/tst-inet_ntop.c: Likewise.
1010 * setjmp/bug269-setjmp.c: Likewise.
1011 * soft-fp/extended.h: Likewise.
1012 * soft-fp/op-1.h: Likewise.
1013 * soft-fp/op-2.h: Likewise.
1014 * soft-fp/op-4.h: Likewise.
1015 * soft-fp/op-8.h: Likewise.
1016 * soft-fp/testit.c: Likewise.
1017 * stdio-common/bug16.c: Likewise.
1018 * stdlib/random.c: Likewise.
1019 * sunrpc/rpcsvc/rquota.x: Likewise.
1020 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1021 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1023 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1024 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1025 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1026 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1027 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1028 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1030 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1031 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1032 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1033 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1034 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1035 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1036 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1037 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1038 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1041 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1042 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1043 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1044 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1048 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1049 * sysdeps/ieee754/s_lib_version.c: Likewise.
1050 * sysdeps/mach/hurd/check_fds.c: Likewise.
1051 * sysdeps/mach/hurd/getsockname.c: Likewise.
1052 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1053 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1054 * sysdeps/powerpc/bits/link.h: Likewise.
1055 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1056 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1057 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1058 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1059 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1060 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1061 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1062 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1063 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1064 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1065 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1066 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1067 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1068 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1069 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1070 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1071 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1072 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1073 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1074 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1075 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1076 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1077 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1078 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1079 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1080 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1082 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1083 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1084 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1085 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1086 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1088 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1089 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1090 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1091 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1092 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1094 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1095 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1096 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1097 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1098 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1101 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1102 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1103 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1104 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1106 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1107 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1108 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1109 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1110 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1111 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1112 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1113 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1114 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1115 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1116 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1117 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1118 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1119 * sysdeps/powerpc/sysdep.h: Likewise.
1120 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1121 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1122 * sysdeps/sh/dl-trampoline.S: Likewise.
1123 * sysdeps/sh/memset.S: Likewise.
1124 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1125 * sysdeps/sh/strlen.S: Likewise.
1126 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1127 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1128 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1129 * sysdeps/sparc/sparc32/rem.S: Likewise.
1130 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1131 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1132 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1133 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1134 * sysdeps/sparc/sparc32/urem.S: Likewise.
1135 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1136 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1137 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1138 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1139 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1140 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1141 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1142 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1143 * sysdeps/unix/bsd/times.c: Likewise.
1144 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1145 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1149 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1150 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1151 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1152 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1153 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1154 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1155 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1156 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1157 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1158 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1159 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1161 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1162 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1163 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1164 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1165 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1166 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1167 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1168 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1169 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1170 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1171 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1172 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1173 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1174 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1175 * sysdeps/x86_64/strcspn.S: Likewise.
1176
869378a5
RA
11772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1178
1179 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1180 generated file. Regenerate properly from gen-translit.pl.
1181 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1182 locale/C-translit.h.
1183
840e2943
AS
11842013-06-05 Andreas Schwab <schwab@suse.de>
1185
1186 [BZ #15100]
1187 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1188 week as 6 instead of -1.
1189 * time/tst-strptime.c (day_tests): Add test case.
1190
4c60cb0c
SP
11912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1192
1193 * sysdeps/generic/math_private.h
1194 (libc_feholdexcept_setround_53bit): Replace with
1195 libc_feholdsetround_53bit.
1196 (libc_feupdateenv_53bit): Replace with
1197 libc_feresetround_53bit.
1198 (SET_RESTORE_ROUND_53BIT): Adjust.
1199
d180203e
SP
12002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1201
96df079a
SP
1202 * string/test-strchrnul.c: Add copyright header.
1203
d180203e
SP
1204 * posix/tst-getaddrinfo4.c: Increase test timeout.
1205
8b0ccb2d
CD
12062013-06-03 Carlos O'Donell <carlos@redhat.com>
1207
1208 [BZ #15536]
1209 * math/libm-test.inc (MAX_EXP): Remove
1210 (MIN_EXP): Define.
1211 (ulp): Use MIN_EXP - MANT_DIG.
1212 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1213
3b3c4d40
CD
12142013-05-31 Carlos O'Donell <carlos@redhat.com>
1215
1216 * po/be.po: Revert last change.
1217 * po/zh_CN.po: Likewise.
1218 * po/header.pot: Likewise.
1219
fab7ce3f
JM
12202013-05-31 Joseph Myers <joseph@codesourcery.com>
1221
1222 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1223 link-libc-deps to empty as target-specific variable.
1224 * Makerules (link-libc-args): New variable.
1225 (libc-for-link): Likewise.
1226 (link-libc-deps): Likewise.
1227 (lib%.so): Depend on $(link-libc-deps). Link with
1228 $(link-libc-args).
1229 (build-module): Link with $(link-libc-args).
1230 (build-module-asneeded): Likewise.
1231 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1232 list of objects.
1233 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1234 target-specific variable.
1235 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1236 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1237 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1238 libc.
1239 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1240 libc and ld.so.
1241 ($(objpfx)libpcprofile.so): Likewise.
1242 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1243 libc_nonshared.a.
1244 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1245 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1246 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1247 $(link-libc-deps).
1248 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1249 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1250 * login/Makefile ($(objpfx)libutil.so): Likewise.
1251 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1252 * math/Makefile ($(objpfx)libm.so): Likewise.
1253 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1254 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1255 variable instead of depending directly on libc.
1256 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1257 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1258 $(link-libc-deps).
1259 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1260 libc.
1261 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1262 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1263 ($(objpfx)libanl.so): Likewise.
1264 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1265 ld.so.
1266 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1267 $(link-libc-deps).
1268 * sysdeps/i386/fpu/Makefile: Remove file.
1269 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1270 ($(objpfx)libm.so): Remove dependency on ld.so.
1271
eca5920c
PF
12722013-05-30 Patsy Franklin <pfrankli@redhat.com>
1273
1274 [BZ # 15553]
1275 * nis/yp_xdr.c (XDRMAXNAME): Define.
1276 (XDRMAXRECORD): Define.
1277 (xdr_domainname): Use XDRMAXNAME.
1278 (xdr_mapname): Likewise.
1279 (xdr_peername): Likewise.
1280 (xdr_keydat): Use XDRMAXRECORD.
1281 (xdr_valdat): Likewise.
1282
12832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1284
1285 [BZ #14256]
1286 * manual/errno.texi (ESTALE): Update to account for more than
1287 just NFS file systems.
1288 * sysdeps/gnu/errlist.c: Regenerated.
1289
b9375348
SP
12902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1291
1292 [BZ #15465]
1293 * elf/Makefile (tests): Add tst-null-argv.
1294 (modules-names): Add tst-null-argv-lib.
1295 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1296 (tst-null-argv-ENV): Set environment for tst-null-argv.
1297 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1298 (RTLD_PROGNAME): New macro.
1299 * elf/tst-null-argv.c: New test case.
1300 * elf/tst-null-argv-lib.c: Library for test case.
1301 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1302 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1303 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1304 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1305 * elf/dl-init.c (call_init): Likewise.
1306 (_dl_init): Likewise.
1307 * elf/dl-load.c (print_search_path): Likewise.
1308 (_dl_map_object): Likewise.
1309 * elf/dl-lookup.c (do_lookup_x): Likewise.
1310 (add_dependency): Likewise.
1311 (_dl_lookup_symbol_x): Likewise.
1312 (_dl_debug_bindings): Likewise.
1313 * elf/dl-open.c (_dl_show_scope): Likewise.
1314 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1315 * elf/dl-version.c (match_symbol): Likewise.
1316 (_dl_check_map_versions): Likewise.
1317 * elf/rtld.c (dl_main): Likewise.
1318 (print_unresolved): Use RTLD_PROGNAME.
1319 (print_missing_version): Likewise.
1320 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1321 (elf_machine_rela): Likewise.
1322 * sysdeps/powerpc/powerpc32/dl-machine.c
1323 (__process_machine_rela): Likewise.
1324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1325 Likewise.
1326 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1327 Likewise.
1328 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1329 Likewise.
1330 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1331 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1332 Likewise.
1333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1334 Likewise.
1335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1336
8a9f20c8
CD
13372013-05-28 Carlos O'Donell <carlos@redhat.com>
1338
1339 * po/be.po: Add descriptive title.
1340 * po/zh_CN.po: Likewise.
1341 * po/header.pot: Likewise.
1342
0e60d68e
MF
13432013-05-28 Mike Frysinger <vapier@gentoo.org>
1344
1345 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1346 error message.
1347 (enlarge_archive): Likewise.
1348
56b672e9
BN
13492013-05-28 Ben North <ben@redfrontdoor.org>
1350
1351 * manual/arith.texi (frexp): It is the magnitude of the return
1352 value which lies in [0.5, 1), not the return value itself.
1353
5e056687
AZ
13542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355
1356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1357
2b66ef5d
TS
13582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1359
528c2405
TS
1360 * stdio-common/bug26.c (main): Correct fscanf template.
1361
07b4c13d
TS
1362 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1363 declare _dl_skip_args.
1364
ec9dd97c
TS
1365 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1366 Don't declare.
1367
2b66ef5d
TS
1368 * manual/platform.texi: Add missing @end deftypefun.
1369
4f8dfe27
JM
13702013-05-24 Joseph Myers <joseph@codesourcery.com>
1371
0323d086
JM
1372 [BZ #15529]
1373 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1374 bit of mantissa of 2^16382.
1375 * math/libm-test.inc (hypot_test_data): Add more tests.
1376
dd4259b9
JM
1377 * math/libm-test.inc: Add drem and pow10 to list of tested
1378 functions.
1379 (pow10_test): New function.
1380 (drem_test): Likewise.
1381 (drem_test_tonearest): Likewise.
1382 (drem_test_towardzero): Likewise.
1383 (drem_test_downward): Likewise.
1384 (drem_test_upward): Likewise.
1385 (main): Call the new functions.
1386
4f8dfe27
JM
1387 * math/libm-test.inc (finite_test_data): Remove.
1388 (finite_test): Run tests from isfinite_test_data.
1389 (gamma_test_data): Remove.
1390 (gamma_test): Run tests from lgamma_test_data.
1391 * sysdeps/i386/fpu/libm-test-ulps: Update.
1392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1393
d116b7c4
AZ
13942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395
1396 * manual/platform.texi: Add PowerPC PPR function set documentation.
1397 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1398 implementation.
1399
e96e3767
CD
14002013-05-24 Carlos O'Donell <carlos@redhat.com>
1401
1402 * math/libm-test.inc (MAX_EXP): Define.
1403 (ULPDIFF): Define.
1404 (ulp): New function.
1405 (check_float_internal): Use ULPDIFF.
1406 (cpow_test): Disable failing test.
1407 (check_ulp): Test ulp() implemetnation.
1408 (main): Call check_ulp before starting tests.
1409
b679a606
JM
14102013-05-24 Joseph Myers <joseph@codesourcery.com>
1411
e8bdba36
JM
1412 * math/gen-libm-test.pl (generate_testfile): Do not handle
1413 START_DATA and END_DATA.
1414 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1415 END_DATA.
1416 (acos_tonearest_test_data): Likewise.
1417 (acos_towardzero_test_data): Likewise.
1418 (acos_downward_test_data): Likewise.
1419 (acos_upward_test_data): Likewise.
1420 (acosh_test_data): Likewise.
1421 (asin_test_data): Likewise.
1422 (asin_tonearest_test_data): Likewise.
1423 (asin_towardzero_test_data): Likewise.
1424 (asin_downward_test_data): Likewise.
1425 (asin_upward_test_data): Likewise.
1426 (asinh_test_data): Likewise.
1427 (atan_test_data): Likewise.
1428 (atanh_test_data): Likewise.
1429 (atan2_test_data): Likewise.
1430 (cabs_test_data): Likewise.
1431 (cacos_test_data): Likewise.
1432 (cacosh_test_data): Likewise.
1433 (carg_test_data): Likewise.
1434 (casin_test_data): Likewise.
1435 (casinh_test_data): Likewise.
1436 (catan_test_data): Likewise.
1437 (catanh_test_data): Likewise.
1438 (cbrt_test_data): Likewise.
1439 (ccos_test_data): Likewise.
1440 (ccosh_test_data): Likewise.
1441 (ceil_test_data): Likewise.
1442 (cexp_test_data): Likewise.
1443 (cimag_test_data): Likewise.
1444 (clog_test_data): Likewise.
1445 (clog10_test_data): Likewise.
1446 (conj_test_data): Likewise.
1447 (copysign_test_data): Likewise.
1448 (cos_test_data): Likewise.
1449 (cos_tonearest_test_data): Likewise.
1450 (cos_towardzero_test_data): Likewise.
1451 (cos_downward_test_data): Likewise.
1452 (cos_upward_test_data): Likewise.
1453 (cosh_test_data): Likewise.
1454 (cosh_tonearest_test_data): Likewise.
1455 (cosh_towardzero_test_data): Likewise.
1456 (cosh_downward_test_data): Likewise.
1457 (cosh_upward_test_data): Likewise.
1458 (cpow_test_data): Likewise.
1459 (cproj_test_data): Likewise.
1460 (creal_test_data): Likewise.
1461 (csin_test_data): Likewise.
1462 (csinh_test_data): Likewise.
1463 (csqrt_test_data): Likewise.
1464 (ctan_test_data): Likewise.
1465 (ctan_tonearest_test_data): Likewise.
1466 (ctan_towardzero_test_data): Likewise.
1467 (ctan_downward_test_data): Likewise.
1468 (ctan_upward_test_data): Likewise.
1469 (ctanh_test_data): Likewise.
1470 (ctanh_tonearest_test_data): Likewise.
1471 (ctanh_towardzero_test_data): Likewise.
1472 (ctanh_downward_test_data): Likewise.
1473 (ctanh_upward_test_data): Likewise.
1474 (erf_test_data): Likewise.
1475 (erfc_test_data): Likewise.
1476 (exp_test_data): Likewise.
1477 (exp_tonearest_test_data): Likewise.
1478 (exp_towardzero_test_data): Likewise.
1479 (exp_downward_test_data): Likewise.
1480 (exp_upward_test_data): Likewise.
1481 (exp10_test_data): Likewise.
1482 (exp2_test_data): Likewise.
1483 (expm1_test_data): Likewise.
1484 (fabs_test_data): Likewise.
1485 (fdim_test_data): Likewise.
1486 (finite_test_data): Likewise.
1487 (floor_test_data): Likewise.
1488 (fma_test_data): Likewise.
1489 (fma_towardzero_test_data): Likewise.
1490 (fma_downward_test_data): Likewise.
1491 (fma_upward_test_data): Likewise.
1492 (fmax_test_data): Likewise.
1493 (fmin_test_data): Likewise.
1494 (fmod_test_data): Likewise.
1495 (fpclassify_test_data): Likewise.
1496 (frexp_test_data): Likewise.
1497 (gamma_test_data): Likewise.
1498 (hypot_test_data): Likewise.
1499 (ilogb_test_data): Likewise.
1500 (isfinite_test_data): Likewise.
1501 (isgreater_test_data): Likewise.
1502 (isgreaterequal_test_data): Likewise.
1503 (isinf_test_data): Likewise.
1504 (isless_test_data): Likewise.
1505 (islessequal_test_data): Likewise.
1506 (islessgreater_test_data): Likewise.
1507 (isnan_test_data): Likewise.
1508 (isnormal_test_data): Likewise.
1509 (issignaling_test_data): Likewise.
1510 (isunordered_test_data): Likewise.
1511 (j0_test_data): Likewise.
1512 (j1_test_data): Likewise.
1513 (jn_test_data): Likewise.
1514 (ldexp_test_data): Likewise.
1515 (lgamma_test_data): Likewise.
1516 (lrint_test_data): Likewise.
1517 (lrint_tonearest_test_data): Likewise.
1518 (lrint_towardzero_test_data): Likewise.
1519 (lrint_downward_test_data): Likewise.
1520 (lrint_upward_test_data): Likewise.
1521 (llrint_test_data): Likewise.
1522 (llrint_tonearest_test_data): Likewise.
1523 (llrint_towardzero_test_data): Likewise.
1524 (llrint_downward_test_data): Likewise.
1525 (llrint_upward_test_data): Likewise.
1526 (log_test_data): Likewise.
1527 (log10_test_data): Likewise.
1528 (log1p_test_data): Likewise.
1529 (log2_test_data): Likewise.
1530 (logb_test_data): Likewise.
1531 (logb_downward_test_data): Likewise.
1532 (lround_test_data): Likewise.
1533 (llround_test_data): Likewise.
1534 (modf_test_data): Likewise.
1535 (nearbyint_test_data): Likewise.
1536 (nextafter_test_data): Likewise.
1537 (nexttoward_test_data): Likewise.
1538 (pow_test_data): Likewise.
1539 (pow_tonearest_test_data): Likewise.
1540 (pow_towardzero_test_data): Likewise.
1541 (pow_downward_test_data): Likewise.
1542 (pow_upward_test_data): Likewise.
1543 (remainder_test_data): Likewise.
1544 (remainder_tonearest_test_data): Likewise.
1545 (remainder_towardzero_test_data): Likewise.
1546 (remainder_downward_test_data): Likewise.
1547 (remainder_upward_test_data): Likewise.
1548 (remquo_test_data): Likewise.
1549 (rint_test_data): Likewise.
1550 (rint_tonearest_test_data): Likewise.
1551 (rint_towardzero_test_data): Likewise.
1552 (rint_downward_test_data): Likewise.
1553 (rint_upward_test_data): Likewise.
1554 (round_test_data): Likewise.
1555 (scalb_test_data): Likewise.
1556 (scalbn_test_data): Likewise.
1557 (scalbln_test_data): Likewise.
1558 (signbit_test_data): Likewise.
1559 (sin_test_data): Likewise.
1560 (sin_tonearest_test_data): Likewise.
1561 (sin_towardzero_test_data): Likewise.
1562 (sin_downward_test_data): Likewise.
1563 (sin_upward_test_data): Likewise.
1564 (sincos_test_data): Likewise.
1565 (sinh_test_data): Likewise.
1566 (sinh_tonearest_test_data): Likewise.
1567 (sinh_towardzero_test_data): Likewise.
1568 (sinh_downward_test_data): Likewise.
1569 (sinh_upward_test_data): Likewise.
1570 (sqrt_test_data): Likewise.
1571 (tan_test_data): Likewise.
1572 (tan_tonearest_test_data): Likewise.
1573 (tan_towardzero_test_data): Likewise.
1574 (tan_downward_test_data): Likewise.
1575 (tan_upward_test_data): Likewise.
1576 (tanh_test_data): Likewise.
1577 (tgamma_test_data): Likewise.
1578 (trunc_test_data): Likewise.
1579 (y0_test_data): Likewise.
1580 (y1_test_data): Likewise.
1581 (yn_test_data): Likewise.
1582 (significand_test_data): Likewise.
1583
b679a606
JM
1584 * math/gen-libm-test.pl (@functions): Remove variable.
1585 (generate_testfile): Don't handle START and END lines.
1586 * math/libm-test.inc (START): New macro.
1587 (END): Likewise.
1588 (END_COMPLEX): Likewise.
1589 (acos_test): Use END macro without arguments.
1590 (acos_test_tonearest): Likewise.
1591 (acos_test_towardzero): Likewise.
1592 (acos_test_downward): Likewise.
1593 (acos_test_upward): Likewise.
1594 (acosh_test): Likewise.
1595 (asin_test): Likewise.
1596 (asin_test_tonearest): Likewise.
1597 (asin_test_towardzero): Likewise.
1598 (asin_test_downward): Likewise.
1599 (asin_test_upward): Likewise.
1600 (asinh_test): Likewise.
1601 (atan_test): Likewise.
1602 (atanh_test): Likewise.
1603 (atan2_test): Likewise.
1604 (cabs_test): Likewise.
1605 (cacos_test): Use END_COMPLEX macro without arguments.
1606 (cacosh_test): Likewise.
1607 (carg_test): Use END macro without arguments.
1608 (casin_test): Use END_COMPLEX macro without arguments.
1609 (casinh_test): Likewise.
1610 (catan_test): Likewise.
1611 (catanh_test): Likewise.
1612 (cbrt_test): Use END macro without arguments.
1613 (ccos_test): Use END_COMPLEX macro without arguments.
1614 (ccosh_test): Likewise.
1615 (ceil_test): Use END macro without arguments.
1616 (cexp_test): Use END_COMPLEX macro without arguments.
1617 (cimag_test): Use END macro without arguments.
1618 (clog_test): Use END_COMPLEX macro without arguments.
1619 (clog10_test): Likewise.
1620 (conj_test): Likewise.
1621 (copysign_test): Use END macro without arguments.
1622 (cos_test): Likewise.
1623 (cos_test_tonearest): Likewise.
1624 (cos_test_towardzero): Likewise.
1625 (cos_test_downward): Likewise.
1626 (cos_test_upward): Likewise.
1627 (cosh_test): Likewise.
1628 (cosh_test_tonearest): Likewise.
1629 (cosh_test_towardzero): Likewise.
1630 (cosh_test_downward): Likewise.
1631 (cosh_test_upward): Likewise.
1632 (cpow_test): Use END_COMPLEX macro without arguments.
1633 (cproj_test): Likewise.
1634 (creal_test): Use END macro without arguments.
1635 (csin_test): Use END_COMPLEX macro without arguments.
1636 (csinh_test): Likewise.
1637 (csqrt_test): Likewise.
1638 (ctan_test): Likewise.
1639 (ctan_test_tonearest): Likewise.
1640 (ctan_test_towardzero): Likewise.
1641 (ctan_test_downward): Likewise.
1642 (ctan_test_upward): Likewise.
1643 (ctanh_test): Likewise.
1644 (ctanh_test_tonearest): Likewise.
1645 (ctanh_test_towardzero): Likewise.
1646 (ctanh_test_downward): Likewise.
1647 (ctanh_test_upward): Likewise.
1648 (erf_test): Use END macro without arguments.
1649 (erfc_test): Likewise.
1650 (exp_test): Likewise.
1651 (exp_test_tonearest): Likewise.
1652 (exp_test_towardzero): Likewise.
1653 (exp_test_downward): Likewise.
1654 (exp_test_upward): Likewise.
1655 (exp10_test): Likewise.
1656 (exp2_test): Likewise.
1657 (expm1_test): Likewise.
1658 (fabs_test): Likewise.
1659 (fdim_test): Likewise.
1660 (finite_test): Likewise.
1661 (floor_test): Likewise.
1662 (fma_test): Likewise.
1663 (fma_test_towardzero): Likewise.
1664 (fma_test_downward): Likewise.
1665 (fma_test_upward): Likewise.
1666 (fmax_test): Likewise.
1667 (fmin_test): Likewise.
1668 (fmod_test): Likewise.
1669 (fpclassify_test): Likewise.
1670 (frexp_test): Likewise.
1671 (gamma_test): Likewise.
1672 (hypot_test): Likewise.
1673 (ilogb_test): Likewise.
1674 (isfinite_test): Likewise.
1675 (isgreater_test): Likewise.
1676 (isgreaterequal_test): Likewise.
1677 (isinf_test): Likewise.
1678 (isless_test): Likewise.
1679 (islessequal_test): Likewise.
1680 (islessgreater_test): Likewise.
1681 (isnan_test): Likewise.
1682 (isnormal_test): Likewise.
1683 (issignaling_test): Likewise.
1684 (isunordered_test): Likewise.
1685 (j0_test): Likewise.
1686 (j1_test): Likewise.
1687 (jn_test): Likewise.
1688 (ldexp_test): Likewise.
1689 (lgamma_test): Likewise.
1690 (lrint_test): Likewise.
1691 (lrint_test_tonearest): Likewise.
1692 (lrint_test_towardzero): Likewise.
1693 (lrint_test_downward): Likewise.
1694 (lrint_test_upward): Likewise.
1695 (llrint_test): Likewise.
1696 (llrint_test_tonearest): Likewise.
1697 (llrint_test_towardzero): Likewise.
1698 (llrint_test_downward): Likewise.
1699 (llrint_test_upward): Likewise.
1700 (log_test): Likewise.
1701 (log10_test): Likewise.
1702 (log1p_test): Likewise.
1703 (log2_test): Likewise.
1704 (logb_test): Likewise.
1705 (logb_test_downward): Likewise.
1706 (lround_test): Likewise.
1707 (llround_test): Likewise.
1708 (modf_test): Likewise.
1709 (nearbyint_test): Likewise.
1710 (nextafter_test): Likewise.
1711 (nexttoward_test): Likewise.
1712 (pow_test): Likewise.
1713 (pow_test_tonearest): Likewise.
1714 (pow_test_towardzero): Likewise.
1715 (pow_test_downward): Likewise.
1716 (pow_test_upward): Likewise.
1717 (remainder_test): Likewise.
1718 (remainder_test_tonearest): Likewise.
1719 (remainder_test_towardzero): Likewise.
1720 (remainder_test_downward): Likewise.
1721 (remainder_test_upward): Likewise.
1722 (remquo_test): Likewise.
1723 (rint_test): Likewise.
1724 (rint_test_tonearest): Likewise.
1725 (rint_test_towardzero): Likewise.
1726 (rint_test_downward): Likewise.
1727 (rint_test_upward): Likewise.
1728 (round_test): Likewise.
1729 (scalb_test): Likewise.
1730 (scalbn_test): Likewise.
1731 (scalbln_test): Likewise.
1732 (signbit_test): Likewise.
1733 (sin_test): Likewise.
1734 (sin_test_tonearest): Likewise.
1735 (sin_test_towardzero): Likewise.
1736 (sin_test_downward): Likewise.
1737 (sin_test_upward): Likewise.
1738 (sincos_test): Likewise.
1739 (sinh_test): Likewise.
1740 (sinh_test_tonearest): Likewise.
1741 (sinh_test_towardzero): Likewise.
1742 (sinh_test_downward): Likewise.
1743 (sinh_test_upward): Likewise.
1744 (sqrt_test): Likewise.
1745 (tan_test): Likewise.
1746 (tan_test_tonearest): Likewise.
1747 (tan_test_towardzero): Likewise.
1748 (tan_test_downward): Likewise.
1749 (tan_test_upward): Likewise.
1750 (tanh_test): Likewise.
1751 (tgamma_test): Likewise.
1752 (trunc_test): Likewise.
1753 (y0_test): Likewise.
1754 (y1_test): Likewise.
1755 (yn_test): Likewise.
1756 (significand_test): Likewise.
1757
bae143d2
OB
17582013-05-24 Ondřej Bílka <neleai@seznam.cz>
1759
1760 [BZ #15381]
1761 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1762
9323d39b
EM
17632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1764
d4ea44a0 1765 [BZ #14894]
9323d39b
EM
1766 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1767 __ppc_mdoio and __ppc_mdoom.
1768 * manual/platform.texi: Document new functions __ppc_yield,
1769 __ppc_mdoio and __ppc_mdoom.
1770
13e23af7
CD
17712013-05-22 Carlos O'Donell <carlos@redhat.com>
1772
1773 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1774 (main): Mention "tls" pseudo-hwcap is legacy.
1775 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1776
351fe550
JM
17772013-05-22 Joseph Myers <joseph@codesourcery.com>
1778
1779 * math/gen-libm-test.pl (parse_args): Output only string of
1780 arguments as text for test name, not full call or descriptions of
1781 tests for extra outputs.
1782 (generate_testfile): Do not pass function name to parse_args.
1783 Generate this_func variable from START.
1784 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1785 field to arg_str.
1786 (struct test_ff_f_data): Likewise.
1787 (test_ff_f_data_nexttoward): Likewise.
1788 (struct test_fi_f_data): Likewise.
1789 (struct test_fl_f_data): Likewise.
1790 (struct test_if_f_data): Likewise.
1791 (struct test_fff_f_data): Likewise.
1792 (struct test_c_f_data): Likewise.
1793 (struct test_f_f1_data): Likewise. Remove field extra_name.
1794 (struct test_fF_f1_data): Likewise.
1795 (struct test_ffI_f1_data): Likewise.
1796 (struct test_c_c_data): Rename test_name field to arg_str.
1797 (struct test_cc_c_data): Likewise.
1798 (struct test_f_i_data): Likewise.
1799 (struct test_ff_i_data): Likewise.
1800 (struct test_f_l_data): Likewise.
1801 (struct test_f_L_data): Likewise.
1802 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1803 and extra2_name.
1804 (COMMON_TEST_SETUP): New macro.
1805 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1806 (COMMON_TEST_CLEANUP): Likewise.
1807 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1808 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1809 macros.
1810 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1811 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1812 macros.
1813 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1814 (RUN_TEST_fff_f): Take argument string. Call new setup and
1815 cleanup macros.
1816 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1817 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1818 macros.
1819 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1820 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1821 macros.
1822 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1823 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1824 cleanup macros.
1825 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1826 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1827 cleanup macros.
1828 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1829 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1830 cleanup macros.
1831 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1832 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1833 macros.
1834 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1835 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1836 macros.
1837 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1838 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1839 macros.
1840 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1841 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1842 cleanup macros.
1843 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1844 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1845 cleanup macros.
1846 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1847 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1848 macros.
1849 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1850 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1851 cleanup macros.
1852 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1853 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1854 macros.
1855 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1856 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1857 macros.
1858 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1859 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1860 cleanup macros.
1861 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1862
85118d4d
EBM
18632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1864
1865 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1866 to _sifields.sigfault.
1867 (si_addr_lsb): Define new macro.
1868 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1869 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1870 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1871
7a44c18f
CD
18722013-05-03 Carlos O'Donell <carlos at redhat.com>
1873
1874 [BZ #15441]
1875 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1876 returns -1.
1877 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1878 null return -1.
1879 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1880 loading the domain.
1881
b50a7181
JM
18822013-05-22 Joseph Myers <joseph@codesourcery.com>
1883
1884 * math/gen-libm-test.pl (parse_args): Do not include expected
1885 result in test name.
1886 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1887 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1888 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1889 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1890 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1892
051063c8
SP
18932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1894
3ce9e010
SP
1895 * benchtests/Makefile: Sort function entries.
1896
051063c8
SP
1897 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1898 tanh, asinh, acosh, atanh.
1899 * benchtests/acos-inputs: New file.
1900 * benchtests/acosh-inputs: New file.
1901 * benchtests/asin-inputs: New file.
1902 * benchtests/asinh-inputs: New file.
1903 * benchtests/atanh-inputs: New file.
1904 * benchtests/cosh-inputs: New file.
1905 * benchtests/log-inputs: New file.
1906 * benchtests/sinh-inputs: New file.
1907 * benchtests/tanh-inputs: New file.
1908
47c22455
DL
19092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1910
1911 [BZ #15339]
1912 * posix/tst-getaddrinfo4.c: New test.
1913 * posix/Makefile (tests): Add it.
1914
3d04f5db
SP
19152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1916
1917 [BZ #15339]
1918 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1919 when no services were used.
1920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1921 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1922
d5dd6189
AS
19232013-05-21 Andreas Schwab <schwab@suse.de>
1924
1925 [BZ #15014]
1926 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1927 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1928 successful.
1929 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1930 redundant variable declarations and reallocation of buffer when
1931 parsing as IPv6 address. Always set NSS status when called from
1932 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1933 buffer too small. Correct computation of needed size.
1934 * nss/Makefile (tests): Add test-digits-dots.
1935 * nss/test-digits-dots.c: New test.
1936
fef94eab
SP
19372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1938
1939 * benchtests/Makefile: Remove instructions for adding
1940 benchmark tests.
1941 * benchtests/README: New file to explain how to execute and
1942 enhance the benchmark tests.
1943
e39adf43
AS
19442013-05-21 Andreas Schwab <schwab@suse.de>
1945
1946 [BZ #15493]
1947 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1948 * setjmp/tst-sigsetjmp.c: New test.
1949
b2b671b6
OB
19502013-05-20 Ondřej Bílka <neleai@seznam.cz>
1951
1952 * sysdeps/x86_64/memset.S (memset): New implementation.
1953 (__bzero): Likewise.
1954 (__memset_tail): New function.
1955
2d48b41c
OB
19562013-05-20 Ondřej Bílka <neleai@seznam.cz>
1957
1958 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1959 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1960 __memcpy_sse2_unaligned ifunc selection.
1961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1962 Add memcpy-sse2-unaligned.S.
1963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1964 Add: __memcpy_sse2_unaligned.
1965
f16cc3eb
JM
19662013-05-19 Joseph Myers <joseph@codesourcery.com>
1967
3e694268
JM
1968 [BZ #15490]
1969 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1970 math_force_eval before restoring floating-point envrionment.
1971 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1972 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1973 Likewise.
1974 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1975 <math_private.h>.
1976 (__nearbyintl): Use math_force_eval before restoring
1977 floating-point environment.
1978 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1979
db62a907
JM
1980 * math/gen-libm-test.pl (special_functions): Remove.
1981 (parse_args): Don't handle TEST_extra. Handle functions with no
1982 return value.
1983 * math/libm-test.inc (struct test_sincos_data): Replace with
1984 struct test_fFF_11_data.
1985 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1986 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1987 (sincos_test_data): Change element type to struct
1988 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1989 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1990 RUN_TEST_LOOP_sincos.
1991 * math/README.libm-test: Don't mention special handling of
1992 individual functions.
1993 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1994 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1995 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1996 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1997 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1999
f16cc3eb
JM
2000 * math/gen-libm-test.pl (get_variable): Remove function.
2001 (parse_args): Don't show pointer parameters to call in test
2002 names. Use "extra output N" in test names for extra outputs
2003 rather than naming variables.
2004
3779b5b6
JM
20052013-05-18 Joseph Myers <joseph@codesourcery.com>
2006
2ee094ff
JM
2007 [BZ #15488]
2008 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2009 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2010 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2011 double tests.
2012 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2013 disable.
2014 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2015 check_long_double.
2016
3779b5b6
JM
2017 * math/gen-libm-test.pl (@tests): Remove variable.
2018 ($count): Likewise.
2019 (new_test): Remove function.
2020 (show_exceptions): New function.
2021 (special_functions): Use show_exceptions instead of new_test.
2022 (parse_args): Likewise.
2023 (generate_testfile): Pass only function name in generated call to
2024 print_max_error or print_complex_max_error.
2025 (get_ulps): Do not handle complex tests specially.
2026 (output_test): Rename to ...
2027 (get_all_ulps_for_test): ... this. Return a string rather than
2028 printing to a file. Require ulps to be present.
2029 (output_ulps): Generate arrays rather than #defines.
2030 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2031 (struct ulp_data): New type.
2032 (BUILD_COMPLEX_ULP): Remove macro.
2033 (compare_ulp_data): New function.
2034 (find_ulps): Likewise.
2035 (find_test_ulps): Likewise.
2036 (find_function_ulps): Likewise.
2037 (find_complex_function_ulps): Likewise.
2038 (print_max_error): Determine allowed ulps using
2039 find_function_ulps.
2040 (print_complex_max_error): Determine allowed ulps using
2041 find_complex_function_ulps.
2042 (check_float_internal): Determine max ulps using find_test_ulps.
2043 (check_float): Do not take max_ulp parameter. Update call to
2044 check_float_internal.
2045 (check_complex): Likewise.
2046 (check_int): Do not take max_ulp parameter.
2047 (check_long): Likewise.
2048 (check_bool): Likewise.
2049 (check_longlong): Likewise.
2050 (struct test_f_f_data): Remove max_ulp field.
2051 (struct test_ff_f_data): Likewise.
2052 (struct test_ff_f_data_nexttoward): Likewise.
2053 (struct test_fi_f_data): Likewise.
2054 (struct test_fl_f_data): Likewise.
2055 (struct test_if_f_data): Likewise.
2056 (struct test_fff_f_data): Likewise.
2057 (struct test_c_f_data): Likewise.
2058 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2059 (struct test_fF_f1_data): Likewise.
2060 (struct test_ffI_f1_data): Likewise.
2061 (struct test_c_c_data): Remove max_ulp field.
2062 (struct test_cc_c_data): Likewise.
2063 (struct test_f_i_data): Likewise.
2064 (struct test_ff_i_data): Likewise.
2065 (struct test_f_l_data): Likewise.
2066 (struct test_f_L_data): Likewise.
2067 (struct test_sincos_data): Likewise.
2068 (RUN_TEST_f_f): Do not handle ulps.
2069 (RUN_TEST_LOOP_f_f): Likewise.
2070 (RUN_TEST_2_f): Likewise.
2071 (RUN_TEST_LOOP_2_f): Likewise.
2072 (RUN_TEST_fff_f): Likewise.
2073 (RUN_TEST_LOOP_fff_f): Likewise.
2074 (RUN_TEST_c_f): Likewise.
2075 (RUN_TEST_LOOP_c_f): Likewise.
2076 (RUN_TEST_f_f1): Likewise.
2077 (RUN_TEST_LOOP_f_f1): Likewise.
2078 (RUN_TEST_fF_f1): Likewise.
2079 (RUN_TEST_LOOP_fF_f1): Likewise.
2080 (RUN_TEST_fI_f1): Likewise.
2081 (RUN_TEST_LOOP_fI_f1): Likewise.
2082 (RUN_TEST_ffI_f1): Likewise.
2083 (RUN_TEST_LOOP_ffI_f1): Likewise.
2084 (RUN_TEST_c_c): Likewise.
2085 (RUN_TEST_LOOP_c_c): Likewise.
2086 (RUN_TEST_cc_c): Likewise.
2087 (RUN_TEST_LOOP_cc_c): Likewise.
2088 (RUN_TEST_f_i): Likewise.
2089 (RUN_TEST_LOOP_f_i): Likewise.
2090 (RUN_TEST_f_i_tg): Likewise.
2091 (RUN_TEST_LOOP_f_i_tg): Likewise.
2092 (RUN_TEST_ff_i_tg): Likewise.
2093 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2094 (RUN_TEST_f_b): Likewise.
2095 (RUN_TEST_LOOP_f_b): Likewise.
2096 (RUN_TEST_f_b_tg): Likewise.
2097 (RUN_TEST_LOOP_f_b_tg): Likewise.
2098 (RUN_TEST_f_l): Likewise.
2099 (RUN_TEST_LOOP_f_l): Likewise.
2100 (RUN_TEST_f_L): Likewise.
2101 (RUN_TEST_LOOP_f_L): Likewise.
2102 (RUN_TEST_sincos): Likewise.
2103 (RUN_TEST_LOOP_sincos): Likewise.
2104
8269107f
JM
21052013-05-17 Joseph Myers <joseph@codesourcery.com>
2106
bb38759d
JM
2107 [BZ #15480]
2108 [BZ #15485]
2109 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2110 main case of finite arguments, set rounding mode to FE_TONEAREST
2111 and discard exceptions.
2112 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2113 exceptions.
2114 (remainder_tonearest_test_data): New variable.
2115 (remainder_test_tonearest): New function.
2116 (remainder_towardzero_test_data): New variable.
2117 (remainder_test_towardzero): New function.
2118 (remainder_downward_test_data): New variable.
2119 (remainder_test_downward): New function.
2120 (remainder_upward_test_data): New variable.
2121 (remainder_test_upward): New function.
2122 (main): Call the new test functions.
2123
a00bdcf0
JM
2124 * math/libm-test.inc (struct test_f_f1_data): Remove field
2125 extra_init.
2126 (struct test_fF_f1_data): Likewise.
2127 (struct test_ffI_f1_data): Likewise.
2128 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2129 based on value of EXTRA_EXPECTED.
2130 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2131 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2132 EXTRA_VAR based on value of EXTRA_EXPECTED.
2133 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2134 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2135 EXTRA_VAR based on value of EXTRA_EXPECTED.
2136 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2137 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2138 EXTRA_VAR based on value of EXTRA_EXPECTED.
2139 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2140 * math/gen-libm-test.pl (parse_args): Don't output initializers
2141 for extra output values.
2142
de407f79
JM
2143 * math/libm-test.inc (check_int): Expect result to be exactly
2144 equal to expected value and do not handle ulps.
2145 (check_long): Likewise.
2146 (check_longlong): Likewise.
2147
8269107f
JM
2148 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2149 exceptions.
2150 (cimag_test_data): Likewise.
2151 (conj_test_data): Likewise.
2152 (copysign_test_data): Likewise.
2153 (cproj_test_data): Likewise.
2154 (creal_test_data): Likewise.
2155 (fabs_test_data): Likewise.
2156 (fdim_test_data): Likewise.
2157 (finite_test_data): Likewise.
2158 (floor_test_data): Likewise.
2159 (fmax_test_data): Likewise.
2160 (fmin_test_data): Likewise.
2161 (fmod_test_data): Likewise.
2162 (fpclassify_test_data): Likewise.
2163 (frexp_test_data): Likewise.
2164 (ilogb_test_data): Likewise.
2165 (isfinite_test_data): Likewise.
2166 (isgreater_test_data): Likewise.
2167 (isgreaterequal_test_data): Likewise.
2168 (isinf_test_data): Likewise.
2169 (isless_test_data): Likewise.
2170 (islessequal_test_data): Likewise.
2171 (islessgreater_test_data): Likewise.
2172 (isnan_test_data): Likewise.
2173 (isnormal_test_data): Likewise.
2174 (issignaling_test_data): Likewise.
2175 (isunordered_test_data): Likewise.
2176 (ldexp_test_data): Likewise.
2177 (lrint_test_data): Likewise.
2178 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2179 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2180 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2181 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2182 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2183 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2184 test input.
2185 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2186 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2187 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2188 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2189 that test input.
2190 (lrint_downward_test_data): Test for "inexact" exceptions.
2191 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2192 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2193 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2194 test input.
2195 (lrint_upward_test_data): Test for "inexact" exceptions.
2196 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2197 test input.
2198 (llrint_test_data): Test for "inexact" exceptions.
2199 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2200 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2201 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2202 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2203 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2204 (llrint_downward_test_data): Test for "inexact" exceptions.
2205 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2206 (llrint_upward_test_data): Test for "inexact" exceptions.
2207 (logb_test_data): Likewise.
2208 (logb_downward_test_data): Likewise.
2209 (nextafter_test_data): Likewise.
2210 (nexttoward_test_data): Likewise.
2211 (remainder_test_data): Likewise.
2212 (remquo_test_data): Likewise.
2213 (scalbn_test_data): Likewise.
2214 (scalbln_test_data): Likewise.
2215 (signbit_test_data): Likewise.
2216 (sqrt_test_data): Likewise.
2217 (significand_test_data): Likewise.
2218
48a18de1
SP
22192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2220
2221 [BZ #15424]
2222 * benchtests/bench-modf.c (struct args): Mark arg0 as
2223 volatile.
2224 * scripts/bench.pl: Mark members of struct args as volatile.
2225
13d3b41a
AZ
22262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227
68191c1d 2228 [BZ # 15497]
13d3b41a
AZ
2229 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2230 negative infinity on POWER6 or lower.
2231 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2232
2848b105
MR
22332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2234
2235 [BZ #15442]
2236 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2237 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2238 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2239 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2240 (_FP_SETQNAN): New macro.
2241 (_FP_SETQNAN_SEMIRAW): Likewise.
2242 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2243 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2244 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2245 (FP_EXTEND): Use _FP_FRAC_SNANP.
2246 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2247 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2248 into account.
2249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2250 New macro.
2251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2252 Likewise.
2253
323e5cb7
JM
22542013-05-16 Joseph Myers <joseph@codesourcery.com>
2255
c58b274f
JM
2256 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2257 with DIVIDE_BY_ZERO_EXCEPTION.
2258 (gamma_test_data): Likewise.
2259 (lgamma_test_data): Likewise.
2260 (log_test_data): Likewise.
2261 (log10_test_data): Likewise.
2262 (log2_test_data): Likewise.
2263 (tgamma_test_data): Likewise.
2264
0ab34904
JM
2265 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2266 (acos_test_tonearest): Likewise.
2267 (acos_test_towardzero): Likewise.
2268 (acos_test_downward): Likewise.
2269 (acos_test_upward): Likewise.
2270 (acosh_test): Likewise.
2271 (asin_test): Likewise.
2272 (asin_test_tonearest): Likewise.
2273 (asin_test_towardzero): Likewise.
2274 (asin_test_downward): Likewise.
2275 (asin_test_upward): Likewise.
2276 (asinh_test): Likewise.
2277 (atan_test): Likewise.
2278 (atanh_test): Likewise.
2279 (atan2_test): Likewise.
2280 (cabs_test): Likewise.
2281 (cacos_test): Likewise.
2282 (cacosh_test): Likewise.
2283 (casin_test): Likewise.
2284 (casinh_test): Likewise.
2285 (catan_test): Likewise.
2286 (catanh_test): Likewise.
2287 (cbrt_test): Likewise.
2288 (ccos_test): Likewise.
2289 (ccosh_test): Likewise.
2290 (cexp_test): Likewise.
2291 (clog_test): Likewise.
2292 (clog10_test): Likewise.
2293 (cos_test): Likewise.
2294 (cos_test_tonearest): Likewise.
2295 (cos_test_towardzero): Likewise.
2296 (cos_test_downward): Likewise.
2297 (cos_test_upward): Likewise.
2298 (cosh_test): Likewise.
2299 (cosh_test_tonearest): Likewise.
2300 (cosh_test_towardzero): Likewise.
2301 (cosh_test_downward): Likewise.
2302 (cosh_test_upward): Likewise.
2303 (cpow_test): Likewise.
2304 (csin_test): Likewise.
2305 (csinh_test): Likewise.
2306 (csqrt_test): Likewise.
2307 (ctan_test): Likewise.
2308 (ctan_test_tonearest): Likewise.
2309 (ctan_test_towardzero): Likewise.
2310 (ctan_test_downward): Likewise.
2311 (ctan_test_upward): Likewise.
2312 (ctanh_test): Likewise.
2313 (ctanh_test_tonearest): Likewise.
2314 (ctanh_test_towardzero): Likewise.
2315 (ctanh_test_downward): Likewise.
2316 (ctanh_test_upward): Likewise.
2317 (erf_test): Likewise.
2318 (erfc_test): Likewise.
2319 (exp_test): Likewise.
2320 (exp_test_tonearest): Likewise.
2321 (exp_test_towardzero): Likewise.
2322 (exp_test_downward): Likewise.
2323 (exp_test_upward): Likewise.
2324 (exp10_test): Likewise.
2325 (exp2_test): Likewise.
2326 (expm1_test): Likewise.
2327 (fmod_test): Likewise.
2328 (gamma_test): Likewise.
2329 (hypot_test): Likewise.
2330 (j0_test): Likewise.
2331 (j1_test): Likewise.
2332 (jn_test): Likewise.
2333 (lgamma_test): Likewise.
2334 (log_test): Likewise.
2335 (log10_test): Likewise.
2336 (log1p_test): Likewise.
2337 (log2_test): Likewise.
2338 (logb_test_downward): Likewise.
2339 (pow_test): Likewise.
2340 (pow_test_tonearest): Likewise.
2341 (pow_test_towardzero): Likewise.
2342 (pow_test_downward): Likewise.
2343 (pow_test_upward): Likewise.
2344 (remainder_test): Likewise.
2345 (remquo_test): Likewise.
2346 (sin_test): Likewise.
2347 (sin_test_tonearest): Likewise.
2348 (sin_test_towardzero): Likewise.
2349 (sin_test_downward): Likewise.
2350 (sin_test_upward): Likewise.
2351 (sincos_test): Likewise.
2352 (sinh_test): Likewise.
2353 (sinh_test_tonearest): Likewise.
2354 (sinh_test_towardzero): Likewise.
2355 (sinh_test_downward): Likewise.
2356 (sinh_test_upward): Likewise.
2357 (sqrt_test): Likewise.
2358 (tan_test): Likewise.
2359 (tan_test_tonearest): Likewise.
2360 (tan_test_towardzero): Likewise.
2361 (tan_test_downward): Likewise.
2362 (tan_test_upward): Likewise.
2363 (tanh_test): Likewise.
2364 (tgamma_test): Likewise.
2365 (y0_test): Likewise.
2366 (y1_test): Likewise.
2367 (yn_test): Likewise.
2368
323e5cb7
JM
2369 * math/gen-libm-test.pl (adjust_arg): Remove function.
2370 (special_function): Remove argument $in_func. Only handle
2371 generating output for tables of tests, not inside functions.
2372 (parse_args): Likewise.
2373 (generate_testfile): Remove variable $in_func. Update call to
2374 parse_args.
2375 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2376 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2377 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2378 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2379 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2380 (MAX_VALUE_INIT): Rename macro to max_value.
2381 (MIN_VALUE_INIT): Rename macro to min_value.
2382 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2383 (plus_zero): Remove variable.
2384 (minus_zero): Likewise.
2385 (plus_infty): Likewise.
2386 (minus_infty): Likewise.
2387 (qnan_value): Likewise.
2388 (max_value): Likewise.
2389 (min_value): Likewise.
2390 (min_subnorm_value): Likewise.
2391
e054f494
RA
23922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2393
2394 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2395 uint64_t or uint32_t usage.
2396 * crypt/sha256-block.c: Likewise.
2397 * crypt/sha256-crypt.c: Likewise.
2398 * crypt/sha256.c: Likewise.
2399 * crypt/sha512-block.c: Likewise.
2400 * crypt/sha512-crypt.c: Likewise.
2401 * crypt/sha512.c: Likewise.
2402 * debug/backtrace-tst.c: Likewise.
2403 * debug/pcprofiledump.c: Likewise.
2404 * elf/cache.c: Likewise.
2405 * elf/dl-cache.c: Likewise.
2406 * elf/dl-misc.c: Likewise.
2407 * elf/dl-profile.c: Likewise.
2408 * elf/dl-support.c: Likewise.
2409 * elf/ldconfig.c: Likewise.
2410 * elf/sprof.c: Likewise.
2411 * iconv/dummy-repertoire.c: Likewise.
2412 * iconv/iconv_charmap.c: Likewise.
2413 * iconv/skeleton.c: Likewise.
2414 * iconvdata/8bit-generic.c: Likewise.
2415 * iconvdata/cp737.h: Likewise.
2416 * iconvdata/cp775.h: Likewise.
2417 * iconvdata/ibm1008.h: Likewise.
2418 * iconvdata/ibm1025.h: Likewise.
2419 * iconvdata/ibm1046.h: Likewise.
2420 * iconvdata/ibm1097.h: Likewise.
2421 * iconvdata/ibm1112.h: Likewise.
2422 * iconvdata/ibm1122.h: Likewise.
2423 * iconvdata/ibm1123.h: Likewise.
2424 * iconvdata/ibm1124.h: Likewise.
2425 * iconvdata/ibm1129.h: Likewise.
2426 * iconvdata/ibm1130.h: Likewise.
2427 * iconvdata/ibm1132.h: Likewise.
2428 * iconvdata/ibm1133.h: Likewise.
2429 * iconvdata/ibm1137.h: Likewise.
2430 * iconvdata/ibm1140.h: Likewise.
2431 * iconvdata/ibm1141.h: Likewise.
2432 * iconvdata/ibm1142.h: Likewise.
2433 * iconvdata/ibm1143.h: Likewise.
2434 * iconvdata/ibm1144.h: Likewise.
2435 * iconvdata/ibm1145.h: Likewise.
2436 * iconvdata/ibm1146.h: Likewise.
2437 * iconvdata/ibm1147.h: Likewise.
2438 * iconvdata/ibm1148.h: Likewise.
2439 * iconvdata/ibm1149.h: Likewise.
2440 * iconvdata/ibm1153.h: Likewise.
2441 * iconvdata/ibm1154.h: Likewise.
2442 * iconvdata/ibm1155.h: Likewise.
2443 * iconvdata/ibm1156.h: Likewise.
2444 * iconvdata/ibm1157.h: Likewise.
2445 * iconvdata/ibm1158.h: Likewise.
2446 * iconvdata/ibm1160.h: Likewise.
2447 * iconvdata/ibm1161.h: Likewise.
2448 * iconvdata/ibm1162.h: Likewise.
2449 * iconvdata/ibm1163.h: Likewise.
2450 * iconvdata/ibm1164.h: Likewise.
2451 * iconvdata/ibm1166.h: Likewise.
2452 * iconvdata/ibm1167.h: Likewise.
2453 * iconvdata/ibm12712.h: Likewise.
2454 * iconvdata/ibm1390.h: Likewise.
2455 * iconvdata/ibm1399.h: Likewise.
2456 * iconvdata/ibm16804.h: Likewise.
2457 * iconvdata/ibm4517.h: Likewise.
2458 * iconvdata/ibm4899.h: Likewise.
2459 * iconvdata/ibm4909.h: Likewise.
2460 * iconvdata/ibm4971.h: Likewise.
2461 * iconvdata/ibm5347.h: Likewise.
2462 * iconvdata/ibm803.h: Likewise.
2463 * iconvdata/ibm856.h: Likewise.
2464 * iconvdata/ibm901.h: Likewise.
2465 * iconvdata/ibm902.h: Likewise.
2466 * iconvdata/ibm9030.h: Likewise.
2467 * iconvdata/ibm9066.h: Likewise.
2468 * iconvdata/ibm921.h: Likewise.
2469 * iconvdata/ibm922.h: Likewise.
2470 * iconvdata/ibm9448.h: Likewise.
2471 * iconvdata/isiri-3342.h: Likewise.
2472 * iconvdata/jis0201.h: Likewise.
2473 * include/link.h: Likewise.
2474 * include/netdb.h: Likewise.
2475 * inet/check_native.c: Likewise.
2476 * inet/check_pf.c: Likewise.
2477 * inet/getipv4sourcefilter.c: Likewise.
2478 * inet/getnameinfo.c: Likewise.
2479 * inet/getsourcefilter.c: Likewise.
2480 * inet/htonl.c: Likewise.
2481 * inet/setipv4sourcefilter.c: Likewise.
2482 * inet/setsourcefilter.c: Likewise.
2483 * inet/test-inet6_opt.c: Likewise.
2484 * inet/tst-network.c: Likewise.
2485 * locale/C-collate.c: Likewise.
2486 * locale/C-ctype.c: Likewise.
2487 * locale/C-time.c: Likewise.
2488 * locale/C-translit.h: Likewise.
2489 * locale/loadarchive.c: Likewise.
2490 * locale/programs/3level.h: Likewise.
2491 * locale/programs/charmap.c: Likewise.
2492 * locale/programs/charmap.h: Likewise.
2493 * locale/programs/ld-address.c: Likewise.
2494 * locale/programs/ld-collate.c: Likewise.
2495 * locale/programs/ld-ctype.c: Likewise.
2496 * locale/programs/ld-identification.c: Likewise.
2497 * locale/programs/ld-measurement.c: Likewise.
2498 * locale/programs/ld-messages.c: Likewise.
2499 * locale/programs/ld-monetary.c: Likewise.
2500 * locale/programs/ld-name.c: Likewise.
2501 * locale/programs/ld-numeric.c: Likewise.
2502 * locale/programs/ld-paper.c: Likewise.
2503 * locale/programs/ld-telephone.c: Likewise.
2504 * locale/programs/ld-time.c: Likewise.
2505 * locale/programs/linereader.c: Likewise.
2506 * locale/programs/locale.c: Likewise.
2507 * locale/programs/locarchive.c: Likewise.
2508 * locale/programs/locfile.h: Likewise.
2509 * locale/programs/repertoire.c: Likewise.
2510 * locale/programs/simple-hash.c: Likewise.
2511 * locale/programs/simple-hash.h: Likewise.
2512 * malloc/memusage.c: Likewise.
2513 * malloc/memusagestat.c: Likewise.
2514 * nis/nis_defaults.c: Likewise.
2515 * nis/nis_hash.c: Likewise.
2516 * nis/nis_print.c: Likewise.
2517 * nis/nis_xdr.c: Likewise.
2518 * nscd/connections.c: Likewise.
2519 * nscd/hstcache.c: Likewise.
2520 * nscd/nscd_gethst_r.c: Likewise.
2521 * nscd/nscd_getserv_r.c: Likewise.
2522 * nscd/nscd_helper.c: Likewise.
2523 * nscd/servicescache.c: Likewise.
2524 * nss/makedb.c: Likewise.
2525 * nss/nss_db/db-XXX.c: Likewise.
2526 * nss/nss_db/db-initgroups.c: Likewise.
2527 * nss/nss_db/db-netgrp.c: Likewise.
2528 * nss/nss_files/files-network.c: Likewise.
2529 * nss/nss_files/files-parse.c: Likewise.
2530 * posix/bug-regex5.c: Likewise.
2531 * posix/fnmatch_loop.c: Likewise.
2532 * posix/regcomp.c: Likewise.
2533 * posix/regexec.c: Likewise.
2534 * posix/tst-rfc3484-2.c: Likewise.
2535 * posix/tst-rfc3484-3.c: Likewise.
2536 * posix/tst-rfc3484.c: Likewise.
2537 * resolv/nss_dns/dns-canon.c: Likewise.
2538 * resolv/nss_dns/dns-network.c: Likewise.
2539 * resolv/res_init.c: Likewise.
2540 * resolv/res_mkquery.c: Likewise.
2541 * resolv/tst-aton.c: Likewise.
2542 * stdlib/cxa_atexit.c: Likewise.
2543 * stdlib/cxa_finalize.c: Likewise.
2544 * stdlib/gen-fpioconst.c: Likewise.
2545 * stdlib/strtol_l.c: Likewise.
2546 * string/tst-endian.c: Likewise.
2547 * sunrpc/auth_des.c: Likewise.
2548 * sunrpc/clnt_udp.c: Likewise.
2549 * sunrpc/rtime.c: Likewise.
2550 * sunrpc/svcauth_des.c: Likewise.
2551 * sunrpc/xdr.c: Likewise.
2552 * sunrpc/xdr_intXX_t.c: Likewise.
2553 * sunrpc/xdr_rec.c: Likewise.
2554 * sysdeps/generic/ldconfig.h: Likewise.
2555 * sysdeps/generic/ldsodefs.h: Likewise.
2556 * sysdeps/generic/memusage.h: Likewise.
2557 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2558 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2559 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2563 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2564 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2565 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2566 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2567 * sysdeps/posix/getaddrinfo.c: Likewise.
2568 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2569 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2570 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2571 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2572 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2573 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2574 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2575 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2576 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2577 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2578 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2579 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2580 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2581 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2582 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2583 * sysdeps/x86_64/dl-tls.h: Likewise.
2584 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2585 * time/alt_digit.c: Likewise.
2586 * time/era.c: Likewise.
2587 * wcsmbs/tst-c16c32-1.c: Likewise.
2588
8c75f674
JM
25892013-05-16 Joseph Myers <joseph@codesourcery.com>
2590
2591 * math/libm-test.inc (struct test_sincos_data): New type.
2592 (RUN_TEST_LOOP_sincos): New macro.
2593 (sincos_test_data): New variable.
2594 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2595
e6e49e59
RH
25962013-05-16 Richard Henderson <rth@redhat.com>
2597
2598 * math/atest-exp2.c (LIMB64): New macro.
2599 (CONSTSZ): New macro.
2600 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2601 (hexdig): Move ...
2602 (print_mpn_fp): ... to function scope.
2603 (read_mpn_hex): Remove.
2604 (get_log2): Remove.
2605 (exp2_mpn): Use mp_log2.
2606 (main): Use mp_exp1.
2607
15c7c18d
JM
26082013-05-16 Joseph Myers <joseph@codesourcery.com>
2609
105a07df
JM
2610 * math/libm-test.inc: Remove comment about not testing "inexact"
2611 exceptions.
2612 (INEXACT_EXCEPTION): New macro.
2613 (NO_INEXACT_EXCEPTION): Likewise.
2614 (INVALID_EXCEPTION_OK): Update value.
2615 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2616 (OVERFLOW_EXCEPTION_OK): Likewise.
2617 (UNDERFLOW_EXCEPTION_OK): Likewise.
2618 (IGNORE_ZERO_INF_SIGN): Likewise.
2619 (ERRNO_UNCHANGED): Likewise.
2620 (ERRNO_EDOM): Likewise.
2621 (ERRNO_ERANGE): Likewise.
2622 (test_exceptions): Handle testing "inexact" exceptions.
2623 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2624 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2625 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2626 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2627 INEXACT_EXCEPTION.
2628 (rint_towardzero_test_data): Likewise.
2629 (rint_downward_test_data): Likewise.
2630 (rint_upward_test_data): Likewise.
2631
e9eee333
JM
2632 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2633 with OVERFLOW_EXCEPTION.
2634 (exp10_test_data): Likewise.
2635 (exp2_test_data): Likewise.
2636 (expm1_test_data): Likewise.
2637 (lgamma_test_data): Likewise.
2638 (pow_test_data): Likewise.
2639 (tgamma_test_data): Likewise.
2640 (yn_test_data): Remove duplicate test of overflow.
2641
1c38ff73
JM
2642 * math/libm-test.inc (struct test_cc_c_data): New type.
2643 (RUN_TEST_LOOP_cc_c): New macro.
2644 (cpow_test_data): New variable.
2645 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2646
15c7c18d
JM
2647 * math/libm-test.inc (struct test_f_L_data): New type.
2648 (RUN_TEST_LOOP_f_L): New macro.
2649 (llrint_test_data): New variable.
2650 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2651 (llrint_tonearest_test_data): New variable.
2652 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2653 (llrint_towardzero_test_data): New variable.
2654 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2655 (llrint_downward_test_data): New variable.
2656 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2657 (llrint_upward_test_data): New variable.
2658 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2659 (llround_test_data): New variable.
2660 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2661
f137ff13
PC
26622013-05-13 Peter Collingbourne <pcc@google.com>
2663
2664 * math/atest-exp2.c (get_log2): Remove const attribute.
2665
3608cb24
JM
26662013-05-15 Joseph Myers <joseph@codesourcery.com>
2667
2668 * math/libm-test.inc (struct test_f_l_data): New type.
2669 (RUN_TEST_LOOP_f_l): New macro.
2670 (lrint_test_data): New variable.
2671 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2672 (lrint_tonearest_test_data): New variable.
2673 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2674 (lrint_towardzero_test_data): New variable.
2675 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2676 (lrint_downward_test_data): New variable.
2677 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2678 (lrint_upward_test_data): New variable.
2679 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2680 (lround_test_data): New variable.
2681 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2682
39b1f617
PC
26832013-05-15 Peter Collingbourne <pcc@google.com>
2684
1deff3dc
PC
2685 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2686 (EXTRACT_WORDS64) Use where appropriate.
2687 (INSERT_WORDS64) Likewise.
2688
791f3ba0
PC
2689 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2690 constraints with x constraints.
2691 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2692
39b1f617
PC
2693 * malloc/obstack.c (_obstack_compat): Add initializer.
2694
12fba011
EM
26952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2696
2697 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2698 si_trapno and add si_addr_lsb to _sifields.sigfault.
2699 (si_trapno): Remove macro.
2700 (si_addr_lsb): Define new macro.
2701 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2702
d369f531
JM
27032013-05-15 Joseph Myers <joseph@codesourcery.com>
2704
b861c6c4
JM
2705 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2706 instead of TEST_f_l.
2707 (llrint_test_tonearest): Likewise.
2708 (llrint_test_towardzero): Likewise.
2709 (llrint_test_downward): Likewise.
2710 (llrint_test_upward): Likewise.
2711 (llround_test): Likewise.
2712
7abeee12
JM
2713 * math/libm-test.inc (struct test_f_i_data): Add comment.
2714 (RUN_TEST_LOOP_f_b): New macro.
2715 (RUN_TEST_LOOP_f_b_tg): Likewise.
2716 (finite_test_data): New variable.
2717 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2718 (isfinite_test_data): New variable.
2719 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2720 (isinf_test_data): New variable.
2721 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2722 (isnan_test_data): New variable.
2723 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2724 (isnormal_test_data): New variable.
2725 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2726 (issignaling_test_data): New variable.
2727 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2728 (signbit_test_data): New variable.
2729 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2730
cbe8c4d3
JM
2731 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2732 with INVALID_EXCEPTION.
2733 (acosh_test_data): Likewise.
2734 (asin_test_data): Likewise.
2735 (atanh_test_data): Likewise.
2736 (fmod_test_data): Likewise.
2737 (log_test_data): Likewise.
2738 (log10_test_data): Likewise.
2739 (log2_test_data): Likewise.
2740 (pow_test_data): Likewise.
2741 (sqrt_test_data): Likewise.
2742 (y0_test_data): Likewise.
2743 (y1_test_data): Likewise.
2744 (yn_test_data): Likewise.
2745
5575c0e5
JM
2746 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2747 function contents.
2748
d369f531
JM
2749 * math/libm-test.inc (struct test_ff_i_data): New type.
2750 (RUN_TEST_LOOP_ff_i_tg): New macro.
2751 (isgreater_test_data): New variable.
2752 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2753 (isgreaterequal_test_data): New variable.
2754 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2755 (isless_test_data): New variable.
2756 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2757 (islessequal_test_data): New variable.
2758 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2759 (islessgreater_test_data): New variable.
2760 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2761 (isunordered_test_data): New variable.
2762 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2763
781fd748
DM
27642013-05-14 David S. Miller <davem@davemloft.net>
2765
2766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2767
87aa21df
JM
27682013-05-14 Joseph Myers <joseph@codesourcery.com>
2769
5e908270
JM
2770 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2771
f71172e5
JM
2772 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2773 extra_test to int.
2774 (struct test_f_i_data): Change type of max_ulp to int.
2775
8cfa635a
JM
2776 * math/libm-test.inc (test_ffI_f1_data): New type.
2777 (RUN_TEST_LOOP_ffI_f1): New macro.
2778 (remquo_test_data): New variable.
2779 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2780
2bcb36b2
JM
2781 * setjmp/tst-setjmp-fp.c: New file.
2782 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2783 (link-libm): New variable.
2784 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2785
acbd839a
JM
2786 * math/libm-test.inc (struct test_f_i_data): New type.
2787 (RUN_TEST_LOOP_f_i): New macro.
2788 (RUN_TEST_LOOP_f_i_tg): Likewise.
2789 (fpclassify_test_data): New variable.
2790 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2791 (ilogb_test_data): New variable.
2792 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2793
e414d745
JM
2794 * math/libm-test.inc (scalbln_test): Correct function name in END
2795 call.
2796
d9c2a0fd
JM
2797 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2798 (RUN_TEST_LOOP_fI_f1): New macro.
2799 (frexp_test_data): New variable.
2800 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2801
9dc9095d
JM
2802 * math/libm-test.inc (struct test_fF_f1_data): New type.
2803 (RUN_TEST_LOOP_fF_f1): New macro.
2804 (modf_test_data): New variable.
2805 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2806
87aa21df
JM
2807 * math/libm-test.inc (struct test_f_f1_data): New type.
2808 (RUN_TEST_LOOP_f_f1): New macro.
2809 (gamma_test_data): New variable.
2810 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2811 (lgamma_test_data): New variable.
2812 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2813
141af660
CD
28142013-05-13 Carlos O'Donell <carlos@redhat.com>
2815
2816 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2817 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2818 (main): Comment "tls" pseudo-hwcap.
2819
6d33265c
JM
28202013-05-13 Joseph Myers <joseph@codesourcery.com>
2821
68fc074c
JM
2822 * math/libm-test.inc (struct test_fl_f_data): New type.
2823 (RUN_TEST_LOOP_fl_f): New variable.
2824 (scalbln_test_data): New variable.
2825 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2826
243216e1
JM
2827 * math/libm-test.inc (struct test_fi_f_data): New type.
2828 (RUN_TEST_LOOP_fi_f): New macro.
2829 (ldexp_test_data): New variable.
2830 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2831 (scalbn_test_data): New variable.
2832 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2833
6a1992e2
JM
2834 * math/libm-test.inc (struct test_c_f_data): New type.
2835 (RUN_TEST_LOOP_c_f): New macro.
2836 (cabs_test_data): New variable.
2837 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2838 (carg_test_data): New variable.
2839 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2840 (cimag_test_data): New variable.
2841 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2842 (creal_test_data): New variable.
2843 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2844
0e400df5
JM
2845 * math/libm-test.inc (struct test_if_f_data): New type.
2846 (RUN_TEST_LOOP_if_f): New macro.
2847 (jn_test_data): New variable.
2848 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2849 (yn_test_data): New variable.
2850 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2851
6d33265c
JM
2852 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2853
f98ece5f
AZ
28542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2855
2856 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2857 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2858
0f7d347b
SP
28592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2860
43fe811b
SP
2861 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2862 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2863 (bench-deps): Add bench-timing.h.
2864 * benchtests-bench-skeleton.c: Include bench-timing.h.
2865 (main): Use TIMING_* macros instead of clock_gettime.
2866 * benchtests/bench-timing.h: New file.
2867
0f7d347b
SP
2868 [BZ #14582]
2869 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2870 Renamed from _LIB_VERSION.
2871 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2872
601a3a5f
JM
28732013-05-12 Joseph Myers <joseph@codesourcery.com>
2874
4f184d30
JM
2875 * math/libm-test.inc (struct test_fff_f_data): New type.
2876 (RUN_TEST_LOOP_fff_f): New macro.
2877 (fma_test_data): New variable.
2878 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2879 (fma_towardzero_test_data): New variable.
2880 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2881 (fma_downward_test_data): New variable.
2882 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2883 (fma_upward_test_data): New variable.
2884 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2885
08198877
JM
2886 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2887 (struct test_c_c_data): New type.
2888 (RUN_TEST_LOOP_c_c): New macro.
2889 (cacos_test_data): New variable.
2890 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2891 (cacosh_test_data): New variable.
2892 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2893 (casin_test_data): New variable.
2894 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2895 (casinh_test_data): New variable.
2896 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2897 (catan_test_data): New variable.
2898 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2899 (catanh_test_data): New variable.
2900 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2901 (ccos_test_data): New variable.
2902 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2903 (ccosh_test_data): New variable.
2904 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2905 (cexp_test_data): New variable.
2906 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2907 (clog_test_data): New variable.
2908 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2909 (clog10_test_data): New variable.
2910 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2911 (conj_test_data): New variable.
2912 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2913 (cproj_test_data): New variable.
2914 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2915 (csin_test_data): New variable.
2916 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2917 (csinh_test_data): New variable.
2918 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2919 (csqrt_test_data): New variable.
2920 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2921 (ctan_test_data): New variable.
2922 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2923 (ctan_tonearest_test_data): New variable.
2924 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2925 (ctan_towardzero_test_data): New variable.
2926 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2927 (ctan_downward_test_data): New variable.
2928 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2929 (ctan_upward_test_data): New variable.
2930 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2931 (ctanh_test_data): New variable.
2932 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2933 (ctanh_tonearest_test_data): New variable.
2934 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2935 (ctanh_towardzero_test_data): New variable.
2936 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2937 (ctanh_downward_test_data): New variable.
2938 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2939 (ctanh_upward_test_data): New variable.
2940 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2941 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2942 of BUILD_COMPLEX.
2943
601a3a5f
JM
2944 * math/libm-test.inc (struct test_ff_f_data): New type.
2945 (struct test_ff_f_data_nexttoward): Likewise.
2946 (RUN_TEST_LOOP_2_f): New macro.
2947 (RUN_TEST_LOOP_ff_f): Likewise.
2948 (atan2_test_data): New variable.
2949 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2950 (copysign_test_data): New variable.
2951 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2952 (fdim_test_data): New variable.
2953 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2954 (fmax_test_data): New variable.
2955 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2956 (fmin_test_data): New variable.
2957 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2958 (fmod_test_data): New variable.
2959 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2960 (hypot_test_data): New variable.
2961 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2962 (nextafter_test_data): New variable.
2963 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2964 (nexttoward_test_data): New variable.
2965 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2966 (pow_test_data): New variable.
2967 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2968 (pow_tonearest_test_data): New variable.
2969 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2970 (pow_towardzero_test_data): New variable.
2971 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2972 (pow_downward_test_data): New variable.
2973 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2974 (pow_upward_test_data): New variable.
2975 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2976 (remainder_test_data): New variable.
2977 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2978 (scalb_test_data): New variable.
2979 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2980 * sysdeps/i386/fpu/libm-test-ulps: Update.
2981
74c57478
JM
29822013-05-11 Joseph Myers <joseph@codesourcery.com>
2983
8329e4da
JM
2984 * math/libm-test.inc (fma_test): Use max_value instead of local
2985 variable fltmax.
2986 (nextafter_test): Likewise.
2987
74c57478
JM
2988 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2989 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2990 (acos_downward_test_data): New variable.
2991 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2992 (acos_upward_test_data): New variable.
2993 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2994 (acosh_test_data): New variable.
2995 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2996 (asin_test_data): New variable.
2997 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2998 (asin_tonearest_test_data): New variable.
2999 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3000 (asin_towardzero_test_data): New variable.
3001 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3002 (asin_downward_test_data): New variable.
3003 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3004 (asin_upward_test_data): New variable.
3005 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3006 (asinh_test_data): New variable.
3007 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3008 (atan_test_data): New variable.
3009 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3010 (atanh_test_data): New variable.
3011 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3012 (cbrt_test_data): New variable.
3013 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3014 (ceil_test_data): New variable.
3015 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3016 (cos_test_data): New variable.
3017 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3018 (cos_tonearest_test_data): New variable.
3019 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3020 (cos_towardzero_test_data): New variable.
3021 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3022 (cos_downward_test_data): New variable.
3023 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3024 (cos_upward_test_data): New variable.
3025 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3026 (cosh_test_data): New variable.
3027 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3028 (cosh_tonearest_test_data): New variable.
3029 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3030 (cosh_towardzero_test_data): New variable.
3031 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3032 (cosh_downward_test_data): New variable.
3033 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3034 (cosh_upward_test_data): New variable.
3035 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3036 (erf_test_data): New variable.
3037 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3038 (erfc_test_data): New variable.
3039 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3040 (exp_test_data): New variable.
3041 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3042 (exp_tonearest_test_data): New variable.
3043 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3044 (exp_towardzero_test_data): New variable.
3045 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3046 (exp_downward_test_data): New variable.
3047 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3048 (exp_upward_test_data): New variable.
3049 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3050 (exp10_test_data): New variable.
3051 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3052 (exp2_test_data): New variable.
3053 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3054 (expm1_test_data): New variable.
3055 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3056 (fabs_test_data): New variable.
3057 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3058 (floor_test_data): New variable.
3059 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3060 (j0_test_data): New variable.
3061 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3062 (j1_test_data): New variable.
3063 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3064 (log_test_data): New variable.
3065 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3066 (log10_test_data): New variable.
3067 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3068 (log1p_test_data): New variable.
3069 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3070 (log2_test_data): New variable.
3071 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3072 (logb_test_data): New variable.
3073 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3074 (logb_downward_test_data): New variable.
3075 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3076 (nearbyint_test_data): New variable.
3077 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3078 (rint_test_data): New variable.
3079 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3080 (rint_tonearest_test_data): New variable.
3081 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3082 (rint_towardzero_test_data): New variable.
3083 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3084 (rint_downward_test_data): New variable.
3085 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3086 (rint_upward_test_data): New variable.
3087 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3088 (round_test_data): New variable.
3089 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3090 (sin_test_data): New variable.
3091 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3092 (sin_tonearest_test_data): New variable.
3093 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3094 (sin_towardzero_test_data): New variable.
3095 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3096 (sin_downward_test_data): New variable.
3097 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3098 (sin_upward_test_data): New variable.
3099 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3100 (sinh_test_data): New variable.
3101 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3102 (sinh_tonearest_test_data): New variable.
3103 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3104 (sinh_towardzero_test_data): New variable.
3105 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3106 (sinh_downward_test_data): New variable.
3107 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3108 (sinh_upward_test_data): New variable.
3109 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3110 (sqrt_test_data): New variable.
3111 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3112 (tan_test_data): New variable.
3113 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3114 (tan_tonearest_test_data): New variable.
3115 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3116 (tan_towardzero_test_data): New variable.
3117 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3118 (tan_downward_test_data): New variable.
3119 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3120 (tan_upward_test_data): New variable.
3121 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3122 (tanh_test_data): New variable.
3123 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3124 (tgamma_test_data): New variable.
3125 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3126 (trunc_test_data): New variable.
3127 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3128 (y0_test_data): New variable.
3129 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3130 (y1_test_data): New variable.
3131 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3132 (significand_test_data): New variable.
3133 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3134
7187d844
CG
31352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3136
3137 [BZ #12387]
3138 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3139
f63fae73
PT
31402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3141
3142 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3143
8a67a4b3
AJ
31442013-05-10 Andreas Jaeger <aj@suse.de>
3145
3146 [BZ #15448]
3147 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3148 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3149
51df539d
JM
31502013-05-10 Joseph Myers <joseph@codesourcery.com>
3151
3152 * math/gen-libm-test.pl (adjust_arg): New function.
3153 (special_functions): Handle generating output in both functions
3154 and arrays.
3155 (parse_args): Likewise.
3156 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3157 $in_func argument to parse_args.
3158 * math/libm-test.inc (struct test_f_f_data): New type.
3159 (IF_ROUND_INIT_): New macro.
3160 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3161 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3162 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3163 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3164 (ROUND_RESTORE_): Likewise.
3165 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3166 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3167 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3168 (ROUND_RESTORE_FE_UPWARD): Likewise.
3169 (RUN_TEST_LOOP_f_f): New macro.
3170 (acos_test_data): New variable.
3171 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3172 (acos_tonearest_test_data): New variable.
3173 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3174
5c637fe5
SP
31752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3176
3177 * benchtests/bench-skeleton.c (startup): Fix coding style.
3178
ab2b9461
JM
31792013-05-10 Joseph Myers <joseph@codesourcery.com>
3180
3181 [BZ #6809]
3182 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3183 negative infinity argument.
3184 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3185 negative infinity argument.
3186 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3187 negative infinity argument.
3188 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3189 domain errors.
3190
4c0fe6fe
FW
31912013-05-10 Florian Weimer <fweimer@redhat.com>
3192
3193 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3194 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3195 * iconv/iconv_prog.c (main): Likewise.
3196 * locale/programs/charmap-dir.c (charmap_readdir)
3197 (fopen_uncompressed): Likewise.
3198 * locale/programs/locfile.c (siblings_uncached)
3199 (write_locale_data): Use lstat64 instead of lstat.
3200 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3201 stat.
3202
a3375d29
AJ
32032013-05-10 Andreas Jaeger <aj@suse.de>
3204
3205 [BZ #15395]
3206 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3207 localization.
3208 Include <locale.h>.
3209
36129722
CD
32102013-05-09 Carlos O'Donell <carlos@redhat.com>
3211
3212 * elf/dl-close.c (_dl_close_worker): Add comments.
3213
faa7f811
JM
32142013-05-09 Joseph Myers <joseph@codesourcery.com>
3215
ed41ffef
JM
3216 [BZ #15359]
3217 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3218 high part of pi/2.
3219 (__ieee754_rem_pio2l): Update comments.
3220
d0213cd0
JM
3221 [BZ #15429]
3222 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3223 high part of pi/2.
3224 (__ieee754_rem_pio2l): Update comments.
3225
0d3e777a
JM
3226 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3227 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3228
24f56066
JM
3229 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3230 M_PI_4l.
3231
faa7f811
JM
3232 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3233 (M_PI_34_LOG10El): Likewise.
3234 (M_PI2_LOG10El): Likewise.
3235 (M_PI4_LOG10El): Likewise.
3236 (M_PI_LOG10El): Likewise.
3237
e9a5e0fd
AZ
32382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3239
3240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3241
d8cd06db
JM
32422013-05-08 Joseph Myers <joseph@codesourcery.com>
3243
a0d9f9d7
JM
3244 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3245 (MINUS_ZERO_INIT): Likewise.
3246 (PLUS_INFTY_INIT): Likewise.
3247 (MINUS_INFTY_INIT): Likewise.
3248 (QNAN_VALUE_INIT): Likewise.
3249 (MAX_VALUE_INIT): Likewise.
3250 (MIN_VALUE_INIT): Likewise.
3251 (MIN_SUBNORM_VALUE_INIT): Likewise.
3252 (plus_zero): Initialize with PLUS_ZERO_INIT.
3253 (minus_zero): Initialize with MINUS_ZERO_INIT.
3254 (plus_infty): Initialize with PLUS_INFTY_INIT.
3255 (minus_infty): Initialize with MINUS_INFTY_INIT.
3256 (qnan_value): Initialize with QNAN_VALUE_INIT.
3257 (max_value): Initialize with MAX_VALUE_INIT.
3258 (min_value): Initialize with MIN_VALUE_INIT.
3259 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3260
ae08db3b
JM
3261 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3262 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3263 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3264 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3265
f44bf14a
JM
3266 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3267 (RUN_TEST_2_f): Likewise.
3268 (RUN_TEST_ff_f): Likewise.
3269 (RUN_TEST_fi_f): Likewise.
3270 (RUN_TEST_fl_f): Likewise.
3271 (RUN_TEST_fff_f): Likewise.
3272 (RUN_TEST_c_f): Likewise.
3273 (RUN_TEST_f_f1): Likewise.
3274 (RUN_TEST_fF_f1): Likewise.
3275 (RUN_TEST_fI_f1): Likewise.
3276 (RUN_TEST_ffI_f1): Likewise.
3277 (RUN_TEST_c_c): Likewise.
3278 (RUN_TEST_cc_c): Likewise.
3279 (RUN_TEST_f_i): Likewise.
3280 (RUN_TEST_f_i_tg): Likewise.
3281 (RUN_TEST_ff_i_tg): Likewise.
3282 (RUN_TEST_f_b): Likewise.
3283 (RUN_TEST_f_b_tg): Likewise.
3284 (RUN_TEST_f_l): Likewise.
3285 (RUN_TEST_f_L): Likewise.
3286 (RUN_TEST_sincos): Likewise.
3287 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3288 whether to show exceptions. Do not include ");\n" in return
3289 value.
3290 (special_functions): Output call to RUN_TEST_sincos instead of
3291 check_float calls. Update calls to new_test.
3292 (parse_args): Output call to single RUN_TEST_* macro instead of
3293 check_* calls and other assignments. Update calls to new_test.
3294
d8cd06db
JM
3295 [BZ #2546]
3296 [BZ #2560]
3297 [BZ #5159]
3298 [BZ #15426]
3299 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3300 input to result for tgamma overflow.
3301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3302 (gamma_coeff): New variable.
3303 (NCOEFF): New macro.
3304 (gamma_positive): New function.
3305 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3306 underflow here. Use gamma_positive instead of exp (lgamma) for
3307 other arguments.
3308 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3309 (gamma_coeff): New variable.
3310 (NCOEFF): New macro.
3311 (gammaf_positive): New function.
3312 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3313 underflow here. Use gamma_positive instead of exp (lgamma) for
3314 other arguments.
3315 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3316 (gamma_coeff): New variable.
3317 (NCOEFF): New macro.
3318 (gammal_positive): New function.
3319 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3320 underflow here. Use gamma_positive instead of exp (lgamma) for
3321 other arguments.
3322 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3323 (gamma_coeff): New variable.
3324 (NCOEFF): New macro.
3325 (gammal_positive): New function.
3326 (__ieee754_gammal_r): Handle positive infinity, overflow and
3327 underflow here. Handle NaN the same as positive infinity. Remove
3328 check x < 0xffffffff for negative integers. Use gamma_positive
3329 instead of exp (lgamma) for other arguments.
3330 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3331 (gamma_coeff): New variable.
3332 (NCOEFF): New macro.
3333 (gammal_positive): New function.
3334 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3335 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3339 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3340 * sysdeps/generic/math_private.h (__gamma_productf): New
3341 prototype.
3342 (__gamma_product): Likewise.
3343 (__gamma_productl): Likewise.
3344 * math/Makefile (libm-calls): Add gamma_product.
3345 * math/libm-test.inc (tgamma_test): Add more tests.
3346 * sysdeps/i386/fpu/libm-test-ulps: Update.
3347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3348
bb7cf681
OB
33492013-05-08 Ondřej Bílka <neleai@seznam.cz>
3350
3351 * benchtests/bench-skeleton.c (main): Preheat CPU.
3352
ba853947
AJ
33532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3354
3355 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3356
8347c74c
RM
33572013-05-07 Roland McGrath <roland@hack.frob.com>
3358
3359 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3360 and _dl_skip_args_internal.
3361
e8dd4791
CD
33622013-05-07 Carlos O'Donell <carlos@redhat.com>
3363
3364 * manual/message.texi (Message Translation): Talk about users.
3365 Message to key mapping impacts design.
3366
c7405830
RM
33672013-05-06 Roland McGrath <roland@hack.frob.com>
3368
a9173057
RM
3369 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3370
976e2f03
RM
3371 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3372
9723ffc5
RM
3373 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3374 * sysdeps/wordsize-64/glob64.c: ... here.
3375
962e6658
RM
3376 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3377 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3378 New macros.
3379
ee586a6d
RM
3380 * debug/getlogin_r_chk.c: Moved to ...
3381 * login/getlogin_r_chk.c: ... here.
3382 * debug/Makefile (routines): Move getlogin_r_chk to ...
3383 * login/Makefile (routines): ... here.
3384 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3385 * login/Versions (libc: GLIBC_2.4): ... here.
3386
355f9165
RM
3387 * io/poll.c (__poll): Renamed from poll.
3388 Add libc_hidden_def.
3389 (poll): Define as weak alias.
3390
bd9ffde6
RM
3391 * debug/ptsname_r_chk.c: Moved to ...
3392 * login/ptsname_r_chk.c: ... here.
3393 * debug/Makefile (routines): Move ptsname_r_chk to ...
3394 * login/Makefile (routines): ... here.
3395 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3396 * login/Versions (libc: GLIBC_2.4): ... here.
3397
8fb16a04
RM
3398 * posix/getlogin.c: Moved to ...
3399 * login/getlogin.c: ... here.
3400 * posix/getlogin_r.c: Moved to ...
3401 * login/getlogin_r.c: ... here.
3402 * posix/getlogin_r.c: Moved to ...
3403 * login/getlogin_r.c: ... here.
3404 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3405 * login/Makefile (routines): ... here.
3406 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3407 * login/Versions (libc: GLIBC_2.0): ... here.
3408
b99b892f
RM
3409 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3410 (setrlimit): Define as weak alias.
3411
c7405830
RM
3412 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3413 Call __ names for open, ftruncate, and close.
3414 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3415 (truncate): Define as weak alias.
3416
5bf96de5
JM
34172013-05-06 Joseph Myers <joseph@codesourcery.com>
3418
9ea3513c
JM
3419 * math/gen-libm-test.pl (parse_args): Initialize x before each
3420 test of frexp, modf and remquo.
3421
5bf96de5
JM
3422 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3423 test signgam value.
3424
16e616a7
AZ
34252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3426
3427 [BZ #15418]
3428 [BZ #15419]
3429 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3430 internal tests.
3431 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3432
d5e82754
RM
34332013-05-06 Roland McGrath <roland@hack.frob.com>
3434
3435 * elf/dl-writev.h: New file.
3436 * elf/dl-misc.c: Include it.
3437 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3438 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3439
a7548d41
JM
34402013-05-04 Joseph Myers <joseph@codesourcery.com>
3441
b7dab1e4
JM
3442 * math/libm-test.inc (noXFails): Remove variable.
3443 (noXPasses): Likewise.
3444 (BUILD_COMPLEX_INT): Remove macro.
3445 (print_screen): Remove xfail argument.
3446 (print_screen_max_error): Likewise.
3447 (update_stats): Likewise.
3448 (print_max_error): Likewise. Update calls to other affected
3449 functions.
3450 (print_complex_max_error): Likewise.
3451 (test_single_exception): Update calls to print_screen.
3452 (test_single_errno): Likewise.
3453 (check_float_internal): Remove xfail argument. Update calls to
3454 other affected functions.
3455 (check_float): Likewise.
3456 (check_complex): Likewise.
3457 (check_int): Likewise.
3458 (check_long): Likewise.
3459 (check_bool): Likewise.
3460 (check_longlong): Likewise.
3461 (main): Don't print noXFails and noXPasses.
3462 * math/gen-libm-test.pl (top level): Don't mention expected
3463 failure handling in comment.
3464 (new_test): Don't handle expected failures.
3465 (parse_args): Don't mention expected failure handling in comment.
3466 (generate_testfile): Don't handle expected failures.
3467 (parse_ulps): Likewise.
3468 (print_ulps_file): Likewise.
3469 (get_failure): Remove function.
3470 (output_test): Don't handle expected failures.
3471 * make/README.libm-test: Don't mention expected failure handling.
3472
a7548d41
JM
3473 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3474 (minus_zero): Likewise.
3475 (plus_infty): Likewise.
3476 (minus_infty): Likewise.
3477 (qnan_value): Likewise.
3478 (max_value): Likewise.
3479 (min_value): Likewise.
3480 (min_subnorm_value): Likewise.
3481 (initialize): Do not initialize those variables dynamically.
3482
60bfd54c
RM
34832013-05-03 Roland McGrath <roland@hack.frob.com>
3484
cc0e6ed8
RM
3485 * io/open.c (__open_2): Moved to ...
3486 * io/open_2.c: ... this new file.
3487 * io/open64.c (__open64_2): Moved to ...
3488 * io/open64_2.c: ... this new file.
3489 * io/openat.c (__openat_2): Moved to ...
3490 * io/openat_2.c: ... this new file.
3491 * io/openat64.c (__openat64_2): Moved to ...
3492 * io/openat64_2.c: ... this new file.
3493 * io/Makefile (routines): Add them.
3494 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3495 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3496 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3497 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3498 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3499 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3500 (__openat64): Add hidden_ver.
3501 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3502 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3503
60bfd54c
RM
3504 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3505 Separately conditionalize setting of GLRO(dl_sysinfo) so
3506 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3507 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3508
83e7640f
AZ
35092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3510
3511 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3512 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3513 definition.
3514 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3515 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3516 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3517 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3518 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3519
d5dc2af3
JM
35202013-05-03 Joseph Myers <joseph@codesourcery.com>
3521
c31a5b1e
JM
3522 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3523 test signgam value.
3524
d5dc2af3
JM
3525 * math/libm-test.inc (hypot_test): Do not use
3526 IGNORE_ZERO_INF_SIGN.
3527
164fd39d
AJ
35282013-05-03 Andreas Jaeger <aj@suse.de>
3529
3530 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3531 Linux 3.9.
3532 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3533 (PF_MAX): Adjust for VSOCK change.
3534
8237f48c
AZ
35352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3536
3537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3538
9df02941
CD
35392013-05-02 Carlos O'Donell <carlos@redhat.com>
3540
3541 [BZ #15264]
3542 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3543 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3544 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3545
d422395e
DM
35462013-05-02 David S. Miller <davem@davemloft.net>
3547
3548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3549
a07c5731
OB
35502013-05-01 Ondřej Bílka <neleai@seznam.cz>
3551
3552 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3553
1324e37f
RM
35542013-05-01 Roland McGrath <roland@hack.frob.com>
3555
3556 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3557
0695940b
RS
35582013-05-01 Richard Smith <richard@metafoo.co.uk>
3559
bb5f27ad 3560 [BZ #14952]
0695940b
RS
3561 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3562 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3563 Use __attribute__ ((__gnu_inline__)).
3564 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3565 Don't use __attribute__ ((__gnu_inline__)).
3566
10de07f5
JM
35672013-05-01 Joseph Myers <joseph@codesourcery.com>
3568
3569 [BZ #15423]
3570 * math/s_catan.c (__catan): Handle small real or imaginary part of
3571 input specially to avoid spurious underflow.
3572 * math/s_catanf.c (__catanf): Likewise.
3573 * math/s_catanh.c (__catanh): Likewise.
3574 * math/s_catanhf.c (__catanhf): Likewise.
3575 * math/s_catanhl.c (__catanhl): Likewise.
3576 * math/s_catanl.c (__catanl): Likewise.
3577 * math/libm-test.inc (catan_test): Add more tests.
3578 (catanh_test): Likewise.
3579 * sysdeps/i386/fpu/libm-test-ulps: Update.
3580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3581
cb4d5414
AZ
35822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3583
3584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3585
caf84319
JM
35862013-04-30 Joseph Myers <joseph@codesourcery.com>
3587
3588 [BZ #15416]
3589 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3590 accurately for denominator in atan2.
3591 * math/s_catanf.c (__catanf): Likewise.
3592 * math/s_catanh.c (__catanh): Likewise.
3593 * math/s_catanhf.c (__catanhf): Likewise.
3594 * math/s_catanhl.c (__catanhl): Likewise.
3595 * math/s_catanl.c (__catanl): Likewise.
3596 * math/libm-test.inc (catan_test): Add more tests.
3597 (catanh_test): Likewise.
3598 * sysdeps/i386/fpu/libm-test-ulps: Update.
3599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3600
d569c6ee
SP
36012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3602
6dbe713d
SP
3603 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3604
f0ee064b
SP
3605 * benchtests/Makefile (bench): Remove slow benchmarks.
3606 * benchtests/atan-inputs: Add slow benchmark inputs.
3607 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3608 (BENCH_FUNC): Accept variant offset.
3609 (VARIANT): Define.
3610 * benchtests/bench-skeleton.c (main): Run benchmark for each
3611 variant.
3612 * benchtests/cos-inputs: Add slow benchmark inputs.
3613 * benchtests/exp-inputs: Likewise.
3614 * benchtests/pow-inputs: Likewise.
3615 * benchtests/sin-inputs: Likewise.
3616 * benchtests/slowatan-inputs: Remove.
3617 * benchtests/slowatan.c: Remove.
3618 * benchtests/slowcos-inputs: Remove.
3619 * benchtests/slowcos.c: Remove.
3620 * benchtests/slowexp-inputs: Remove.
3621 * benchtests/slowexp.c: Remove.
3622 * benchtests/slowpow-inputs: Remove.
3623 * benchtests/slowpow.c: Remove.
3624 * benchtests/slowsin-inputs: Remove.
3625 * benchtests/slowsin.c: Remove.
3626 * benchtests/slowtan-inputs: Remove.
3627 * benchtests/slowtan.c: Remove.
3628 * benchtests/tan-inputs: Add slow benchmark inputs.
3629 * scripts/bench.pl: Parse comments and directives.
3630
d569c6ee
SP
3631 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3632 in CPPFLAGS.
3633 ($(objpfx)bench-%.c): Remove *-ITER.
3634 * benchtests/bench-modf.c: Remove definition of ITER.
3635 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3636 (main): Loop for DURATION seconds instead of fixed number of
3637 iterations.
3638 * scripts/bench.pl: Don't expect iterations in parameters.
3639
a6a242fe
RM
36402013-04-29 Roland McGrath <roland@hack.frob.com>
3641
3642 * io/fchdir.c (__fchdir): Renamed from fchdir.
3643 (fchdir): Define as weak alias.
3644
f2da7793
JM
36452013-04-29 Joseph Myers <joseph@codesourcery.com>
3646
3647 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3648 (ERRNO_EDOM): Likewise.
3649 (ERRNO_ERANGE): Likewise.
3650 (noErrnoTests): New variable.
3651 (init_max_error): Set errno to 0.
3652 (test_single_errno): New function.
3653 (test_errno): Likewise.
3654 (check_float_internal): Call test_errno. Set errno to 0.
3655 (check_complex): Refer to errno tests in comment.
3656 (check_int): Call test_errno. Set errno to 0.
3657 (check_long): Likewise.
3658 (check_bool): Likewise.
3659 (check_longlong): Likewise.
3660 (cos_test): Use ERRNO_* flags for errno tests instead of
3661 check_int.
3662 (expm1_test): Likewise.
3663 (fmod_test): Likewise.
3664 (ilogb_test): Likewise.
3665 (lgamma_test): Likewise.
3666 (pow_test): Likewise.
3667 (remainder_test): Likewise.
3668 (sin_test): Likewise.
3669 (tan_test): Likewise.
3670 (yn_test): Likewise.
3671 (initialize): Set errno to 0.
3672 (main): Print number of errno tests.
3673 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3674
b1a36ceb
AJ
36752013-04-29 Andreas Jaeger <aj@suse.de>
3676
c3ed8088
AJ
3677 [BZ #15084]
3678 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3679 and RES_USEVC.
3680
f1a24198
AJ
3681 [BZ #15085]
3682 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3683 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3684 unimplemented.
3685
9ce3b2cb
AJ
3686 [BZ #15380]
3687 * stdlib/random.c (__initstate): Return NULL if
3688 __initstate fails.
3689
f1a24198 3690 [BZ #15086]
b1a36ceb
AJ
3691 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3692 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3693 RES_SNGLKUPREOP.
3694
7e7b6f36
AZ
36952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3696
3697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3698
4d14f449
JM
36992013-04-29 Joseph Myers <joseph@codesourcery.com>
3700
3701 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3702 of individual tests.
3703 (casin_test): Likewise.
3704 (casinh_test): Likewise.
3705
5b4217d7
JM
37062013-04-27 Joseph Myers <joseph@codesourcery.com>
3707
3708 [BZ #15409]
3709 * math/s_catan.c (__catan): Handle arguments with large real or
3710 imaginary part separately without squaring.
3711 * math/s_catanf.c (__catanf): Likewise.
3712 * math/s_catanh.c (__catanh): Likewise.
3713 * math/s_catanhf.c (__catanhf): Likewise.
3714 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3715 and redefine.
3716 (__catanhl): Handle arguments with large real or imaginary part
3717 separately without squaring.
3718 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3719 and redefine.
3720 (__catanl): Handle arguments with large real or imaginary part
3721 separately without squaring.
3722 * math/libm-test.inc (catan_test): Add more tests.
3723 (catanh_test): Likewise.
3724 * sysdeps/i386/fpu/libm-test-ulps: Update.
3725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726
4220c3ef
AJ
37272013-04-27 Andreas Jaeger <aj@suse.de>
3728
3729 [BZ #15007]
3730 * stdlib/stdlib.h: Update guards for qecvt.
3731 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3732 <stdlib.h>.
3733
4721b2d1
AM
37342013-04-27 Allan McRae <allan@archlinux.org>
3735
3736 * sysdeps/i386/fpu/libm-test-ulps: Update.
3737
f0302940
JM
37382013-04-26 Joseph Myers <joseph@codesourcery.com>
3739
9457fd95
JM
3740 [BZ #15406]
3741 * math/s_catan.c: Include <float.h>.
3742 (__catan): Ensure underflow exception occurs for underflowed
3743 result.
3744 * math/s_catanf.c: Include <float.h>.
3745 (__catanf): Ensure underflow exception occurs for underflowed
3746 result.
3747 * math/s_catanh.c: Include <float.h>.
3748 (__catanh): Ensure underflow exception occurs for underflowed
3749 result.
3750 * math/s_catanhf.c: Include <float.h>.
3751 (__catanhf): Ensure underflow exception occurs for underflowed
3752 result.
3753 * math/s_catanhl.c: Include <float.h>.
3754 (__catanhl): Ensure underflow exception occurs for underflowed
3755 result.
3756 * math/s_catanl.c: Include <float.h>.
3757 (__catanl): Ensure underflow exception occurs for underflowed
3758 result.
3759 * math/libm-test.inc (catan_test): Add more tests.
3760 (catanh_test): Likewise.
3761
f0302940
JM
3762 [BZ #15405]
3763 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3764 underflowed result.
3765 * math/s_ccoshf.c (__ccoshf): Likewise.
3766 * math/s_ccoshl.c (__ccoshl): Likewise.
3767 * math/s_csin.c (__csin): Likewise.
3768 * math/s_csinf.c (__csinf): Likewise.
3769 * math/s_csinh.c (__csinh): Likewise.
3770 * math/s_csinhf.c (__csinhf): Likewise.
3771 * math/s_csinhl.c (__csinhl): Likewise.
3772 * math/s_csinl.c (__csinl): Likewise.
3773 * math/libm-test.inc (ccos_test): Add more tests.
3774 (ccosh_test): Likewise.
3775 (csin_test): Likewise.
3776 (csinh_test): Likewise.
3777
aa630f59
AZ
37782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3779
3780 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3781 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3782 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3783 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3784 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3785 powerpc/power5+/fpu folders.
3786 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3787
3788
1b835983
MT
37892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3790
3791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3792
73709b26
JM
37932013-04-25 Joseph Myers <joseph@codesourcery.com>
3794
3795 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3796 additions to variable.
3797 [$(config-machine) = x86_64] (modules-names): Likewise.
3798 ($(objpfx)tst-audit3): Remove dependency.
3799 ($(objpfx)tst-audit3.out): Likewise.
3800 ($(objpfx)tst-audit4): Likewise.
3801 ($(objpfx)tst-audit4.out): Likewise.
3802 ($(objpfx)tst-audit5): Likewise.
3803 ($(objpfx)tst-audit5.out): Likewise.
3804 ($(objpfx)tst-audit6): Likewise.
3805 ($(objpfx)tst-audit6.out): Likewise.
3806 ($(objpfx)tst-audit7): Likewise.
3807 ($(objpfx)tst-audit7.out): Likewise.
3808 (tst-audit3-ENV): Remove variable.
3809 (tst-audit4-ENV): Likewise.
3810 (tst-audit5-ENV): Likewise.
3811 (tst-audit6-ENV): Likewise.
3812 (tst-audit7-ENV): Likewise.
3813 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3814 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3815 addition to variable.
3816 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3817 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3818 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3819 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3820 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3821 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3822 tst-audit3, tst-audit4 and tst-audit5.
3823 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3824 tst-audit6 and tst-audit7.
3825 [$(subdir) = elf] (modules-names): Add audit modules for those
3826 tests.
3827 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3828 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3829 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3830 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3831 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3832 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3833 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3834 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3835 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3836 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3837 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3838 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3839 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3840 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3841 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3842 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3843 Likewise.
3844 [$(subdir) = elf && $(config-cflags-avx) = yes]
3845 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3846 [$(subdir) = elf && $(config-cflags-avx) = yes]
3847 (CFLAGS-tst-auditmod4a.c): Likewise.
3848 [$(subdir) = elf && $(config-cflags-avx) = yes]
3849 (CFLAGS-tst-auditmod4b.c): Likewise.
3850 [$(subdir) = elf && $(config-cflags-avx) = yes]
3851 (CFLAGS-tst-auditmod6b.c): Likewise.
3852 [$(subdir) = elf && $(config-cflags-avx) = yes]
3853 (CFLAGS-tst-auditmod6c.c): Likewise.
3854 [$(subdir) = elf && $(config-cflags-avx) = yes]
3855 (CFLAGS-tst-auditmod7b.c): Likewise.
3856 * elf/tst-audit3.c: Move to ...
3857 * sysdeps/x86_64/tst-audit3.c: ... here.
3858 * elf/tst-audit4.c: Move to ...
3859 * sysdeps/x86_64/tst-audit4.c: ... here.
3860 * elf/tst-audit5.c: Move to ...
3861 * sysdeps/x86_64/tst-audit5.c: ... here.
3862 * elf/tst-audit6.c: Move to ...
3863 * sysdeps/x86_64/tst-audit6.c: ... here.
3864 * elf/tst-audit7.c: Move to ...
3865 * sysdeps/x86_64/tst-audit7.c: ... here.
3866 * elf/tst-auditmod3a.c: Move to ...
3867 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3868 * elf/tst-auditmod3b.c: Move to ...
3869 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3870 * elf/tst-auditmod4a.c: Move to ...
3871 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3872 * elf/tst-auditmod4b.c: Move to ...
3873 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3874 * elf/tst-auditmod5a.c: Move to ...
3875 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3876 * elf/tst-auditmod5b.c: Move to ...
3877 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3878 * elf/tst-auditmod6a.c: Move to ...
3879 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3880 * elf/tst-auditmod6b.c: Move to ...
3881 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3882 * elf/tst-auditmod6c.c: Move to ...
3883 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3884 * elf/tst-auditmod7a.c: Move to ...
3885 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3886 * elf/tst-auditmod7b.c: Move to ...
3887 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3888
1ef74943
PP
38892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3890
3891 [BZ #15366]
3892 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3893 define unconditionally.
3894 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3895 define unconditionally.
3896 (INT8_C, INT16_C, etc.): Likewise.
3897
93fd48c5
MR
38982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3899
ae9552cf
MR
3900 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3901 __ehdr_start with hidden visibility.
3902
93fd48c5
MR
3903 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3904
418601aa
CD
39052013-04-24 Carlos O'Donell <carlos@redhat.com>
3906
3907 * math/libm-test.inc (cos_test): Use accurate hex constants.
3908 (sincost_test): Likewise.
3909
2f38fbfe
JM
39102013-04-24 Joseph Myers <joseph@codesourcery.com>
3911
5e221800
JM
3912 * math/libm-test.inc (catan_test): Add more tests.
3913 (catanh_test): Likewise.
3914
77f143fd
JM
3915 * math/s_catanf.c (__catanf): Use suffixed floating-point
3916 constants.
3917 * math/s_catanhf.c (__catanhf): Likewise.
3918 * math/s_catanhl.c (__catanhl): Likewise.
3919 * math/s_catanl.c (__catanl): Likewise.
3920
2f38fbfe
JM
3921 [BZ #15394]
3922 * math/s_catan.c (__catan): Calculate imaginary part of result
3923 with log1p not log unless computing log of number close to 0.
3924 * math/s_catanf.c (__catanf): Likewise.
3925 * math/s_catanl.c (__catanl): Likewise.
3926 * math/s_catanh.c (__catanh): Calculate real part of result with
3927 log1p not log unless computing log of number close to 0.
3928 * math/s_catanhf.c (__catanhf): Likewise.
3929 * math/s_catanhl.c (__catanhl): Likewise.
3930 * math/libm-test.inc (catan_test): Add more tests.
3931 (catanh_test): Likewise.
3932 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934
45d69176
SP
39352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3936
3937 * benchtests/Makefile: Mention files in which fast and slow
3938 paths of math functions are implemented.
3939
87f51853
RM
39402013-04-23 Roland McGrath <roland@hack.frob.com>
3941
3942 * sysdeps/posix/timespec_get.c: New file.
3943
3c026539
AZ
39442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3945
3946 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3947 POWER.
3948 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3949 for POWER.
3950 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3951 powerpc/power5/fpu folders.
3952 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3953 * benchtests/Makefile: Add modf testcase.
3954 * benchtests/bench-modf.c: New file: Benchmark test for mo
3955
ff491d14
SP
39562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3957
3958 [BZ #14888]
3959 * time/Makefile (tests): Add tst-strptime-whitespace.
3960 * time/strptime_l.c (get_number): Use ISSPACE.
3961 (__strptime_internal): Likewise.
3962 * time/tst-strptime-whitespace.c: New test case.
3963
7ed3f4e8
AS
39642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3965
3966 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3967 member.
3968 (_nss_files_init): Set it here.
3969
5c95f7b6
HC
39702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3971
3972 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3973 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3974 unsigned.
3975
d34c9158
JBG
39762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3977
3978 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3979
2169712d
SP
39802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3981
3982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3983 size just once.
3984
29c5de99
DM
39852013-04-21 David S. Miller <davem@davemloft.net>
3986
3987 * po/ru.po: Update Russion translation from translation project.
3988
ccdad15d
AC
39892013-04-17 Adam Conrad <adconrad@0c3.net>
3990
3991 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3992 and setfsgid.
3993
0f122b8d
CD
39942013-04-17 Carlos O'Donell <carlos@redhat.com>
3995
5c5b07da 3996 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3997 * configure: Regenerate.
5c5b07da 3998 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3999 Add example to error message.
4000 * sysdeps/i386/configure: Regenerate.
4001
037714dd
SP
40022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4003
4004 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4005 slowtan.
4006 * benchtests/cos-inputs: New file.
4007 * benchtests/slowcos-inputs: New file.
4008 * benchtests/slowcos.c: New file.
4009 * benchtests/slowtan-inputs: New file.
4010 * benchtests/slowtan.c: New file.
4011 * benchtests/tan-inputs: New file.
4012
e913141d
RM
40132013-04-16 Roland McGrath <roland@hack.frob.com>
4014
4015 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4016 considered kosher.
4017
a2964074
SP
40182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4019
4856bcd2
SP
4020 * benchtests/Makefile: Include cppflags-iterator.mk to add
4021 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4022
a2964074
SP
4023 * Makefile.in (bench-clean): New target.
4024 * benchtests/Makefile (bench-clean): Likewise.
4025
9fbf9aca
DH
40262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4027
4028 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4029
207d1e2a
TS
40302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4031
4032 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4033
306dfba9
AS
40342013-04-15 Andreas Schwab <schwab@suse.de>
4035
4036 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4038 * nscd/pwdcache.c (cache_addpw): Likewise.
4039 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4040 more than recsize.
4041
206a6699
SP
40422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4043
4044 * benchtests/Makefile (bench): Write all output to
4045 bench-out.tmp together.
4046
0582f6b3
AS
40472013-04-15 Andreas Schwab <schwab@suse.de>
4048
4049 * nscd/nscd.c (main): Don't fork again after closing files.
4050
acb4325f
SP
40512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4052
5cb26d0a
SP
4053 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4054
acb4325f
SP
4055 * benchtests/Rules (bench-deps): Collect dependencies into a
4056 single variable. Add Makefile to dependencies.
4057 ($(objpfx)bench-%.c): Depend on bench-deps.
4058
47792506
RM
40592013-04-12 Roland McGrath <roland@hack.frob.com>
4060 Xavier Roche <roche+kml2@exalead.com>
4061
4062 [BZ #15361]
4063 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4064 just that it's a file descriptor.
4065 * manual/llio.texi (Synchronizing AIO Operations): Update description
4066 for EBADF error from aio_fsync.
4067
8fc1bee5
SP
40682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4069
4070 * Rules (bench): Move target definition...
4071 * benchtests/Makefile: ... here.
4072
aba5e333
CD
40732013-04-11 Carlos O'Donell <carlos@redhat.com>
4074
4075 * math/libm-test.inc (cos_test): Fix PI/2 test.
4076 (sincos_test): Likewise.
4077 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4078 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4079
273cdee8
AS
40802013-04-11 Andreas Schwab <schwab@suse.de>
4081
6ecec3b6
AS
4082 [BZ #13988]
4083 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4084 accept exponent character only when digits were seen.
4085 * stdio-common/Makefile (tests): Add bug26.
4086 * stdio-common/bug26.c: New file.
4087
273cdee8
AS
4088 [BZ #14293]
4089 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4090 non-freeable.
4091
8da491f5
SP
40922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4093
01dc6df9
SP
4094 * Makeconfig (rtld-prefix): Define built linker prefix.
4095 * Rules (run-bench): Use it.
4096 * math/Makefile (run-regen-ulps): Likewise.
4097
8da491f5
SP
4098 * Rules (bench): Remove eval.
4099
abe7f530
SP
41002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4101 Roland McGrath <roland@hack.frob.com>
4102 Ondrej Bilka <neleai@seznam.cz>
4103
4104 [BZ #15346]
4105 * time/getdate.c: Include ctype.h and alloca.h.
4106 (__getdate_r): Trim leading and trailing spaces of input.
4107 * time/tst-getdate.c (tests): Add tests with leading and
4108 trailing spaces.
4109
61c23e62
RM
41102013-04-08 Roland McGrath <roland@hack.frob.com>
4111
4112 [BZ #14280]
4113 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4114 when computing value.
4115
7208a313
CD
41162013-04-06 Carlos O'Donell <carlos@redhat.com>
4117
085b2d41
CD
4118 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4119 Use testrun.sh to run libm tests.
4120
7208a313
CD
4121 [BZ #15309]
4122 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4123
872c0acd
MM
41242013-04-06 Marko Myllynen <myllynen@redhat.com>
4125
4126 [BZ #15264]
4127 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4128
26510bdd
CD
41292013-04-06 Carlos O'Donell <carlos@redhat.com>
4130
4131 * Makefile.in (regen-ulps): New target.
4132 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4133 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4134 [ifneq (no,$(PERL)] (regen-ulps): New target.
4135 [ifeq (no,$(PERL)] (regen-ulps): New target.
4136 * math/libm-test.inc (ulps_file_name): Define.
4137 (output_dir): New variable.
4138 (options): Add "output-dir" option.
4139 (parse_opt): Handle 'o' case.
4140 (main): If output_dir is non-NULL use it as a prefix
4141 otherwise use "".
4142 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4143
a01f19c8
CD
41442013-04-06 Carlos O'Donell <carlos@redhat.com>
4145
4146 [BZ #10060, #10062]
4147 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4148 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4149 fail configure if __sync_val_compare_and_swap is not inlined.
4150 * sysdeps/i386/configure: Regenerate.
4151 * configure.in: Build for i686 when configured for i386.
4152 * configure: Regenerate.
4153 * README: Remove i386 reference.
4154
b7a329a5
CD
41552013-04-06 Carlos O'Donell <carlos@redhat.com>
4156
4157 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4158 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4159
bf0f50df
TS
41602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4161
ee091edf
TS
4162 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4163 (lmsnanval): New variables.
4164 (F): Add conversion tests.
4165 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4166 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4167
a8b792d6
TS
4168 * stdio-common/tstdiomisc.c (F): Properly collect individual
4169 tests' results.
4170
a1cbf437
TS
4171 [BZ #14686, #15336]
4172 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4173 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4174 Instead, use input NaN values or generate a qNaN by arithmetic
4175 operation. Also fix bugs to comply with the standard.
4176 * math/libm-test.inc (remainder_test): Add more tests.
4177
8b43a0c9
TS
4178 [BZ #15335, #15342]
4179 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4181 input NaN values or generate a qNaN by arithmetic operation.
4182
d91da4ce
TS
4183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4184 unreachable code.
4185
bf0f50df
TS
4186 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4187 definitions.
4188
05e166c8
JM
41892013-04-03 Joseph Myers <joseph@codesourcery.com>
4190
4191 [BZ #14478]
4192 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4193 underflowed result.
4194 * math/s_cexpf.c (__cexpf): Likewise.
4195 * math/s_cexpl.c (__cexpl): Likewise.
4196 * math/libm-test.inc (cexp_test): Add more tests.
4197
1cef1b19
AS
41982013-04-03 Andreas Schwab <schwab@suse.de>
4199
4200 [BZ #15330]
4201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4202 order arrays from heap if bigger than alloca cutoff.
4203
74d87055
TS
42042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4205
4206 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4207 (SNAN_TESTS_double): Refer to GCC PR56831.
4208 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4209 GCC PR56828.
4210
d755bba4
SP
42112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4212
90d5d5bb
SP
4213 * Rules (bench): Move bench.out after the run is complete.
4214
73e0cd5d
SP
4215 * Rules (bench): Echo currently running benchmark.
4216
64aabd4b
SP
4217 * benchtests/Makefile (bench): Add atan and slowatan.
4218 * benchtests/atan-inputs: New file.
4219 * benchtests/slowatan-inputs: New file.
4220 * benchtests/slowatan.c: New file.
4221
c871eccd
SP
4222 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4223 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4224 its value.
4225
d755bba4
SP
4226 [BZ #15305]
4227 * sysdeps/unix/sysv/linux/kernel-features.h
4228 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4229 __ASSUME_XFS_RESTRICTED_CHOWN.
4230 * sysdeps/unix/sysv/linux/pathconf.c
4231 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4232 Save and restore errno.
4233
52ce4860
JM
42342013-04-02 Joseph Myers <joseph@codesourcery.com>
4235
4236 [BZ #15327]
4237 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4238 arguments using __kernel_casinh.
4239 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4240 arguments using __kernel_casinhf.
4241 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4242 arguments using __kernel_casinhl.
4243 * math/libm-test.inc (cacosh_test): Add more tests.
4244 * sysdeps/i386/fpu/libm-test-ulps: Update.
4245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246
81f311c2
SP
42472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4248
e7906a47
SP
4249 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4251
92e3664b
SP
4252 * bench/Makefile (bench): Add sin and slowsin.
4253 * benchtests/sin-inputs: New file.
4254 * benchtests/slowsin-inputs: New file.
4255 * benchtests/slowsin.c: New file.
4256
81f311c2
SP
4257 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4258 (bench): Add slowexp and slowpow.
4259 (exp-ITER): Increase iterations.
4260 (pow-ITER): Likewise.
4261 * benchtests/exp-inputs: Change input.
4262 * benchtests/pow-inputs: Likewise.
4263 * benchtests/slowexp-inputs: New file.
4264 * benchtests/slowexp.c: New file.
4265 * benchtests/slowpow-inputs: New file.
4266 * benchtests/slowpow.c: New file.
4267
ab0f1aa9
AZ
42682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269
4270 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4271 instructions.
4272 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4273 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4274 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4275 * benchtests/Makefile: Add rint benchtest.
4276 * benchtests/rint-inputs: Input for rint benchtest.
4277
57267616
TS
42782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4279
4280 * Versions.def (libm): Add GLIBC_2.18.
4281 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4282 hidden libm prototypes.
4283 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4284 * math/Makefile (libm-calls): Add s_issignaling.
4285 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4286 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4287 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4288 declaration.
4289 * math/math.h [__USE_GNU] (issignaling): New macro.
4290 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4291 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4293 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4296 * manual/arith.texi (issignaling): New section.
4297 * manual/libm-err-tab.pl (@all_functions): Update comment.
4298 * math/gen-libm-test.pl (parse_args): Apply special handling for
4299 issignaling.
4300 * math/libm-test.inc (print_float, issignaling_test): New
4301 functions.
4302 (check_float_internal): Add issignaling checks.
4303 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4304 default definition.
4305 * sysdeps/powerpc/math-tests.h: New file.
4306 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4307 tests.
4308 * math/test-snan.c (TEST_FUNC): Likewise.
4309
6142896d
DM
43102013-03-30 David S. Miller <davem@davemloft.net>
4311
4312 * po/de.po: Update from translation team.
4313
ccc8cadf
JM
43142013-03-30 Joseph Myers <joseph@codesourcery.com>
4315
4316 [BZ #10357]
4317 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4318 imaginary part less than 1.0 and real part less than 0.5
4319 specially.
4320 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4321 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4322 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4323 (cacos_test): Add more tests.
4324 (casin_test): Likewise.
4325 (casinh_test): Likewise.
4326 * sysdeps/i386/fpu/libm-test-ulps: Update.
4327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4328
0f6a8d4b
SP
43292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4330
0d1029de
SP
4331 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4332 ONE with its value.
4333
c2d94018
SP
4334 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4335 (__pow_mp): Replace ONE and MONE with their values.
4336 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4337 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4338 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4339 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4340 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4341 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4342
27ec37f1
SP
4343 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4344
a64d7e0e
SP
4345 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4346 (__pow_mp): Replace ZERO and MZERO with their values.
4347 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4348 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4349 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4351 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4352 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4353 (__sqr): Likewise.
4354
d26dd3eb
SP
4355 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4356
0f6a8d4b
SP
4357 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4358
e57b0c61
RM
43592013-03-28 Roland McGrath <roland@hack.frob.com>
4360
4361 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4362 Declare with __attribute__ ((weak)).
4363 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4364 Call __call_tls_dtors only if it's not NULL.
4365
356b3480
RM
43662013-03-28 Roland McGrath <roland@hack.frob.com>
4367
288f7d79
RM
4368 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4369 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4370 magic __ehdr_start linker symbol if it's defined.
4371 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4372 them up here if it was already done.
4373
dc0a0263
RM
4374 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4375 (_dl_aux_init): Use const in cast when setting it.
4376 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4377 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4378 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4379
3d3436ae
RM
4380 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4381 Declare them here.
4382 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4383 * csu/libc-tls.c: Nor here.
4384 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4385
356b3480
RM
4386 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4387 (__libc_message): Never call vsyslog.
4388
b0f1246a
AM
43892013-03-28 Alan Modra <amodra@gmail.com>
4390
4391 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4392 Define as empty.
4393 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4394 Likewise.
4395
fbbe2b9a
AZ
43962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4397
4398 [BZ #15214]
4399 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4400 underflow.
4401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4402
1728ab37
SP
44032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4404
7a86be6e
SP
4405 [BZ #15304]
4406 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4407 Don't add gid passed as argument.
4408
1728ab37
SP
4409 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4410
3a7182a1
JM
44112013-03-27 Joseph Myers <joseph@codesourcery.com>
4412
4413 [BZ #15307]
4414 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4415 imaginary part between 1.0 and 1.5 and real part less than 0.5
4416 specially.
4417 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4418 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4419 * math/libm-test.inc (cacos_test): Add more tests.
4420 (casin_test): Likewise.
4421 (casinh_test): Likewise.
4422 * sysdeps/i386/fpu/libm-test-ulps: Update.
4423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424
6f2e90e7
SP
44252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4426
5739f705
SP
4427 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4428 constants.
4429 (norm): Likewise.
4430 (denorm): Likewise.
4431 (__dbl_mp): Likewise.
4432 (add_magnitudes): Likewise.
4433 (sub_magnitudes): Likewise.
4434 (__add): Likewise.
4435 (__sub): Likewise.
4436 (__mul): Likewise.
4437 (__sqr): Likewise.
4438 (__inv): Likewise.
4439 (__dvd): Likewise.
4440
e375e83d
SP
4441 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4442 commented code.
4443 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4444 (__dubcos): Likewise.
4445 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4446 (__ieee754_acos): Likewise.
4447 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4448 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4449 (__exp1): Likewise.
4450 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4452 (log1): Likewise.
4453 (my_log2): Likewise.
4454 (checkint): Likewise.
4455 * sysdeps/ieee754/dbl-64/e_remainder.c
4456 (__ieee754_remainder): Likewise.
4457 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4458 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4459 (bsloww): Likewise.
4460 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4461
6f2e90e7
SP
4462 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4463 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4464 MANTISSA_STORE_T to store computations on mantissa. Use
4465 macros for rounding and division.
4466 (denorm): Likewise.
4467 (__dbl_mp): Likewise.
4468 (add_magnitudes): Likewise.
4469 (sub_magnitudes): Likewise.
4470 (__mul): Likewise.
4471 (__sqr): Likewise.
4472 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4473 powers of two in terms of TWOPOW macro.
4474 (mp_no): Make type of mantissa as MANTISSA_T.
4475 [!RADIXI]: Define RADIXI.
4476 [!TWO52]: Define TWO52.
4477 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4478
fce14d4e
AZ
44792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4480
4481 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4482 llroundl symbol when building for PPC32.
4483
9ad027fb
MW
44842013-03-24 Mark H Weaver <mhw@netris.org>
4485
4486 * manual/arith.texi (Normalization Functions): Fix prototypes for
4487 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4488
e42a38dd
AZ
44892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4490
4491 [BZ #13889]
4492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4493 high value to check if expl overflow.
4494 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4495 to check for underflow and overflow.
4496 * math/libm-test.inc: Add exp test.
4497
2e0fb521
DL
44982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4499
4500 [BZ #11120]
4501 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4502 with NOT_IN_libc.
4503
b5784d95
AZ
45042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4505
4506 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4507 symbol.
4508
5aa4a1a1
TS
45092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4510
bdef0be7
TS
4511 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4512 wrap blocks consisting of several statements.
4513
5aa4a1a1
TS
4514 * sysdeps/generic/math-tests.h: New file.
4515 * sysdeps/i386/fpu/math-tests.h: Likewise.
4516 * math/test-snan.c: Include it.
4517 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4518
98c48fe5
JM
45192013-03-21 Joseph Myers <joseph@codesourcery.com>
4520
4521 [BZ #15285]
4522 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4523 (__ieee754_j0l): Do not improve calculations using cos of twice
4524 input for inputs above LDBL_MAX / 2.0L.
4525 (__ieee754_y0l): Likewise.
4526 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4527 (__ieee754_j1l): Do not improve calculations using cos of twice
4528 input for inputs above LDBL_MAX / 2.0L.
4529 (__ieee754_y1l): Likewise.
4530 * math/libm-test.inc (j0_test): Add another test.
4531 (j1_test): Likewise.
4532 (y0_test): Likewise.
4533 (y1_test): Likewise.
4534 * sysdeps/i386/fpu/libm-test-ulps: Update.
4535
3775a8bc
SP
45362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4537
4538 * Rules ($(objpfx)bench-%.c): Include code from a C source
4539 file.
4540
0a1b2ae6
JM
45412013-03-21 Joseph Myers <joseph@codesourcery.com>
4542
4543 [BZ #15287]
4544 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4545 imaginary part 1.0 and real part less than 0.5 specially.
4546 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4547 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4548 * math/libm-test.inc (cacos_test): Add more tests.
4549 (casin_test): Likewise.
4550 (casinh_test): Likewise.
4551 * sysdeps/i386/fpu/libm-test-ulps: Update.
4552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4553
b33d4ce4
SP
45542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4555
4556 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4557 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4558
bef0b507
JM
45592013-03-20 Joseph Myers <joseph@codesourcery.com>
4560
4561 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4562 * config.make.in (config-cflags-sse4): Remove variable.
4563 (config-cflags-avx): Likewise.
4564 (config-cflags-sse2avx): Likewise.
4565 (config-cflags-novzeroupper): Likewise.
4566 (config-asflags-i686): Likewise.
4567 (have-mfma4): Likewise.
4568 (have-as-vis3): Likewise.
4569 (MIG): Likewise.
4570 * configure.in (MIG): Do not AC_SUBST.
4571 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4572 (libc_cv_cc_sse4): Do not AC_SUBST.
4573 (libc_cv_cc_avx): Likewise.
4574 (libc_cv_cc_sse2avx): Likewise.
4575 (libc_cv_cc_novzeroupper): Likewise.
4576 (libc_cv_cc_fma4): Likewise.
4577 (libc_cv_as_i686): Likewise.
4578 (libc_cv_sparc_as_vis3): Likewise.
4579 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4580 LIBC_CONFIG_VAR.
4581 (config-asflags-i686): Likewise.
4582 (config-cflags-avx): Likewise.
4583 (config-cflags-sse2avx): Likewise.
4584 (have-mfma4): Likewise.
4585 (config-cflags-novzeroupper): Likewise.
4586 * sysdeps/mach/configure.in (MIG): Likewise.
4587 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4588 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4589 LIBC_CONFIG_VAR.
4590 (config-cflags-avx): Likewise.
4591 (config-cflags-sse2avx): Likewise.
4592 (have-mfma4): Likewise.
4593 (config-cflags-novzeroupper): Likewise.
4594 * configure: Regenerated.
4595 * sysdeps/i386/configure: Likewise.
4596 * sysdeps/mach/configure: Likewise.
4597 * sysdeps/sparc/configure: Likewise.
4598 * sysdeps/x86_64/configure: Likewise.
4599
912cc4b3
RM
46002013-03-20 Roland McGrath <roland@hack.frob.com>
4601
4602 [BZ #14812]
4603 * locale/programs/localedef.c (options): Put N_ translation marker
4604 on argument names, not just descriptions.
4605
04eed2b0
MS
46062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4607
4608 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4609
a065ceff
OB
46102013-03-20 Ondřej Bílka <neleai@seznam.cz>
4611
9bb2a810 4612 [BZ #14176]
a065ceff
OB
4613 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4614
a600e5ce
RM
46152013-03-19 Roland McGrath <roland@hack.frob.com>
4616
4617 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4618 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4619 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4620 [!BEFORE_ABORT] (before_abort): New function.
4621 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4622 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4623 (writev_for_fatal): New function.
4624 (WRITEV_FOR_FATAL): New macro; call that.
4625 (backtrace_and_maps): New function.
4626 (BEFORE_ABORT): New macro; call that.
4627 (struct str_list): Type removed.
4628 (__libc_message, __libc_fatal): Functions removed.
4629 Include <sysdeps/posix/libc_fatal.c> instead.
4630
6b18bea6
JM
46312013-03-19 Joseph Myers <joseph@codesourcery.com>
4632
4633 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4634 constants.
4635 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4636 double constants.
4637
aaa8cb4b
AS
46382013-03-19 Andreas Schwab <schwab@suse.de>
4639
44673770
AS
4640 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4641 * sysdeps/gnu/configure: Regenerate.
4642
aaa8cb4b
AS
4643 * configure.in: Substitute libc_cv_rtlddir.
4644 * configure: Regenerate.
4645 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4646 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4647 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4648 * elf/Makefile (install-others, CFLAGS-interp.c)
4649 (ldso_install, common-ldd-rewrite): Likewise.
4650 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4651 $(inst_slibdir)/$(rtld-installed-name).
4652 * scripts/rellns-sh: Add -p option.
4653 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4654 for source.
4655
d3cfc668
SP
46562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4657
4658 * manual/nptl.texi: Renamed to ...
4659 * manual/threads.texi: ... this.
4660 * manual/Makefile (chapters): Update.
4661
0e2b9cdd
RM
46622013-03-18 Roland McGrath <roland@hack.frob.com>
4663
4664 [BZ #14812]
4665 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4666 on argument names, not just descriptions.
0e2b9cdd
RM
4667 * malloc/memusagestat.c (options): Likewise.
4668 * nss/getent.c (options): Likewise.
63270c24
RM
4669
46702013-03-18 Benno Schulenberg <bensberg@justemail.net>
4671
4672 [BZ #14812]
4673 * iconv/iconv_prog.c (options): Put N_ translation marker
4674 on argument names, not just descriptions.
4675 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4676
b2e1393c
OB
46772013-03-18 Ondrej Bilka <neleai@seznam.cz>
4678
4679 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4680 implementation which is faster on all x86_64 architectures.
4681 Tested on AMD, Intel Nehalem, SNB, IVB.
4682 * sysdeps/x86_64/strnlen.S: Likewise.
4683
4684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4685 Remove all multiarch strlen and strnlen versions.
4686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4687 Remove strlen and strnlen related parts.
4688
4689 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4690 Inline strlen part.
4691 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4692
4693 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4694 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4695 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4696 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4697 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4698 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4699
ec4ff04d
CD
47002013-03-17 Carlos O'Donell <carlos@redhat.com>
4701
4702 * manual/memory.texi (Malloc Tunable Parameters):
4703 Sort parameters alphabetically. Add comments for missing entries.
4704
cd18e90a
DM
47052013-03-17 David S. Miller <davem@davemloft.net>
4706
4707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4708
2a185d32
JM
47092013-03-16 Joseph Myers <joseph@codesourcery.com>
4710
d2f9799e
JM
4711 [BZ #15283]
4712 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4713 for arguments at most half maximum finite value.
4714 * math/libm-test.inc (j0_test): Add more tests.
4715 (j1_test): Likewise.
4716 (y0_test): Likewise.
4717 (y1_test): Likewise.
4718 * sysdeps/i386/fpu/libm-test-ulps: Update.
4719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4720
2a185d32
JM
4721 [BZ #14155]
4722 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4723 1 / x and functions P and Q for arguments above 0x1p256L.
4724 (__ieee754_y0l): Likewise.
4725 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4726 (__ieee754_y1l): Likewise.
4727 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4728 (j1_test): Likewise.
4729 (y0_test): Likewise.
4730 (y1_test): Likewise.
4731
6cbec759
TS
47322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4733
4734 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4735 variable.
4736
bc16e260
RM
47372013-03-15 Roland McGrath <roland@hack.frob.com>
4738
aefc9b8c
RM
4739 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4740 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4741 zero since it's initialized to EXEC_PAGESIZE.
4742
bc16e260
RM
4743 * sysdeps/unix/sysv/linux/ldsodefs.h
4744 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4745 * sysdeps/generic/ldsodefs.h: ... here.
4746
a57da955
TS
47472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4748
af00a34d
TS
4749 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4750
495ded2c
TS
4751 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4752 math/test-snan.c.
4753 * math/test-snan.c: Renamed from
4754 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4755 * math/Makefile (tests): Add test-snan.
4756 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4757 test-powerpc-snan.
4758
777b0332
TS
4759 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4760 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4761 functions.
4762 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4763 __builtin_nan family of functions.
4764 * math/libm-test.inc (initialize): Initialize qnan_value with
4765 __builtin_nan family of functions.
4766 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4767 Remove variables.
4768 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4769 Remove functions.
4770 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4771 storage class. Initialize qNaN_var and sNaN_var with
4772 __builtin_nan and __builtin_nans families of functions,
4773 respectively.
4774
64d063b8
TS
4775 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4776 (sqrt_test): Remove duplicate test with qNaN input.
4777 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4778 (round_test, signbit_test, significand_test): Note missing +/-Inf
4779 as well as qNaN tests.
4780
67e971f1
TS
4781 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4782 qNaN_var. Fix a few strings, too.
4783 * math/libm-test.inc (nan_value): Rename to qnan_value.
4784 * math/gen-libm-test.pl (%beautify): Adjust to that.
4785 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4786 * math/test-misc.c (main): Likewise.
4787 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4788 to __qnan_bytes, and __qnan_union, respectively.
4789 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4790 Likewise.
4791 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4792 and lqnanval, respectively.
4793 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4794 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4795 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4796 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4797
64487e12
TS
4798 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4799 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4800 doubles.
4801
e015e27b
TS
4802 * math/test-misc.c (main): Fix copy'n'pastos.
4803 * misc/tst-efgcvt.c (special): Likewise.
4804
a57da955
TS
4805 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4806 Remove declarations.
4807
1e380345
SP
48082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4809
4810 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4811 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4812 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4813 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4814
ef26eece
AZ
48152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4816
4817 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4818 macro to return vdso values correctly in IFUNC implementations.
4819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4820 Optimization by using IFUNC.
4821
8cfdb7e0
SP
48222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4823 Richard Henderson <rth@redhat.com>
4824 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4825
4826 * Makefile.in (bench): New target.
4827 * NEWS: Mention the benchmark framework.
4828 * Rules (bench): Likewise.
4829 (binaries-bench): Generate binaries for functions to
4830 benchmark.
4831 * benchtests/Makefile: New makefile for benchmark tests.
4832 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4833 programs.
4834 * benchtests/exp-inputs: New input file for EXP function.
4835 * benchtests/pow-inputs: New input file for POW function.
4836 * scripts/bench.pl: New script to generate source files for
4837 benchmark programs.
4838
bcda9880
SP
48392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4840
d22ca8cd
SP
4841 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4842 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4843 computations on mantissa. Use macros for rounding and
4844 division.
4845 (denorm): Likewise.
4846 (__dbl_mp): Likewise.
4847 (add_magnitudes): Likewise.
4848 (sub_magnitudes): Likewise.
4849 (__mul): Likewise.
4850 (__sqr): Likewise.
4851 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4852 powers of two in terms of TWOPOW macro.
4853 (mp_no): Make type of mantissa as MANTISSA_T.
4854 [!RADIXI]: Define RADIXI.
4855 [!TWO52]: Define TWO52.
4856 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4857
bcda9880
SP
4858 * manual/nptl.texi (cindex): Modify threads to pthreads.
4859
06d5adfb
JM
48602013-03-15 Joseph Myers <joseph@codesourcery.com>
4861
4862 * sysdeps/x86_64/preconfigure: Regenerated.
4863
41c7328e
JM
48642013-03-14 Joseph Myers <joseph@codesourcery.com>
4865
4866 [BZ #14155]
4867 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4868 0x1p28 and above.
4869 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4870 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4871 0x1p28 and above.
4872 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4873 * math/libm-test.inc (j0_test): Do not allow one spurious
4874 underflow exception.
4875 (y1_test): Likewise.
4876
e25cfa60
SP
48772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4878
0409959c
SP
4879 * manual/Makefile (chapters): Add nptl.
4880 * manual/debug.texi (Debugging Support): Add link to Threads
4881 chapter.
4882 * manual/nptl.texi: New file.
4883
e25cfa60
SP
4884 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4885
58a1335e
PB
48862013-03-14 Petr Baudis <pasky@ucw.cz>
4887
4888 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4889 for non-NULL pointer before the memory validity test. Pointed
4890 out by Holger Brunck <holger.brunck@keymile.com>.
4891
9dc7c64f
AS
48922013-03-13 Andreas Schwab <schwab@suse.de>
4893
4894 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4895 instead of .os.
4896
54206aa6
JM
48972013-03-13 Joseph Myers <joseph@codesourcery.com>
4898
4899 * timezone/zic.c: Update from tzcode 2013b.
4900
e98cdb38
CD
49012013-03-12 Carlos O'Donell <carlos@redhat.com>
4902
4903 * manual/install.texi (Configuring and compiling):
4904 Mention i686 and i586.
4905 * INSTALL: Regenerate.
4906
9967e003
RM
49072013-03-12 Roland McGrath <roland@hack.frob.com>
4908
4909 * sysdeps/init_array/elf-init.c: New file.
4910 * csu/elf-init.c
4911 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4912 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4913
4914 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4915 __gmon_start__ as global, but as static with a .preinit_array pointer.
4916 * sysdeps/init_array/gmon-start.c: New file. Use that.
4917 * sysdeps/init_array/crti.S: New file, empty except for comments.
4918 * sysdeps/init_array/crtn.S: Likewise.
4919
e6b5a293 49202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4921
4922 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4923 definining bcopy.
80f844c9
OB
4924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4925 Remove Prefer_SSE_for_memop.
4926 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4927 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4928 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4930 memset-x86-64.
80f844c9 4931 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4932 Remove bzero, memset ifunc support.
80f844c9
OB
4933 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4934 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4935 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4936 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4937
fb6b0fcb
AS
49382013-03-11 Andreas Schwab <schwab@suse.de>
4939
4940 [BZ #15234]
4941 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4942 by SHLIB_COMPAT.
4943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4944 (GLIBC_2.16): Remove pthread_atfork.
4945
3e6bd4b1
PP
49462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4947
4948 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4949 (ptestcases.h): Likewise.
4950
222d7f00
RM
49512013-03-08 Roland McGrath <roland@hack.frob.com>
4952
4953 * Makeconfig ($(common-objpfx)config.status): Depend on
4954 sysdeps/*/preconfigure{,.in} too.
4955
1ba4f030
JM
49562013-03-08 Joseph Myers <joseph@codesourcery.com>
4957
a222d91a
JM
4958 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4959 (__free_hook): Use void * instead of __malloc_ptr_t.
4960 (__malloc_hook): Likewise.
4961 (__realloc_hook): Likewise.
4962 (__memalign_hook): Likewise.
4963 (__after_morecore_hook): Likewise.
4964 * malloc/arena.c (save_malloc_hook): Likewise.
4965 (save_free_hook): Likewise.
4966 * malloc/hooks.c (malloc_hook_ini): Likewise.
4967 (realloc_hook_ini): Likewise.
4968 (memalign_hook_ini): Likewise.
4969 * malloc/malloc.c (malloc_hook_ini): Likewise.
4970 (realloc_hook_ini): Likewise.
4971 (memalign_hook_ini): Likewise.
4972 (__free_hook): Likewise.
4973 (__malloc_hook): Likewise.
4974 (__realloc_hook): Likewise.
4975 (__memalign_hook): Likewise.
4976 (__libc_malloc): Likewise.
4977 (__libc_free): Likewise.
4978 (__libc_realloc): Likewise.
4979 (__libc_memalign): Likewise.
4980 (__libc_valloc): Likewise.
4981 (__libc_pvalloc): Likewise.
4982 (__libc_calloc): Likewise.
4983 (__posix_memalign): Likewise.
4984 * malloc/morecore.c (__sbrk): Likewise.
4985 (__default_morecore): Likewise.
4986
5cc45e10
JM
4987 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4988
dd54b864
JM
4989 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4990 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4991 __malloc_ptrdiff_t.
4992
1ba4f030
JM
4993 * malloc/malloc.h (__malloc_size_t): Remove macro.
4994 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4995 __malloc_size_t.
4996 (old_memalign_hook): Likewise.
4997 (old_realloc_hook): Likewise.
4998 (struct hdr): Likewise.
4999 (flood): Likewise.
5000 (mallochook): Likewise.
5001 (memalignhook): Likewise.
5002 (reallochook): Likewise.
5003 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5004 (tr_old_realloc_hook): Likewise.
5005 (tr_old_memalign_hook): Likewise.
5006 (tr_mallochook): Likewise.
5007 (tr_reallochook): Likewise.
5008 (tr_memalignhook): Likewise.
5009
edf66e57
AZ
50102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5011
5012 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5013 default_ldbl_pack and using as default implementation.
5014 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5015 implementation.
5016 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5017 redundant definition.
5018 (ldbl_insert_mantissa): Likewise.
5019 (ldbl_canonicalize): Likewise.
5020 (ldbl_nearbyint): Likewise.
5021 (ldbl_pack): Rename to ldbl_pack_ppc.
5022 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5023 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5024 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5025
6d9145d8
SP
50262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5027
5028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5029 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5030 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5031 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5033 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5034 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5035 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5036
4dd4e157
AJ
50372013-03-07 Andreas Jaeger <aj@suse.de>
5038
5039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5040 bits/mman-linux.h.
5041
adbb8027
SP
50422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5043
ce544b5b
SP
5044 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5045 Include mpa.h and declare __MPEXP.
5046 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5047 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5048 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5049 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5050 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5051 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5052 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5053
4cc149fd
SP
5054 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5055 (__slowpow): Use long double EXPL and LOGL functions to
5056 compute POW.
5057 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5058 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5059 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5060 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5061 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5063
e6ebd4a7
SP
5064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5065 intermediate variable to calculate exponent.
5066 (__sqr): Likewise.
5067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5068 Likewise.
5069 (__sqr): Likewise.
5070
82a9811d
SP
5071 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5072 [!NO__SQR]: Define __sqr.
5073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5074 and NO__SQR. Remove all code except __mul and __sqr. Include
5075 sysdeps/ieee754/dbl-64/mpa.c.
5076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5077
adbb8027
SP
5078 [BZ #12723]
5079 * posix/Makefile (tests): Add tst-pathconf.
5080 * posix/tst-pathconf.c: New test case.
5081 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5082 _PC_PIPE_BUF.
5083 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5084
39120df9
PF
50852013-03-06 Patsy Franklin <pfrankli@redhat.com>
5086
5087 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5088
67525cb8
AJ
50892013-03-06 Andreas Jaeger <aj@suse.de>
5090
664a9ce4
AJ
5091 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5092 definition via __MAP_ANONYMOUS.
5093
8e39047d
AJ
5094 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5095 it's not part of Linux headers.
5096
67525cb8
AJ
5097 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5098 (MAP_HUGE_MASK): Define.
5099
5100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5101 Define.
5102 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5103 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5104 Define.
5105 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5106 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5107 Define.
5108 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5110 Define.
5111 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5112
5113 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5114 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5115 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5116 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5117 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5118 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5119
5120 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5121 Handle f2fs.
5122
5123 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5124 Handle f2fs and efivarfs.
5125
5126 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5127 f2fs.
5128
5129 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5130 (EFIVARFS_MAGIC): Add.
5131 (F2FS_LINK_MAX): Add.
5132
e1b42695
PP
51332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5134
5135 * stdio-common/vfprintf.c: Replace __builtin_expect with
5136 __glibc_unlikely.
5137
2d67d91a
JM
51382013-03-06 Joseph Myers <joseph@codesourcery.com>
5139
5140 [BZ #13550]
5141 * sysdeps/generic/bp-sym.h: Remove file.
5142 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5143 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5144 <bp-sym.h> and <bp-asm.h>.
5145 (__longjmp): Don't use BP_SYM.
5146 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5147 and <bp-asm.h>.
5148 (memcpy): Don't use BP_SYM.
5149 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5150 <bp-sym.h> and <bp-asm.h>.
5151 (memcpy): Don't use BP_SYM.
5152 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5153 <bp-asm.h>.
5154 (memcpy): Don't use BP_SYM.
5155 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5156 <bp-asm.h>.
5157 (memset): Don't use BP_SYM.
5158 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5159 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5160 (__bzero): Don't use BP_SYM.
5161 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5162 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5163 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5164 <bp-sym.h> and <bp-asm.h>.
5165 (memcmp): Don't use BP_SYM. Remove comment about bounded
5166 pointers.
5167 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5168 <bp-sym.h> and <bp-asm.h>.
5169 (memcpy): Don't use BP_SYM.
5170 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5171 <bp-sym.h> and <bp-asm.h>.
5172 (memset): Don't use BP_SYM.
5173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5175 (__bzero): Don't use BP_SYM.
5176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5178 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5179 <bp-sym.h> and <bp-asm.h>.
5180 (strncmp): Don't use BP_SYM. Remove comment about bounded
5181 pointers.
5182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5183 <bp-sym.h> and <bp-asm.h>.
5184 (memcpy): Don't use BP_SYM.
5185 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5186 <bp-sym.h> and <bp-asm.h>.
5187 (memset): Don't use BP_SYM.
5188 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5189 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5190 (__bzero): Don't use BP_SYM.
5191 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5192 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5193 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5194 <bp-sym.h> and <bp-asm.h>.
5195 (__memchr): Don't use BP_SYM.
5196 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5197 <bp-sym.h> and <bp-asm.h>.
5198 (memcmp): Don't use BP_SYM. Remove comment about bounded
5199 pointers.
5200 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5201 <bp-sym.h> and <bp-asm.h>.
5202 (memcpy): Don't use BP_SYM.
5203 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5204 <bp-sym.h> and <bp-asm.h>.
5205 (__mempcpy): Don't use BP_SYM.
5206 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5207 <bp-sym.h> and <bp-asm.h>.
5208 (__memrchr): Don't use BP_SYM.
5209 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5210 <bp-sym.h> and <bp-asm.h>.
5211 (memset): Don't use BP_SYM.
5212 (__bzero): Likewise.
5213 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5214 <bp-sym.h> and <bp-asm.h>.
5215 (__rawmemchr): Don't use BP_SYM.
5216 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5217 <bp-sym.h> and <bp-asm.h>.
5218 (__STRCMP): Don't use BP_SYM.
5219 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5220 <bp-sym.h> and <bp-asm.h>.
5221 (strchr): Don't use BP_SYM.
5222 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5223 <bp-sym.h> and <bp-asm.h>.
5224 (__strchrnul): Don't use BP_SYM.
5225 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5226 <bp-sym.h> and <bp-asm.h>.
5227 (strlen): Don't use BP_SYM.
5228 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5229 <bp-sym.h> and <bp-asm.h>.
5230 (strncmp): Don't use BP_SYM. Remove comment about bounded
5231 pointers.
5232 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5233 <bp-sym.h> and <bp-asm.h>.
5234 (__strnlen): Don't use BP_SYM.
5235 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5236 <bp-sym.h> and <bp-asm.h>.
5237 (__GI__setjmp): Don't use BP_SYM.
5238 (_setjmp): Likewise.
5239 (__sigsetjmp): Likewise.
5240 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5241 (L(start_addresses)): Don't use BP_SYM.
5242 (_start): Likewise.
5243 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5244 <bp-asm.h>.
5245 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5246 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5247 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5248 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5249 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5250 <bp-asm.h>.
5251 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5252 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5253 about bounded pointers.
5254 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5255 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5256 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5257 <bp-asm.h>.
5258 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5259 about bounded pointers. Remove GKM FIXME comments.
5260 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5261 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5262 <bp-asm.h>.
5263 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5264 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5265 Remove GKM FIXME comments.
5266 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5267 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5268 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5269 <bp-asm.h>.
5270 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5271 about bounded pointers. Remove GKM FIXME comment.
5272 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5273 and <bp-asm.h>.
5274 (strncmp): Don't use BP_SYM. Remove comment about bounded
5275 pointers.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5277 <bp-sym.h> and <bp-asm.h>.
5278 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5280 <bp-sym.h> and <bp-asm.h>.
5281 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5282 comment.
5283
cdcf361f
PP
52842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5285
5286 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5287 call free(NULL).
5288
3c4a2b15
DM
52892013-03-05 David S. Miller <davem@davemloft.net>
5290
5291 * po/es.po: Update from translation team.
5292
cdcf361f 52932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5294
5295 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5296 <bits/mman-linux.h>.
5297 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5298 is fine.
5299 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5300 <bits/mman-linux.h> to end of file.
5301 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5302 is fine.
5303 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5304 <bits/mman-linux.h> to end of file.
5305 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5306 is fine.
5307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5308 <bits/mman-linux.h> to end of file.
5309
5310 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5311 (MCL_CURRENT, MCL_FUTURE): Define here.
5312
5f67c04f
AK
53132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5314
8a4473cc 5315 [BZ #15232]
5f67c04f
AK
5316 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5317 attribute_hidden.
5318 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5319
c3e94a95
AK
53202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5321
5322 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5323 fourth parameter needed for rt_sigprocmask syscall.
5324 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5325 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5326 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5327 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5328 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5329 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5330
cfb6382a
JM
53312013-03-04 Joseph Myers <joseph@codesourcery.com>
5332
5333 [BZ #13550]
5334 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5335 comment about bounded pointers.
5336 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5337 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5338
539d8e01
AJ
53392013-03-04 Andreas Jaeger <aj@suse.de>
5340
5341 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5342 common definitions.
5343
5344 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5345 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5346 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5347 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5348 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5349 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5350
2e167a70 53512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5352
5353 [BZ #15055]
5354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5355 __ieee754_sqrl instead of __sqrl.
5356
68508633
JM
53572013-03-01 Joseph Myers <joseph@codesourcery.com>
5358
5359 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5360 * sysdeps/powerpc/fpu_control.h: ... here.
5361 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5362 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5363 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5364 * sysdeps/powerpc/bits/mathinline.h: ... here.
5365
7775448e
RM
53662013-03-01 Roland McGrath <roland@hack.frob.com>
5367
5368 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5369 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5370 to just [NEED_DL_SYSINFO_DSO].
5371 * elf/dl-support.c: Likewise.
5372 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5373 * elf/rtld.c (dl_main): Likewise.
5374 * elf/setup-vdso.h (setup_vdso): Likewise.
5375 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5376 * sysdeps/unix/sysv/linux/dl-sysdep.c
5377 (_dl_discover_osversion): Likewise.
5378
4e9b5995
CD
53792013-03-01 Carlos O'Donell <carlos@redhat.com>
5380
5381 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5382 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5383
e23872c8
SP
53842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
e5c74c63
SP
5386 * NEWS: Mention libm performance improvements and non-x86 PI
5387 futex support.
5388
e23872c8
SP
5389 * csu/libc-start.c (__pthread_initialize_minimal): Change
5390 function arguments.
5391 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5392
b5510883
JM
53932013-02-28 Joseph Myers <joseph@codesourcery.com>
5394
5395 [BZ #13550]
5396 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5397 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5398 <bp-sym.h> and <bp-asm.h>.
5399 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5400 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5401 and <bp-asm.h>.
5402 (memcpy): Don't use BP_SYM.
5403 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5404 <bp-asm.h>.
5405 (__mpn_add_n): Don't use BP_SYM.
5406 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5407 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5408 and <bp-asm.h>.
5409 (__mpn_addmul_1): Don't use BP_SYM.
5410 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5411 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5412 <bp-sym.h>.
5413 (_setjmp): Don't use BP_SYM.
5414 (__novmx_setjmp): Likewise.
5415 (__GI__setjmp): Likewise.
5416 (__vmx_setjmp): Likewise.
5417 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5418 <bp-sym.h>.
5419 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5420 (__bzero): Don't use BP_SYM.
5421 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5422 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5423 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5424 <bp-sym.h> and <bp-asm.h>.
5425 (memcpy): Don't use BP_SYM.
5426 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5427 <bp-sym.h> and <bp-asm.h>.
5428 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5429 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5430 <bp-sym.h> and <bp-asm.h>.
5431 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5432 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5433 <bp-asm.h>.
5434 (__mpn_lshift): Don't use BP_SYM.
5435 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5436 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5437 <bp-asm.h>.
5438 (memset): Don't use BP_SYM.
5439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5441 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5442 <bp-asm.h>.
5443 (__mpn_mul_1): Don't use BP_SYM.
5444 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5445 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5446 <bp-sym.h> and <bp-asm.h>.
5447 (memcmp): Don't use BP_SYM.
5448 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5449 <bp-sym.h> and <bp-asm.h>.
5450 (memcpy): Don't use BP_SYM.
5451 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5452 <bp-sym.h> and <bp-asm.h>.
5453 (memset): Don't use BP_SYM.
5454 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5455 <bp-sym.h> and <bp-asm.h>.
5456 (strncmp): Don't use BP_SYM.
5457 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5458 <bp-sym.h> and <bp-asm.h>.
5459 (memcpy): Don't use BP_SYM.
5460 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5461 <bp-sym.h> and <bp-asm.h>.
5462 (memset): Don't use BP_SYM.
5463 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5464 <bp-sym.h> and <bp-asm.h>.
5465 (__memchr): Don't use BP_SYM.
5466 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5467 <bp-sym.h> and <bp-asm.h>.
5468 (memcmp): Don't use BP_SYM.
5469 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5470 <bp-sym.h> and <bp-asm.h>.
5471 (memcpy): Don't use BP_SYM.
5472 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5473 <bp-sym.h> and <bp-asm.h>.
5474 (__mempcpy): Don't use BP_SYM.
5475 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5476 <bp-sym.h> and <bp-asm.h>.
5477 (__memrchr): Don't use BP_SYM.
5478 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5479 <bp-sym.h> and <bp-asm.h>.
5480 (memset): Don't use BP_SYM.
5481 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5482 <bp-sym.h> and <bp-asm.h>.
5483 (__rawmemchr): Don't use BP_SYM.
5484 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5485 <bp-sym.h> and <bp-asm.h>.
5486 (__STRCMP): Don't use BP_SYM.
5487 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5488 <bp-sym.h> and <bp-asm.h>.
5489 (strchr): Don't use BP_SYM.
5490 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5491 <bp-sym.h> and <bp-asm.h>.
5492 (__strchrnul): Don't use BP_SYM.
5493 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5494 <bp-sym.h> and <bp-asm.h>.
5495 (strlen): Don't use BP_SYM.
5496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5497 <bp-sym.h> and <bp-asm.h>.
5498 (strncmp): Don't use BP_SYM.
5499 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5500 <bp-sym.h> and <bp-asm.h>.
5501 (__strnlen): Don't use BP_SYM.
5502 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5503 <bp-asm.h>.
5504 (__mpn_rshift): Don't use BP_SYM.
5505 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5506 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5507 <bp-sym.h> and <bp-asm.h>.
5508 (__sigsetjmp): Don't use BP_SYM.
5509 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5510 (L(start_addresses)): Don't use BP_SYM.
5511 (_start): Likewise.
5512 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5513 <bp-asm.h>.
5514 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5515 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5516 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5517 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5518 <bp-asm.h>.
5519 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5520 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5521 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5522 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5523 <bp-asm.h>.
5524 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5525 comments.
5526 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5527 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5528 <bp-asm.h>.
5529 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5530 FIXME comments.
5531 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5532 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5533 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5534 <bp-asm.h>.
5535 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5536 comment.
5537 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5538 and <bp-asm.h>.
5539 (strncmp): Don't use BP_SYM,
5540 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5541 <bp-asm.h>.
5542 (__mpn_sub_n): Don't use BP_SYM.
5543 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5544 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5545 and <bp-asm.h>.
5546 (__mpn_submul_1): Don't use BP_SYM.
5547 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5549 <bp-sym.h> and <bp-asm.h>.
5550 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5552 <bp-sym.h> and <bp-asm.h>.
5553 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5554 comment.
5555
8d19fe64
SP
55562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5557
5558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5559 Use ZK to minimize writes to Z.
5560 (sub_magnitudes): Simplify code a bit.
5561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5562 Use ZK to minimize writes to Z.
5563 (sub_magnitudes): Simplify code a bit.
5564
85bd816a
RM
55652013-02-27 Roland McGrath <roland@hack.frob.com>
5566
5567 * csu/gmon-start.c: Add special exception to license text.
5568
b5977bf2
RH
55692013-02-27 Richard Henderson <rth@redhat.com>
5570
5571 * scripts/config.guess: Update from config.git.
5572 * scripts/config.sub: Likewise.
5573
11d6e2f2
SP
55742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5575
09c14ed2
SP
5576 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5577
a688864e
SP
5578 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5579
6295157a
SP
5580 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5581
b8de2202
SP
5582 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5583
11d6e2f2
SP
5584 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5585
7e80ddb8
RM
55862013-02-26 Roland McGrath <roland@hack.frob.com>
5587
5588 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5589 [$(build-shared = yes].
7e80ddb8 5590
7da6d9ed
SP
55912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5592
45f05884
SP
5593 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5594 (__mul): Reduce iterations for calculating mantissa.
5595
2236d359
SP
5596 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5597 MPTWO.
5598 (__mpranred): Likewise.
5599
7da6d9ed
SP
5600 [BZ #15160]
5601 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5602 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5603
b7688c42
PE
56042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5605
5606 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5607 Define __attribute__.
5608
53a5c423
SP
56092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5610
5611 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5612 unused.
5613 * posix/regex_internal.h (__attribute): Remove.
5614 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5615 (re_string_context_at): Likewise.
5616 (bitset_not): Use __attribute__ and mark function as possibly
5617 unused.
5618 (bitset_merge): Likewise.
5619 (bitset_mask): Likewise.
5620 (re_string_char_size_at): Likewise.
5621 (re_string_wchar_at): Likewise.
5622 (re_string_elem_size_at): Likewise.
5623
60f5a8b5
SP
56242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5625
2a983a2e
SP
5626 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5627 code.
5628 (cc32): Likewise.
5629
e69804d1
SP
5630 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5631 (__acr): Likewise.
5632 (__cpy): Likewise.
5633 (norm): Likewise.
5634 (denorm): Likewise.
5635 (__dbl_mp): Likewise.
5636 (add_magnitudes): Likewise.
5637 (sub_magnitudes): Likewise.
5638 (__mul): Likewise.
5639 (__inv): Likewise.
5640
2f22a1e8
SP
5641 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5642 style.
5643
8930ddc7
SP
5644 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5645 style.
5646
dc60cb11
SP
5647 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5648 code.
5649
60f5a8b5
SP
5650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5651 up changes with default code.
5652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5653 Likewise.
5654
b4d1fd33
AM
56552013-02-24 Allan McRae <allan@archlinux.org>
5656
faf6f8bc
AM
5657 * manual/socket.texi (The Internet Namespace): Order menu items
5658 to match that in the file.
5659
b4d1fd33
AM
5660 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5661 node listing of the info page menu.
5662
2366713d
JM
56632013-02-21 Joseph Myers <joseph@codesourcery.com>
5664
5665 [BZ #13550]
5666 * sysdeps/i386/bp-asm.h: Remove file.
5667 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5668 (PARMS): Do not use macros from bp-asm.h.
5669 (S1): Likewise.
5670 (S2): Likewise.
5671 (SIZE): Likewise.
5672 (__mpn_add_n): Do not use BP_SYM
5673 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5674 "bp-asm.h".
5675 (PARMS): Do not use macros from bp-asm.h.
5676 (S1): Likewise.
5677 (SIZE): Likewise.
5678 (__mpn_addmul_1): Do not use BP_SYM
5679 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5680 "bp-asm.h".
5681 (PARMS): Do not use macros from bp-asm.h.
5682 (SIGMSK): Likewise.
5683 (_setjmp): Likewise. Do not use BP_SYM.
5684 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5685 "bp-asm.h".
5686 (PARMS): Do not use macros from bp-asm.h.
5687 (SIGMSK): Likewise.
5688 (setjmp): Likewise. Do not use BP_SYM.
5689 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5690 "bp-asm.h".
5691 (PARMS): Do not use macros from bp-asm.h.
5692 (__frexp): Do not use BP_SYM.
5693 (frexp): Likewise.
5694 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5695 "bp-asm.h".
5696 (PARMS): Do not use macros from bp-asm.h.
5697 (__frexpf): Do not use BP_SYM.
5698 (frexpf): Likewise.
5699 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5700 "bp-asm.h".
5701 (PARMS): Do not use macros from bp-asm.h.
5702 (__frexpl): Do not use BP_SYM.
5703 (frexpl): Likewise.
5704 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5705 "bp-asm.h".
5706 (PARMS): Do not use macros from bp-asm.h.
5707 (__remquo): Do not use BP_SYM.
5708 (remquo): Likewise.
5709 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5710 "bp-asm.h".
5711 (PARMS): Do not use macros from bp-asm.h.
5712 (__remquof): Do not use BP_SYM.
5713 (remquof): Likewise.
5714 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5715 "bp-asm.h".
5716 (PARMS): Do not use macros from bp-asm.h.
5717 (__remquol): Do not use BP_SYM.
5718 (remquol): Likewise.
5719 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5720 "bp-asm.h".
5721 (PARMS): Do not use macros from bp-asm.h.
5722 (DEST): Likewise.
5723 (SRC): Likewise.
5724 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5725 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5726 "bp-asm.h".
5727 (PARMS): Do not use macros from bp-asm.h.
5728 (strlen): Do not use BP_SYM.
5729 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5730 "bp-asm.h".
5731 (PARMS): Do not use macros from bp-asm.h.
5732 (S1): Likewise.
5733 (S2): Likewise.
5734 (SIZE): Likewise.
5735 (__mpn_add_n): Do not use BP_SYM.
5736 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5737 "bp-asm.h".
5738 (PARMS): Do not use macros from bp-asm.h.
5739 (S1): Likewise.
5740 (SIZE): Likewise.
5741 (__mpn_addmul_1): Do not use BP_SYM.
5742 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5743 weak_alias.
5744 (bzero): Likewise.
5745 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5746 "bp-asm.h".
5747 (PARMS): Do not use macros from bp-asm.h.
5748 (S): Likewise.
5749 (SIZE): Likewise.
5750 (__mpn_lshift): Do not use BP_SYM.
5751 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5752 "bp-asm.h".
5753 (PARMS): Do not use macros from bp-asm.h.
5754 (DEST): Likewise.
5755 (SRC): Likewise.
5756 (LEN): Likewise.
5757 (memcpy): Likewise. Do not use BP_SYM.
5758 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5759 libc_hidden_def and weak_alias.
5760 (mempcpy): Do not use BP_SYM in weak_alias.
5761 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5762 "bp-asm.h".
5763 (PARMS): Do not use macros from bp-asm.h.
5764 (DEST): Likewise.
5765 (LEN): Likewise.
5766 [!BZERO_P] (CHR): Likewise.
5767 (memset): Likewise. Do not use BP_SYM.
5768 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5769 "bp-asm.h".
5770 (PARMS): Do not use macros from bp-asm.h.
5771 (S1): Likewise.
5772 (SIZE): Likewise.
5773 (__mpn_mul_1): Do not use BP_SYM.
5774 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5775 "bp-asm.h".
5776 (PARMS): Do not use macros from bp-asm.h.
5777 (S): Likewise.
5778 (SIZE): Likewise.
5779 (__mpn_rshift): Do not use BP_SYM.
5780 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5781 "bp-asm.h".
5782 (PARMS): Do not use macros from bp-asm.h.
5783 (STR): Likewise.
5784 (CHR): Likewise.
5785 (strchr): Likewise. Do not use BP_SYM.
5786 (index): Do not use BP_SYM in weak_alias.
5787 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5788 "bp-asm.h".
5789 (PARMS): Do not use macros from bp-asm.h.
5790 (DEST): Likewise.
5791 (SRC): Likewise.
5792 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5793 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5794 "bp-asm.h".
5795 (PARMS): Do not use macros from bp-asm.h.
5796 (strlen): Do not use BP_SYM.
5797 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5798 "bp-asm.h".
5799 (PARMS): Do not use macros from bp-asm.h.
5800 (S1): Likewise.
5801 (S2): Likewise.
5802 (SIZE): Likewise.
5803 (__mpn_sub_n): Do not use BP_SYM.
5804 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5805 "bp-asm.h".
5806 (PARMS): Do not use macros from bp-asm.h.
5807 (S1): Likewise.
5808 (SIZE): Likewise.
5809 (__mpn_submul_1): Do not use BP_SYM.
5810 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5811 "bp-asm.h".
5812 (PARMS): Do not use macros from bp-asm.h.
5813 (S1): Likewise.
5814 (S2): Likewise.
5815 (SIZE): Likewise.
5816 (__mpn_add_n): Do not use BP_SYM.
5817 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5818 weak_alias.
5819 (bzero): Likewise.
5820 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5821 "bp-asm.h".
5822 (PARMS): Do not use macros from bp-asm.h.
5823 (BLK2): Likewise.
5824 (LEN): Likewise.
5825 (memcmp): Do not use BP_SYM.
5826 (bcmp): Do not use BP_SYM in weak_alias.
5827 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5828 "bp-asm.h".
5829 (PARMS): Do not use macros from bp-asm.h.
5830 (DEST): Likewise.
5831 (SRC): Likewise.
5832 (LEN): Likewise.
5833 (memcpy): Likewise. Do not use BP_SYM.
5834 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5835 "bp-asm.h".
5836 (PARMS): Do not use macros from bp-asm.h.
5837 (DEST): Likewise.
5838 (SRC): Likewise.
5839 (LEN): Likewise.
5840 (memmove): Likewise. Do not use BP_SYM.
5841 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5842 "bp-asm.h".
5843 (PARMS): Do not use macros from bp-asm.h.
5844 (DEST): Likewise.
5845 (SRC): Likewise.
5846 (LEN): Likewise.
5847 (__mempcpy): Likewise. Do not use BP_SYM.
5848 (mempcpy): Do not use BP_SYM in weak_alias.
5849 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5850 "bp-asm.h".
5851 (PARMS): Do not use macros from bp-asm.h.
5852 (DEST): Likewise.
5853 (LEN): Likewise.
5854 [!BZERO_P] (CHR): Likewise.
5855 (memset): Likewise. Do not use BP_SYM.
5856 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5857 "bp-asm.h".
5858 (PARMS): Do not use macros from bp-asm.h.
5859 (STR2): Likewise.
5860 (strcmp): Do not use BP_SYM.
5861 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5862 "bp-asm.h".
5863 (PARMS): Do not use macros from bp-asm.h.
5864 (STR): Likewise.
5865 (DELIM): Likewise.
5866 [USE_AS_STRTOK_R] (SAVE): Likewise.
5867 (FUNCTION): Likewise. Do not use BP_SYM.
5868 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5869 aliases.
5870 (strtok_r): Likewise.
5871 (__GI___strtok_r): Likewise.
5872 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5873 (PARMS): Do not use macros from bp-asm.h.
5874 (S): Likewise.
5875 (SIZE): Likewise.
5876 (__mpn_lshift): Do not use BP_SYM.
5877 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5878 (PARMS): Do not use macros from bp-asm.h.
5879 (STR): Likewise.
5880 (CHR): Likewise.
5881 (__memchr): Do not use BP_SYM.
5882 (memchr): Do not use BP_SYM in weak_alias.
5883 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5884 (PARMS): Do not use macros from bp-asm.h.
5885 (BLK2): Likewise.
5886 (LEN): Likewise.
5887 (memcmp): Do not use BP_SYM.
5888 (bcmp): Do not use BP_SYM in weak_alias.
5889 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5890 (PARMS): Do not use macros from bp-asm.h.
5891 (S1): Likewise.
5892 (SIZE): Likewise.
5893 (__mpn_mul_1): Do not use BP_SYM.
5894 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5895 "bp-asm.h".
5896 (PARMS): Do not use macros from bp-asm.h.
5897 (STR): Likewise.
5898 (CHR): Likewise.
5899 (__rawmemchr): Do not use BP_SYM.
5900 (rawmemchr): Do not use BP_SYM in weak_alias.
5901 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5902 (PARMS): Do not use macros from bp-asm.h.
5903 (S): Likewise.
5904 (SIZE): Likewise.
5905 (__mpn_rshift): Do not use BP_SYM.
5906 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5907 (PARMS): Do not use macros from bp-asm.h.
5908 (SIGMSK): Likewise.
5909 (__sigsetjmp): Likewise. Do not use BP_SYM.
5910 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5911 (_start): Do not use BP_SYM.
5912 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5913 (PARMS): Do not use macros from bp-asm.h.
5914 (DEST): Likewise.
5915 (SRC): Likewise.
5916 (__stpcpy): Likewise. Do not use BP_SYM.
5917 (stpcpy): Do not use BP_SYM in weak_alias.
5918 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5919 "bp-asm.h".
5920 (PARMS): Do not use macros from bp-asm.h.
5921 (DEST): Likewise.
5922 (SRC): Likewise.
5923 (LEN): Likewise.
5924 (__stpncpy): Likewise. Do not use BP_SYM.
5925 (stpncpy): Do not use BP_SYM in weak_alias.
5926 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5927 (PARMS): Do not use macros from bp-asm.h.
5928 (STR): Likewise.
5929 (CHR): Likewise.
5930 (strchr): Likewise. Do not use BP_SYM.
5931 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5932 "bp-asm.h".
5933 (PARMS): Do not use macros from bp-asm.h.
5934 (STR): Likewise.
5935 (CHR): Likewise.
5936 (__strchrnul): Likewise. Do not use BP_SYM.
5937 (strchrnul): Do not use BP_SYM in weak_alias.
5938 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5939 "bp-asm.h".
5940 (PARMS): Do not use macros from bp-asm.h.
5941 (STOP): Likewise.
5942 (strcspn): Do not use BP_SYM.
5943 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5944 "bp-asm.h".
5945 (PARMS): Do not use macros from bp-asm.h.
5946 (STR): Likewise.
5947 (STOP): Likewise.
5948 (strpbrk): Likewise. Do not use BP_SYM.
5949 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5950 "bp-asm.h".
5951 (PARMS): Do not use macros from bp-asm.h.
5952 (STR): Likewise.
5953 (CHR): Likewise.
5954 (strrchr): Likewise. Do not use BP_SYM.
5955 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5956 (PARMS): Do not use macros from bp-asm.h.
5957 (SKIP): Likewise.
5958 (strspn): Do not use BP_SYM.
5959 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5960 (PARMS): Do not use macros from bp-asm.h.
5961 (STR): Likewise.
5962 (DELIM): Likewise.
5963 (SAVE): Likewise.
5964 (FUNCTION): Likewise. Do not use BP_SYM.
5965 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5966 aliases.
5967 (strtok_r): Likewise.
5968 (__GI___strtok_r): Likewise.
5969 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5970 (PARMS): Do not use macros from bp-asm.h.
5971 (S1): Likewise.
5972 (S2): Likewise.
5973 (SIZE): Likewise.
5974 (__mpn_sub_n): Do not use BP_SYM.
5975 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5976 "bp-asm.h".
5977 (PARMS): Do not use macros from bp-asm.h.
5978 (S1): Likewise.
5979 (SIZE): Likewise.
5980 (__mpn_submul_1): Do not use BP_SYM.
5981 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5982 <bp-sym.h>.
5983 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5984 and <bp-asm.h>.
5985 (PARMS): Do not use macros from bp-asm.h.
5986 (FLAGS): Likewise.
5987 (PTID): Likewise.
5988 (TLS): Likewise.
5989 (CTID): Likewise.
5990 (__clone): Do not use BP_SYM.
5991 (clone): Do not use BP_SYM in weak_alias.
5992 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5993 and <bp-asm.h>.
5994 (PARMS): Do not use macros from bp-asm.h.
5995 (LEN): Likewise.
5996 (__mmap64): Do not use BP_SYM.
5997 (mmap64): Do not use BP_SYM in weak_alias.
5998 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5999 <bp-sym.h> and <bp-asm.h>.
6000 (PARMS): Do not use macros from bp-asm.h.
6001 (__posix_fadvise64_l64): Do not use BP_SYM.
6002 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6003 (PARMS): Do not use macros from bp-asm.h.
6004 (NSOPS): Likewise.
6005 (semtimedop): Do not use BP_SYM.
6006 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6007 and <bp-asm.h>.
6008
582a3cff
AM
60092013-02-21 Allan McRae <allan@archlinux.org>
6010
6011 * manual/message.texi (Charset conversion in gettext):
6012 Move @end statement to beginning of line.
6013
bab8a695
SP
60142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6015
80945231
SP
6016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6017 static.
6018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6019 Likewise.
6020
bab8a695
SP
6021 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6022 (denorm): Likewise.
6023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6025
e21d7aa7
AK
60262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6027
6028 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6029 tail-call to the resolved function if pltexit isn't needed.
6030
4c7a4263
SP
60312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6032
6033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6034 or Y being zero as being unlikely.
6035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6036 Likewise.
6037
41f49342
CD
60382013-02-20 Carlos O'Donell <carlos@redhat.com>
6039
6040 * manual/nss.texi (System Databases and Name Service Switch):
6041 Remove frobnicate @pxref.
6042
50022a93
TS
60432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6044
6045 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6046 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6047
08cbd996
PM
60482013-02-20 Petr Machata <pmachata@redhat.com>
6049
6050 * elf/elf.h (R_ARM_TARGET1): New macro.
6051 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6052 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6053 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6054 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6055 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6056 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6057 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6058 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6059 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6060 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6061 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6062 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6063 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6064 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6065 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6066 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6067 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6068 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6069 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6070 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6071 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6072 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6073 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6074 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6075 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6076 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6077 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6078 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6079 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6080 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6081 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6082 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6083 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6084 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6085 (R_ARM_THM_GOT_BREL12): Likewise.
6086 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6087 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6088 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6089 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6090 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6091 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6092 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6093 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6094 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6095
c7b275d6
TS
60962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6097
6098 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6099 __attribute_used__ to __attribute__ ((unused)).
6100
20cd7fb3
SP
61012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6102
6103 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6104 powerpc mpa.c.
6105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6106 comment formatting.
6107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6108
92945b52
JM
61092013-02-19 Joseph Myers <joseph@codesourcery.com>
6110
6111 [BZ #13550]
6112 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6113 Remove macro.
6114 (ENTER): Remove both macro definitions.
6115 (LEAVE): Likewise.
6116 (CHECK_BOUNDS_LOW): Likewise.
6117 (CHECK_BOUNDS_HIGH): Likewise.
6118 (CHECK_BOUNDS_BOTH): Likewise.
6119 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6120 (RETURN_BOUNDED_POINTER): Likewise.
6121 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6122 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6123 (POP_ERRNO_LOCATION_RETURN): Likewise.
6124 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6125 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6126 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6127 macros.
6128 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6129 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6130 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6131 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6132 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6133 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6134 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6135 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6136 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6137 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6138 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6139 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6140 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6141 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6142 removed macros.
6143 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6144 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6145 macros.
6146 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6147 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6148 * sysdeps/i386/i586/memset.S (memset): Likewise.
6149 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6150 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6151 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6152 macros.
6153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6154 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6155 Change uses of L(2) to L(out).
6156 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6157 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6158 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6159 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6160 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6161 removed macros.
6162 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6163 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6164 macros.
6165 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6166 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6167 (RETURN): Do not use macro LEAVE.
6168 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6169 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6170 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6171 * sysdeps/i386/i686/memset.S (memset): Likewise.
6172 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6173 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6174 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6175 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6176 Likewise.
6177 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6178 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6179 L(1_2) and L(1_3) into L(1).
6180 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6181 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6182 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6183 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6184 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6185 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6186 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6187 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6188 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6189 macros.
6190 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6191 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6192 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6193 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6194 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6195 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6196 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6197 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6198 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6199 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6200 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6201 * sysdeps/i386/strspn.S (strspn): Likewise.
6202 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6203 conditional code.
6204 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6205 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6206 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6207 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6208 L(1_3) into L(1_1).
6209 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6210 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6211 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6212 macros.
6213 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6214
2389741a
JJ
62152013-02-19 Jakub Jelinek <jakub@redhat.com>
6216
6217 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6218 macro.
6219
2016b3cd
SP
62202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6221
e4f22324
SP
6222 * math/atest-exp.c (exp_mpn): Remove ROUND.
6223 * math/atest-exp2.c (exp_mpn): Likewise.
6224 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6225
2016b3cd
SP
6226 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6227 * stdlib/tst-tls-atexit-lib.c: Likewise.
6228 * stdlib/tst-tls-atexit.c: Likewise.
6229
4be9b544
MF
62302013-02-18 Mike Frysinger <vapier@gentoo.org>
6231
6232 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6233 and __attribute_alloc_size__.
6234
2f62b9ee
MF
62352013-02-18 Mike Frysinger <vapier@gentoo.org>
6236
6237 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6238 __attribute_alloc_size__.
6239 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6240 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6241
6ff444c4
MF
62422013-02-18 Mike Frysinger <vapier@gentoo.org>
6243
6244 * include/programs/xmalloc.h: New file.
6245 * catgets/gencat.c: Include it.
6246 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6247 * elf/pldd.c: Likewise.
6248 * iconv/iconv_charmap.c: Likewise.
6249 * iconv/iconvconfig.c: Likewise.
6250 * iconv/strtab.c: Likewise.
6251 * locale/programs/locale.c: Likewise.
6252 * locale/programs/localedef.h: Likewise.
6253 * locale/programs/simple-hash.c: Likewise.
6254 * nscd/nscd.h: Likewise.
6255 * nss/makedb.c: Likewise.
6256 * sysdeps/generic/ldconfig.h: Likewise.
6257
be179c8a
SP
62582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6259
ba384f6e
SP
6260 * Versions.def: Add GLIBC_2.18.
6261 * include/link.h (struct link_map): New member l_tls_dtor_count.
6262 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6263 (__call_tls_dtors): Likewise.
6264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6265 __cxa_thread_atexit_impl.
6266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6267 Likewise.
6268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6269 Likewise.
6270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6271 Likewise.
6272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6273 Likewise.
6274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6276 Likewise.
6277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6278 Likewise.
6279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6281 Likewise.
6282 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6283 (tests): Add test case tst-tls-atexit.
6284 (modules-names): Add shared library for tst-tls-atexit.
6285 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6286 (GLIBC_PRIVATE): Add __call_tls_dtors.
6287 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6288 for libstdc++.
6289 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6290 * stdlib/tst-tls-atexit.c: New test case.
6291 * stdlib/tst-tls-atexit-lib.c: New test case.
6292
ffaa74cf 6293 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6294
be179c8a
SP
6295 * elf/Versions (ld): Add _dl_find_dso_for_object.
6296 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6297 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6298 (dl_open_worker): Use _dl_find_dso_for_object.
6299 * elf/dl-sym.c (do_sym): Likewise.
6300 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6301
f78b5caa
AK
63022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6303
6304 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6305 Syntactic changes only.
6306 (_dl_runtime_profile): Do a tail-call to the resolved function.
6307
29691210
JM
63082013-02-17 Joseph Myers <joseph@codesourcery.com>
6309
6310 [BZ #13550]
6311 * sysdeps/x86_64/bp-asm.h: Remove file.
6312 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6313 <bp-sym.h> and <bp-asm.h>.
6314 (__clone): Do not use BP_SYM.
6315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6316 <bp-sym.h> and <bp-asm.h>.
6317 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6318 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6319 "bp-asm.h".
6320 (_setjmp): Do not use BP_SYM.
6321 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6322 "bp-asm.h".
6323 (setjmp): Do not use BP_SYM.
6324 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6325 libc_hidden_def.
6326 (mempcpy): Do not use BP_SYM in weak_alias.
6327 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6328 "bp-asm.h".
6329 (strchr): Do not use BP_SYM.
6330 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6331 "bp-asm.h".
6332 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6333 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6334 (_start): Do not use BP_SYM.
6335 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6336 "bp-asm.h".
6337 (strcat): Do not use BP_SYM.
6338 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6339 "bp-asm.h".
6340 (STRCMP): Do not use BP_SYM.
6341 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6342 "bp-asm.h".
6343 (STRCPY): Do not use BP_SYM.
6344 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6345 "bp-asm.h".
6346 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6347 "bp-asm.h".
6348 (FUNCTION): Do not use BP_SYM.
6349 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6350 weak_alias.
6351 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6352
f238fd19
AJ
63532013-02-17 Andreas Jaeger <aj@suse.de>
6354
6355 * time/Versions: Sort entries.
6356 * string/Versions: Likewise.
6357 * resolv/Versions: Likewise.
6358 * posix/Versions: Likewise.
6359 * iconv/Versions: Likewise.
6360 * elf/Versions: Likewise.
6361 * wcsmbs/Versions: Likewise.
6362
bd07f23c 63632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6364
22af19f9
SP
6365 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6366 loop termination condition.
6367
4709fe76
SP
6368 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6369 variable to calculate EZ.
6370 (__sqr): Likewise.
2d0e0f29
SP
6371
6372 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6373 the lower precision input.
6374
daaa7713
JM
63752013-02-15 Joseph Myers <joseph@codesourcery.com>
6376
6377 [BZ #13550]
6378 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6379 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6380 (run-via-rtld-prefix): Do not handle %-bp tests.
6381 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6382 (all-object-suffixes): Remove .ob.
6383 (bppfx): Remove variable.
6384 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6385 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6386 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6387 [$(build-bounded) = yes] (libtype.ob): Likewise.
6388 * Makerules (elide-routines.ob): Remove variable.
6389 (do-tests-clean): Do not handle *-bp.out.
6390 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6391 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6392 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6393 (tests): Do not include $(tests-bp.out).
6394 (xtests): Do not include $(xtests-bp.out).
6395 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6396 [$(build-bounded) = yes] ($(addprefix
6397 $(objpfx),$(binaries-bounded))): Remove rule.
6398 ($(objpfx)%-bp.out): Remove rule.
6399 * config.make.in (build-bounded): Remove variable.
6400 * crypt/Makefile [$(build-bounded) = yes]
6401 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6402 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6403 append to variable.
6404 [$(build-bounded) = yes] (install-lib): Likewise.
6405 [$(build-bounded) = yes] (generated): Likewise.
6406 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6407 Remove rule.
6408 * intl/Makefile [$(build-bounded) = yes]
6409 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6410 * math/Makefile [$(build-bounded) = yes]
6411 ($(tests:%=$(objpfx)%-bp): Likewise.
6412 * misc/Makefile [$(build-bounded) = yes]
6413 ($(objpfx)tst-tsearch-bp): Likewise.
6414 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6415 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6416 Remove dependency.
6417 * string/Makefile (o-objects.ob): Remove variable.
6418 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6419 (CFLAGS-.ob): Remove variable.
6420 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6421 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6422 both definitions of variable.
6423 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6424 (ASFLAGS-.ob): Remove variable.
6425
e97ed6dd
JM
64262013-02-14 Joseph Myers <joseph@codesourcery.com>
6427
2bdd4ca6
JM
6428 [BZ #13550]
6429 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6430 Remove __BOUNDED_POINTERS__ from condition.
6431 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6432 * string/bits/string2.h [!__NO_STRING_INLINES &&
6433 !__BOUNDED_POINTERS__]: Likewise.
6434 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6435 Likewise.
6436 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6437 Remove conditional code.
6438 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6439 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6440 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6441 condition.
6442
e97ed6dd
JM
6443 [BZ #13550]
6444 * csu/libc-start.c: Do not include <bp-sym.h>.
6445 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6446 * elf/dl-open.c: Do not include <bp-sym.h>.
6447 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6448 * math/fegetenv.c: Do not include <bp-sym.h>.
6449 (fegetenv): Do not use BP_SYM in versioned symbols.
6450 * nptl/sysdeps/pthread/bits/libc-lockP.h
6451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6452 <bp-sym.h>.
6453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6454 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6456 (__pthread_mutex_destroy): Likewise.
6457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6458 (__pthread_mutex_lock): Likewise.
6459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6460 (__pthread_mutex_trylock): Likewise.
6461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6462 (__pthread_mutex_unlock): Likewise.
6463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6464 (__pthread_mutexattr_init): Likewise.
6465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6466 (__pthread_mutexattr_destroy): Likewise.
6467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6468 (__pthread_mutexattr_settype): Likewise.
6469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6470 (__pthread_rwlock_init): Likewise.
6471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6472 (__pthread_rwlock_destroy): Likewise.
6473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6474 (__pthread_rwlock_rdlock): Likewise.
6475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6476 (__pthread_rwlock_tryrdlock): Likewise.
6477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6478 (__pthread_rwlock_wrlock): Likewise.
6479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6480 (__pthread_rwlock_trywrlock): Likewise.
6481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6482 (__pthread_rwlock_unlock): Likewise.
6483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6484 (__pthread_key_create): Likewise.
6485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6486 (__pthread_setspecific): Likewise.
6487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6488 (__pthread_getspecific): Likewise.
6489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6490 Likewise.
6491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6492 (_pthread_cleanup_push_defer): Likewise.
6493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6494 (_pthread_cleanup_pop_restore): Likewise.
6495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6496 (pthread_setcancelstate): Likewise.
6497 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6498 <bp-sym.h>.
6499 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6500 (memchr): Do not use BP_SYM in weak_alias.
6501 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6502 (fegetenv): Do not use BP_SYM in versioned symbols.
6503 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6504 (fesetenv): Do not use BP_SYM in versioned symbols.
6505 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6506 (feupdateenv): Do not use BP_SYM in versioned symbols.
6507 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6508 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6509 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6510 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6511 (open64): Do not use BP_SYM in weak_alias.
6512 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6513 (fegetenv): Do not use BP_SYM in versioned symbols.
6514 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6515 (fesetenv): Do not use BP_SYM in versioned symbols.
6516 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6517 (feupdateenv): Do not use BP_SYM in versioned symbols.
6518 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6519 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6520 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6521 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6522 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6523 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6524 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6525 <bp-sym.h>.
6526 (__libc_start_main): Do not use BP_SYM.
6527
d6752ccd
SP
65282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6529
cb57ce60
SP
6530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6531 redundant return line.
6532 (norm): Likewise.
6533 (denorm): Likewise.
6534 (dbl_mp): Likewise.
6535 (sub_magnitudes): Likewise.
6536 (__add): Likewise.
6537 (__sub): Likewise.
6538 (__mul): Likewise.
6539 (__inv): Likewise.
6540 (__dvd): Likewise.
6541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6542 (norm): Likewise.
6543 (denorm): Likewise.
6544 (dbl_mp): Likewise.
6545 (sub_magnitudes): Likewise.
6546 (__add): Likewise.
6547 (__sub): Likewise.
6548 (__mul): Likewise.
6549 (__inv): Likewise.
6550 (__dvd): Likewise.
6551
f414520d
SP
6552 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6553 instead of __mul.
6554 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6555 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6556 (cc32): Likewise.
6557
d6752ccd
SP
6558 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6559 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6561 of __mul for squares.
6562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6563 function
6564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6565 Likewise.
6566 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6567 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6568
70d9946a
JM
65692013-02-13 Joseph Myers <joseph@codesourcery.com>
6570
6571 [BZ #13550]
6572 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6573 code.
6574 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6575 prototype or function definition. Rename ubp_* variables and
6576 parameters. Remove argv definitions conditional on
6577 [__BOUNDED_POINTERS__].
6578 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6579 * elf/dl-runtime.c (_dl_fixup): Likewise.
6580 * include/set-hooks.h (RUN_HOOK): Likewise.
6581 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6582 definition.
6583 * string/strcpy.c (strcpy): Do not use __unbounded.
6584 * sysdeps/generic/frame.h (struct layout): Likewise.
6585 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6586 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6587 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6588 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6589 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6590 (__backtrace): Likewise.
6591 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6592 use __ptrvalue.
6593 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6594 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6595 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6596 Likewise.
6597 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6598 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6599 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6600 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6601 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6602 Do not use __unbounded.
6603 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6604 Rename __unboundedrlimits parameter to rlimits in prototype.
6605 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6606 Do not use __unbounded.
6607 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6608 not use __ptrvalue.
6609 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6610 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6611 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6612 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6613 __ptrvalue or __unbounded.
6614 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6615 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6616 use __unbounded.
6617 (__new_msgctl): Do not use __ptrvalue.
6618 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6619 __unbounded.
6620 (__libc_msgrcv): Do not use __ptrvalue.
6621 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6622 startup_info): Do not use __unbounded.
6623 (__libc_start_main): Likewise. Rename ubp_* variables and
6624 parameters. Remove argv definitions conditional on
6625 [__BOUNDED_POINTERS__].
6626 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6627 __ptrvalue.
6628 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6629 use __unbounded.
6630 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6631 or __ptrvalue.
6632 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6633 use __unbounded.
6634 (__new_shmctl): Do not use __ptrvalue.
6635 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6636 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6637 Likewise.
6638 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6640 (__libc_sigaction): Likewise.
6641 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6642 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6643 Likewise.
6644 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6645
cc7834d6
OB
66462013-02-13 Ondřej Bílka <neleai@seznam.cz>
6647
ffb1ec7b 6648 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6649
6650 * string/mempcpy.c: Implement by calling memcpy.
6651
bdf02814
SP
66522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6653
c2af38aa
SP
6654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6655
4e92d59e
SP
6656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6657 evaluation.
6658
909279a5
SP
6659 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6660 values in the mantissa.
6661
bdf02814
SP
6662 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6663 minimize writes to Z.
6664 (sub_magnitudes): Simplify code a bit.
6665
cd525923
RM
66662013-02-12 Roland McGrath <roland@hack.frob.com>
6667
6668 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6669 from the message. The linker prefixes all warnings with that already.
6670
7e2f0d2d
AS
66712013-02-12 Andreas Schwab <schwab@suse.de>
6672
a445af0b
AS
6673 [BZ #15078]
6674 * posix/regexec.c (extend_buffers): Add parameter min_len.
6675 (check_matching): Pass minimum needed length.
6676 (clean_state_log_if_needed): Likewise.
6677 (get_subexp): Likewise.
6678 * posix/Makefile (tests): Add bug-regex34.
6679 (bug-regex34-ENV): Define.
6680 * posix/bug-regex34.c: New file.
6681
7e2f0d2d
AS
6682 [BZ #11561]
6683 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6684 elements compare against the byte sequence of it, not its name.
6685 * posix/Makefile (tests): Add bug-regex35.
6686 (bug-regex35-ENV): Define.
6687 * posix/bug-regex35.c: New file.
6688
a175b684
TV
66892013-02-11 Tom de Vries <tom@codesourcery.com>
6690
6691 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6692 comment.
6693 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6694 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6695 (CHECK_EOL): Add undef.
6696
310998fe 66972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6698
6699 * bits/stdlib-bsearch.h: New file.
6700 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6701 * stdlib/stdlib.h: Likewise.
41eda41d 6702
8ded91fb
RM
67032013-02-11 Roland McGrath <roland@hack.frob.com>
6704
6705 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6706 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6707 declaration.
6708 * manual/search.texi (Array Search Function): Add missing const in
6709 lfind prototype.
6710 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6711 declaration to use rlim_t.
6712 (Basic Scheduling Functions): Remove erroneous const from
6713 sched_getparam prototype. Remove erroneous * from
6714 sched_get_priority_max and sched_get_priority_min prototypes.
6715 (Resource Usage): Fix summary @comment on vtimes to refer to
6716 sys/vtimes.h rather than vtimes.h.
6717 Add missing *s in vtimes prototype.
6718 (Limits on Resources): Fix ulimit prototype to return long int.
6719 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6720 prototypes to use long int rather than double.
6721 (BSD Random): Fix initstate and setstate to use char *, not void *.
6722 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6723 prototype to make second argument 'struct aiocb64 *const[]'.
6724 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6725 (Status of AIO Operations): Remove erroneous const in aio_return and
6726 aio_return64 prototypes.
6727 (Synchronizing I/O): Fix sync prototype to return void.
6728 * manual/startup.texi (Suboptions): Remove an erroneous const in
6729 getsubopt prototype.
6730 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6731 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6732 use size_t rather than int.
6733 (Scanning All Users): Likewise for getpwent_r.
6734 (Setting Groups): Add missing const to setgroups prototype.
6735 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6736 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6737 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6738 'const void *' rather than 'const char *'.
6739 (Host Address Functions): Likewise for inet_ntop.
6740 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6741 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6742 ssize_t for return value.
6743 (Sending Data): Likewise for send, sendto, sendmsg.
6744 (Socket Option Functions): Add a missing const in setsockopt prototype.
6745 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6746 use wchar_t for the argument.
6747 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6748 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6749 take no arguments.
6750 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6751 double/float/long double for second argument.
6752 Fix return types of significand, significandf, significandl.
6753 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6754 argument in fchmod prototype.
6755 (File Owner): Use uid_t and gid_t in fchown prototype.
6756 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6757 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6758 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6759 use 'const struct dirent **' as argument types to CMP function pointer
6760 argument.
6761 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6762 (File Times): Fix summary magic @comment for struct utimbuf and utime
6763 to refer to utime.h, not time.h.
6764 * manual/string.texi (Argz Functions): Add missing const in
6765 argz_extract and argz_next prototypes.
6766 (Finding Tokens in a String): Likewise for basename.
6767 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6768 (Copying and Concatenation): Fix typo in wmemmove prototype.
6769 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6770 (Signal Stack): Remove erroneous const in sigstack prototype.
6771 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6772 prototype.
6773 (Simple Calendar Time): Likewise for stime.
6774 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6775 prototype.
6776 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6777 say sys/sysctl.h instead.
6778 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6779 and vsyslog prototypes.
6780
fe77fe6d
TV
67812013-02-11 Tom de Vries <tom@codesourcery.com>
6782
6783 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6784 Remove.
6785
3a09b620
RM
67862013-02-11 Roland McGrath <roland@hack.frob.com>
6787
6788 * misc/sys/mman.h: Fix typo in mremap comment.
6789
550a0b89
RM
67902013-02-08 Roland McGrath <roland@hack.frob.com>
6791
6792 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6793 the '\0' terminator.
6794
a2da1673
JM
67952013-02-08 Joseph Myers <joseph@codesourcery.com>
6796
6797 [BZ #13550]
6798 * debug/segfault.c: Don't include <bp-checks.h>.
6799 * sysdeps/generic/bp-checks.h: Remove file.
6800 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6801 (__GETDENTS): Don't use CHECK_N.
6802 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6803 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6804 (__getgroups): Don't use CHECK_N.
6805 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6806 (setgroups): Don't use CHECK_N.
6807 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6808 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6809 (__libc_msgrcv): Don't use CHECK_N.
6810 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6811 (__libc_msgsnd): Don't use CHECK_N.
6812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6813 <bp-checks.h>.
6814 (__libc_pread): Don't use CHECK_N.
6815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6816 include <bp-checks.h>.
6817 (__libc_pread64): Don't use CHECK_N.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6819 include <bp-checks.h>.
6820 (__libc_pwrite): Don't use CHECK_N.
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6822 include <bp-checks.h>.
6823 (__libc_pwrite64): Don't use CHECK_N.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6825 <bp-checks.h>.
6826 (__libc_pread): Don't use CHECK_N.
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6828 include <bp-checks.h>.
6829 (__libc_pread64): Don't use CHECK_N.
6830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6831 include <bp-checks.h>.
6832 (__libc_pwrite): Don't use CHECK_N.
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6834 include <bp-checks.h>.
6835 (__libc_pwrite64): Don't use CHECK_N.
6836 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6837 (do_pread): Don't use CHECK_N.
6838 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6839 (do_pread64): Don't use CHECK_N.
6840 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6841 (do_pwrite): Don't use CHECK_N.
6842 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6843 (do_pwrite64): Don't use CHECK_N.
6844 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6845 (__libc_readv): Don't use CHECK_N.
6846 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6847 (semop): Don't use CHECK_N.
6848 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6849 <bp-checks.h>.
6850 (semtimedop): Don't use CHECK_N.
6851 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6852 (__libc_pread): Don't use CHECK_N.
6853 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6854 <bp-checks.h>.
6855 (__libc_pread64): Don't use CHECK_N.
6856 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6857 <bp-checks.h>.
6858 (__libc_pwrite): Don't use CHECK_N.
6859 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6860 <bp-checks.h>.
6861 (__libc_pwrite64): Don't use CHECK_N.
6862 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6863 <bp-checks.h>.
6864 (__libc_msgrcv): Don't use CHECK_N.
6865 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6866 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6867 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6868 (__libc_writev): Don't use CHECK_N.
6869
b84660a8
RM
68702013-02-08 Roland McGrath <roland@hack.frob.com>
6871
7f3e75f8
RM
6872 * string/strcpy.c: Removed unused variable.
6873
b84660a8
RM
6874 * Makeconfig (+sysdep-includes): Define with := rather than =.
6875 Use an existing include/ subdir of each sysdeps dir before it.
6876
471514d3
CD
68772013-02-08 Carlos O'Donell <carlos@redhat.com>
6878
6879 * nscd/connection.c (register_traced_file): Comment function.
6880 [HAVE_INOTIFY] (union __inev): Define.
6881 [HAVE_INOTIFY] (inotify_check_files): New function.
6882 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6883 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6884 clear_db_cache.
6885 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6886
b2d3c3be
CD
68872013-02-08 Carlos O'Donell <carlos@redhat.com>
6888
6889 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6890 loaded if not already and that a failure is permanent.
6891
b39949d2
CD
68922013-02-08 Carlos O'Donell <carlos@redhat.com>
6893
ddacd1db 6894 [BZ #15006]
b39949d2
CD
6895 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6896 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6897
b2c9eff4
JM
68982013-02-08 Joseph Myers <joseph@codesourcery.com>
6899
f3aae3f3
JM
6900 [BZ #13550]
6901 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6902 (CHECK_1_NULL_OK): Likewise.
6903 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6904 (__fxstat): Do not use CHECK_1.
6905 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6906 <bp-checks.h>.
6907 (___fxstat64): Do not use CHECK_1.
6908 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6909 <bp-checks.h>.
6910 (__fxstatat): Do not use CHECK_1.
6911 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6912 <bp-checks.h>.
6913 (__fxstatat64): Do not use CHECK_1.
6914 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6915 <bp-checks.h>.
6916 (__fxstat): Do not use CHECK_1.
6917 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6918 <bp-checks.h>.
6919 (__fxstatat): Do not use CHECK_1.
6920 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6921 <bp-checks.h>.
6922 (__getresgid): Do not use CHECK_1.
6923 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6924 <bp-checks.h>.
6925 (__getresuid): Do not use CHECK_1.
6926 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6927 <bp-checks.h>.
6928 (__lxstat): Do not use CHECK_1.
6929 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6930 <bp-checks.h>.
6931 (__old_msgctl): Do not use CHECK_1.
6932 (__new_msgctl): Likewise.
6933 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6934 <bp-checks.h>.
6935 (__new_setrlimit): Do not use CHECK_1.
6936 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6937 <bp-checks.h>.
6938 (__old_shmctl): Do not use CHECK_1.
6939 (__new_shmctl): Likewise.
6940 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6941 <bp-checks.h>.
6942 (__xstat): Do not use CHECK_1.
6943 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6944 (__lxstat): Do not use CHECK_1.
6945 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6946 <bp-checks.h>.
6947 (___lxstat64): Do not use CHECK_1.
6948 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6949 (__old_msgctl): Do not use CHECK_1.
6950 (__new_msgctl): Likewise.
6951 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6952 <bp-checks.h>.
6953 (__gettimeofday): Do not use CHECK_1.
6954 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6955 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6956 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6957 <bp-checks.h>.
6958 (__gettimeofday): Do not use CHECK_1.
6959 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6960 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6961 (__new_shmctl): Do not use CHECK_1.
6962 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6963 <bp-checks.h>.
6964 (do_sigtimedwait): Do not use CHECK_1.
6965 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6966 <bp-checks.h>.
6967 (do_sigwaitinfo): Do not use CHECK_1.
6968 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6969 <bp-checks.h>.
6970 (msgctl): Do not use CHECK_1.
6971 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6972 <bp-checks.h>.
6973 (shmctl): Do not use CHECK_1.
6974 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6975 (ustat): Do not use CHECK_1.
6976 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6977 <bp-checks.h>.
6978 (__fxstat): Do not use CHECK_1.
6979 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6980 <bp-checks.h>.
6981 (__fxstatat): Do not use CHECK_1.
6982 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6983 <bp-checks.h>.
6984 (__lxstat): Do not use CHECK_1.
6985 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6986 <bp-checks.h>.
6987 (__xstat): Do not use CHECK_1.
6988 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6989 (__xstat): Do not use CHECK_1.
6990 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6991 (___xstat64): Do not use CHECK_1.
6992
b2c9eff4
JM
6993 [BZ #13550]
6994 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6995 definitions.
6996 (CHECK_BOUNDS_HIGH): Likewise.
6997 * string/strcpy.c: Do not include <bp-checks.h>.
6998 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6999
f1d70dad
RM
70002013-02-07 Roland McGrath <roland@hack.frob.com>
7001
7002 * nscd/nscd-client.h (__nscd_drop_map_ref):
7003 Add __attribute__ ((unused)).
7004 * nis/nss-nisplus.h (niserr2nss): Likewise.
7005
7006 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7007 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7008
7009 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7010 Remove inline keyword.
7011 * include/rounding-mode.h (round_away): Likewise.
7012 * libio/wfileops.c (adjust_wide_data): Likewise.
7013 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7014 (__m128i_strloadu_tolower): Likewise.
7015 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7016 (__m128i_strloadu_tolower): Likewise.
7017 * time/mktime.c (ydhms_diff): Likewise.
7018 * locale/elem-hash.h (elem_hash): Likewise.
7019 * locale/setlocale.c (setdata): Likewise.
7020 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7021 (re_string_wchar_at): Likewise.
7022 (bitset_not, bitset_merge, bitset_mask): Likewise.
7023 [!(__GNUC__ > 3)] (inline): Remove macro.
7024 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7025 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7026 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7027 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7028 * string/memcmp.c (memcmp_bytes): Likewise.
7029 * locale/programs/locarchive.c (compute_hashval): Likewise.
7030 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7031 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7032 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7033 * nss/getent.c (print_rpc, print_protocols): Likewise.
7034 (print_passwd, print_group, print_aliases): Likewise.
7035 * nis/nss-nisplus.h (niserr2nss): Likewise.
7036 * nscd/connections.c (restart_p): Likewise.
7037 Change return type to bool.
7038
eab55bfb
RM
70392013-02-05 Roland McGrath <roland@hack.frob.com>
7040
7bd642f5
RM
7041 * Makeconfig (all-Depend-files): Add existing
7042 $(sorted-subdirs:=/Depend) files.
7043 (all-subdirs): Remove nss.
7044 * sysdeps/unix/inet/Subdirs: Add it here instead.
7045 * hesiod/Depend: New file.
7046
573c29b2
RM
7047 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7048 instead of calling alloca.
7049
b2e25af0
RM
7050 * io/lseek.c (__lseek): Rename to __libc_lseek.
7051 Define __lseek as an alias.
7052
eab55bfb
RM
7053 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7054
9a0d1941
CD
70552013-02-04 Carlos O'Donell <carlos@redhat.com>
7056
7057 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7058 else clause and remove check for non-standard endianness.
7059
b83bbec4
DM
70602013-02-04 David S. Miller <davem@davemloft.net>
7061
7062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7063
6277fdab
JM
70642013-02-04 Joseph Myers <joseph@codesourcery.com>
7065
7066 [BZ #13550]
7067 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7068 (__ubp_memchr): Remove prototype.
7069 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7070 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7071 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7072 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7073 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7074 Remove alias.
7075 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7076 (__ubp_memchr): Likewise.
7077 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7078 (__ubp_memchr): Likewise.
7079 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7080 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7081 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7082 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7083 CHECK_STRING.
7084 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7085 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7086 (__getcwd): Do not use CHECK_STRING.
7087 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7088 <bp-checks.h>.
7089 (__real_chown): Do not use CHECK_STRING.
7090 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7091 <bp-checks.h>.
7092 (fchownat): Do not use CHECK_STRING.
7093 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7094 CHECK_STRING.
7095 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7096 <bp-checks.h>.
7097 (__lchown): Do not use CHECK_STRING.
7098 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7099 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7100 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7101 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7103 include <bp-checks.h>.
7104 (truncate64): Do not use CHECK_STRING.
7105 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7106 <bp-checks.h>.
7107 (__real_chown): Do not use CHECK_STRING.
7108 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7109 <bp-checks.h>.
7110 (__lchown): Do not use CHECK_STRING.
7111 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7112 <bp-checks.h>.
7113 (__chown): Do not use CHECK_STRING.
7114 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7115 <bp-checks.h>.
7116 (truncate64): Do not use CHECK_STRING.
7117 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7118 Likewise.
7119 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7120 (__xmknod): Do not use CHECK_STRING.
7121 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7122 <bp-checks.h>.
7123 (__xmknodat): Do not use CHECK_STRING.
7124 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7125 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7126
903ae060
AS
71272013-02-04 Andreas Schwab <schwab@suse.de>
7128
7129 [BZ #14142]
7130 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7131 * include/netdb.h: Likewise for h_errno.
7132 * elf/tst-stackguard1.c: Include <tls.h>.
7133
542f9466
JK
71342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7135
7136 * elf/link.h (struct link_map): Extend the l_addr comment.
7137 * include/link.h (struct link_map): Likewise.
7138
e782a927
JM
71392013-02-01 Joseph Myers <joseph@codesourcery.com>
7140
7141 [BZ #13550]
7142 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7143 (BOUNDED_1): Remove macro.
7144 * debug/backtrace.c: Don't include <bp-checks.h>.
7145 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7146 (__backtrace): Likewise.
7147 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7148 <bp-checks.h>.
7149 (__backtrace): Don't use BOUNDED_1.
7150 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7151 <bp-checks.h>.
7152 (__backtrace): Don't use BOUNDED_1.
7153 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7154 (__backtrace): Don't use BOUNDED_1.
7155 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7156 (shmat): Don't use BOUNDED_N.
7157
8cf28c5e
JM
71582013-01-31 Joseph Myers <joseph@codesourcery.com>
7159
3a7ac8a0
JM
7160 [BZ #13550]
7161 * sysdeps/generic/bp-start.h: Remove file.
7162 * csu/libc-start.c: Don't include <bp-start.h>.
7163 (LIBC_START_MAIN): Set up __environ directly instead of using
7164 INIT_ARGV_and_ENVIRON.
7165 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7166 <bp-start.h>.
7167
f3499f95
JM
7168 [BZ #13550]
7169 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7170 definitions.
7171 (CHECK_FCNTL): Likewise.
7172 (CHECK_N_PAGES): Likewise.
7173
32a45bea
JM
7174 [BZ #13550]
7175 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7176 definitions.
7177 (CHECK_SIGSET_NULL_OK): Likewise.
7178 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7179 <bp-checks.h>.
7180 (sigpending): Don't use CHECK_SIGSET.
7181 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7182 <bp-checks.h>.
7183 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7184 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7185 <bp-checks.h>.
7186 (do_sigsuspend): Don't use CHECK_SIGSET.
7187 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7188 use CHECK_SIGSET.
7189 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7190 (do_sigwait): Don't use CHECK_SIGSET.
7191 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7192 use CHECK_SIGSET.
7193 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7194 include <bp-checks.h>.
7195 (sigpending): Don't use CHECK_SIGSET.
7196 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7197 include <bp-checks.h>.
7198 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7199 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7200 <bp-checks.h>.
7201 (sigpending): Don't use CHECK_SIGSET.
7202 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7203 <bp-checks.h>.
7204 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7205
2e8a5c8c
JM
7206 [BZ #13550]
7207 * sysdeps/generic/bp-semctl.h: Remove file.
7208 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7209 <bp-checks.h> and <bp-semctl.h>.
7210 (__old_semctl): Don't use CHECK_SEMCTL.
7211 (__new_semctl): Likewise.
7212 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7213 and <bp-semctl.h>.
7214 (__old_semctl): Don't use CHECK_SEMCTL.
7215 (__new_semctl): Likewise.
7216 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7217 <bp-checks.h> and <bp-semctl.h>.
7218 (__old_semctl): Don't use CHECK_SEMCTL.
7219 (__new_semctl): Likewise.
7220 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7221 <bp-checks.h> and <bp-semctl.h>.
7222 (semctl): Don't use CHECK_SEMCTL.
7223
c2d54929
JM
7224 [BZ #13550]
7225 * Makerules (elide-bp-thunks): Remove variable.
7226 (elide-routines.oS): Don't use $(elide-bp-thunks).
7227 (elide-routines.os): Likewise.
7228 (elide-routines.o): Likewise.
7229 (elide-routines.op): Likewise.
7230 (elide-routines.og): Likewise.
7231 (objects): Don't use $(bp-thunks).
7232 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7233 include.
7234 (common-generated): Do not add s-proto-bp.d.
7235 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7236 (int): Likewise.
7237 (typ): Likewise.
7238 Do not generate makefile rules for bounded-pointer thunks.
7239 * sysdeps/generic/bp-thunks.h: Remove file.
7240 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7241 * sysdeps/unix/s-proto-bp.S: Likewise.
7242
8cf28c5e
JM
7243 [BZ #15062]
7244 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7245 parts of result separately when argument is not close to line from
7246 -i to i and one part of argument is small.
7247 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7248 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7249 * math/libm-test.inc (cacos_test): Add more tests.
7250 (casin_test): Likewise.
7251 (casinh_test): Likewise.
7252 * sysdeps/i386/fpu/libm-test-ulps: Update.
7253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7254
c4e33b8d
DM
72552013-01-31 David S. Miller <davem@davemloft.net>
7256
7257 * po/de.po: Update from translation team.
7258
3b60b421
MK
72592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7260
7261 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7262
bb931195
TS
72632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7264
b5a5da23
TS
7265 * configure.in (_AC_PROG_CC_C89): New definition.
7266 * configure: Regenerate.
7267
bb931195
TS
7268 * configure.in (AC_PROG_CPP): New definition.
7269 * configure: Regenerate.
7270
8c53a12c
JM
72712013-01-23 Joseph Myers <joseph@codesourcery.com>
7272
7273 * debug/tst-backtrace.h: New file.
7274 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7275 (ret): Remove variable.
7276 (x): Likewise.
7277 (FAIL): Remove macro.
7278 (NO_INLINE): Likewise.
7279 (fn1): Use match function instead of strstr.
7280 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7281 (ret): Remove variable.
7282 (x): Likewise.
7283 (FAIL): Remove macro.
7284 (NO_INLINE): Likewise.
7285 (fn): Use match function instead of strstr.
7286 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7287 (ret): Remove variable.
7288 (x): Likewise.
7289 (FAIL): Remove macro.
7290 (NO_INLINE): Likewise.
7291 (handle_signal): Use match function instead of strstr.
7292 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7293 (ret): Remove variable.
7294 (x): Likewise.
7295 (FAIL): Remove macro.
7296 (NO_INLINE): Likewise.
7297 (handle_signal): Use match function instead of strstr.
7298
4858fa2a
RM
72992013-01-23 Roland McGrath <roland@hack.frob.com>
7300
7301 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7302
bae8e7f5
DM
73032013-01-23 David S. Miller <davem@davemloft.net>
7304
7305 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7306 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7307 argument of CAS if possible.
7308 * sysdeps/sparc/sparc64/bits/atomic.h
7309 (__arch_compare_and_exchange_val_32_acq): Likewise.
7310 (__arch_compare_and_exchange_val_64_acq): Likewise.
7311
9cbbc4ae
PT
73122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7313
7314 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7315 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7316 Include <limits.h>.
67b3f58c 7317 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7318
5655a0b5
AC
73192013-01-23 Adam Conrad <adconrad@0c3.net>
7320
7321 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7322 (LDFLAGS-tst-array5): Likewise.
7323
052aff95
JM
73242013-01-23 Joseph Myers <joseph@codesourcery.com>
7325
7326 [BZ #15036]
7327 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7328 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7329 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7330 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7331
7c1e01aa
DM
73322013-01-21 David S. Miller <davem@davemloft.net>
7333
7334 * sysdeps/sparc/backtrace.c: New file.
7335 * sysdeps/sparc/sparc32/backtrace.h: New file.
7336 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7337 * sysdeps/sparc/sparc64/backtrace.h: New file.
7338 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7339 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7340 -funwind-tables.
7341
ab087e0a
AS
73422013-01-21 Andreas Schwab <schwab@suse.de>
7343
7344 [BZ #15020]
7345 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7346 closed its stdout.
7347
ed689c2f
AS
73482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7349
7350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7351 "mpa2.h".
7352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7353
31d470ac
JM
73542013-01-18 Joseph Myers <joseph@codesourcery.com>
7355 Mark Mitchell <mark@codesourcery.com>
7356 Tom de Vries <tom@codesourcery.com>
7357 Paul Pluzhnikov <ppluzhnikov@google.com>
7358
7359 * debug/tst-backtrace2.c: New file.
7360 * debug/tst-backtrace3.c: Likewise.
7361 * debug/tst-backtrace4.c: Likewise.
7362 * debug/tst-backtrace5.c: Likewise.
7363 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7364 (CFLAGS-tst-backtrace3.c): Likewise.
7365 (CFLAGS-tst-backtrace4.c): Likewise.
7366 (CFLAGS-tst-backtrace5.c): Likewise.
7367 (LDFLAGS-tst-backtrace2): Likewise.
7368 (LDFLAGS-tst-backtrace3): Likewise.
7369 (LDFLAGS-tst-backtrace4): Likewise.
7370 (LDFLAGS-tst-backtrace5): Likewise.
7371 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7372 tst-backtrace4 and tst-backtrace5.
7373
90567f30 73742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7375 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7376
7377 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7378 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7379 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7380 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7382 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7383 "+r" and remove output regs list as redundant. Add explicit inline
7384 asm to specify register of return val to work around compiler codegen
7385 bug. Remove (int) cast on return value. Add return type parameter to
7386 use in macro so that this macro does not truncate return value for
7387 64-bit values.
7388 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7389 pass to INTERNAL_VSYSCALL_NCS.
7390 (INLINE_VSYSCALL): Add 'long int' as return type to
7391 INTERNAL_VSYSCALL_NCS macro invocation.
7392 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7393 INTERNAL_VSYSCALL_NCS macro invocation.
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7395
d3b9ea61
SP
73962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7397
0b57daeb
SP
7398 [BZ #14496]
7399 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7400 Fix application of SIMD FP exception mask.
7401
caa99d06
SP
7402 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7403 mp_no from a power of two.
7404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7405 __mpexp_twomm1. Use __pow_mp.
7406
d3b9ea61
SP
7407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7408 multiplication.
7409
1dbaee3c
DM
74102013-01-17 David S. Miller <davem@davemloft.net>
7411
7412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7413
728d7b43
JM
74142013-01-17 Joseph Myers <joseph@codesourcery.com>
7415
7416 [BZ #15023]
7417 * include/complex.h: Condition contents on [!_COMPLEX_H].
7418 (__kernel_casinhf): New prototype.
7419 (__kernel_casinh): Likewise.
7420 (__kernel_casinhl): Likewise.
7421 * math/Makefile (libm_calls): Add k_casinh.
7422 * math/k_casinh.c: New file.
7423 * math/k_casinhf.c: Likewise.
7424 * math/k_casinhl.c: Likewise.
7425 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7426 finite nonzero arguments.
7427 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7428 finite nonzero arguments.
7429 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7430 finite nonzero arguments.
7431 * math/s_casinh.c: Do not include <float.h>.
7432 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7433 * math/s_casinhf.c: Do not include <float.h>.
7434 (__casinhf): Move code for finite nonzero arguments to
7435 k_casinhf.c.
7436 * math/s_casinhl.c: Do not include <float.h>.
7437 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7438 redefine.
7439 (__casinhl): Move code for finite nonzero arguments to
7440 k_casinhl.c.
7441 * math/libm-test.inc (cacos_test): Add more tests.
7442 * sysdeps/i386/fpu/libm-test-ulps: Update.
7443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7444
2a26ef3a
PT
74452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7446
7447 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7448 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7449 [!HAVE_MREMAP]: Remove [defined linux] case.
7450 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7451
a897655d
SP
74522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7453
7454 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7455
881ebe89 74562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7457
7458 * elf/elf.h (R_386_SIZE32): New relocation.
7459 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7460 R_386_SIZE32.
7461 (elf_machine_rela): Likewise.
7462 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7463 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7464
59981e9b
JM
74652013-01-17 Joseph Myers <joseph@codesourcery.com>
7466
7467 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7468 (FP_FAST_FMA): Do not define.
7469 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7470 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7471 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7472 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7473 !_SOFT_FLOAT]: Likewise.
7474 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7475 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7476 value.
7477 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7478 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7479 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7480 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7481 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7482 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7483 file.
7484
cfa8054f
AS
74852013-01-16 Andreas Schwab <schwab@suse.de>
7486
7487 [BZ #14327]
7488 * include/stdlib.h (__mktemp): Add declaration.
7489 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7490 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7491
dd930cc5
SP
74922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7493
881ebe89
SP
7494 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7495 definitions.
7496 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7497 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7498 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7499 definitions here.
7500 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7501 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7502 definitions.
7503 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7504 and ONE.
7505 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7506 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7507 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7508 definitions.
7509 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7510 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7511 definitions.
7512 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7513
dd930cc5
SP
7514 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7515
c19a9f89
DM
75162013-01-15 David S. Miller <davem@davemloft.net>
7517
1aa61767
DM
7518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7519 trunc{,f} to libm-sysdep_routes.
7520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7522 file.
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7525 file.
7526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7527 file.
7528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7530 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7531 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7532 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7533 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7534 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7535 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7536
c42d5e98
DM
7537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7538 nearbyint{,f} to libm-sysdep_routes.
7539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7541 New file.
7542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7543 file.
7544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7545 New file.
7546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7547 file.
7548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7550 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7551 file.
7552 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7553 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7554 file.
7555 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7556 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7557 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7558
c19a9f89
DM
7559 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7560 libc_feholdexcept and libc_fesetenv.
7561
357679d2
MF
75622013-01-15 Mike Frysinger <vapier@gentoo.org>
7563
7564 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7565
65a82e3d
DM
75662013-01-14 David S. Miller <davem@davemloft.net>
7567
8b954ab9
DM
7568 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7569 (SPARC_ASM_VIS2_IFUNC): Likewise.
7570 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7572 use of 'siam' instruction.
7573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7574 Likewise.
7575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7576 Likewise.
7577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7578 Likewise.
7579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7584 file.
7585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7586 file.
7587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7588 file.
7589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7590 file.
7591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7596 new VIS2 routines.
7597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7600 Likewise.
7601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7606 routines to libm-sysdep_routines.
7607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7608
65a82e3d
DM
7609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7610 fdim/fdimf to libm-sysdep_routines.
7611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7612 file.
7613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7615 file.
7616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7619 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7620 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7621 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7622 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7623
e34ab705
SP
76242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7625
2a91b573
SP
7626 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7627 to optimize copies.
7628
1066a534
SP
7629 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7632
e34ab705
SP
7633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7634 local variable MPTWO.
7635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7636 Likewise.
7637
aba5e596
MF
76382013-01-13 Mike Frysinger <vapier@gentoo.org>
7639
7640 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7641 GLOB_NOESCAPE.
7642
e557e9e5
MF
76432013-01-13 Mike Frysinger <vapier@gentoo.org>
7644
7645 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7646
0428cec9
MF
76472013-01-13 Mike Frysinger <vapier@gentoo.org>
7648
7649 * manual/pattern.texi (glob_t): Document gl_flags.
7650 (glob64_t): Likewise.
7651
8794a964
DM
76522013-01-11 David S. Miller <davem@davemloft.net>
7653
66438c3f
RM
7654 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7655 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7656 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7657 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7658 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7659 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7660 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7661 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7662 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7663 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7664 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7665 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7666 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7667
4ae4244d
DM
7668 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7669 sparc V9 rather than using V8 code.
7670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7672
8794a964
DM
7673 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7674 Move to...
7675 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7676 Here.
7677
6270516e
RM
76782013-01-11 Roland McGrath <roland@hack.frob.com>
7679
7680 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7681 not in the main loop.
7682 * configure: Regenerated.
7683
6a57d931
JM
76842013-01-11 Joseph Myers <joseph@codesourcery.com>
7685
7686 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7687 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7688 to just #else.
7689 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7690 [!__GLIBC_HAVE_LONG_LONG] case.
7691 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7692 condition to just #else.
7693 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7694 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7695 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7696 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7697 unconditional.
7698 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7699 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7700 #elif condition to just #else.
7701 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7702 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7703 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7704 #elif condition to just #else.
7705
0e8529e9
SE
77062013-01-11 Steve Ellcey <sellcey@mips.com>
7707
7708 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7709 (EF_MIPS_ARCH_64): Fix value.
7710 (EF_MIPS_ARCH_32R2): New.
7711 (EF_MIPS_ARCH_64R2): New.
7712
740b3dbe
L
77132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7714
7715 * Makeconfig (+link-pie-before-libc): New.
7716 (+link-pie-after-libc): Likewise.
7717 (+link-pie-tests): Likewise.
7718 (+link-pie): Rewritten.
7719 (link-before-libc): Remove $(config-LDFLAGS).
7720 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7721 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7722 (config-LDFLAGS): Renamed to ...
7723 (rtld-LDFLAGS): This.
7724 (rtld-tests-LDFLAGS): New macro.
7725 (link-libc-rpath-link): Likewise.
7726 (link-libc-tests-rpath-link): Likewise.
7727 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7728 (link-libc): Prepand $(link-libc-rpath-link).
7729 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7730 (test-program-prefix): New macro.
7731 (test-via-rtld-prefix): Likewise.
7732 (test-program-cmd): Likewise.
7733 (host-test-program-cmd): Likewise.
7734 * Makefile ($(common-objpfx)testrun.sh): Replace
7735 $(run-program-prefix) with $(test-program-prefix).
7736 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7737 $(rtld-LDFLAGS).
7738 ($(common-objpfx)shlib.lds): Likewise.
7739 (build-module-helper): Likewise.
7740 ($(common-objpfx)format.lds): Likewise.
7741 * Rules (binaries-pie-tests): New.
7742 (binaries-pie-notests): Likewise.
7743 (binaries-pie): Rewritten.
7744 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7745 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7746 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7747 (make-test-out): Replace $(host-built-program-cmd) with
7748 $(host-test-program-cmd).
7749 * config.make.in (build-hardcoded-path-in-tests): New variable.
7750 * configure.in (--enable-hardcoded-path-in-tests): New configure
7751 option.
7752 (hardcoded_path_in_tests): New AC_SUBST.
7753 * configure: Regenerated.
7754 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7755 $(built-program-cmd) with $(test-program-cmd).
7756 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7757 (test_program_cmd): This.
7758 * elf/Makefile ($(objpfx)order.out): Run test with
7759 $(test-program-prefix).
7760 ($(objpfx)order2.out): Likewise.
7761 ($(objpfx)tst-initorder.out): Likewise.
7762 ($(objpfx)tst-initorder2.out): Likewise.
7763 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7764 $(test-program-cmd).
7765 ($(objpfx)tst-array1-static.out): Likewise.
7766 ($(objpfx)tst-array2.out): Likewise.
7767 ($(objpfx)tst-array3.out): Likewise.
7768 ($(objpfx)tst-array4.out): Likewise.
7769 ($(objpfx)tst-array5.out): Likewise.
7770 ($(objpfx)tst-array5-static.out): Likewise.
7771 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7772 $(test-program-cmd).
7773 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7774 $(run-program-prefix) with $(test-program-prefix).
7775 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7776 (test_program_prefix): This.
7777 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7778 $(run-program-prefix) with $(test-program-prefix).
7779 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7780 (test_program_prefix): This.
7781 * iconvdata/tst-tables.sh: Likewise.
7782 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7783 $(run-program-prefix) with $(test-program-prefix).
7784 ($(objpfx)tst-translit.out): Likewise.
7785 ($(objpfx)tst-gettext2.out): Likewise.
7786 ($(objpfx)tst-gettext4.out): Likewise.
7787 ($(objpfx)tst-gettext6.out): Likewise.
7788 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7789 (test_program_prefix): This.
7790 * intl/tst-gettext2.sh: Likewise.
7791 * intl/tst-gettext4.sh Likewise.
7792 * intl/tst-gettext6.sh: Likewise.
7793 * intl/tst-translit.sh: Likewise.
7794 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7795 with $(test-program-cmd).
7796 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7797 $(run-program-prefix) with $(test-program-prefix).
7798 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7799 (test_program_prefix): This.
7800 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7801 $(run-program-prefix) with $(test-program-prefix).
7802 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7803 (test_program_prefix): This.
7804 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7805 * posix/Makefile ($(objpfx)globtest.out): Replace
7806 $(run-via-rtld-prefix) and $(test-wrapper) with
7807 $(test-program-prefix) and $(test-via-rtld-prefix).
7808 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7809 $(test-program-prefix).
7810 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7811 $(host-test-program-cmd).
7812 (tst-spawn-ARGS): Likewise.
7813 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7814 $(test-program-prefix).
7815 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7816 (test_via_rtld_prefix): This.
7817 (test_wrapper): Renamed to ...
7818 (test_program_prefix): This.
7819 (run_program_prefix): Replaced by test_program_prefix.
7820 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7821 (test_program_prefix): This.
7822 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7823 with $(host-test-program-cmd).
7824 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7825 $(run-program-prefix) with $(test-program-prefix).
7826 ($(objpfx)tst-printf.out): Likewise.
7827 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7828 $(test-program-cmd).
7829 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7830 (test_program_prefix): This.
7831 * stdio-common/tst-unbputc.sh: Likewise.
7832 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7833 $(run-program-prefix) with $(test-program-prefix).
7834 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7835 (test_program_prefix): This.
7836 * string/Makefile ($(objpfx)tst-svc.out): Replace
7837 $(built-program-cmd) with $(test-program-cmd).
7838
c6fe55cf
AJ
78392013-01-11 Andreas Jaeger <aj@suse.de>
7840
7841 [BZ #15003]
7842 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7843 value. Sync with Linux 3.7.
7844
9e6919c8
DM
78452013-01-10 David S. Miller <davem@davemloft.net>
7846
7847 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7848 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7849 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7850
1c9f1a02
RM
78512013-01-10 Roland McGrath <roland@hack.frob.com>
7852
7853 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7854 never set.
7855 * configure: Regenerated.
7856
b9de2dde
DM
78572013-01-10 David S. Miller <davem@davemloft.net>
7858
7859 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7860 sparc V9 rather than using V8 code.
7861 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7862 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7863
e7f68ef4
RM
78642013-01-10 Roland McGrath <roland@hack.frob.com>
7865
7866 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7867 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7868 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7869 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7870 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7871 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7872 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7873 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7874 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7875 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7876 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7877 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7878 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7879 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7880 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7881 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7882 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7883 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7884 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7885 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7886 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7887 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7888 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7889 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7890 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7891 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7892 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7893
5a47cc9c
DM
78942013-01-10 David S. Miller <davem@davemloft.net>
7895
7896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7897
4cf8f209
L
78982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7899
7900 * posix/Makefile (tests-static): New variable.
7901 (tests): Add $(tests-static).
7902 (tst-exec-static-ARGS): New variable.
7903 (tst-spawn-static-ARGS): Likewise.
7904 * posix/tst-exec-static.c: New file.
7905 * posix/tst-spawn-static.c: Likewise.
7906 * posix/tst-exec.c: Support run directly.
7907 * posix/tst-spawn.c: Likewise.
7908
fed0faa1
JM
79092013-01-10 Joseph Myers <joseph@codesourcery.com>
7910
828beb13
JM
7911 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7912 long.
7913 * math/bits/mathcalls.h (llrint): Likewise.
7914 (llround): Likewise.
7915 * stdlib/stdlib.h (struct drand48_data): Likewise.
7916 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7917 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7919 Likewise.
7920 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7921 Likewise.
7922 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7923 (elf_greg_t): Likewise.
7924 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7925 (__jmp_buf): Likewise.
7926 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7927 definitions.
7928 (llrint): Likewise, for all definitions.
7929 (llrintl): Likewise.
7930
fed0faa1
JM
7931 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7932 Remove [__GNUC__] condition.
7933 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7934 condition to just [__USE_ISOC99].
7935 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7936
1a20cb20
L
79372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7938
7939 [BZ #14200]
7940 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7941 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7942 defined.
7943 (_POSIX_V6_ILP32_OFF32): Likewise.
7944 (_XBS5_ILP32_OFF32): Likewise.
7945 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7946 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7947
751b85f7
SP
79482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7949
7490eb81
SP
7950 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7951
751b85f7
SP
7952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7953 doubles __mpexp_twomm1. Adjust usage.
7954 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7955 Remove.
7956
988197f0
AS
79572013-01-10 Andreas Schwab <schwab@suse.de>
7958
7959 [BZ #14964]
7960 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7961 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7962
e83d7298
DM
79632013-01-09 David S. Miller <davem@davemloft.net>
7964
034ed64b 7965 [BZ #15003]
e83d7298
DM
7966 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7967 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7968 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7969 TCP_FASTOPEN): Define.
7970 (tcp_repair_opt): New structure.
7971 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7972 enum values.
7973 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7974 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7975 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7976 (tcp_cookie_transactions): New structure.
7977
d5e0b9bd
AB
79782013-01-09 Anton Blanchard <anton@samba.org>
7979
7980 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7981 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7984
0c07e3ea
JM
79852013-01-09 Joseph Myers <joseph@codesourcery.com>
7986
7987 * include/features.h (__USE_ANSI): Remove.
7988
232f7002
RM
79892013-01-09 Roland McGrath <roland@hack.frob.com>
7990
ad98e30c
RM
7991 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7992
232f7002
RM
7993 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7994
950c99ca
SP
79952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7996
b5792741
SP
7997 * sysdeps/s390/fpu/libm-test-ulps: Update.
7998
47cf2278
SP
7999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8000
950c99ca
SP
8001 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8002 (__acr): Likewise.
8003 (__cpy): Likewise.
8004 (norm): Likewise.
8005 (denorm): Likewise.
8006 (__mp_dbl): Likewise.
8007 (__dbl_mp): Likewise.
8008 (add_magnitudes): Likewise.
8009 (sub_magnitudes): Likewise.
8010 (__add): Likewise.
8011 (__sub): Likewise.
8012 (__mul): Likewise.
8013 (__inv): Likewise.
8014 (__dvd): Likewise.
8015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8016 (__acr): Likewise.
8017 (__cpy): Likewise.
8018 (norm): Likewise.
8019 (denorm): Likewise.
8020 (__mp_dbl): Likewise.
8021 (__dbl_mp): Likewise.
8022 (add_magnitudes): Likewise.
8023 (sub_magnitudes): Likewise.
8024 (__add): Likewise.
8025 (__sub): Likewise.
8026 (__mul): Likewise.
8027 (__inv): Likewise.
8028 (__dvd): Likewise.
8029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8030 (__acr): Likewise.
8031 (__cpy): Likewise.
8032 (norm): Likewise.
8033 (denorm): Likewise.
8034 (__mp_dbl): Likewise.
8035 (__dbl_mp): Likewise.
8036 (add_magnitudes): Likewise.
8037 (sub_magnitudes): Likewise.
8038 (__add): Likewise.
8039 (__sub): Likewise.
8040 (__mul): Likewise.
8041 (__inv): Likewise.
8042 (__dvd): Likewise.
8043
eede9df9
JM
80442013-01-08 Joseph Myers <joseph@codesourcery.com>
8045
8046 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8047 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8048 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8049 2 && __USE_EXTERN_INLINES]: Likewise.
8050
c40ea3d9
AJ
80512013-01-08 Andreas Jaeger <aj@suse.de>
8052
8053 [BZ# 14985]
8054 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8055 Remove.
8056 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8057 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8058
2ccdea26
AB
80592013-01-07 Anton Blanchard <anton@samba.org>
8060
8061 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8062 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8063 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8064 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8065 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8066 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8067 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8068 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8070 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8071 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8072 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8073 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8074 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8075 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8076 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8077 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8079 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8080 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8081 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8082 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8084 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8085 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8086 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8087 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8088 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8090 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8091 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8093 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8094 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8095 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8096 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8097 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8098 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8099 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8102 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8103 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8104
a9708fed
JM
81052013-01-07 Joseph Myers <joseph@codesourcery.com>
8106
375607b9
JM
8107 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8108 (__MALLOC_PMT): Likewise.
8109 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8110 [__GNUC__], only on [_LIBC].
8111 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8112 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8113 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8114 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8115 forward declaration.
8116 (realloc_hook_ini): Likewise.
8117 (memalign_hook_ini): Likewise.
8118 (__libc_memalign): Do not use __MALLOC_PMT in variable
8119 declaration.
8120 (__libc_valloc): Likewise.
8121 (__libc_pvalloc): Likewise.
8122 (__libc_calloc): Likewise.
8123 (__posix_memalign): Likewise.
8124
a9708fed
JM
8125 [BZ #14996]
8126 * math/s_casinh.c: Include <float.h>.
8127 (__casinh): Do not do computation with squaring and square root
8128 for large arguments.
8129 * math/s_casinhf.c: Include <float.h>.
8130 (__casinhf): Do not do computation with squaring and square root
8131 for large arguments.
8132 * math/s_casinhl.c: Include <float.h>.
8133 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8134 (__casinhl): Do not do computation with squaring and square root
8135 for large arguments.
8136 * math/libm-test.inc (casin_test): Add more tests.
8137 (casinh_test): Likewise.
8138 * sysdeps/i386/fpu/libm-test-ulps: Update.
8139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8140
afec409a
L
81412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8142
8143 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8144 (__x86_64_raw_data_cache_size): Likewise.
8145 (__x86_64_data_cache_size_half): Likewise.
8146 (__x86_64_raw_data_cache_size_half): Likewise.
8147 (__x86_64_shared_cache_size): Likewise.
8148 (__x86_64_raw_shared_cache_size): Likewise.
8149 (__x86_64_shared_cache_size_half): Likewise.
8150 (__x86_64_raw_shared_cache_size_half): Likewise.
8151 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8152 to ...
8153 (__x86_data_cache_size): This.
8154 (__x86_64_raw_data_cache_size): Renamed to ...
8155 (__x86_raw_data_cache_size): This.
8156 (__x86_64_data_cache_size_half): Renamed to ...
8157 (__x86_data_cache_size_half): This.
8158 (__x86_64_raw_data_cache_size_half): Renamed to ...
8159 (__x86_raw_data_cache_size_half): This.
8160 (__x86_64_shared_cache_size): Renamed to ...
8161 (__x86_shared_cache_size): This.
8162 (__x86_64_raw_shared_cache_size): Renamed to ...
8163 (__x86_raw_shared_cache_size): This.
8164 (__x86_64_shared_cache_size_half): Renamed to ...
8165 (__x86_shared_cache_size_half): This.
8166 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8167 (__x86_raw_shared_cache_size_half): This.
8168 * sysdeps/x86_64/memcpy.S: Updated.
8169 * sysdeps/x86_64/memset.S: Likewise.
8170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8171 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8172 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8173
0b3986d0
DM
81742013-01-04 David S. Miller <davem@davemloft.net>
8175
8176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8177
e47686e9
AS
81782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8179
d643bac1
AS
8180 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8181 1 to avoid redefinition warning.
8182 (__USE_GNU): Don't define.
8183 (init_signaling_nan): Protoize.
8184
e47686e9
AS
8185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8186
b18decba
SP
81872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8188
fffb407f
SP
8189 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8191 (__cpymn): Likewise.
8192 (norm): Remove commented code.
8193 (denorm): Likewise.
8194 (__mp_dbl): Likewise.
8195 (__inv): Likewise.
8196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8197 (__cpymn): Likewise.
8198 (norm): Remove commented code.
8199 (denorm): Likewise.
8200 (__mp_dbl): Likewise.
8201 (__inv): Likewise.
8202
b18decba
SP
8203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8204 mp_no value for 1.0 and 2.0.
8205 (norm): Use RADIXI instead of radixi.d.
8206 (denorm): Likewise.
8207 (__mul): Use 0.0 instead of zero.d.
8208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8209 mp_no value for 1.0 and 2.0.
8210 (norm): Use RADIXI instead of radixi.d.
8211 (denorm): Likewise.
8212 (__mul): Use 0.0 instead of zero.d.
8213
cdc1c96f
JM
82142013-01-04 Joseph Myers <joseph@codesourcery.com>
8215
8216 [BZ #14994]
8217 * math/s_casinh.c (__casinh): Reduce finite argument to first
8218 quadrant then set signs of results at the end.
8219 * math/s_casinhf.c (__casinhf): Likewise.
8220 * math/s_casinhl.c (__casinhl): Likewise.
8221 * math/libm-test.inc (casin_test): Add more tests.
8222 (casinh_test): Likewise.
8223 * sysdeps/i386/fpu/libm-test-ulps: Update.
8224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8225
302913e1
SP
82262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8227
6420d207
SP
8228 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8229
a9e48ab4
SP
8230 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8231
b7837264
SP
8232 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8233 declarations.
8234 (denorm): Likewise.
8235 (__mp_dbl): Likewise.
8236 (__inv): Likewise.
8237
f8af25d2
SP
8238 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8239 and adjust the header comment.
8240
302913e1
SP
8241 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8242 variable name from declaration.
8243
5d7dd1ca
L
82442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8245
8246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8247 Initialize COMMON_CPUID_INDEX_7 element.
8248 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8249 (CPUID_RTM): Likewise.
8250 (HAS_RTM): Likewise.
8251 (COMMON_CPUID_INDEX_7): New enum.
8252
2f5f40f4
AS
82532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8254
8255 [BZ #14981]
8256 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8257 size is zero, record memory as freed.
8258
4056f4a0
AJ
82592013-01-03 Andreas Jaeger <aj@suse.de>
8260
8261 * po/ia.po: Add new Interlingua translation.
8262
ab15736f 82632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8264
8265 * locale/programs/localedef.c: Fix description of '--posix' flag.
8266
568035b7
JM
82672013-01-02 Joseph Myers <joseph@codesourcery.com>
8268
e6898b8d
JM
8269 * NEWS: Update dates in second copyright notice.
8270 * README: Update copyright dates in example.
8271 * manual/libc.texinfo: Update copyright dates.
8272 * scripts/test-installation.pl: Update copyright date in --version
8273 output.
8274
0e2f9562
JM
8275 * hurd/ctty-input.c: Fix copyright notice formatting.
8276 * hurd/ctty-output.c: Likewise.
8277 * hurd/dtable.c: Likewise.
8278 * hurd/hurd-raise.c: Likewise.
8279 * hurd/hurdprio.c: Likewise.
8280 * hurd/msgportdemux.c: Likewise.
8281 * misc/sys/file.h: Likewise.
8282 * misc/sys/ioctl.h: Likewise.
8283 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8284 * sysdeps/mach/hurd/chdir.c: Likewise.
8285 * sysdeps/mach/hurd/fchdir.c: Likewise.
8286 * sysdeps/mach/hurd/rename.c: Likewise.
8287 * sysdeps/mach/hurd/rmdir.c: Likewise.
8288 * sysdeps/mach/hurd/seekdir.c: Likewise.
8289 * sysdeps/mach/hurd/setsid.c: Likewise.
8290 * sysdeps/posix/wait3.c: Likewise.
8291
568035b7
JM
8292 * All files with FSF copyright notices: Update copyright dates
8293 using scripts/update-copyrights.
8294 * intl/plural.c: Regenerated.
8295 * locale/programs/charmap-kw.h: Likewise.
8296 * locale/programs/locfile-kw.h: Likewise.
8297
da08f647
SP
82982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8299
0f5477af
SP
8300 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8301 four values.
8302
44e0d4c2
SP
8303 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8304 calculation loop and add branch prediction.
8305
4d55b4e5
SP
8306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8307 check access beyond bounds of m1np.
8308
da08f647
SP
8309 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8310 MPTWO.
8311 (__inv): Remove local variable MPTWO to use the global
8312 constant.
8313 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8315 variable MPTWO.
8316 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8317 MP3HALFS static const.
8318
8e051029
DM
83192013-01-01 David S. Miller <davem@davemloft.net>
8320
8321 * po/ca.po: Update from translation team.
8322
f4cf5f2d
JM
83232013-01-01 Joseph Myers <joseph@codesourcery.com>
8324
8325 * scripts/update-copyrights: New file.
8326 * Makeconfig: Reformat copyright notice.
8327 * ctype/ctype.h: Likewise.
8328 * debug/swprintf_chk.c: Likewise.
8329 * elf/dl-cache.c: Likewise.
8330 * elf/dl-debug.c: Likewise.
8331 * elf/dl-object.c: Likewise.
8332 * grp/initgroups.c: Likewise.
8333 * hurd/Makefile: Likewise.
8334 * hurd/hurd/signal.h: Likewise.
8335 * hurd/hurdfault.c: Likewise.
8336 * hurd/hurdioctl.c: Likewise.
8337 * hurd/hurdlookup.c: Likewise.
8338 * hurd/intr-msg.c: Likewise.
8339 * iconv/gconv_open.c: Likewise.
8340 * libio/swprintf.c: Likewise.
8341 * locale/lc-ctype.c: Likewise.
8342 * locale/nl_langinfo.c: Likewise.
8343 * mach/Machrules: Likewise.
8344 * mach/Makefile: Likewise.
8345 * malloc/obstack.h: Likewise.
8346 * manual/Makefile: Likewise.
8347 * manual/tsort.awk: Likewise.
8348 * misc/bits/stab.def: Likewise.
8349 * nis/nis_print_group_entry.c: Likewise.
8350 * nis/nis_table.c: Likewise.
8351 * nis/nss_compat/compat-pwd.c: Likewise.
8352 * nis/nss_compat/compat-spwd.c: Likewise.
8353 * po/Makefile: Likewise.
8354 * posix/fnmatch.c: Likewise.
8355 * posix/regex.h: Likewise.
8356 * resolv/Makefile: Likewise.
8357 * resolv/nss_dns/dns-network.c: Likewise.
8358 * resolv/res_hconf.c: Likewise.
8359 * scripts/gen-sorted.awk: Likewise.
8360 * soft-fp/soft-fp.h: Likewise.
8361 * stdio-common/printf.h: Likewise.
8362 * stdlib/monetary.h: Likewise.
8363 * stdlib/random.c: Likewise.
8364 * stdlib/random_r.c: Likewise.
8365 * sysdeps/generic/Makefile: Likewise.
8366 * sysdeps/gnu/Makefile: Likewise.
8367 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8369 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8375 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8381 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8382 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8383 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8385 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8387 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8388 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8389 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8395 * sysdeps/mach/hurd/errnos.awk: Likewise.
8396 * sysdeps/mach/hurd/fork.c: Likewise.
8397 * sysdeps/mach/hurd/getcwd.c: Likewise.
8398 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8399 * sysdeps/mach/hurd/mmap.c: Likewise.
8400 * sysdeps/mach/hurd/utimes.c: Likewise.
8401 * sysdeps/mach/hurd/xmknod.c: Likewise.
8402 * sysdeps/posix/profil.c: Likewise.
8403 * sysdeps/posix/readdir_r.c: Likewise.
8404 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8405 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8406 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8407 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8409 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8410 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8411 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8413 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8414 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8415 * sysdeps/pthread/lio_listio.c: Likewise.
8416 * sysdeps/sparc/dl-procinfo.h: Likewise.
8417 * sysdeps/unix/i386/sysdep.S: Likewise.
8418 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8419 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8420 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8421 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8423 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8424 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8425 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8426 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8427 * sysdeps/wordsize-32/divdi3.c: Likewise.
8428 * time/sys/time.h: Likewise.
8429 * wcsmbs/Makefile: Likewise.
8430
0549fbba
DM
84312013-01-01 David S. Miller <davem@davemloft.net>
8432
a141f1a7
DM
8433 * po/fr.po: Update from translation team.
8434
0549fbba
DM
8435 * catgets/gencat.c: Update copyright year.
8436 * csu/version.c: Likewise.
8437 * debug/catchsegv.sh: Likewise.
8438 * debug/pcprofiledump.c: Likewise.
8439 * debug/xtrace.sh: Likewise.
8440 * elf/ldconfig.c: Likewise.
8441 * elf/ldd.bash.in: Likewise.
8442 * elf/pldd.c: Likewise.
8443 * elf/sotruss.ksh: Likewise.
8444 * elf/sprof.c: Likewise.
8445 * iconv/iconv_prog.c: Likewise.
8446 * iconv/iconvconfig.c: Likewise.
8447 * locale/programs/locale.c: Likewise.
8448 * locale/programs/localedef.c: Likewise.
8449 * login/programs/pt_chown.c: Likewise.
8450 * malloc/memusage.sh: Likewise.
8451 * malloc/memusagestat.c: Likewise.
8452 * malloc/mtrace.pl: Likewise.
8453 * nscd/nscd.c: Likewise.
8454 * nss/getent.c: Likewise.
8455 * nss/makedb.c: Likewise.
8456 * posix/getconf.c: Likewise.
8457
18ea052c
SP
84582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8459
8460 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8461 numbers.
8462
9c89fca6
MF
84632012-12-30 Mike Frysinger <vapier@gentoo.org>
8464
8465 * math/bits/mathcalls.h (modf): Use __nonnull.
8466
085ec079
SP
84672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8468
8469 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8470 (split): Use macro CN instead of the bare value.
8471 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8472 could be used.
8473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8474 instead of the bare value.
8475 (power1): Likewise.
8476
6d9f97e1
SP
84772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8478
d63f73be
SP
8479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8480 __ATAN_TWOM.
8481 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8482
6d9f97e1
SP
8483 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8484 their values.
8485 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8486 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8487 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8488 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8489
4c4febf5
AJ
84902012-12-28 Andreas Jaeger <aj@suse.de>
8491
af5843ef
AJ
8492 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8493 values are from Linux 3.7.
8494
4c4febf5
AJ
8495 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8496 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8497
99136f82
SP
84982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8499
2f216c3c 8500 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8501 TRUE case.
8502
99136f82
SP
8503 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8504 (norm): Likewise.
8505 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8506 variables with preprocessor constants.
8507 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8508 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8509 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8510
7fffbdff
BH
85112012-12-27 Bruno Haible <bruno@clisp.org>
8512
8513 [BZ #14317]
8514 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8515 only if needed.
8516
b76eb5f0
SP
85172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8518
31a7fe5c
SP
8519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8520 and use variable directly.
8521 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8522
b76eb5f0
SP
8523 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8524 MPONE.
8525 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8526 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8527 variable MPONE.
8528 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8530 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8531 include directive. Remove local variable MPONE.
8532 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8533 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8534 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8535
2c8bfe7d
DM
85362012-12-25 David S. Miller <davem@davemloft.net>
8537
8538 * version.h (RELEASE): Set to "development".
8539 (VERSION): Set to "2.17.90".
8540 * NEWS: Add 2.18 section.
8541
147d03b0
DM
85422012-12-21 David S. Miller <davem@davemloft.net>
8543
8544 * po/hr.po: Update from translation team.
8545
a8ebb2b9
AK
85462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8547
8548 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8549
95b4f1b6
SE
85502012-12-19 Steve Ellcey <sellcey@mips.com>
8551
b2d94007 8552 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8553
cedb2a90
MS
85542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8555
8556 * manual/contrib.texi (Contributors): Spelling correction.
8557
bbf527d6
DM
85582012-12-15 David S. Miller <davem@davemloft.net>
8559
8560 * po/ru.po: Update from translation team.
8561
bc38c906
DM
85622012-12-13 David S. Miller <davem@davemloft.net>
8563
85429b1a
DM
8564 * NEWS: Mention IFUNC testsuite enhancements.
8565
d283e353
DM
8566 * po/pl.po: Update from translation team.
8567 * po/bg.po: Likewise.
8568
bc38c906
DM
8569 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8570 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8571
a181b0d7
DM
85722012-12-11 David S. Miller <davem@davemloft.net>
8573
4641d57e
DM
8574 * po/sv.po: Update from translation team.
8575
f7bc6495
DM
8576 * po/vi.po: Update from translation team.
8577
6fc9048f
DM
8578 * po/cs.po: Update from translation team.
8579
a181b0d7
DM
8580 * po/de.po: Update from translation team.
8581 * po/eo.po: Likewise.
8582 * po/nl.po: Likewise.
8583
f70bfe80
SP
85842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8585
3c8b4190
SP
8586 [BZ #14246]
8587 * manual/argp.texi (Argp Helper Functions): Move node to follow
8588 Argp Parsing State.
8589
f70bfe80
SP
8590 [BZ #14872]
8591 * manual/conf.texi (Limits on File System Capacity): Mention if
8592 terminating null is included in the max size.
8593
188f0adf
AJ
85942012-12-10 Andreas Jaeger <aj@suse.de>
8595
8596 * po/cs.po: Update from translation team.
8597
56e7d3ad
SP
85982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8599
8600 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8601 void pointer and cast to uintptr_t.
8602 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8603 path.
8604 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8605 * sysdeps/s390/s390-64/memset.S: Likewise.
8606
76f2d2ea 86072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8608
8609 [BZ #14833]
8610 * menual/message.texi (Message Translation): Fix typos.
8611 (Helper programs for gettext): Likewise.
8612
67cbf9a2
AS
86132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8614
8615 [BZ #14898]
8616 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8617 Change to -1.
8618
682d0e9a
DM
86192012-12-07 David S. Miller <davem@davemloft.net>
8620
8621 * po/libc.pot: Update.
8622
573cd484
RH
86232012-12-07 Richard Henderson <rth@redhat.com>
8624
7e9da188 8625 [BZ #10114]
573cd484
RH
8626 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8627 normal/normal case to before the switch.
8628 (_FP_DIV): Likewise.
8629
e933a943
MF
86302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8631 Mike Frysinger <vapier@gentoo.org>
8632
8633 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8634 check for __NR_fadvise64_64.
8635
82123268
CM
86362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8637
8638 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8639 0, not just to plain "0" as a statement.
8640 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8641 with cw.
8642
d9814526
JM
86432012-12-06 Joseph Myers <joseph@codesourcery.com>
8644
8645 * NEWS: Use sourceware.org in Bugzilla URL.
8646
7728c574
SP
86472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8648
f16946dd
SP
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8650 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8651
5704bbcb
SP
8652 * stdio-common/tst-put-error.c (do_test): Add newline to the
8653 padded test to ensure flush.
8654
17aa0516
JL
86552012-12-05 Jeff Law <law@redhat.com>
8656
8657 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8658
363313b5
JM
86592012-12-05 Joseph Myers <joseph@codesourcery.com>
8660
effbd42a
JM
8661 * README: Don't refer to ports add-on as distributed separately.
8662 Mention AArch64 in list of systems supported in the ports add-on.
8663
87600365
JM
8664 * LICENSES: Add more non-FSF copyright and license notices.
8665
a0d7066a
JM
8666 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8667 ((unused)).
8668
66ca5a5b
JM
8669 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8670
363313b5
JM
8671 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8672 10000 as width of padded output.
8673
b37984ad
JM
86742012-12-04 Joseph Myers <joseph@codesourcery.com>
8675
9003570a
JM
8676 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8677
b37984ad
JM
8678 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8679 variable LX with __attribute__ ((unused)).
8680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8681 Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8685 with __attribute__ ((unused)).
8686
c8df52ec
DM
86872012-12-04 David S. Miller <davem@abraco.davemloft.net>
8688
8689 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8690
b3b099af
JM
86912012-12-04 Joseph Myers <joseph@codesourcery.com>
8692
c33aa6e3
JM
8693 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8694 (CFLAGS-nldbl-acos.c): New variable.
8695 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8696 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8697 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8698 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8699 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8700 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8701 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8702 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8703 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8704 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8705 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8706 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8707 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8708 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8709 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8710 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8711 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8712 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8713 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8714 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8715 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8716 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8717 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8718 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8719 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8720 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8721 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8722 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8723 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8724 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8725 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8726 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8727 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8728 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8729 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8730 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8731 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8732 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8733 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8734 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8735 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8736 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8737 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8738 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8739 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8740 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8741 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8742 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8743 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8744 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8745 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8746 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8747 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8748 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8749 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8750 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8751 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8752 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8753 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8754 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8755 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8756 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8757 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8758 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8759 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8760 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8761 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8762 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8763 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8764 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8765 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8766 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8767 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8768 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8769 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8770 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8771 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8772 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8773 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8774 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8775 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8776 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8777 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8778 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8779 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8780 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8781 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8782 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8783 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8784 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8785 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8786 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8787 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8788 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8789 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8790 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8791 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8792
20f0018d
JM
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8794 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8795
b3b099af
JM
8796 [BZ #14914]
8797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8798 whole low double instead of just low 47 bits when splitting values
8799 into two parts.
8800
029264d1
AM
88012012-12-03 Allan McRae <allan@archlinux.org>
8802
8803 * manual/stdio.texi (Predefined Printf Handlers): Remove
8804 @hsep and @vsep usage.
8805
c9d6789e
MF
88062012-12-03 Mike Frysinger <vapier@gentoo.org>
8807
8808 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8809 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8810
4b7634a5
JL
88112012-12-03 Jeff Law <law@redhat.com>
8812
8813 * time/sys/time.h (settimeofday): Do not mark TV argument
8814 as __nonnull.
8815
eb6cbd24
MF
88162012-12-01 Mike Frysinger <vapier@gentoo.org>
8817
8818 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8819 when currently writing and seek to current position when not.
8820 * libio/Makefile (tests): Remove bug-fclose1.
8821 * libio/bug-fclose1.c: Delete.
8822
f638872a
JM
88232012-12-01 Joseph Myers <joseph@codesourcery.com>
8824
8825 * manual/arith.texi (feenableexcept): Fix typo.
8826 (fedisableexcept): Likewise.
8827
48085d14
RM
88282012-11-30 Roland McGrath <roland@hack.frob.com>
8829
8830 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8831 second, differently-typed declaration, rather than a cast.
8832
1a538b9f
SP
88332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8834
8835 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8836 * include/rpc/svc.h: ... here.
8837
d07f2ff1 88382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8839
8840 [BZ #13013]
8841 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8842 depending n and resplen2 to catch cases where answer
8843 equals answerp2.
8844
c93ec1f0
CD
88452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8846
8847 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8848 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8849
37db69de
MF
88502012-11-29 Mike Frysinger <vapier@gentoo.org>
8851
8852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8853
e10c4e4f
RM
88542012-11-29 Roland McGrath <roland@hack.frob.com>
8855
8856 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8857
2af1b328
JL
88582012-11-28 Jeff Law <law@redhat.com>
8859
8860 [BZ #13761]
8861 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8862 dataset_temporary. Track alloca usage into alloca_used.
8863 If dataset is large allocate and release it via malloc/free.
8864
111db5b1
FW
88652012-06-04 Florian Weimer <fweimer@redhat.com>
8866
f06cc227 8867 [BZ #14197]
111db5b1
FW
8868 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8869
dd694abd
DM
88702012-11-28 David S. Miller <davem@davemloft.net>
8871
8872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8873
9984dd01
JM
88742012-11-28 Joseph Myers <joseph@codesourcery.com>
8875
8876 [BZ #14803]
8877 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8878 of pi/2 rounded to nearest to 64 bits.
8879 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8880 nearest to 64 bits.
8881 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8882 bits.
8883
14bc93a9
JL
88842012-11-28 Jeff Law <law@redhat.com>
8885 Martin Osvald <mosvald@redhat.com>
8886
8887 [BZ #14889]
8888 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8889 * sunrpc/svc.c: Include time.h.
8890 (__svc_accept_failed): New function.
8891 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8892 any reason other than EINTR, call __svc_accept_failed.
8893 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8894 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8895
e3c6aa3a
AS
88962012-11-28 Andreas Schwab <schwab@suse.de>
8897
8898 * scripts/abilist.awk: Also handle indirect functions in .opd
8899 section.
8900
1bead169
JM
89012012-11-28 Joseph Myers <joseph@codesourcery.com>
8902
8903 [BZ #13881]
8904 * sysdeps/x86/fpu/powl_helper.c: New file.
8905 * sysdeps/x86/fpu/Makefile: Likewise.
8906 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8907 (p3): New object.
8908 (__ieee754_powl): Use __powl_helper for finite arguments except
8909 integer exponents below 8.
8910 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8911 (p3): New object.
8912 (__ieee754_powl): Use __powl_helper for finite arguments except
8913 integer exponents below 8.
8914 * math/libm-test.inc (pow_test): Add more tests and enable some
8915 previously disabled tests.
8916 * sysdeps/i386/fpu/libm-test-ulps: Update.
8917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8918
0817d63d
SP
89192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8920 Carlos O'Donell <carlos_odonell@mentor.com>
8921
8922 * nss/makedb.c (is_prime): Assert that input is odd and greater
8923 than 4. Note that fact in a comment too.
8924 (next_prime): Add 4 to input.
8925
de2fd463
SP
89262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8927
8928 [BZ #11741]
8929 * libio/Makefile (tests): Add test case tst-fwrite-error.
8930 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8931 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8932 * libio/tst-fwrite-error.c: New test case.
8933
c515fb51
L
89342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8935
8936 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8937 before casting to void *.
8938 * include/libc-internal.h (__pointer_type): New macro.
8939 (__integer_if_pointer_type_sub): Likewise.
8940 (__integer_if_pointer_type): Likewise.
8941 (cast_to_integer): Likewise.
8942 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8943 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8944 before casting to atomic64_t.
8945 (atomic_exchange_acq): Likewise.
8946 (__arch_exchange_and_add_body): Likewise.
8947 (__arch_add_body): Likewise.
8948 (atomic_add_negative): Likewise.
8949 (atomic_add_zero): Likewise.
8950
4cf77aa9
JM
89512012-11-26 Joseph Myers <joseph@codesourcery.com>
8952
8953 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8954 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8955 (add_fdes): Likewise.
8956 (linear_search_fdes): Likewise.
8957 (binary_search_unencoded_fdes): Likewise.
8958
d260b3b4
AS
89592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8960
8961 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8962
67060746
AC
89632012-11-24 Adam Conrad <adconrad@0c3.net>
8964
8965 * configure.in: Autodetect C++ header directories.
8966 * configure: Regenerated.
8967
800938a1
MF
89682012-11-23 Mike Frysinger <vapier@gentoo.org>
8969
8970 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8971
4e6e34e6
AS
89722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8973
8974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8975
7c7feb47
JM
89762012-11-22 Joseph Myers <joseph@codesourcery.com>
8977
7184dcdf
JM
8978 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8979 LDBL_MANT_DIG == 106]: Disable some tests.
8980 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8981 Likewise.
8982 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8983 Likewise.
8984
0a42601f
JM
8985 [BZ #14871]
8986 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8987 input for small inputs. Return +/- pi/2 for large inputs.
8988 * math/libm-test.inc (atan_test): Add more tests.
8989
79c9b9fe
JM
8990 * sysdeps/generic/unwind-dw2-fde-glibc.c
8991 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8992 __attribute__ ((unused)).
8993
c60d3bf2
JM
8994 [BZ #14645]
8995 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8996 x * y if x and y are nonzero and z is zero.
8997
ef1e0867
JM
8998 [BZ #14811]
8999 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9000 nonzero exponents with absolute value below 0x1p-117 to +/-
9001 0x1p-117.
9002
1468ded3
JM
9003 [BZ #14869]
9004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9005 up arguments below 2**-450, not just those below 2**-500.
9006 * math/libm-test.inc (hypot_test): Add another test.
9007
8e27e3cc
JM
9008 [BZ #14868]
9009 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9010 Return a+b for ratio over 2**120, not 2**60.
9011 * math/libm-test.inc (hypot_test): Add another test.
9012
c9c0279b
JM
9013 * math/libm-test.inc (clog_test): Use
9014 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9015 (clog10_test): Likewise.
9016
7c7feb47
JM
9017 [BZ #6778]
9018 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9019
fff1530e
AS
90202012-11-22 Andreas Schwab <schwab@suse.de>
9021
9022 * sysdeps/i386/fpu/libm-test-ulps: Update.
9023
94558d30
PT
90242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9025
9026 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9027 printf output with newline.
9028
7e1be741
L
90292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9030
6bfea974
L
9031 [BZ #14865]
9032 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9033 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9034 -z nodlopen, -z initfirst and -z execstack support.
9035 * configure: Regenerated.
9036
7e1be741
L
9037 * elf/elf.h (DF_1_NODIRECT): New macro.
9038 (DF_1_IGNMULDEF): Likewise.
9039 (DF_1_NOKSYMS): Likewise.
9040 (DF_1_NOHDR): Likewise.
9041 (DF_1_EDITED): Likewise.
9042 (DF_1_NORELOC): Likewise.
9043 (DF_1_SYMINTPOSE): Likewise.
9044 (DF_1_GLOBAUDIT): Likewise.
9045 (DF_1_SINGLETON): Likewise.
9046 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9047 DT_1_SUPPORTED_MASK bits.
9048 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9049
105ce2ce
CD
90502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9051
9052 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9053
123be9de
TS
90542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9055
d072f3f7
TS
9056 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9057 macro.
9058
123be9de
TS
9059 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9060 (sendmmsg): Move declarations...
9061 * socket/sys/socket.h: ... here.
9062 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9063 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9064 include it from...
9065 * socket/recvmmsg.c: ... this new file.
9066 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9067 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9068 definition of __sendmmsg hidden.
9069 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9070 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9071 Move ENOSYS stub into and include it from...
9072 * socket/sendmmsg.c: ... this new file.
9073 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9074 (sysdep_routines): Move recvmmsg and sendmmsg...
9075 * socket/Makefile (routines): ... here.
9076 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9077 (GLIBC_PRIVATE): Add __sendmmsg.
9078 * include/sys/socket.h (__sendmmsg): Add declarations.
9079 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9080 sendmmsg.
9081
cf9a5d18
JM
90822012-11-20 Joseph Myers <joseph@codesourcery.com>
9083
9084 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9085 variable I1 with __attribute__ ((unused)).
9086 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9087
ecd4caf9
JM
90882012-11-19 Joseph Myers <joseph@codesourcery.com>
9089
be14d48f
JM
9090 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9091 DUMMY variables with __attribute__ ((unused)).
9092
ecd4caf9
JM
9093 * bits/byteswap.h: Include <bits/types.h>.
9094 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9095
986cab95
PT
90962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9097
9098 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9099 string_t. Do not manually set errno.
9100 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9101 length with __strnlen. Make sure to both set errno and return it on
9102 failure.
9103
6d33cc9d
DM
91042012-11-19 David S. Miller <davem@davemloft.net>
9105
9106 With help from Joseph Myers.
9107 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9108 very large arguments properly.
9109 * math/libm-test.inc (atan_test): New tests.
9110 (atan2_test): New tests.
9111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9113
ee663277
JM
91142012-11-19 Joseph Myers <joseph@codesourcery.com>
9115
877f2d8e
JM
9116 [BZ #14856]
9117 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9118 Define to 3.
9119
116fc08a
JM
9120 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9121 [POSIX] (EADDRNOTAVAIL): Likewise.
9122 [POSIX] (EAFNOSUPPORT): Likewise.
9123 [POSIX] (EALREADY): Likewise.
9124 [POSIX] (ECONNABORTED): Likewise.
9125 [POSIX] (ECONNREFUSED): Likewise.
9126 [POSIX] (ECONNRESET): Likewise.
9127 [POSIX] (EDESTADDRREQ): Likewise.
9128 [POSIX] (EDQUOT): Likewise.
9129 [POSIX] (EHOSTUNREACH): Likewise.
9130 [POSIX] (EIDRM): Likewise.
9131 [POSIX] (EISCONN): Likewise.
9132 [POSIX] (ELOOP): Likewise.
9133 [POSIX] (EMULTIHOP): Likewise.
9134 [POSIX] (ENETDOWN): Likewise.
9135 [POSIX] (ENETUNREACH): Likewise.
9136 [POSIX] (ENOBUFS): Likewise.
9137 [POSIX] (ENODATA): Likewise.
9138 [POSIX] (ENOLINK): Likewise.
9139 [POSIX] (ENOMSG): Likewise.
9140 [POSIX] (ENOPROTOOPT): Likewise.
9141 [POSIX] (ENOSR): Likewise.
9142 [POSIX] (ENOSTR): Likewise.
9143 [POSIX] (ENOTCONN): Likewise.
9144 [POSIX] (ENOTSOCK): Likewise.
9145 [POSIX] (EOPNOTSUPP): Likewise.
9146 [POSIX] (EOVERFLOW): Likewise.
9147 [POSIX] (EPROTO): Likewise.
9148 [POSIX] (EPROTONOSUPPORT): Likewise.
9149 [POSIX] (EPROTOTYPE): Likewise.
9150 [POSIX] (ESTALE): Likewise.
9151 [POSIX] (ETIME): Likewise.
9152 [POSIX] (ETXTBSY): Likewise.
9153 [POSIX] (EWOULDBLOCK): Likewise.
9154 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9155 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9156 [POSIX] (SEEK_CUR): Likewise.
9157 [POSIX] (SEEK_END): Likewise.
9158 [POSIX || UNIX98] (mode_t): Do not require.
9159 [POSIX] (off_t): Likewise.
9160 [POSIX] (pid_t): Likewise.
9161 [POSIX] (sys/stat.h): Do not allow header.
9162 [POSIX] (unistd.h): Likewise.
9163 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9164 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9165 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9166 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9167 require.
9168 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9169 sigevent): Specify elements.
9170 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9171 entry.
9172 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9173 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9174
a483863f
JM
9175 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9176 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9177 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9178 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9179 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9180 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9181 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9182 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9183 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9184 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9185 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9186 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9187 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9188 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9189 Likewise.
9190 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9191 Likewise.
9192 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9193 Likewise.
9194 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9195 Likewise.
9196 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9197 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9198 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9199 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9200 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9201 Specify lower bound on value.
9202 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9203 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9204 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9205 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9206 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9207 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9208 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9209 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9210 value.
9211 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9212 as optional.
9213 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9214 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9215 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9216 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9217 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9218 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9219 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9220 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9221 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9222 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9223 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9224 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9225 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9226 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9227 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9228 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9229 entry.
9230 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9231 optional.
9232 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9233 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9234 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9235 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9236 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9237 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9238 Likewise.
9239 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9240 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9241 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9242 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9243 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9244 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9245 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9246 as optional.
9247 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9248 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9249 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9250 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9251 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9252 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9253 specify as optional.
9254 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9255 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9256 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9257 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9258 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9259 [XPG3] (NL_LANGMAX): Likewise.
9260 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9261 [POSIX || XPG3] (NL_NMAX): Likewise.
9262 [POSIX || XPG3] (NL_SETMAX): Likewise.
9263 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9264 [XPG3] (NZERO): Likewise.
9265 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9266 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9267 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9268 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9269 (REG_ERANGE): Expect.
9270 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9271 optional-constant.
9272 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9273 Use (void) in prototype.
9274 [POSIX] (*_t): Allow.
9275 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9276 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9277 (WRDE_BADVAL): Expect.
9278
5ba924e3
JM
9279 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9280 expect.
9281 [XPG3 || XPG4] (O_RSYNC): Likewise.
9282 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9283 Likewise.
9284 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9285 [XPG3 || XPG4] (sigqueue): Likewise.
9286 [XPG3 || XPG4] (sigtimedwait): Likewise.
9287 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9288 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9289 [XPG3 || XPG4] (vsnprintf): Likewise.
9290 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9291 Likewise.
9292 [XPG3 || XPG4] (blksize_t): Likewise.
9293 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9294 Likewise.
9295 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9296 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9297 [XPG3 || XPG4] (struct itimerspec): Likewise.
9298 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9299 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9300 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9301 [XPG3 || XPG4] (clockid_t): Likewise.
9302 [XPG3 || XPG4] (timer_t): Likewise.
9303 [XPG3 || XPG4] (clock_getres): Likewise.
9304 [XPG3 || XPG4] (clock_gettime): Likewise.
9305 [XPG3 || XPG4] (clock_settime): Likewise.
9306 [XPG3 || XPG4] (nanosleep): Likewise.
9307 [XPG3 || XPG4] (timer_create): Likewise.
9308 [XPG3 || XPG4] (timer_delete): Likewise.
9309 [XPG3 || XPG4] (timer_gettime): Likewise.
9310 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9311 [XPG3 || XPG4] (timer_settime): Likewise.
9312 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9313 [XPG3 || XPG4] (getlogin_r): Likewise.
9314 [XPG3 || XPG4] (pread): Likewise.
9315 [XPG3 || XPG4] (pthread_atfork): Likewise.
9316 [XPG3 || XPG4] (pwrite): Likewise.
9317
ee663277
JM
9318 [BZ #14835]
9319 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9320 <bits/siginfo.h>.
9321
942caa16
PT
93222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9323
e19af380
PT
9324 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9325 finalizing MALLSTREAM.
9326
942caa16
PT
9327 * sysdeps/mach/hurd/syncfs.c: New file.
9328
cfde9b46
SP
93292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9330
9331 [BZ #14719]
9332 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9333 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9334 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9335 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9336 (_nss_dns_gethostbyname4_r): Likewise.
9337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9338 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9339
f6da27e5
PH
93402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9341
9342 [BZ #13763]
9343 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9344
6665d4a2
SM
93452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9346
1f51ee92
SM
9347 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9348 * elf/cache.c (print_entry): Print ",AArch64" for
9349 FLAG_AARCH64_LIB64
9350
6665d4a2
SM
9351 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9352 * elf/cache.c (print_entry): Print ",hard-float" for
9353 FLAG_ARM_LIBHF.
9354
05b227bd
DM
93552012-11-18 David S. Miller <davem@davemloft.net>
9356
9357 With help from Joseph Myers.
9358 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9359 cutoff to 2**-13.
9360 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9361 cutoff to 2**-25.
9362 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9363 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9364 small.
9365 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9366 * math/libm-test.inc (y0_test): New tests.
9367 (y1_test): New tests.
9368 * sysdeps/i386/fpu/libm-test-ulps: Update.
9369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9371
786b0b67
AS
93722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9373
9374 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9375 64-bit targets.
9376 * configure: Regenerated.
9377
8e18b86d
DM
93782012-11-17 David S. Miller <davem@davemloft.net>
9379
9380 [BZ #14811]
9381 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9382 nonzero exponents with absolute value below 0x1p-128 to +/-
9383 0x1p-128.
9384
531f1ae0
JM
93852012-11-17 Joseph Myers <joseph@codesourcery.com>
9386
12df29e2
JM
9387 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9388
150dc1a0
JM
9389 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9390
531f1ae0
JM
9391 * posix/getconf-speclist.c: New file.
9392 * posix/posix-envs.def: Likewise.
9393 * posix/confstr.c (START_ENV_GROUP): New macro.
9394 (END_ENV_GROUP): Likewise.
9395 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9396 (KNOWN_PRESENT_ENV_STRING): Likewise.
9397 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9398 (UNKNOWN_ENVIRONMENT): Likewise.
9399 (confstr): Include posix-envs.def instead of handling
9400 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9401 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9402 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9403 (END_ENV_GROUP): Likewise.
9404 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9405 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9406 (UNKNOWN_ENVIRONMENT): Likewise.
9407 (__sysconf): Include posix-envs.def instead of handling associated
9408 cases directly here.
9409 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9410 preprocessing getconf-speclist.c rather than running getconf or
9411 generating empty file.
9412
a93f9cbc
PT
94132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9414
9415 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9416
d64d9f87
AL
94172012-11-16 Andrej Lajovic <natrij@gmail.com>
9418
9419 [BZ #14672]
9420 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9421
447885eb
DM
94222012-11-16 David S. Miller <davem@davemloft.net>
9423
9424 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9425 smaller than LDBL_EPSILON/2.0L, just return xm1.
9426
bcbf9830
L
94272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9428
9429 * elf/tst-array1.c (init): Set constructor priority to 1000.
9430 (fini): Set destructor priority to 1000.
9431 * elf/tst-array2dep.c: Likewise.
9432
2b766585
SP
94332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9434
9435 [BZ #11741]
9436 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9437 (_IO_new_file_xsputn): Also return EOF if none of the input
9438 data was written when overflow failed.
9439 * libio/iopadn.c (_IO_padn): Likewise.
9440 * libio/iowpadn.c (_IO_wpadn): Likewise.
9441 * stdio-common/tst-put-error.c: Add copyright notice.
9442 (do_test): Add case for printing padded string.
9443 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9444 _IO_padn returned error.
9445 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9446 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9447 return EOF.
9448
b1848fde
SP
94492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9450
9451 * libio/libioP.h: Add comment note that the references to C++
9452 bits are now obsolete.
9453
2fd89785
MS
94542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9455
9456 * math/libm-test.inc (check_complex): Use asprintf.
9457
e3ea5409
JM
94582012-11-14 Joseph Myers <joseph@codesourcery.com>
9459
9460 * debug/pcprofiledump.c (print_version): Update copyright year.
9461 * malloc/memusagestat.c (print_version): Likewise.
9462
2e64d265
L
94632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9464
9465 [BZ #14831]
9466 * elf/Makefile (tests): Add tst-audit8.
9467 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9468 ($(objpfx)tst-audit8.out): New target.
9469 (tst-audit8-ENV): New variable.
9470 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9471 audit if l_reloc_result is NULL.
9472 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9473 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9474 * elf/tst-audit8.c: New file.
9475
c485e4d2
MS
94762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9477
9478 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9479 * misc/Makefile (CFLAGS-select.c): Define.
9480 * posix/Makefile (CFLAGS-pause.c): Define.
9481
3a0d900a
DM
94822012-11-13 David S. Miller <davem@davemloft.net>
9483
9484 * crypt/Makefile: Move test targets after toplevel Rules
9485 inclusion. Grab any necessary sysdep routines when linking.
9486 * crypt/md5.c (md5_process_block): Remove define, we will always
9487 name it __md5_process_block.
9488 (md5_finish_ctx): Update md5_process_block call.
9489 (md5_stream): Likewise.
9490 (md5_process_bytes): Likewise.
9491 (md5_process_block): Rename to __md5_process_block and move to ...
9492 * crypt/md5-block.c: ... here.
9493 * crypt/sha256.c (sha256_process_block): Move to ...
9494 * crypt/sha256-block.c: ... here.
9495 * crypt/sha512.c (sha512_process_block): Move to ...
9496 * crypt/sha512-block.c: ... here.
9497 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9498 path.
9499 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9500 * sysdeps/sparc/sparc64/multiarch/Makefile
9501 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9502 crypt subdir.
9503 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9504 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9505 multiarch changes.
9506 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9507 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9508 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9509 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9510 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9511 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9512 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9513 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9514 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9515 file.
9516 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9517 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9518 file.
9519 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9520
8ca89318
JM
95212012-11-13 Joseph Myers <joseph@codesourcery.com>
9522
e27d476a
JM
9523 * timezone/tzselect.ksh: Update from tzcode git revision
9524 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9525 * timezone/zdump.c: Likewise.
9526 * timezone/zic.c: Likewise.
9527 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9528 in TZVERSION setting, not $(PKGVERSION).
9529 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9530 REPORT_BUGS_TO settings.
9531
8ca89318
JM
9532 [BZ #14838]
9533 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9534 macro.
9535
47594329
MS
95362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9537
9538 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9539 detection to immediately after _FP_ROUND().
9540 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9541 bits are 0.
9542
640ac3f1
DM
95432012-11-11 David S. Miller <davem@davemloft.net>
9544
9545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9546 inttypes.h
9547 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9548 __close rather than their public counterparts.
9549
3d2577bb
JM
95502012-11-10 Joseph Myers <joseph@codesourcery.com>
9551
9552 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9553 file.
9554 [UNIX98] (sem_timedwait): Do not expect.
9555 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9556 [XPG4 || UNIX98] (sockatmark): Do not expect.
9557 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9558 (clock_getcpuclockid): Do not expect.
9559 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9560 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9561 Do not expect.
9562 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9563 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9564 [UNIX98] (vwscanf): Likewise.
9565 [UNIX98] (vswscanf): Likewise.
9566
fb1ae1ee
JM
95672012-11-09 Joseph Myers <joseph@codesourcery.com>
9568
9ec6f8bd
JM
9569 * timezone/version.h: Remove file.
9570 * timezone/README: Do not refer to version.h.
9571 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9572 $(objpfx)version.h.
9573 ($(objpfx)zdump.o): Likewise.
c3f81911 9574 ($(objpfx)version.h): New target.
9ec6f8bd 9575
0aa8f8a1
JM
9576 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9577 2012i.
9578 * timezone/README: Don't mention modification to tzselect.ksh.
9579 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9580 work on unmodified tzselect.ksh. Substitute version numbers in
9581 tzselect.ksh.
9582
4e87147f
JM
9583 * Makefile (format-me): Remove.
9584 (INSTALL): Adjust indentation. Use commands directly instead of
9585 using $(format-me).
9586
8b748aed
JM
9587 * aclocal.m4 (ACX_PKGVERSION): New macro.
9588 (ACX_BUGURL): Likewise.
9589 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9590 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9591 (REPORT_BUGS_TO): Likewise.
9592 * configure: Regenerated.
9593 * config.h.in (PKGVERSION): New macro.
9594 (REPORT_BUGS_TO): Likewise.
9595 * config.make.in (PKGVERSION): New variable.
9596 (PKGVERSION_TEXI): Likewise.
9597 (REPORT_BUGS_TO): Likewise.
9598 (REPORT_BUGS_TEXI): Likewise.
9599 * Makefile (format-me): Use -I$(common-objpfx)manual.
9600 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9601 ($(common-objpfx)manual/%): New target.
9602 (manual/%): Remove target.
9603 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9604 (print_version): Use PKGVERSION.
9605 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9606 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9607 and REPORT_BUGS_TO.
9608 ($(objpfx)xtrace): Likewise.
9609 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9610 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9611 (print_version): Use PKGVERSION.
9612 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9613 (do_version): Use PKGVERSION.
9614 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9615 REPORT_BUGS_TO.
9616 (common-ldd-rewrite): Likewise.
9617 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9618 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9619 (print_version): Use PKGVERSION.
9620 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9621 * elf/pldd.c (argp_program_bug_address): Remove variable.
9622 (more_help): New function.
9623 (argp): Use more_help.
9624 (print_version): Use PKGVERSION.
9625 * elf/sln.c (main): Use PKGVERSION.
9626 (usage): Use REPORT_BUGS_TO.
9627 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9628 (top level): Use PKGVERSION.
9629 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9630 (print_version): Use PKGVERSION.
9631 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9632 (print_version): Use PKGVERSION.
9633 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9634 (print_version): Use PKGVERSION.
9635 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9636 (print_version): Use PKGVERSION.
9637 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9638 (print_version): Use PKGVERSION.
9639 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9640 (print_version): Use PKGVERSION.
9641 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9642 and BUGURL.
9643 ($(objpfx)memusage): Likewise.
9644 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9645 (do_version): Use PKGVERSION.
9646 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9647 (print_version): Use PKGVERSION.
9648 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9649 ($PKGVERSION): New variable.
9650 ($REPORT_BUGS_TO): Likewise.
9651 (usage): Use $REPORT_BUGS_TO.
9652 (top level): Use $PKGVERSION.
9653 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9654 ($(objpfx)pkgvers.texi): New rule.
9655 ($(objpfx)stamp-pkgvers): Likewise.
9656 * manual/install.texi: Include pkgvers.texi.
9657 (--with-pkgversion): Document new configure option.
9658 (--with-bugurl): Likewise.
9659 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9660 than necessarily for this particular distribution. Use
9661 REPORT_BUGS_TO for where to report bugs.
9662 * INSTALL: Regenerated.
9663 * manual/libc.texinfo: Include pkgvers.texi.
9664 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9665 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9666 (print_version): Use PKGVERSION.
9667 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9668 (print_version): Use PKGVERSION.
9669 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9670 (print_version): Use PKGVERSION.
9671 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9672 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9673 macro.
9674 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9675 (print_version): Use PKGVERSION.
9676 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9677 (print_version): Use PKGVERSION.
9678 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9679 and PKGVERSION.
9680
92e4b6a9
JM
9681 * timezone/checktab.awk: Update from tzcode 2012i.
9682 * timezone/ialloc.c: Likewise.
9683 * timezone/private.h: Likewise.
9684 * timezone/scheck.c: Likewise.
9685 * timezone/tzfile.h: Likewise.
9686 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9687 (TZVERSION): Hardcode tzcode version number.
9688 * timezone/zdump.c: Update from tzcode 2012i.
9689 * timezone/zic.c: Likewise.
9690 * timezone/version.h: New file.
9691 * timezone/README: Describe version.h. Update upstream location.
9692
9bde902c
JM
9693 [BZ #14824]
9694 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9695 (mktemp): Enable declaration.
9696 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9698 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9700 Likewise.
9701 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9702 Likewise.
9703 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9704 Likewise.
9705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9706 Likewise.
9707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9708 Likewise.
9709 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9710 Likewise.
9711
fb1ae1ee
JM
9712 [BZ #14821]
9713 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9714 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9715 for copies of such integer values.
9716 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9717 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9718
2c1adbcb
AJ
97192012-11-09 Andreas Jaeger <aj@suse.de>
9720
9721 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9722 definitions and declarations that are provided by
9723 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9724
d0f8457e
AK
97252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9726
3a235abb 9727 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9728 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9729 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9730 definition.
9731
57241e26
MS
97322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9733
9734 * elf/elf.h: Update comment before AArch64 relocations.
9735
60e8270d
DM
97362012-11-07 David S. Miller <davem@davemloft.net>
9737
9738 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9739 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9740 (__start_context): Declare.
9741 (__makecontext_ret): Delete.
9742 (__makecontext): Hook up __start_context instead of
9743 __makecontext_ret.
9744 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9745 (sysdep_routines): Add __start_context when in stdlib.
9746
0fbb0fbc
JM
97472012-11-07 Joseph Myers <joseph@codesourcery.com>
9748
9749 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9750 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9751 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9752 hardcoded "nm".
9753 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9754 (READELF): New variable. Use it instead of hardcoded "readelf".
9755
eb48db7e
L
97562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9757
9758 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9759 * sysdeps/x86/Makefile: Here.
9760 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9761 * sysdeps/x86/tst-xmmymm.sh: This.
9762
05bcf62a
JM
97632012-11-07 Joseph Myers <joseph@codesourcery.com>
9764
c4b6cf53
JM
9765 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9766 expectations.
9767 [UNIX98] (pthread_barrier_t): Do not expect.
9768 [UNIX98] (pthread_barrierattr_t): Likewise.
9769 [UNIX98] (pthread_spinlock_t): Likewise.
9770 [UNIX98] (pthread_barrier_destroy): Likewise.
9771 [UNIX98] (pthread_barrier_init): Likewise.
9772 [UNIX98] (pthread_barrier_wait): Likewise.
9773 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9774 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9775 [UNIX98] (pthread_barrierattr_init): Likewise.
9776 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9777 [UNIX98] (pthread_getcpuclockid): Likewise.
9778 [UNIX98] (pthread_mutex_timedlock): Likewise.
9779 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9780 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9781 [UNIX98] (pthread_sigmask): Likewise.
9782 [UNIX98] (pthread_spin_destroy): Likewise.
9783 [UNIX98] (pthread_spin_init): Likewise.
9784 [UNIX98] (pthread_spin_lock): Likewise.
9785 [UNIX98] (pthread_spin_trylock): Likewise.
9786 [UNIX98] (pthread_spin_unlock): Likewise.
9787 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9788 Do not expect.
9789 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9790 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9791 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9792 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9793 [XPG3 || XPG4] (pthread_key_t): Likewise.
9794 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9795 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9796 [XPG3 || XPG4] (pthread_once_t): Likewise.
9797 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9798 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9800 [XPG3 || XPG4] (pthread_t): Likewise.
9801
cbe6e120
JM
9802 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9803 not expect.
9804 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9805
1b126443
JM
9806 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9807 Change function return type to int.
9808
b961a573
JM
9809 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9810 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9811 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9812 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9813 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9814 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9815 [!POSIX] (posix_madvise): Likewise.
9816 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9817 && !UNIX98].
9818 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9819 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9820 (mode_t): Likewise.
9821 (posix_mem_offset): Likewise.
9822 (posix_typed_mem_get_info): Likewise.
9823 (posix_typed_mem_open): Likewise.
9824
9e188909
JM
9825 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9826 Change condition to [XOPEN2K8].
9827
05bcf62a
JM
9828 * conform/conformtest.pl: Preprocess allow-header data with -x c
9829 instead of from stdin.
9830 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9831 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9832 [C99-based standards] (cerfc): Likewise.
9833 [C99-based standards] (cexp2): Likewise.
9834 [C99-based standards] (cexpm1): Likewise.
9835 [C99-based standards] (clog10): Likewise.
9836 [C99-based standards] (clog1p): Likewise.
9837 [C99-based standards] (clog2): Likewise.
9838 [C99-based standards] (clgamma): Likewise.
9839 [C99-based standards] (ctgamma): Likewise.
9840 [C99-based standards] (cerff): Likewise.
9841 [C99-based standards] (cerfcf): Likewise.
9842 [C99-based standards] (cexp2f): Likewise.
9843 [C99-based standards] (cexpm1f): Likewise.
9844 [C99-based standards] (clog10f): Likewise.
9845 [C99-based standards] (clog1pf): Likewise.
9846 [C99-based standards] (clog2f): Likewise.
9847 [C99-based standards] (clgammaf): Likewise.
9848 [C99-based standards] (ctgammaf): Likewise.
9849 [C99-based standards] (cerfl): Likewise.
9850 [C99-based standards] (cerfcl): Likewise.
9851 [C99-based standards] (cexp2l): Likewise.
9852 [C99-based standards] (cexpm1l): Likewise.
9853 [C99-based standards] (clog10l): Likewise.
9854 [C99-based standards] (clog1pl): Likewise.
9855 [C99-based standards] (clog2l): Likewise.
9856 [C99-based standards] (clgammal): Likewise.
9857 [C99-based standards] (ctgammal): Likewise.
9858 * conform/data/inttypes.h-data [C99-based standards]: Include
9859 stdint.h-data. Remove all expectations for stdint.h contents.
9860 [C99-based standards] (PRI*): Do not allow.
9861 [C99-based standards] (SCN*): Likewise.
9862 [C99-based standards] (*_t): Likewise.
9863 [C99-based-standards] (PRId8): Expect macro.
9864 [C99-based-standards] (PRIi8): Likewise.
9865 [C99-based-standards] (PRIo8): Likewise.
9866 [C99-based-standards] (PRIu8): Likewise.
9867 [C99-based-standards] (PRIx8): Likewise.
9868 [C99-based-standards] (PRIX8): Likewise.
9869 [C99-based-standards] (SCNd8): Likewise.
9870 [C99-based-standards] (SCNi8): Likewise.
9871 [C99-based-standards] (SCNo8): Likewise.
9872 [C99-based-standards] (SCNu8): Likewise.
9873 [C99-based-standards] (SCNx8): Likewise.
9874 [C99-based-standards] (PRIdLEAST8): Likewise.
9875 [C99-based-standards] (PRIiLEAST8): Likewise.
9876 [C99-based-standards] (PRIoLEAST8): Likewise.
9877 [C99-based-standards] (PRIuLEAST8): Likewise.
9878 [C99-based-standards] (PRIxLEAST8): Likewise.
9879 [C99-based-standards] (PRIXLEAST8): Likewise.
9880 [C99-based-standards] (SCNdLEAST8): Likewise.
9881 [C99-based-standards] (SCNiLEAST8): Likewise.
9882 [C99-based-standards] (SCNoLEAST8): Likewise.
9883 [C99-based-standards] (SCNuLEAST8): Likewise.
9884 [C99-based-standards] (SCNxLEAST8): Likewise.
9885 [C99-based-standards] (PRIdFAST8): Likewise.
9886 [C99-based-standards] (PRIiFAST8): Likewise.
9887 [C99-based-standards] (PRIoFAST8): Likewise.
9888 [C99-based-standards] (PRIuFAST8): Likewise.
9889 [C99-based-standards] (PRIxFAST8): Likewise.
9890 [C99-based-standards] (PRIXFAST8): Likewise.
9891 [C99-based-standards] (SCNdFAST8): Likewise.
9892 [C99-based-standards] (SCNiFAST8): Likewise.
9893 [C99-based-standards] (SCNoFAST8): Likewise.
9894 [C99-based-standards] (SCNuFAST8): Likewise.
9895 [C99-based-standards] (SCNxFAST8): Likewise.
9896 [C99-based-standards] (PRId16): Likewise.
9897 [C99-based-standards] (PRIi16): Likewise.
9898 [C99-based-standards] (PRIo16): Likewise.
9899 [C99-based-standards] (PRIu16): Likewise.
9900 [C99-based-standards] (PRIx16): Likewise.
9901 [C99-based-standards] (PRIX16): Likewise.
9902 [C99-based-standards] (SCNd16): Likewise.
9903 [C99-based-standards] (SCNi16): Likewise.
9904 [C99-based-standards] (SCNo16): Likewise.
9905 [C99-based-standards] (SCNu16): Likewise.
9906 [C99-based-standards] (SCNx16): Likewise.
9907 [C99-based-standards] (PRIdLEAST16): Likewise.
9908 [C99-based-standards] (PRIiLEAST16): Likewise.
9909 [C99-based-standards] (PRIoLEAST16): Likewise.
9910 [C99-based-standards] (PRIuLEAST16): Likewise.
9911 [C99-based-standards] (PRIxLEAST16): Likewise.
9912 [C99-based-standards] (PRIXLEAST16): Likewise.
9913 [C99-based-standards] (SCNdLEAST16): Likewise.
9914 [C99-based-standards] (SCNiLEAST16): Likewise.
9915 [C99-based-standards] (SCNoLEAST16): Likewise.
9916 [C99-based-standards] (SCNuLEAST16): Likewise.
9917 [C99-based-standards] (SCNxLEAST16): Likewise.
9918 [C99-based-standards] (PRIdFAST16): Likewise.
9919 [C99-based-standards] (PRIiFAST16): Likewise.
9920 [C99-based-standards] (PRIoFAST16): Likewise.
9921 [C99-based-standards] (PRIuFAST16): Likewise.
9922 [C99-based-standards] (PRIxFAST16): Likewise.
9923 [C99-based-standards] (PRIXFAST16): Likewise.
9924 [C99-based-standards] (SCNdFAST16): Likewise.
9925 [C99-based-standards] (SCNiFAST16): Likewise.
9926 [C99-based-standards] (SCNoFAST16): Likewise.
9927 [C99-based-standards] (SCNuFAST16): Likewise.
9928 [C99-based-standards] (SCNxFAST16): Likewise.
9929 [C99-based-standards] (PRId32): Likewise.
9930 [C99-based-standards] (PRIi32): Likewise.
9931 [C99-based-standards] (PRIo32): Likewise.
9932 [C99-based-standards] (PRIu32): Likewise.
9933 [C99-based-standards] (PRIx32): Likewise.
9934 [C99-based-standards] (PRIX32): Likewise.
9935 [C99-based-standards] (SCNd32): Likewise.
9936 [C99-based-standards] (SCNi32): Likewise.
9937 [C99-based-standards] (SCNo32): Likewise.
9938 [C99-based-standards] (SCNu32): Likewise.
9939 [C99-based-standards] (SCNx32): Likewise.
9940 [C99-based-standards] (PRIdLEAST32): Likewise.
9941 [C99-based-standards] (PRIiLEAST32): Likewise.
9942 [C99-based-standards] (PRIoLEAST32): Likewise.
9943 [C99-based-standards] (PRIuLEAST32): Likewise.
9944 [C99-based-standards] (PRIxLEAST32): Likewise.
9945 [C99-based-standards] (PRIXLEAST32): Likewise.
9946 [C99-based-standards] (SCNdLEAST32): Likewise.
9947 [C99-based-standards] (SCNiLEAST32): Likewise.
9948 [C99-based-standards] (SCNoLEAST32): Likewise.
9949 [C99-based-standards] (SCNuLEAST32): Likewise.
9950 [C99-based-standards] (SCNxLEAST32): Likewise.
9951 [C99-based-standards] (PRIdFAST32): Likewise.
9952 [C99-based-standards] (PRIiFAST32): Likewise.
9953 [C99-based-standards] (PRIoFAST32): Likewise.
9954 [C99-based-standards] (PRIuFAST32): Likewise.
9955 [C99-based-standards] (PRIxFAST32): Likewise.
9956 [C99-based-standards] (PRIXFAST32): Likewise.
9957 [C99-based-standards] (SCNdFAST32): Likewise.
9958 [C99-based-standards] (SCNiFAST32): Likewise.
9959 [C99-based-standards] (SCNoFAST32): Likewise.
9960 [C99-based-standards] (SCNuFAST32): Likewise.
9961 [C99-based-standards] (SCNxFAST32): Likewise.
9962 [C99-based-standards] (PRId64): Likewise.
9963 [C99-based-standards] (PRIi64): Likewise.
9964 [C99-based-standards] (PRIo64): Likewise.
9965 [C99-based-standards] (PRIu64): Likewise.
9966 [C99-based-standards] (PRIx64): Likewise.
9967 [C99-based-standards] (PRIX64): Likewise.
9968 [C99-based-standards] (SCNd64): Likewise.
9969 [C99-based-standards] (SCNi64): Likewise.
9970 [C99-based-standards] (SCNo64): Likewise.
9971 [C99-based-standards] (SCNu64): Likewise.
9972 [C99-based-standards] (SCNx64): Likewise.
9973 [C99-based-standards] (PRIdLEAST64): Likewise.
9974 [C99-based-standards] (PRIiLEAST64): Likewise.
9975 [C99-based-standards] (PRIoLEAST64): Likewise.
9976 [C99-based-standards] (PRIuLEAST64): Likewise.
9977 [C99-based-standards] (PRIxLEAST64): Likewise.
9978 [C99-based-standards] (PRIXLEAST64): Likewise.
9979 [C99-based-standards] (SCNdLEAST64): Likewise.
9980 [C99-based-standards] (SCNiLEAST64): Likewise.
9981 [C99-based-standards] (SCNoLEAST64): Likewise.
9982 [C99-based-standards] (SCNuLEAST64): Likewise.
9983 [C99-based-standards] (SCNxLEAST64): Likewise.
9984 [C99-based-standards] (PRIdFAST64): Likewise.
9985 [C99-based-standards] (PRIiFAST64): Likewise.
9986 [C99-based-standards] (PRIoFAST64): Likewise.
9987 [C99-based-standards] (PRIuFAST64): Likewise.
9988 [C99-based-standards] (PRIxFAST64): Likewise.
9989 [C99-based-standards] (PRIXFAST64): Likewise.
9990 [C99-based-standards] (SCNdFAST64): Likewise.
9991 [C99-based-standards] (SCNiFAST64): Likewise.
9992 [C99-based-standards] (SCNoFAST64): Likewise.
9993 [C99-based-standards] (SCNuFAST64): Likewise.
9994 [C99-based-standards] (SCNxFAST64): Likewise.
9995 [C99-based-standards] (PRIdMAX): Likewise.
9996 [C99-based-standards] (PRIiMAX): Likewise.
9997 [C99-based-standards] (PRIoMAX): Likewise.
9998 [C99-based-standards] (PRIuMAX): Likewise.
9999 [C99-based-standards] (PRIxMAX): Likewise.
10000 [C99-based-standards] (PRIXMAX): Likewise.
10001 [C99-based-standards] (SCNdMAX): Likewise.
10002 [C99-based-standards] (SCNiMAX): Likewise.
10003 [C99-based-standards] (SCNoMAX): Likewise.
10004 [C99-based-standards] (SCNuMAX): Likewise.
10005 [C99-based-standards] (SCNxMAX): Likewise.
10006 [C99-based-standards] (PRIdPTR): Likewise.
10007 [C99-based-standards] (PRIiPTR): Likewise.
10008 [C99-based-standards] (PRIoPTR): Likewise.
10009 [C99-based-standards] (PRIuPTR): Likewise.
10010 [C99-based-standards] (PRIxPTR): Likewise.
10011 [C99-based-standards] (PRIXPTR): Likewise.
10012 [C99-based-standards] (SCNdPTR): Likewise.
10013 [C99-based-standards] (SCNiPTR): Likewise.
10014 [C99-based-standards] (SCNoPTR): Likewise.
10015 [C99-based-standards] (SCNuPTR): Likewise.
10016 [C99-based-standards] (SCNxPTR): Likewise.
10017 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10018 allow.
10019 * conform/data/stdint.h-data: Update comments to clarify
10020 requirements.
10021 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10022 type.
10023 [C99-based standards] (INT8_MAX): Likewise.
10024 [C99-based standards] (INT16_MIN): Likewise.
10025 [C99-based standards] (INT16_MAX): Likewise.
10026 [C99-based standards] (INT32_MIN): Likewise.
10027 [C99-based standards] (INT32_MAX): Likewise.
10028 [C99-based standards] (INT64_MIN): Likewise.
10029 [C99-based standards] (INT64_MAX): Likewise.
10030 [C99-based standards] (UINT8_MAX): Likewise.
10031 [C99-based standards] (UINT16_MAX): Likewise.
10032 [C99-based standards] (UINT32_MAX): Likewise.
10033 [C99-based standards] (UINT64_MAX): Likewise.
10034 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10035 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10036 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10037 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10038 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10039 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10040 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10041 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10042 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10043 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10044 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10045 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10046 [C99-based standards] (INT_FAST8_MIN): Likewise.
10047 [C99-based standards] (INT_FAST8_MAX): Likewise.
10048 [C99-based standards] (INT_FAST16_MIN): Likewise.
10049 [C99-based standards] (INT_FAST16_MAX): Likewise.
10050 [C99-based standards] (INT_FAST32_MIN): Likewise.
10051 [C99-based standards] (INT_FAST32_MAX): Likewise.
10052 [C99-based standards] (INT_FAST64_MIN): Likewise.
10053 [C99-based standards] (INT_FAST64_MAX): Likewise.
10054 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10055 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10056 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10057 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10058 [C99-based standards] (INTPTR_MIN): Likewise.
10059 [C99-based standards] (INTPTR_MAX): Likewise.
10060 [C99-based standards] (UINTPTR_MAX): Likewise.
10061 [C99-based standards] (INTMAX_MIN): Likewise.
10062 [C99-based standards] (INTMAX_MAX): Likewise.
10063 [C99-based standards] (UINTMAX_MAX): Likewise.
10064 [C99-based standards] (PTRDIFF_MIN): Likewise.
10065 [C99-based standards] (PTRDIFF_MAX): Likewise.
10066 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10067 [C99-based standards] (SIZE_MAX): Likewise.
10068 [C99-based standards] (WCHAR_MAX): Likewise.
10069 [C99-based standards] (WINT_MAX): Likewise.
10070 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10071 constraint on value.
10072 [C99-based standards] (WCHAR_MIN): Likewise.
10073 [C99-based standards] (WINT_MIN): Likewise.
10074 [C99-based standards] (*_t): Allow.
10075 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10076 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10077 Include math.h-data and complex.h-data. Remove all expectations
10078 of math.h and complex.h contents.
10079 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10080 at end of line.
10081 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10082 (struct tm): Expect tag.
10083 [C99-based-standards] (wcstof): Expect function.
10084 [C99-based-standards] (wcstold): Likewise.
10085 [C99-based-standards] (wcstoll): Likewise.
10086 [C99-based-standards] (wcstoull): Likewise.
10087 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10088 macro-int-constant. Specify type.
10089 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10090 constraint on value.
10091 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10092 Specify type.
10093 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10094 Specify value.
10095 [ISO C standards]: Do not allow headers.
10096 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10097 wcs[abcdefghijklmnopqrstuvwxyz]*.
10098 [ISO C standards] (*_t): Do not allow.
10099 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10100 Expect function.
10101 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10102 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10103 Specify type.
10104 [ISO C standards]: Do not allow headers.
10105 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10106 is[abcdefghijklmnopqrstuvwxyz]*.
10107 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10108 to[abcdefghijklmnopqrstuvwxyz]*.
10109 [ISO C standards] (*_t): Do not allow.
10110 * conform/data/stdalign.h-data: New file.
10111 * conform/data/stdbool.h-data: Likewise.
10112 * conform/data/stdnoreturn.h-data: Likewise.
10113
7514feb8
RM
101142012-11-07 Roland McGrath <roland@hack.frob.com>
10115
10116 [BZ #14815]
10117 * manual/filesys.texi (Directory Entries): Typo fix.
10118 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10119
19b2ecfc
MS
101202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10121
10122 * elf/elf.h (EM_AARCH64): New macro.
10123 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10124 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10125 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10126 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10127 (R_AARCH64_TLSDESC): Likewise.
10128 (NT_ARM_TLS): Likewise.
10129 (NT_ARM_HW_BREAK): Likewise.
10130 (NT_ARM_HW_WATCH): Likewise.
10131
60e235ee
JM
101322012-11-07 Joseph Myers <joseph@codesourcery.com>
10133
10134 [BZ #14811]
10135 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10136 (__ieee754_powl): Saturate nonzero exponents with absolute value
10137 below 0x1p-79 to +/- 0x1p-79.
10138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10139 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10140 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10141 nonzero exponents with absolute value below 0x1p-32 to +/-
10142 0x1p-32.
10143 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10144 (__ieee754_powl): Saturate nonzero exponents with absolute value
10145 below 0x1p-79 to +/- 0x1p-79.
10146 * math/libm-test.inc (pow_test): Add more tests.
10147
0ab234b7
AK
101482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10149
10150 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10151 _dl_s390_cap_flags with kernel. Increase string length.
10152 (_dl_s390_platforms): Add z196 and zEC12.
10153
45832f74
JM
101542012-11-07 Joseph Myers <joseph@codesourcery.com>
10155
10156 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10157 Change XOPEN21K to XOPEN2K.
10158
19218757
MK
101592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10160
10161 * string/memmove.c: Use memcpy when possible.
10162
c5f45721
AJ
101632012-11-06 Andreas Jaeger <aj@suse.de>
10164
10165 * po/eo.po: Update from translation team.
10166
82477c28
JM
101672012-11-06 Joseph Myers <joseph@codesourcery.com>
10168
10169 [BZ #14793]
10170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10171 exponent and small x and y exponents, scale x or y up. Increase
10172 by 2 the exponent used in scaling up.
10173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10174 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10175 * math/libm-test.inc (fma_test): Add more tests.
10176 (fma_test_towardzero): Likewise.
10177 (fma_test_downward): Likewise.
10178 (fma_test_upward): Likewise.
10179
99252c8c
JM
101802012-11-05 Joseph Myers <joseph@codesourcery.com>
10181
acfa885f
JM
10182 [BZ #14805]
10183 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10184 fenv_t *.
10185
99252c8c
JM
10186 [BZ #14801]
10187 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10188 namespace for names of struct fields.
10189 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10190 fenv_t fields.
10191 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10192 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10193
d6d98dea
ST
101942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10195
10196 [BZ #3665]
10197 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10198
e10bb107
TS
101992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10200
10201 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10202 PTR_DEMANGLE.
10203
10204 [BZ #5246]
10205 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10206 PTR_DEMANGLE.
10207
a0c2940d
JM
102082012-11-04 Joseph Myers <joseph@codesourcery.com>
10209
10210 [BZ #14797]
10211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10212 definitely overflow as x * y not x * y + z.
10213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10214 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10215 * math/libm-test.inc (fma_test): Add more tests.
10216 (fma_test_towardzero): Likewise.
10217 (fma_test_downward): Likewise.
10218 (fma_test_upward): Likewise.
10219
b830319d
TS
102202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10221
10222 [BZ #157]
10223
10224 * include/stub-tag.h: Remove file.
10225 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10226 '#include' of it.
10227 * manual/maint.texi (Porting): Don't reference it.
10228 * Makerules ($(objpfx)stubs): Likewise.
10229 * dirent/closedir.c: Don't include <stub-tag.h>.
10230 * dirent/dirfd.c: Likewise.
10231 * dirent/fdopendir.c: Likewise.
10232 * dirent/getdents.c: Likewise.
10233 * dirent/getdents64.c: Likewise.
10234 * dirent/opendir.c: Likewise.
10235 * dirent/readdir.c: Likewise.
10236 * dirent/readdir64.c: Likewise.
10237 * dirent/readdir64_r.c: Likewise.
10238 * dirent/readdir_r.c: Likewise.
10239 * dirent/rewinddir.c: Likewise.
10240 * dirent/seekdir.c: Likewise.
10241 * dirent/telldir.c: Likewise.
10242 * gmon/profil.c: Likewise.
10243 * grp/setgroups.c: Likewise.
10244 * inet/if_index.c: Likewise.
10245 * io/access.c: Likewise.
10246 * io/chdir.c: Likewise.
10247 * io/chmod.c: Likewise.
10248 * io/chown.c: Likewise.
10249 * io/close.c: Likewise.
10250 * io/dup.c: Likewise.
10251 * io/dup2.c: Likewise.
10252 * io/dup3.c: Likewise.
10253 * io/euidaccess.c: Likewise.
10254 * io/faccessat.c: Likewise.
10255 * io/fchdir.c: Likewise.
10256 * io/fchmod.c: Likewise.
10257 * io/fchmodat.c: Likewise.
10258 * io/fchown.c: Likewise.
10259 * io/fchownat.c: Likewise.
10260 * io/fcntl.c: Likewise.
10261 * io/flock.c: Likewise.
10262 * io/fstatfs.c: Likewise.
10263 * io/fstatfs64.c: Likewise.
10264 * io/fstatvfs.c: Likewise.
10265 * io/fstatvfs64.c: Likewise.
10266 * io/futimens.c: Likewise.
10267 * io/fxstat.c: Likewise.
10268 * io/fxstat64.c: Likewise.
10269 * io/fxstatat.c: Likewise.
10270 * io/fxstatat64.c: Likewise.
10271 * io/getcwd.c: Likewise.
10272 * io/isatty.c: Likewise.
10273 * io/lchmod.c: Likewise.
10274 * io/lchown.c: Likewise.
10275 * io/link.c: Likewise.
10276 * io/linkat.c: Likewise.
10277 * io/lseek.c: Likewise.
10278 * io/lseek64.c: Likewise.
10279 * io/lxstat64.c: Likewise.
10280 * io/mkdir.c: Likewise.
10281 * io/mkdirat.c: Likewise.
10282 * io/mkfifo.c: Likewise.
10283 * io/mkfifoat.c: Likewise.
10284 * io/open.c: Likewise.
10285 * io/open64.c: Likewise.
10286 * io/openat.c: Likewise.
10287 * io/openat64.c: Likewise.
10288 * io/pipe.c: Likewise.
10289 * io/pipe2.c: Likewise.
10290 * io/poll.c: Likewise.
10291 * io/posix_fadvise.c: Likewise.
10292 * io/posix_fadvise64.c: Likewise.
10293 * io/posix_fallocate.c: Likewise.
10294 * io/posix_fallocate64.c: Likewise.
10295 * io/read.c: Likewise.
10296 * io/readlink.c: Likewise.
10297 * io/readlinkat.c: Likewise.
10298 * io/rmdir.c: Likewise.
10299 * io/sendfile.c: Likewise.
10300 * io/sendfile64.c: Likewise.
10301 * io/statfs.c: Likewise.
10302 * io/statfs64.c: Likewise.
10303 * io/statvfs.c: Likewise.
10304 * io/statvfs64.c: Likewise.
10305 * io/symlink.c: Likewise.
10306 * io/symlinkat.c: Likewise.
10307 * io/ttyname.c: Likewise.
10308 * io/ttyname_r.c: Likewise.
10309 * io/umask.c: Likewise.
10310 * io/unlink.c: Likewise.
10311 * io/unlinkat.c: Likewise.
10312 * io/utime.c: Likewise.
10313 * io/utimensat.c: Likewise.
10314 * io/write.c: Likewise.
10315 * io/xmknod.c: Likewise.
10316 * io/xmknodat.c: Likewise.
10317 * io/xstat.c: Likewise.
10318 * io/xstat64.c: Likewise.
10319 * login/getpt.c: Likewise.
10320 * login/grantpt.c: Likewise.
10321 * login/unlockpt.c: Likewise.
10322 * math/e_acoshl.c: Likewise.
10323 * math/e_acosl.c: Likewise.
10324 * math/e_asinl.c: Likewise.
10325 * math/e_atan2l.c: Likewise.
10326 * math/e_atanhl.c: Likewise.
10327 * math/e_coshl.c: Likewise.
10328 * math/e_expl.c: Likewise.
10329 * math/e_fmodl.c: Likewise.
10330 * math/e_gammal_r.c: Likewise.
10331 * math/e_hypotl.c: Likewise.
10332 * math/e_j0l.c: Likewise.
10333 * math/e_j1l.c: Likewise.
10334 * math/e_jnl.c: Likewise.
10335 * math/e_lgammal_r.c: Likewise.
10336 * math/e_log10l.c: Likewise.
10337 * math/e_log2l.c: Likewise.
10338 * math/e_logl.c: Likewise.
10339 * math/e_powl.c: Likewise.
10340 * math/e_rem_pio2l.c: Likewise.
10341 * math/e_sinhl.c: Likewise.
10342 * math/e_sqrtl.c: Likewise.
10343 * math/fclrexcpt.c: Likewise.
10344 * math/fedisblxcpt.c: Likewise.
10345 * math/feenablxcpt.c: Likewise.
10346 * math/fegetenv.c: Likewise.
10347 * math/fegetexcept.c: Likewise.
10348 * math/fegetround.c: Likewise.
10349 * math/feholdexcpt.c: Likewise.
10350 * math/fesetenv.c: Likewise.
10351 * math/fesetround.c: Likewise.
10352 * math/feupdateenv.c: Likewise.
10353 * math/fgetexcptflg.c: Likewise.
10354 * math/fraiseexcpt.c: Likewise.
10355 * math/fsetexcptflg.c: Likewise.
10356 * math/ftestexcept.c: Likewise.
10357 * math/k_cosl.c: Likewise.
10358 * math/k_rem_pio2l.c: Likewise.
10359 * math/k_sinl.c: Likewise.
10360 * math/k_tanl.c: Likewise.
10361 * math/s_asinhl.c: Likewise.
10362 * math/s_atanl.c: Likewise.
10363 * math/s_cbrtl.c: Likewise.
10364 * math/s_erfl.c: Likewise.
10365 * math/s_expm1l.c: Likewise.
10366 * math/s_log1pl.c: Likewise.
10367 * math/s_tanhl.c: Likewise.
10368 * misc/acct.c: Likewise.
10369 * misc/brk.c: Likewise.
10370 * misc/chflags.c: Likewise.
10371 * misc/chroot.c: Likewise.
10372 * misc/fchflags.c: Likewise.
10373 * misc/fgetxattr.c: Likewise.
10374 * misc/flistxattr.c: Likewise.
10375 * misc/fremovexattr.c: Likewise.
10376 * misc/fsetxattr.c: Likewise.
10377 * misc/fsync.c: Likewise.
10378 * misc/ftruncate.c: Likewise.
10379 * misc/futimes.c: Likewise.
10380 * misc/futimesat.c: Likewise.
10381 * misc/getdomain.c: Likewise.
10382 * misc/getdtsz.c: Likewise.
10383 * misc/gethostid.c: Likewise.
10384 * misc/gethostname.c: Likewise.
10385 * misc/getloadavg.c: Likewise.
10386 * misc/getpagesize.c: Likewise.
10387 * misc/getsysstats.c: Likewise.
10388 * misc/getxattr.c: Likewise.
10389 * misc/gtty.c: Likewise.
10390 * misc/ioctl.c: Likewise.
10391 * misc/lgetxattr.c: Likewise.
10392 * misc/listxattr.c: Likewise.
10393 * misc/llistxattr.c: Likewise.
10394 * misc/lremovexattr.c: Likewise.
10395 * misc/lsetxattr.c: Likewise.
10396 * misc/lutimes.c: Likewise.
10397 * misc/madvise.c: Likewise.
10398 * misc/mincore.c: Likewise.
10399 * misc/mlock.c: Likewise.
10400 * misc/mlockall.c: Likewise.
10401 * misc/mmap.c: Likewise.
10402 * misc/mprotect.c: Likewise.
10403 * misc/msync.c: Likewise.
10404 * misc/munlock.c: Likewise.
10405 * misc/munlockall.c: Likewise.
10406 * misc/munmap.c: Likewise.
10407 * misc/preadv.c: Likewise.
10408 * misc/preadv64.c: Likewise.
10409 * misc/ptrace.c: Likewise.
10410 * misc/pwritev.c: Likewise.
10411 * misc/pwritev64.c: Likewise.
10412 * misc/readv.c: Likewise.
10413 * misc/reboot.c: Likewise.
10414 * misc/remap_file_pages.c: Likewise.
10415 * misc/removexattr.c: Likewise.
10416 * misc/revoke.c: Likewise.
10417 * misc/select.c: Likewise.
10418 * misc/setdomain.c: Likewise.
10419 * misc/setegid.c: Likewise.
10420 * misc/seteuid.c: Likewise.
10421 * misc/sethostid.c: Likewise.
10422 * misc/sethostname.c: Likewise.
10423 * misc/setregid.c: Likewise.
10424 * misc/setreuid.c: Likewise.
10425 * misc/setxattr.c: Likewise.
10426 * misc/sstk.c: Likewise.
10427 * misc/stty.c: Likewise.
10428 * misc/swapoff.c: Likewise.
10429 * misc/swapon.c: Likewise.
10430 * misc/sync.c: Likewise.
10431 * misc/syncfs.c: Likewise.
10432 * misc/syscall.c: Likewise.
10433 * misc/truncate.c: Likewise.
10434 * misc/ualarm.c: Likewise.
10435 * misc/usleep.c: Likewise.
10436 * misc/ustat.c: Likewise.
10437 * misc/utimes.c: Likewise.
10438 * misc/vhangup.c: Likewise.
10439 * misc/writev.c: Likewise.
10440 * posix/_exit.c: Likewise.
10441 * posix/alarm.c: Likewise.
10442 * posix/execve.c: Likewise.
10443 * posix/fexecve.c: Likewise.
10444 * posix/fork.c: Likewise.
10445 * posix/fpathconf.c: Likewise.
10446 * posix/getaddrinfo.c: Likewise.
10447 * posix/getegid.c: Likewise.
10448 * posix/geteuid.c: Likewise.
10449 * posix/getgid.c: Likewise.
10450 * posix/getgroups.c: Likewise.
10451 * posix/getlogin.c: Likewise.
10452 * posix/getlogin_r.c: Likewise.
10453 * posix/getpgid.c: Likewise.
10454 * posix/getpid.c: Likewise.
10455 * posix/getppid.c: Likewise.
10456 * posix/getresgid.c: Likewise.
10457 * posix/getresuid.c: Likewise.
10458 * posix/getsid.c: Likewise.
10459 * posix/getuid.c: Likewise.
10460 * posix/glob64.c: Likewise.
10461 * posix/nanosleep.c: Likewise.
10462 * posix/pathconf.c: Likewise.
10463 * posix/pause.c: Likewise.
10464 * posix/posix_madvise.c: Likewise.
10465 * posix/pread.c: Likewise.
10466 * posix/pread64.c: Likewise.
10467 * posix/pwrite.c: Likewise.
10468 * posix/pwrite64.c: Likewise.
10469 * posix/sched_getaffinity.c: Likewise.
10470 * posix/sched_getp.c: Likewise.
10471 * posix/sched_gets.c: Likewise.
10472 * posix/sched_primax.c: Likewise.
10473 * posix/sched_primin.c: Likewise.
10474 * posix/sched_rr_gi.c: Likewise.
10475 * posix/sched_setaffinity.c: Likewise.
10476 * posix/sched_setp.c: Likewise.
10477 * posix/sched_sets.c: Likewise.
10478 * posix/sched_yield.c: Likewise.
10479 * posix/setgid.c: Likewise.
10480 * posix/setlogin.c: Likewise.
10481 * posix/setpgid.c: Likewise.
10482 * posix/setresgid.c: Likewise.
10483 * posix/setresuid.c: Likewise.
10484 * posix/setsid.c: Likewise.
10485 * posix/setuid.c: Likewise.
10486 * posix/sleep.c: Likewise.
10487 * posix/spawni.c: Likewise.
10488 * posix/sysconf.c: Likewise.
10489 * posix/times.c: Likewise.
10490 * posix/wait.c: Likewise.
10491 * posix/wait3.c: Likewise.
10492 * posix/wait4.c: Likewise.
10493 * posix/waitpid.c: Likewise.
10494 * resolv/gai_sigqueue.c: Likewise.
10495 * resource/getpriority.c: Likewise.
10496 * resource/getrlimit.c: Likewise.
10497 * resource/getrusage.c: Likewise.
10498 * resource/nice.c: Likewise.
10499 * resource/setpriority.c: Likewise.
10500 * resource/setrlimit.c: Likewise.
10501 * resource/ulimit.c: Likewise.
10502 * rt/aio_cancel.c: Likewise.
10503 * rt/aio_fsync.c: Likewise.
10504 * rt/aio_read.c: Likewise.
10505 * rt/aio_sigqueue.c: Likewise.
10506 * rt/aio_suspend.c: Likewise.
10507 * rt/aio_write.c: Likewise.
10508 * rt/clock_getres.c: Likewise.
10509 * rt/clock_gettime.c: Likewise.
10510 * rt/clock_nanosleep.c: Likewise.
10511 * rt/clock_settime.c: Likewise.
10512 * rt/lio_listio.c: Likewise.
10513 * rt/mq_close.c: Likewise.
10514 * rt/mq_getattr.c: Likewise.
10515 * rt/mq_notify.c: Likewise.
10516 * rt/mq_open.c: Likewise.
10517 * rt/mq_receive.c: Likewise.
10518 * rt/mq_send.c: Likewise.
10519 * rt/mq_setattr.c: Likewise.
10520 * rt/mq_timedreceive.c: Likewise.
10521 * rt/mq_timedsend.c: Likewise.
10522 * rt/mq_unlink.c: Likewise.
10523 * rt/shm_open.c: Likewise.
10524 * rt/shm_unlink.c: Likewise.
10525 * rt/timer_create.c: Likewise.
10526 * rt/timer_delete.c: Likewise.
10527 * rt/timer_getoverr.c: Likewise.
10528 * rt/timer_gettime.c: Likewise.
10529 * rt/timer_settime.c: Likewise.
10530 * setjmp/__longjmp.c: Likewise.
10531 * setjmp/setjmp.c: Likewise.
10532 * signal/kill.c: Likewise.
10533 * signal/killpg.c: Likewise.
10534 * signal/raise.c: Likewise.
10535 * signal/sigaction.c: Likewise.
10536 * signal/sigaltstack.c: Likewise.
10537 * signal/sigblock.c: Likewise.
10538 * signal/sigignore.c: Likewise.
10539 * signal/sigintr.c: Likewise.
10540 * signal/signal.c: Likewise.
10541 * signal/sigpause.c: Likewise.
10542 * signal/sigpending.c: Likewise.
10543 * signal/sigqueue.c: Likewise.
10544 * signal/sigreturn.c: Likewise.
10545 * signal/sigset.c: Likewise.
10546 * signal/sigsetmask.c: Likewise.
10547 * signal/sigstack.c: Likewise.
10548 * signal/sigsuspend.c: Likewise.
10549 * signal/sigtimedwait.c: Likewise.
10550 * signal/sigvec.c: Likewise.
10551 * signal/sigwait.c: Likewise.
10552 * signal/sigwaitinfo.c: Likewise.
10553 * signal/sysv_signal.c: Likewise.
10554 * socket/accept.c: Likewise.
10555 * socket/accept4.c: Likewise.
10556 * socket/bind.c: Likewise.
10557 * socket/connect.c: Likewise.
10558 * socket/getpeername.c: Likewise.
10559 * socket/getsockname.c: Likewise.
10560 * socket/getsockopt.c: Likewise.
10561 * socket/isfdtype.c: Likewise.
10562 * socket/listen.c: Likewise.
10563 * socket/recv.c: Likewise.
10564 * socket/recvfrom.c: Likewise.
10565 * socket/recvmsg.c: Likewise.
10566 * socket/send.c: Likewise.
10567 * socket/sendmsg.c: Likewise.
10568 * socket/sendto.c: Likewise.
10569 * socket/setsockopt.c: Likewise.
10570 * socket/shutdown.c: Likewise.
10571 * socket/sockatmark.c: Likewise.
10572 * socket/socket.c: Likewise.
10573 * socket/socketpair.c: Likewise.
10574 * stdio-common/ctermid.c: Likewise.
10575 * stdio-common/cuserid.c: Likewise.
10576 * stdio-common/remove.c: Likewise.
10577 * stdio-common/rename.c: Likewise.
10578 * stdio-common/renameat.c: Likewise.
10579 * stdio-common/tempname.c: Likewise.
10580 * stdlib/getcontext.c: Likewise.
10581 * stdlib/makecontext.c: Likewise.
10582 * stdlib/setcontext.c: Likewise.
10583 * stdlib/swapcontext.c: Likewise.
10584 * stdlib/system.c: Likewise.
10585 * streams/fattach.c: Likewise.
10586 * streams/fdetach.c: Likewise.
10587 * streams/getmsg.c: Likewise.
10588 * streams/getpmsg.c: Likewise.
10589 * streams/putmsg.c: Likewise.
10590 * streams/putpmsg.c: Likewise.
10591 * sysdeps/unix/bsd/getpt.c: Likewise.
10592 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10593 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10594 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10596 Likewise.
10597 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10598 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10599 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10600 * sysvipc/msgctl.c: Likewise.
10601 * sysvipc/msgget.c: Likewise.
10602 * sysvipc/msgrcv.c: Likewise.
10603 * sysvipc/msgsnd.c: Likewise.
10604 * sysvipc/semctl.c: Likewise.
10605 * sysvipc/semget.c: Likewise.
10606 * sysvipc/semop.c: Likewise.
10607 * sysvipc/semtimedop.c: Likewise.
10608 * sysvipc/shmat.c: Likewise.
10609 * sysvipc/shmctl.c: Likewise.
10610 * sysvipc/shmdt.c: Likewise.
10611 * sysvipc/shmget.c: Likewise.
10612 * termios/tcdrain.c: Likewise.
10613 * termios/tcflow.c: Likewise.
10614 * termios/tcflush.c: Likewise.
10615 * termios/tcgetattr.c: Likewise.
10616 * termios/tcgetpgrp.c: Likewise.
10617 * termios/tcsendbrk.c: Likewise.
10618 * termios/tcsetattr.c: Likewise.
10619 * termios/tcsetpgrp.c: Likewise.
10620 * time/adjtime.c: Likewise.
10621 * time/clock.c: Likewise.
10622 * time/getitimer.c: Likewise.
10623 * time/gettimeofday.c: Likewise.
10624 * time/setitimer.c: Likewise.
10625 * time/settimeofday.c: Likewise.
10626 * time/stime.c: Likewise.
10627 * time/time.c: Likewise.
10628
106292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10630
a20492cf
PT
10631 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10632 /usr/old/bin.
10633
72e182e3
PT
10634 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10635 instead of spaces.
10636 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10637
fbeafede
JM
106382012-11-03 Joseph Myers <joseph@codesourcery.com>
10639
5b5b04d6
JM
10640 [BZ #14796]
10641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10642 FE_TONEAREST before applying Dekker multiplication and Knuth
10643 addition. Clear inexact exceptions and check for exact zero
10644 results afterwards.
10645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10646 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10648 * math/libm-test.inc (fma_test): Add more tests.
10649 (fma_test_towardzero): Likewise.
10650 (fma_test_downward): Likewise.
10651 (fma_test_upward): Likewise.
10652 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10653 function.
10654 (libc_fesetround): New macro.
10655 (libc_fesetroundf): Likewise.
10656 (libc_fesetroundl): Likewise.
10657 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10658 function.
10659 (libc_fesetround_387): Likewise.
10660 (libc_fesetroundf): New macro.
10661 (libc_fesetround): Likewise.
10662 (libc_fesetroundl): Likewise.
10663 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10664 function.
10665 (libc_fesetroundf): New macro.
10666 (libc_fesetround): Likewise.
10667 (libc_fesetroundl): Likewise.
10668 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10669 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10670 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10671 libm_hidden_ver.
10672 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10673 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10674 libm_hidden_def.
10675 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10676 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10677 libm_hidden_ver.
10678 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10679 libm_hidden_def.
10680
fbeafede
JM
10681 [BZ #3439]
10682 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10683 integer constant usable in #if and use that to give value to enum
10684 constant.
10685 (FE_DIVBYZERO): Likewise.
10686 (FE_UNDERFLOW): Likewise.
10687 (FE_OVERFLOW): Likewise.
10688 (FE_INVALID): Likewise.
10689 (FE_INVALID_SNAN): Likewise.
10690 (FE_INVALID_ISI): Likewise.
10691 (FE_INVALID_IDI): Likewise.
10692 (FE_INVALID_ZDZ): Likewise.
10693 (FE_INVALID_IMZ): Likewise.
10694 (FE_INVALID_COMPARE): Likewise.
10695 (FE_INVALID_SOFTWARE): Likewise.
10696 (FE_INVALID_SQRT): Likewise.
10697 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10698 (FE_TONEAREST): Likewise.
10699 (FE_TOWARDZERO): Likewise.
10700 (FE_UPWARD): Likewise.
10701 (FE_DOWNWARD): Likewise.
10702 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10703 (FE_DIVBYZERO): Likewise.
10704 (FE_OVERFLOW): Likewise.
10705 (FE_UNDERFLOW): Likewise.
10706 (FE_INEXACT): Likewise.
10707 (FE_TONEAREST): Likewise.
10708 (FE_DOWNWARD): Likewise.
10709 (FE_UPWARD): Likewise.
10710 (FE_TOWARDZERO): Likewise.
10711 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10712 (FE_UNDERFLOW): Likewise.
10713 (FE_OVERFLOW): Likewise.
10714 (FE_DIVBYZERO): Likewise.
10715 (FE_INVALID): Likewise.
10716 (FE_TONEAREST): Likewise.
10717 (FE_TOWARDZERO): Likewise.
10718 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10719 (FE_OVERFLOW): Likewise.
10720 (FE_UNDERFLOW): Likewise.
10721 (FE_DIVBYZERO): Likewise.
10722 (FE_INEXACT): Likewise.
10723 (FE_TONEAREST): Likewise.
10724 (FE_TOWARDZERO): Likewise.
10725 (FE_UPWARD): Likewise.
10726 (FE_DOWNWARD): Likewise.
10727 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10728 (FE_DIVBYZERO): Likewise.
10729 (FE_OVERFLOW): Likewise.
10730 (FE_UNDERFLOW): Likewise.
10731 (FE_INEXACT): Likewise.
10732 (FE_TONEAREST): Likewise.
10733 (FE_DOWNWARD): Likewise.
10734 (FE_UPWARD): Likewise.
10735 (FE_TOWARDZERO): Likewise.
10736
105ca950
CM
107372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10738
10739 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10740
a542b389
AS
107412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10742
10743 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10744 commands. Quote $PWD.
10745 (blacklist_exports): Don't use remove_newlines. Replace "declare
10746 -x" by "export".
10747 (remove_newlines): Remove.
10748
f62c8abc
L
107492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10750
10751 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10752 * stdlib/stdlib.h (atof): Moved to ...
10753 * include/bits/stdlib-float.h: Here. New file.
10754 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10755 * stdlib/bits/stdlib-float.h: New file.
10756 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10757 -mno-sse -mno-mmx.
10758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10759 <xmmintrin.h>.
10760
0155d5b2
JM
107612012-11-02 Joseph Myers <joseph@codesourcery.com>
10762
a68d0680
JM
10763 * conform/conformtest.pl (@headers): Add fenv.h.
10764 * conform/data/fenv.h-data: New file.
10765 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10766 include of <math/fenv.h>.
10767
caf7f573
JM
10768 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10769 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10770 && !UNIX98]. Enables tests for XOPEN2K8.
10771 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10772 POSIX2008]: Likewise.
10773
6c073ad6
JM
10774 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10775 (struct rusage): Do not expect type or its members.
10776
0155d5b2
JM
10777 [BZ #3439]
10778 * math/math.h (FP_NAN): Define macro to integer constant usable in
10779 #if and use that to give value to enum constant.
10780 (FP_INFINITE): Likewise.
10781 (FP_ZERO): Likewise.
10782 (FP_SUBNORMAL): Likewise.
10783 (FP_NORMAL): Likewise.
10784
b5dcacb4
AS
107852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10786
10787 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10788 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10789 arguments.
10790
f7934be8
RM
107912012-11-02 Roland McGrath <roland@hack.frob.com>
10792
10793 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10794 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10795 autoconf-time if not.
10796 * configure.in: Remove AC_PREREQ.
10797
d7d08bde
TMQMF
107982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10799
10800 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10801 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10802 of the internal implementation.
10803
dcdae19a
JM
108042012-11-02 Joseph Myers <joseph@codesourcery.com>
10805
10806 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10807 except include of <misc/sys/syslog.h>.
10808
d6cffd3e
AS
108092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10810
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10812 function returns with a NULL context exit with zero.
10813
b3563932
TMQMF
108142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10815
10816 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10817
b288a93d
L
108182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10819
10820 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10821 (run_program_cmd): This.
10822 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10823 (tst_langinfo): New variable. Use it.
10824
a2421a68
SAS
108252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10826
10827 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10828 floating point opcodes.
10829
6f796e1b
TS
108302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10831
7402596b
TS
10832 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10833 variable.
10834
d0d4f868
TS
10835 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10836
6f796e1b
TS
10837 * sysdeps/mach/hurd/powerpc: Remove directory.
10838 * sysdeps/mach/powerpc: Likewise.
10839
4da224a2
AS
108402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10841
10842 * scripts/check-local-headers.sh: Ignore c++ headers.
10843
341dd673
TS
108442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10845
10846 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10847 __libc_cleanup_region_start argument.
10848
473611b2
JM
108492012-11-01 Joseph Myers <joseph@codesourcery.com>
10850
10851 [BZ #14784]
10852 [BZ #14785]
10853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10854 x * y using scaling, not as x * y + z.
10855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10857 * math/libm-test.inc (fma_test): Add more tests.
10858 (fma_test_towardzero): Likewise.
10859 (fma_test_downward): Likewise.
10860 (fma_test_upward): Likewise.
10861
4078da3d
TS
108622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10863
10864 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10865
903252aa
JM
108662012-10-31 Joseph Myers <joseph@codesourcery.com>
10867
10868 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10869 New variable.
10870
cbc818d0
TS
108712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10872
10873 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10874
5a03cb1e
AS
108752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10876
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10878 Fix sort order.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10880 Likewise.
10881
90aff2ff
TMQMF
108822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10883
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10885 Fix the order of the list for glibc 2.17.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10887 Likewise.
10888
1818fcb7
AS
108892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10890
10891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10892
ef82f4da
JM
108932012-10-31 Joseph Myers <joseph@codesourcery.com>
10894
16a0e2ec
JM
10895 [BZ #14610]
10896 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10897 for low part of x being zero before using __atanl (y).
10898 * math/libm-test.inc (atan2_test): Add another test.
10899
0eb69512
JM
10900 * manual/install.texi (Configuring and compiling): Document
10901 general use of test-wrapper and test-wrapper-env.
10902 * INSTALL: Regenerated.
10903
ef82f4da
JM
10904 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10905 (__fma): Do not extract and scale down low bits on after-rounding
10906 systems when result rounded to normal precision would have normal
10907 exponent.
10908 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10909 (__fmal): Do not extract and scale down low bits on after-rounding
10910 systems when result rounded to normal precision would have normal
10911 exponent.
10912 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10913 (__fmal): Do not extract and scale down low bits on after-rounding
10914 systems when result rounded to normal precision would have normal
10915 exponent.
10916 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10917 macro.
10918 (fma_test): Add more tests.
10919 (fma_test_towardzero): Likewise.
10920 (fma_test_downward): Likewise.
10921 (fma_test_upward): Likewise.
10922
954ef0d9
L
109232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10924
10925 * sysdeps/i386/tininess.h: Renamed to ...
10926 * sysdeps/x86/tininess.h: This.
10927 * sysdeps/x86_64/tininess.h: Removed.
10928
df61ffb2
JM
109292012-10-30 Joseph Myers <joseph@codesourcery.com>
10930
10931 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10932 input. Use $(build-program-cmd).
10933 ($(objpfx)tst-array1-static.out): Likewise.
10934 ($(objpfx)tst-array2.out): Likewise.
10935 ($(objpfx)tst-array3.out): Likewise.
10936 ($(objpfx)tst-array4.out): Likewise.
10937 ($(objpfx)tst-array5.out): Likewise.
10938 ($(objpfx)tst-array5-static.out): Likewise.
10939
01767843
CM
109402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10941
47cc1490
CM
10942 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10943 if defined.
10944
01767843
CM
10945 * nss/nsswitch.h (nss_interface_function): Provide new
10946 macro for use with NSS functions.
10947 * grp/initgroups.c: Use new macro.
10948 * nss/getXXbyYY.c: Likewise.
10949 * nss/getXXbyYY_r.c: Likewise.
10950 * nss/getXXent.c: Likewise.
10951 * nss/getXXent_r.c: Likewise.
10952 * sysdeps/posix/getaddrinfo.c: Likewise.
10953
8321aa97
AJ
109542012-10-30 Andreas Jaeger <aj@suse.de>
10955
10956 * po/ru.po: Update Russion translation from translation project.
10957
2a27fd6d
JM
109582012-10-30 Joseph Myers <joseph@codesourcery.com>
10959
8627a232
JM
10960 [BZ #14152]
10961 [BZ #14783]
10962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10963 result and shift together with sticky bit instead of replicating
10964 round-to-nearest rounding.
10965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10966 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10967 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10968 missing underflow exceptions.
10969 (fma_test_towardzero): Add more tests.
10970 (fma_test_downward): Likewise.
10971 (fma_test_upward): Likewise.
10972
2a27fd6d
JM
10973 [BZ #14047]
10974 * sysdeps/generic/tininess.h: New file.
10975 * sysdeps/i386/tininess.h: Likewise.
10976 * sysdeps/sh/tininess.h: Likewise.
10977 * sysdeps/x86_64/tininess.h: Likewise.
10978 * stdlib/tst-strtod-underflow.c: Likewise.
10979 * stdlib/tst-tininess.c: Likewise.
10980 * stdlib/strtod_l.c: Include <tininess.h>.
10981 (round_and_return): Do not set errno for exact underflow cases.
10982 Force an underflow exception when setting errno for underflow.
10983 Determine underflow based on rounding to normal precision if
10984 TININESS_AFTER_ROUNDING.
10985 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10986 ERANGE for exact underflow cases.
10987 * stdlib/Makefile (tests): Add tst-tininess and
10988 tst-strtod-underflow.
10989 ($(objpfx)tst-tininess): Use $(link-libm).
10990 ($(objpfx)tst-strtod-underflow): Likewise.
10991
e7170363
AJ
109922012-10-30 Andreas Jaeger <aj@suse.de>
10993
e5088dc6
AJ
10994 [BZ#14767]
10995 * elf/Makefile (tests): Remove conditional for have-initfini-array
10996 since this is now always required and the variable does not exist
10997 anymore.
10998 (tests-static): Likewise.
10999 (modules-names): Likewise.
11000
e7170363 11001 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11002
11003 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11004 merged with constructor/destructor.
11005 (init_array): Likewise.
11006 * elf/tst-array2dep.c (fini_array): Likewise.
11007 (init_array): Likewise.
11008
60457d8a
MF
110092012-10-29 Mike Frysinger <vapier@gentoo.org>
11010
11011 * manual/message.texi: Delete @cartouche tags.
11012
8bece752
PT
110132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11014
94ce799f
PT
11015 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11016 EOPNOTSUPP.
11017 * sysdeps/mach/hurd/fsync.c: Likewise.
11018
8bece752
PT
11019 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11020 [_POSIX_REALTIME_SIGNALS]: Change condition to
11021 [_POSIX_REALTIME_SIGNALS > 0].
11022
86ebe6b1
AJ
110232012-10-27 Andreas Jaeger <aj@suse.de>
11024
11025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11026 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11028 [__WORDSIZE != 64]: Likewise.
11029
54399c08
L
110302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11031
11032 * iconvdata/tst-table.sh: Remove ${SHELL}.
11033 * iconvdata/tst-tables.sh: Likewise.
11034
e2211bed
DM
110352012-10-25 David S. Miller <davem@davemloft.net>
11036
11037 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11038 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11039 of strtoull.
11040
f303f97c
DM
11041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11042 ifunc-impl-list.c
11043 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11044 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11045 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11046 file.
11047
1e9d84cd
RM
110482012-10-25 Roland McGrath <roland@hack.frob.com>
11049
11050 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11051 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11052 __getdirentries.
11053
df381762
JM
110542012-10-25 Joseph Myers <joseph@codesourcery.com>
11055 Jim Blandy <jimb@codesourcery.com>
11056
11057 * scripts/cross-test-ssh.sh: New file.
11058 * manual/install.texi (Configuring and compiling): Document use of
11059 cross-test-ssh.sh.
11060 * INSTALL: Regenerated.
11061
bff64913
PT
110622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11063
11064 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11065 EOPNOTSUPP.
11066
25fe8932
JM
110672012-10-25 Joseph Myers <joseph@codesourcery.com>
11068
11069 * Makeconfig (run-program-prefix): Fix comment.
11070
cc1290d0
JM
110712012-10-24 Joseph Myers <joseph@codesourcery.com>
11072 Jim Blandy <jimb@codesourcery.com>
11073
11074 * Makeconfig (test-wrapper): New variable,
11075 (test-wrapper-env): Likewise.
11076 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11077 (run-built-tests): Define to yes.
11078 (run-program-prefix): Use $(test-wrapper).
11079 (built-program-cmd): Likewise.
11080 * Rules (make-test-out): Use $(test-wrapper-env) and
11081 $(host-built-program-cmd).
11082 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11083 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11084 tst-pathopt.sh.
11085 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11086 $(test-wrapper-env) to tst-rtld-load-self.sh.
11087 ($(objpfx)order2.out): Use $(test-wrapper).
11088 ($(objpfx)tst-initorder.out): Likewise.
11089 ($(objpfx)tst-initorder2.out): Likewise.
11090 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11091 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11092 (test_wrapper_env): New variable. Use it to run ld.so.
11093 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11094 Use it to run ld.so.
11095 (test_wrapper_env): Likewise.
11096 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11097 $(test-wrapper) to run-iconv-test.sh.
11098 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11099 (ICONV): Use $test_wrapper.
11100 * posix/Makefile ($(objpfx)globtest.out): Pass
11101 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11102 globtest.sh, not $(run-program-prefix).
11103 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11104 (test_wrapper): Likewise.
11105 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11106 set together with run_via_rtld_prefix.
11107 (run_program_prefix): Define in terms of test_wrapper and
11108 run_via_rtld_prefix.
11109
6e6249d0
RM
111102012-10-24 Roland McGrath <roland@hack.frob.com>
11111
11112 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11113 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11114 Targets removed.
11115
11116 [BZ #14743]
11117 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11118 Declare __clock_getres, __clock_gettime, __clock_settime,
11119 __clock_nanosleep, and __clock_getcpuclockid.
11120 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11121 Remove librt_hidden_def (clock_gettime).
11122 * sysdeps/unix/clock_gettime.c: Likewise.
11123 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11124 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11125 * rt/clock_getres.c: Define __clock_getres as an alias.
11126 * sysdeps/posix/clock_getres.c: Likewise.
11127 * rt/clock_settime.c: Define __clock_settime as an alias.
11128 * sysdeps/unix/clock_settime.c: Likewise.
11129 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11130 * sysdeps/unix/clock_nanosleep.c: Likewise.
11131 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11132 * rt/clock-compat.c: New file.
11133 * rt/Makefile (librt-routines): Add clock-compat and move
11134 $(clock-routines) to ...
11135 (routines): ... here, new variable.
11136 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11137 Don't add get_clockfreq here.
11138 * rt/Versions (libc: GLIBC_2.17): New version set.
11139 Add clock_* symbols here.
11140 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11142 (GLIBC_2.17): Add clock_* symbols.
11143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11145 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11147 Likewise.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11149 Likewise.
11150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11154 * NEWS: Mention the move.
11155
11156 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11157 Use __open, __read, __close rather than their public counterparts.
11158 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11159 (__get_clockfreq_via_cpuinfo): Likewise.
11160 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11161 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11162
11163 * config.h.in (HAVE_IFUNC): New #undef.
11164 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11165 was successful.
11166 * configure: Regenerated.
11167
0cae3f4b
MF
111682012-10-24 Mike Frysinger <vapier@gentoo.org>
11169
11170 * configure.in: Move READELF check to start of file.
11171 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11172 libc_cv_asm_gnu_indirect_function in the process.
11173 * configure: Regenerated.
11174
8175a253
MF
111752012-10-24 Mike Frysinger <vapier@gentoo.org>
11176
11177 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11178 send the output to /dev/null.
11179 (libc_cv_cc_with_libunwind): Likewise.
11180 (libc_cv_as_noexecstack): Likewise.
11181 * configure: Regenerate.
11182
0708a7d1
JM
111832012-10-24 Joseph Myers <joseph@codesourcery.com>
11184
10b40d85
JM
11185 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11186
0708a7d1
JM
11187 * posix/globtest.sh (TMPDIR): Do not set.
11188 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11189 (testout): Likewise.
11190
9fddec1a
AJ
111912012-10-24 Andreas Jaeger <aj@suse.de>
11192
3a8db22f
AJ
11193 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11194 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11195 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11196 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11197 posix_fadvise64, posix_fallocate64.
11198
9fddec1a
AJ
11199 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11200 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11201 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11202 Likewise.
11203 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11204 Likewise.
11205 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11206
11207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11208 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11209 <bits/fcntl-linux.h>.
11210 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11211
11212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11213 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11214 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11215 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11216 [__WORDSIZE != 64]: Likewise.
11217
ebfd1bbd
JM
112182012-10-23 Joseph Myers <joseph@codesourcery.com>
11219
03ac099f
JM
11220 * Makeconfig (run-built-tests): New variable.
11221 * Rules [$(cross-compiling) = yes]: Change condition to
11222 [$(run-built-tests) = no].
11223 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11224 to [$(run-built-tests) = yes].
11225 * elf/Makefile [$(cross-compiling) = no]: Likewise
11226 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11227 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11228 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11229 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11230 * io/Makefile [$(cross-compiling) = no]: Likewise.
11231 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11232 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11233 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11234 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11235 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11236 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11237 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11238 * string/Makefile [$(cross-compiling) = no]: Likewise.
11239
ebfd1bbd
JM
11240 * posix/Makefile ($(objpfx)globtest.out): Pass
11241 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11242 $(rtld-installed-name).
11243 * posix/globtest.sh (elf_objpfx): Remove variable.
11244 (rtld_installed_name): Likewise.
11245 (library_path): Likewise.
11246 (run_program_prefix): New variable. Use for running globtest
11247 binary.
11248
166bca24
JB
112492012-10-23 Jim Blandy <jimb@codesourcery.com>
11250 Joseph Myers <joseph@codesourcery.com>
11251
11252 * Makeconfig (host-built-program-cmd): New variable.
11253 * elf/Makefile (tst-stackguard1-ARGS): Use
11254 $(host-built-program-cmd).
11255 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11256 (tst-spawn-ARGS): Likewise.
11257 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11258
88866099
JM
112592012-10-23 Joseph Myers <joseph@codesourcery.com>
11260 Jim Blandy <jimb@codesourcery.com>
11261
11262 * Makeconfig (run-via-rtld-prefix): New variable.
11263 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11264 (built-program-cmd): Likewise.
11265
b4b4c296
AJ
112662012-10-22 Andreas Jaeger <aj@suse.de>
11267
11268 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11269 __O_RSYNC if it exists, otherwise to O_SYNC.
11270
6fb54a22
JB
112712012-10-22 Jim Blandy <jimb@codesourcery.com>
11272 Joseph Myers <joseph@codesourcery.com>
11273
11274 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11275 /dev/null.
11276 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11277 from /dev/null
11278 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11279 /dev/null.
11280
481b90b9
AJ
112812012-10-22 Andreas Jaeger <aj@suse.de>
11282
2a0e2669
AJ
11283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11284 Define always.
11285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11286
76e38f9a
AJ
11287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11288 bits/fcntl-linux.h.
11289
7cd37b43
AJ
11290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11291 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11292
481b90b9
AJ
11293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11294 to __O_LARGEFILE.
11295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11296 to __O_LARGEFILE.
11297
aba75984
JB
112982012-10-21 Jim Blandy <jimb@codesourcery.com>
11299 Joseph Myers <joseph@codesourcery.com>
11300
11301 * config.make.in (NM): New variable.
11302
88d4247f
AJ
113032012-10-21 Andreas Jaeger <aj@suse.de>
11304
11305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11306 definitions and declarations that are provided by
11307 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11308
f2eed205
L
113092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11310
11311 [BZ #14683]
11312 * elf/Makefile (tests-static): Add tst-leaks1-static.
11313 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11314 ($(objpfx)tst-leaks1-static): New rule.
11315 ($(objpfx)tst-leaks1-static-mem): Likewise.
11316 (tst-leaks1-static-ENV): New macro.
11317 * elf/dl-open.c (dl_open_worker): Check the main application
11318 only if SHARED is defined.
11319 * elf/tst-leaks1-static.c: New file.
11320
335e6931
AJ
113212012-10-20 Andreas Jaeger <aj@suse.de>
11322
11323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11324 generic values for Linux.
11325 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11326 and declarations that are provided by <bits/fcntl-linux.h> and
11327 include <bits/fcntl-linux.h>.
11328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11330
ac5c94d3
RM
113312012-10-20 Roland McGrath <roland@hack.frob.com>
11332
11333 * io/fcntl.h: Move include of <bits/types.h> to the top and
11334 include it unconditionally.
11335
de54b33a
L
113362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11337
228cfb01
L
11338 * wcsmbs/Makefile (tests-ifunc): New variable.
11339 (tests): Add $(tests-ifunc).
11340 * wcsmbs/test-wcschr-ifunc.c: New file.
11341 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11342 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11343 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11344 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11345 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11346
69f07e5f
L
11347 * string/Makefile (tests-ifunc): New variable.
11348 (tests): Add $(tests-ifunc).
11349 * string/test-memccpy.c (TEST_NAME): New macro.
11350 * string/test-memchr.c (TEST_NAME): Likewise.
11351 * string/test-memcmp.c (TEST_NAME): Likewise.
11352 * string/test-memcpy.c (TEST_NAME): Likewise.
11353 * string/test-memmem.c (TEST_NAME): Likewise.
11354 * string/test-memmove.c (TEST_NAME): Likewise.
11355 * string/test-memset.c (TEST_NAME): Likewise.
11356 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11357 * string/test-stpcpy.c (TEST_NAME): Likewise.
11358 * string/test-stpncpy.c (TEST_NAME): Likewise.
11359 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11360 * string/test-strcasestr.c (TEST_NAME): Likewise.
11361 * string/test-strcat.c (TEST_NAME): Likewise.
11362 * string/test-strchr.c (TEST_NAME): Likewise.
11363 * string/test-strcmp.c(TEST_NAME): Likewise.
11364 * string/test-strcpy.c (TEST_NAME): Likewise.
11365 * string/test-strcspn.c (TEST_NAME): Likewise.
11366 * string/test-strlen.c (TEST_NAME): Likewise.
11367 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11368 * string/test-strncmp.c (TEST_NAME): Likewise.
11369 * string/test-strncpy.c (TEST_NAME): Likewise.
11370 * string/test-strnlen.c (TEST_NAME): Likewise.
11371 * string/test-strpbrk.c (TEST_NAME): Likewise.
11372 * string/test-strrchr.c (TEST_NAME): Likewise.
11373 * string/test-strspn.c (TEST_NAME): Likewise.
11374 * string/test-strstr.c (TEST_NAME): Likewise.
11375 * string/test-bcopy-ifunc.c: New file.
11376 * string/test-bzero-ifunc.c: Likewise.
11377 * string/test-memccpy-ifunc.c: Likewise.
11378 * string/test-memchr-ifunc.c: Likewise.
11379 * string/test-memcmp-ifunc.c: Likewise.
11380 * string/test-memcpy-ifunc.c: Likewise.
11381 * string/test-memmem-ifunc.c: Likewise.
11382 * string/test-memmove-ifunc.c: Likewise.
11383 * string/test-mempcpy-ifunc.c: Likewise.
11384 * string/test-memset-ifunc.c: Likewise.
11385 * string/test-rawmemchr-ifunc.c: Likewise.
11386 * string/test-stpcpy-ifunc.c: Likewise.
11387 * string/test-stpncpy-ifunc.c: Likewise.
11388 * string/test-strcasecmp-ifunc.c: Likewise.
11389 * string/test-strcasestr-ifunc.c: Likewise.
11390 * string/test-strcat-ifunc.c: Likewise.
11391 * string/test-strchr-ifunc.c: Likewise.
11392 * string/test-strchrnul-ifunc.c: Likewise.
11393 * string/test-strcmp-ifunc.c: Likewise.
11394 * string/test-strcpy-ifunc.c: Likewise.
11395 * string/test-strcspn-ifunc.c: Likewise.
11396 * string/test-strlen-ifunc.c: Likewise.
11397 * string/test-strncasecmp-ifunc.c: Likewise.
11398 * string/test-strncat-ifunc.c: Likewise.
11399 * string/test-strncmp-ifunc.c: Likewise.
11400 * string/test-strncpy-ifunc.c: Likewise.
11401 * string/test-strnlen-ifunc.c: Likewise.
11402 * string/test-strpbrk-ifunc.c: Likewise.
11403 * string/test-strrchr-ifunc.c: Likewise.
11404 * string/test-strspn-ifunc.c: Likewise.
11405 * string/test-strstr-ifunc.c: Likewise.
11406
de54b33a
L
11407 * debug/Makefile (tests-ifunc): New variable.
11408 (tests): Add $(tests-ifunc).
11409 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11410 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11411 * debug/test-stpcpy_chk-ifunc.c: New file.
11412 * debug/test-strcpy_chk-ifunc.c: Likewise.
11413
88481c16
SP
114142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11415
11416 [BZ #13601]
11417 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11418 header is not read in.
11419
135948bd
JM
114202012-10-19 Joseph Myers <joseph@codesourcery.com>
11421
89f1c388
JM
11422 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11423 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11424 directly. Pass built executable to script as
11425 $(built-program-cmd).
11426 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11427 $testprogram without using LD_LIBRARY_PATH and $ldso.
11428
e40a0d21
JM
11429 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11430 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11431 $(rtld-installed-name).
11432 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11433 (rtld_installed_name): Likewise.
11434 (library_path): Likewise.
11435 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11436 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11437 $(run-program-prefix) to tst-tables.sh.
11438 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11439 it to run tst-table-from and tst-table-to.
11440 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11441 Pass it to tst-table.sh.
11442 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11443 $(run-program-prefix) to tst-gettext.sh.
11444 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11445 tst-translit.sh.
11446 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11447 tst-gettext2.sh.
11448 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11449 to run tst-gettext.
11450 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11451 to run tst-gettext2.
11452 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11453 to run tst-translit.
11454 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11455 $(run-program-prefix) to tst-mtrace.sh.
11456 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11457 to run tst-mtrace.
11458 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11459 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11460 $(rtld-installed-name).
11461 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11462 (rtld_installed_name): Likewise.
11463 (run_program_prefix): New variable. Use it to run wordexp-test.
11464
728e272a
JM
11465 * Makeconfig (ARCH): Remove all definitions.
11466 (machine): Likewise.
11467 [ARCH]: Remove conditional code.
11468 [!objdir]: Give error.
11469 [!objdir] (objpfx): Remove.
11470 [!objdir] (common-objpfx): Likewise.
11471 [!objdir] (common-objdir): Likewise.
11472 * configure.in (config_makefile): Remove. Hardcode Makefile in
11473 AC_CONFIG_FILES call.
11474 * configure: Regenerated.
11475
d528cdcf
JM
11476 [BZ #13888]
11477 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11478 or TMPDIR.
11479 (testout): Likewise.
11480
135948bd
JM
11481 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11482 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11483 $(rtld-installed-name).
11484 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11485 (rtld_installed_name): Likwise.
11486 (runit): Remove function.
11487 (run_getconf): New variable, Use it for running getconf binary.
11488
38c78296
L
114892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11490
11491 [BZ #14716]
11492 * string/test-memmem.c (check_result): New function.
11493 (do_one_test): Use it.
11494 (check1): New function.
11495 (test_main): Use it.
11496
d077f65f
MT
114972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11498
11499 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11500
ced52c71
JM
115012012-10-18 Joseph Myers <joseph@codesourcery.com>
11502
11503 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11504 (_G_LSEEK64): Likewise.
11505 (_G_MMAP64): Likewise.
11506 (_G_FSTAT64): Likewise.
11507 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11508 (_G_LSEEK64): Likewise.
11509 (_G_MMAP64): Likewise.
11510 (_G_FSTAT64): Likewise.
11511 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11512 unconditional. Call __mmap64 directly.
11513 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11514 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11515 __lseek64 directly.
11516 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11517 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11518 __mmap64 directly.
11519 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11520 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11521 __lseek64 directly.
11522 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11523 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11524 __lseek64 directly.
11525 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11526 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11527 __lseek64 directly.
11528 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11529 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11530 __fxstat64 directly.
11531 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11532 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11533 unconditional.
11534 (freopen64) [!_G_OPEN64]: Remove conditional code.
11535 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11536 unconditional.
11537 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11538 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11539 unconditional.
11540 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11541 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11542 unconditional.
11543 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11544 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11545 unconditional.
11546 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11547 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11548 unconditional.
11549 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11550 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11551 unconditional.
11552 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11553 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11554 unconditional.
11555 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11556
b741de23
SP
115572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11558
11559 [BZ #12140]
11560 * manual/memory.texi (Malloc Tunable Parameters): Add note
11561 about free list pointers overwriting some perturb bytes.
11562 Wording suggested by Roland McGrath.
11563
f9b9d9c9
JM
115642012-10-17 Joseph Myers <joseph@codesourcery.com>
11565
11566 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11567 (lgamma_test): Likewise.
11568 (tgamma_test): Likewise.
11569
172a631a
FW
115702012-10-16 Florian Weimer <fweimer@redhat.com>
11571
11572 [BZ #14700]
11573 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11574 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11575
e9f37252
MK
115762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11577
11578 * NEWS: Mention BZ #14716.
11579 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11580 when removing AVAILABLE1_USES_J macro.
11581
d394eb74
L
115822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11583
11584 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11585 (__bswap_64): __uint64_t for unsigned 64-bit int.
11586
ca38dc17
AS
115872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11588
11589 * include/string.h (memmem): Declare libc hidden alias.
11590 * string/memmem.c (memmem): Define libc hidden alias.
11591 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11592 __read, __close instead of open, read, close.
11593
9a387d1f
L
115942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11595
ac49ecaf
L
11596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11597 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11598 global and hidden.
11599 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11600 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11601 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11602 Likewise.
11603 (__rawmemchr_sse2): Likewise.
11604 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11605 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11606 (__strchr_sse2): Likewise.
11607 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11608 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11609 (__strcasecmp_sse2): Likewise.
11610 (__strncasecmp_sse2): Likewise.
11611 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11612 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11613 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11614 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11615 (__strrchr_sse2): Likewise.
11616 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11617 ifunc-impl-list.c.
11618 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11619 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11620 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11621 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11622 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11623 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11624 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11625 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11626 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11627 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11628 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11629 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11630 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11631 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11632 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11633 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11634 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11635 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11636 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11637 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11638 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11639 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11640 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11641 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11642 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11643 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11644 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11645 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11646 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11647 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11648
b090e8ea
L
11649 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11650 global and hidden.
11651 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11652 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11653 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11654 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11655 Likewise.
11656 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11657 Likewise.
11658 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11659 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11660 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11661 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11662 ifunc-impl-list.c.
11663 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11664 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11665 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11666 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11667 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11668 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11669 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11670 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11671 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11672 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11673 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11674 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11675 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11676 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11677 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11678 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11679 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11680 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11681 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11682 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11683 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11684 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11685 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11686 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11687 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11688 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11689 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11690 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11691 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11692 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11693 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11694 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11695 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11696 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11697 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11698 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11699 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11700 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11701 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11702 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11703 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11704
11dd4af6
L
11705 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11706 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11707 * include/ifunc-impl-list.h: New file.
11708 * misc/ifunc-impl-list.c: Likewise.
11709 * misc/Makefile (routines): Add ifunc-impl-list.
11710 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11711 * string/test-string.h: Include <ifunc-impl-list.h>.
11712 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11713 impl_array): New variables.
11714 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11715 are defined.
11716 (test_init): Call __libc_ifunc_impl_list to initialize
11717 func_list if TEST_IFUNC and TEST_NAME are defined.
11718
9a387d1f
L
11719 * string/Makefile (strop-tests): Add bcopy and bzero.
11720 * string/test-bcopy.c: New file.
11721 * string/test-bzero.c: Likewise.
11722 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11723 defined.
11724 * string/test-memset.c: Support bzero test if TEST_BZERO is
11725 defined.
11726 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11727 __libc_memmove.
11728 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11729 __libc_memset.
11730 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11731 of memset.
11732
472371b9
JM
117332012-10-10 Joseph Myers <joseph@codesourcery.com>
11734
1e4a9536
JM
11735 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11736 * configure: Regenerated.
11737
d173d12e
JM
11738 * Makeconfig (+link-static-before-libc): Don't include
11739 $(link-static-libc).
11740
472371b9
JM
11741 * libio/libio.h (_IO_pos_t): Remove.
11742
89a3ad0b
AO
117432012-10-10 Alexandre Oliva <aoliva@redhat.com>
11744
11745 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11746 McGrath.
11747
e7451425
AO
117482012-10-10 Alexandre Oliva <aoliva@redhat.com>
11749
11750 * crypt/crypt-entry.c: Include fips-private.h.
11751 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11752 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11753 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11754 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11755
4ba74a35
AO
117562012-10-10 Alexandre Oliva <aoliva@redhat.com>
11757
11758 * crypt/crypt-private.h: Include stdbool.h.
11759 (_ufc_setup_salt_r): Return bool.
11760 * crypt/crypt-entry.c: Include errno.h.
11761 (__crypt_r): Return NULL with EINVAL for bad salt.
11762 * crypt/crypt_util.c (bad_for_salt): New.
11763 (_ufc_setup_salt_r): Check that salt is long enough and within
11764 the specified alphabet.
11765 * crypt/badsalttest.c: New file.
11766 * crypt/Makefile (tests): Add it.
11767 ($(objpfx)badsalttest): New.
11768
f96f1242
MK
117692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11770
11771 * NEWS: Add entry for BZ #14602.
11772
0e8e0c1c
JM
117732012-10-09 Joseph Myers <joseph@codesourcery.com>
11774
11775 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11776 type-generic.
11777 * math/libm-test.inc: Update comment listing what functions and
11778 macros are tested.
11779 (isgreater_test): New function.
11780 (isgreaterequal_test): Likewise.
11781 (isless_test): Likewise.
11782 (islessequal_test): Likewise.
11783 (islessgreater_test): Likewise.
11784 (isunordered_test): Likewise.
11785 (main): Call the new functions.
11786
273edc5e
RM
117872012-10-09 Roland McGrath <roland@hack.frob.com>
11788
b8493de0
RM
11789 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11790 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11791 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11792 * sysdeps/i386/configure: Regenerated.
11793 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11794 * sysdeps/mach/configure: Regenerated.
11795 * sysdeps/mach/hurd/configure: Regenerated.
11796 * sysdeps/powerpc/configure: Regenerated.
11797 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11798 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11799 * sysdeps/s390/s390-32/configure: Regenerated.
11800 * sysdeps/s390/s390-64/configure: Regenerated.
11801 * sysdeps/sh/configure: Regenerated.
11802 * sysdeps/sparc/configure: Regenerated.
11803 * sysdeps/unix/sysv/linux/configure: Regenerated.
11804 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11805 * sysdeps/x86_64/configure: Regenerated.
11806
273edc5e
RM
11807 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11808 defined. Don't check if MAP is NULL.
11809
c8450f70
JM
118102012-10-09 Joseph Myers <joseph@codesourcery.com>
11811
11812 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11813 (_G_stat64): Likewise.
11814 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11815 (_G_stat64): Likewise.
11816 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11817 instead of struct _G_stat64.
11818 * libio/fileops.c (mmap_remap_check): Likewise.
11819 (decide_maybe_mmap): Likewise.
11820 (_IO_new_file_seekoff): Likewise.
11821 (_IO_file_stat): Likewise.
11822 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11823 _G_off64_t.
11824 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11825 instead of struct _G_stat64.
11826 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11827
57e605ba
MK
118282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11829
11830 [BZ #14602]
11831 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11832 Replace with ...
11833 (CHECK_EOL): New macro.
11834 (two_way_short_needle): Check beginning of haystack for EOL. Use
11835 CHECK_EOL.
11836 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11837 Replace with CHECK_EOL.
11838 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11839 Replace with CHECK_EOL.
11840
ef1bb361
JM
118412012-10-08 Joseph Myers <joseph@codesourcery.com>
11842
11843 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11844 type-generic.
11845 * math/libm-test.inc: Update comment listing what functions and
11846 macros are tested.
11847 (finite_test): New function.
11848 (isinf_test): Likewise.
11849 (isnan_test): Likewise.
11850 (fpclassify_test): Test subnormal input.
11851 (isfinite_test): Likewise.
11852 (isnormal_test): Likewise.
11853 (main): Call the new functions.
11854
55f11534
JN
118552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11856
11857 [BZ #14660]
11858 * Makerules (%.dynsym): Force C locale when running
11859 $(OBJDUMP) --dynamic-syms.
11860
1ab29350
AS
118612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11862
11863 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11864 <stdint.h>.
11865
f1ecb7ef
DM
118662012-10-06 David S. Miller <davem@davemloft.net>
11867
11868 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11869 upper 32-bits of the length value in %o2 since we use branch-on-register
11870 tests which consider the entire 64-bit register.
11871
5d41d91a
L
118722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11873
11874 * string/test-strstr.c (check2): Add a test for page boundary.
11875
3baddb72
DM
118762012-10-05 David S. Miller <davem@davemloft.net>
11877
11878 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11879 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11880 file.
11881 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11882 sysdep_routines.
11883 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11884 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11885 and bzero when HWCAP_SPARC_CRYPTO is present.
11886
9cee5585
L
118872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11888
d7e0dab9
L
11889 [BZ #14602]
11890 * string/test-strstr.c (check2): New function.
11891 (test_main): Call check2.
11892
03759f47
L
11893 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11894 and bug-strchr1.
11895 * string/bug-strcasestr1.c (do_test): Moved to ...
11896 * string/test-strcasestr.c (check1): Here. New function.
11897 (do_one_test): Break out result checking code into ...
11898 (check_result): This. New function.
11899 (do_one_test): Call check_result.
11900 (test_main): Call check1.
11901 * string/bug-strchr1.c (do_test): Moved to ...
11902 * string/test-strchr.c (check1): Here. New function.
11903 (do_one_test): Break out result checking code into ...
11904 (check_result): This. New function.
11905 (do_one_test): Call check_result.
11906 (test_main): Call check1.
11907 * string/bug-strstr1.c (main): Moved to ...
046f153e 11908 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11909 (do_one_test): Break out result checking code into ...
11910 (check_result): This. New function.
11911 (do_one_test): Call check_result.
11912 (test_main): Call check1.
11913 * string/bug-strcasestr1.c: Removed.
11914 * string/bug-strchr1.c: Likewise.
11915 * string/bug-strstr1.c: Likewise.
11916
53cea63e
L
11917 * elf/Makefile (dl-routines): Add hwcaps.
11918 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11919 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11920 (_dl_important_hwcaps): Moved to ...
11921 * elf/dl-hwcaps.c: Here. New file.
11922 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11923
9cee5585 11924 [BZ #14557]
bb859b06
L
11925 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11926 if IS_IN_rtld isn't defined.
11927
9cee5585
L
11928 * elf/dl-support.c (_dl_sysinfo_map): New.
11929 Include "get-dynamic-info.h" and "setup-vdso.h".
11930 (_dl_non_dynamic_init): Call setup_vdso.
11931 * elf/dynamic-link.h: Don't include <assert.h>.
11932 (elf_get_dynamic_info): Moved to ...
11933 * elf/get-dynamic-info.h: Here. New file.
11934 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11935 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11936 * elf/setup-vdso.h: Here. New file.
11937 * elf/rtld.c: Include "setup-vdso.h".
11938 (dl_main): Call setup_vdso.
11939
23c31b76
JM
119402012-10-05 Joseph Myers <joseph@codesourcery.com>
11941
28234b07
JM
11942 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11943 creal in comment listing functions tested. List finite, isinf,
11944 isnan, isless, islessequal, isgreater, isgreaterequal,
11945 islessgreater, isunordered, lgamma_r and pow10 as functions and
11946 macros not tested. Mention which functions not tested are aliases
11947 for other functions. Fix typo. Note that signs of NaNs are not
11948 tested.
11949
23c31b76
JM
11950 * scripts/config.guess: Update from config.git.
11951 * scripts/config.sub: Likewise.
11952
9043e228
RM
119532012-10-04 Roland McGrath <roland@hack.frob.com>
11954
11955 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11956 * misc/madvise.c (madvise): Renamed to __madvise.
11957 Make madvise a weak alias.
11958 * include/sys/mman.h: Declare __madvise.
11959 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11960 * sysdeps/unix/syscalls.list
11961 (madvise): Make __madvise the strong name, and madvise a weak alias.
11962 * sysdeps/unix/sysv/linux/syscalls.list
11963 (madvise, mmap): Remove redundant entries.
11964 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11965 * malloc/malloc.c (mtrim): Likewise.
11966 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11967
f57f8055
RM
119682012-10-03 Roland McGrath <roland@hack.frob.com>
11969
11970 * sysdeps/mach/hurd/dl-cache.c: File removed.
11971 * config.h.in (USE_LDCONFIG): New #undef.
11972 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11973 * configure: Regenerated.
11974 * elf/Makefile (dl-routines): Add dl-cache only under
11975 [$(use-ldconfig) = yes].
11976 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11977 cache on [USE_LDCONFIG].
11978 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11979 [USE_LDCONFIG].
11980 * elf/rtld.c (dl_main): Likewise.
11981
5bb0c10a
PT
119822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11983
11984 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11985 _SC_LEVEL4_CACHE_LINESIZE.
11986
010188c6
RM
119872012-10-03 Roland McGrath <roland@hack.frob.com>
11988
11989 * sysdeps/unix/bsd/confstr.h: File removed.
11990
b6c5ec07
AO
119912012-10-02 Alexandre Oliva <aoliva@redhat.com>
11992
11993 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11994 sys/sdt-config.h.
11995
408223d4
RM
119962012-10-02 Roland McGrath <roland@hack.frob.com>
11997
11998 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11999 Make 'mapoff' field ElfW(Off) rather than off_t.
12000
bb9510dc
DL
120012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12002
fc997c6e
DL
12003 * nscd/Makefile: Remove nscd-cflags and all its users.
12004 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12005 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12006
bb9510dc
DL
12007 [BZ #10631]
12008 * malloc.c (malloc_printerr): Clarify error message.
12009
05699367
L
120102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12011
12012 [BZ #14648]
12013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12014 Set bit_FMA_Usable if FMA is supported.
12015 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12016 macro.
12017 (bit_FMA4_Usable): Updated.
12018 (index_FMA_Usable): New macro.
12019 (CPUID_FMA): Likewise
12020 (HAS_FMA): Defined with bit_FMA_Usable.
12021
51367701
RM
120222012-10-01 Roland McGrath <roland@hack.frob.com>
12023
12024 * bits/types.h (__swblk_t): Type removed.
12025 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12026 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12028 (__SWBLK_T_TYPE): Likewise.
12029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12030 (__SWBLK_T_TYPE): Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12032 (__SWBLK_T_TYPE): Likewise.
12033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12034 (__SWBLK_T_TYPE): Likewise.
12035
4d57bf63 120362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12037 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12038
12039 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12040 (xdr_mapname): Use YPMAXMAP as maxsize.
12041 (xdr_peername): Use YPMAXPEER as maxsize.
12042 (xdr_keydat): Use YPAXRECORD as maxsize.
12043 (xdr_valdat): Use YPMAXRECORD as maxsize.
12044
93c65d43
RM
120452012-10-01 Roland McGrath <roland@hack.frob.com>
12046
497a03d6
RM
12047 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12048
93c65d43
RM
12049 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12050 * csu/init-first.c: ... here.
12051 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12052 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12053 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12054 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12055 * sysdeps/i386/init-first.c: File removed.
12056 * sysdeps/sh/init-first.c: File removed.
12057
bec749fd
JM
120582012-10-01 Joseph Myers <joseph@codesourcery.com>
12059
12060 [BZ #14645]
12061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12062 if x * y might underflow to zero and z is zero.
12063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12064 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12065 * math/libm-test.inc (min_subnorm_value): New variable.
12066 (fma_test): Add more tests.
12067 (fma_test_towardzero): Likewise.
12068 (fma_test_downward): Likewise
12069 (fma_test_upward): Likewise.
12070 (initialize): Set min_subnorm_value.
12071
8ec5b013
JM
120722012-09-29 Joseph Myers <joseph@codesourcery.com>
12073
12074 [BZ #14638]
12075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12076 0 + 0.
12077 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12078 mode for addition resulting in exact zero.
12079 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12081 exact 0 + 0.
12082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12084 * math/libm-test.inc (fma_test): Add more tests.
12085 (fma_test_towardzero): New function.
12086 (fma_test_downward): Likewise.
12087 (fma_test_upward): Likewise.
12088 (main): Call the new functions.
12089
b1fa802e
DM
120902012-09-28 David S. Miller <davem@davemloft.net>
12091
12092 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12093
d3b9fd9e
RM
120942012-09-28 Roland McGrath <roland@hack.frob.com>
12095
ea4d37b3
RM
12096 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12097 instead of SIGALRM.
12098
ac51c949
RM
12099 * sysdeps/gnu/_G_config.h: Moved to ...
12100 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12101 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12102 * sysdeps/generic/_G_config.h: ... here.
12103
28c195f7
RM
12104 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12105
848917f9
RM
12106 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12107
6bacf05b
RM
12108 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12109 Conditionalize target on [libnss_test1.so-version].
12110
91363dbb
RM
12111 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12112
cc87f7d8
RM
12113 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12114 (elfobjdir): Move out of conditionals.
12115
b1c608fe
RM
12116 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12117 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12118 (__nss_lookup_function): Conditionalize label remove_from_tree on
12119 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12120
1d9a6d96
DM
121212012-09-28 David S. Miller <davem@davemloft.net>
12122
12123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12124 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12125 file.
12126 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12127 sysdep_routines.
12128 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12130 when HWCAP_SPARC_CRYPTO is present.
12131
72581615
PT
121322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12133
12134 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12135
715a900c
JL
121362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12137
12138 [BZ #6530]
12139 * stdio-common/vfprintf.c (process_string_arg): Revert
12140 2000-07-22 change.
12141
121422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12143
12144 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12145 for testcase.
12146 * stdio-common/tst-sprintf.c: Include <locale.h>
12147 (main): Test sprintf's handling of incomplete multibyte
12148 characters.
12149
9bac1d86
L
121502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 * elf/dl-runtime.c (VERSYMIDX): Removed.
12153 * elf/dl-version.c (VERSYMIDX): Likewise.
12154 * elf/do-rel.h (VERSYMIDX): Likewise.
12155 (VALIDX): Likewise.
12156 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12157 * elf/rtld.c (VALIDX): Likewise.
12158 (ADDRIDX): Likewise.
9bac1d86
L
12159 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12160 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12161 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12162 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12163 (VALIDX): Likewise.
12164 (ADDRIDX): Likewise.
9bac1d86 12165
b31606c0
PT
121662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12167
12168 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12169
11541177
JL
121702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12171
12172 [BZ #11438]
12173 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12174 to global scope.
12175 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12176 addresses are in the same scope as 192.0.2/24.
12177 * posix/gai.conf: Document new scope table defaults.
12178
adb26fae
SP
121792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12180
12181 [BZ #5298]
12182 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12183 for ftell. Compute offsets from write pointers instead.
12184 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12185
4573c6b0
SP
121862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12187
12188 [BZ #14543]
12189 * libio/Makefile (tests): New test case tst-fseek.
12190 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12191 combination works in wide mode.
12192 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12193 state when the external buffer state changes.
12194
aa9bbfe6
DM
121952012-09-27 David S. Miller <davem@davemloft.net>
12196
12197 [BZ #14376]
12198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12199 pass reloc->r_addend in as the 'high' argument to
12200 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12201
784421e7
DM
12202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12203
c39bc8b8
PT
122042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12205
12206 * rt/tst-aio2.c: Include <pthread.h>.
12207 * rt/tst-aio3.c: Likewise.
12208
1ccc2399
SE
122092012-09-27 Steve Ellcey <sellcey@mips.com>
12210
12211 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12212
31ed4153
L
122132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12214
25f5f885
L
12215 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12216 contents on [SHARED].
31ed4153 12217
b7bfe116
MP
122182012-09-26 Marek Polacek <polacek@redhat.com>
12219
12220 [BZ #14530]
12221 [BZ #13741]
12222 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12223 for C++ and GCC <4.3 as well as for non GCC compilers.
12224
43c4edba
MT
122252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12226
12227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12228
6a1bf82f
RM
122292012-09-25 Roland McGrath <roland@hack.frob.com>
12230
12231 * Makefile.in (all, install): Declare with .PHONY.
12232 Reported by Michael Hope <michael.hope@linaro.org>.
12233
8ad11b9a
TMQMF
122342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12235
12236 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12237 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12238 system header.
12239 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12240 Likewise.
12241 (sydep_routines): Add the new and the internal functions.
12242 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12243 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12245 (GLIBC_2.17): Add the new function.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12247 (GLIBC_2.17): Likewise.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12249 (GLIBC_2.17): Likewise.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12251 (GLIBC_2.17): Likewise.
12252 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12253
7e2fca8d
AM
122542012-09-25 Alan Modra <amodra@gmail.com>
12255
12256 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12257 Add release barrier before setting once_control to say
12258 initialisation is done. Add hints on lwarx. Use macro in
12259 place of isync.
12260 (clear_once_control): Add release barrier.
12261
b87c4b24
JM
122622012-09-25 Joseph Myers <joseph@codesourcery.com>
12263
d032e0d2
JM
12264 [BZ #13629]
12265 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12266 specially.
12267 * math/s_clog10.c (__clog10): Likewise.
12268 * math/s_clog10f.c (__clog10f): Likewise.
12269 * math/s_clog10l.c (__clog10l): Likewise.
12270 * math/s_clogf.c (__clogf): Likewise.
12271 * math/s_clogl.c (__clogl): Likewise.
12272 * math/Makefile (libm-calls): Add x2y2m1.
12273 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12274 (__x2y2m1): Likewise.
12275 (__x2y2m1l): Likewise.
12276 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12277 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12280 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12281 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12282 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12283 * sysdeps/i386/fpu/libm-test-ulps: Update.
12284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12285
b87c4b24
JM
12286 [BZ #14621]
12287 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12288 int as type of variable DEPTH.
12289 (glob): Use size_t instead of int as type of variables NEWCOUNT
12290 and OLD_PATHC.
12291
6d3bf199
LD
122922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12293
22bf5c17
LD
12294 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12295 Add s_sincosf-sse2.
12296 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12297 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12298 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12299 macros for using routine as __sincosf_ia32.
12300 Use macro for function declaration and weak_alias.
12301 * sysdeps/i386/fpu/libm-test-ulps: Update.
12302
12303 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12305
12306 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12307 subnormal argument.
12308 * math/s_cexpf.c (__cexpf): Likewise.
12309 * math/s_csinf.c (__csinf): Likewise.
12310 * math/s_csinhf.c (__csinhf): Likewise.
12311 * math/s_ctanf.c (__ctanf): Likewise.
12312 * math/s_ctanhf.c (__ctanhf): Likewise.
12313 * math/s_ccosh.c (__ccoshf): Likewise.
12314 * math/s_cexp.c (__cexpl): Likewise.
12315 * math/s_csin.c (__csin): Likewise.
12316 * math/s_csinh.c (__csinh): Likewise.
12317 * math/s_ctan.c (__ctan): Likewise.
12318 * math/s_ctanh.c (ctanh): Likewise.
12319 * math/s_ccoshl.c (__ccoshl): Likewise.
12320 * math/s_cexpl.c (__cexpl): Likewise.
12321 * math/s_csinl.c (__csinl): Likewise.
12322 * math/s_csinhl.c (__csinhl): Likewise.
12323 * math/s_ctanl.c (__ctanl): Likewise.
12324 * math/s_ctanhl.c (__ctanhl): Likewise.
12325
203e5603
JM
123262012-09-25 Joseph Myers <joseph@codesourcery.com>
12327
12328 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12329 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12330 (_IO_off_t): Define to __off_t, not _G_off_t.
12331 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12332 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12333 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12334 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12335 type of __dummy and __dummy2 fields.
12336 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12337 (_G_ssize_t): Likewise.
12338 (_G_off_t): Likewise.
12339 (_G_pid_t): Likewise.
12340 (_G_uid_t): Likewise.
12341 (_G_wchar_t): Likewise.
12342 (_G_wint_t): Likewise.
12343 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12344 (_G_ssize_t): Likewise.
12345 (_G_off_t): Likewise.
12346 (_G_pid_t): Likewise.
12347 (_G_uid_t): Likewise.
12348 (_G_wchar_t): Likewise.
12349 (_G_wint_t): Likewise.
12350 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12351 (_G_ssize_t): Likewise.
12352 (_G_off_t): Likewise.
12353 (_G_pid_t): Likewise.
12354 (_G_uid_t): Likewise.
12355 (_G_wchar_t): Likewise.
12356 (_G_wint_t): Likewise.
12357
9fab36eb
SP
123582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12359
12360 * malloc/arena.c: Include malloc-sysdep.h.
12361 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12362 is sufficient to shrink the heap or an unmap is needed.
12363 * sysdeps/generic/malloc-sysdep.h: New file. Define
12364 new function check_may_shrink_heap.
12365 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12366 new function check_may_shrink_heap.
12367
2b4f00d1
SP
123682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12369
12370 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12371 comments.
12372
9a9028b1
DL
123732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12374
57c69bef
DL
12375 * catgets/test-gencat.sh: Add "set -e".
12376 * elf/tst-pathopt.sh: Likewise.
12377 * grp/tst_fgetgrent.sh: Likewise.
12378 * iconvdata/run-iconv-test.sh: Likewise.
12379 * intl/tst-gettext.sh: Likewise.
12380 * intl/tst-gettext2.sh: Likewise.
12381 * intl/tst-gettext4.sh: Likewise.
12382 * intl/tst-gettext6.sh: Likewise.
12383 * intl/tst-translit.sh: Likewise.
12384 * io/ftwtest-sh: Likewise.
12385 * libio/test-freopen.sh: Likewise.
12386 * malloc/tst-mtrace.sh: Likewise.
12387 * posix/globtest.sh: Likewise.
12388 * posix/tst-getconf.sh: Likewise.
12389 * posix/wordexp-tst.sh: Likewise.
12390 * stdio-common/tst-printf.sh: Likewise.
12391 * stdio-common/tst-unbputc.sh: Likewise.
12392 * stdlib/tst-fmtmsg.sh: Likewise.
12393 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12394 * catgets/Makefile: Do not specify -e option when running
12395 testsuite shell scripts.
12396 * elf/Makefile: Likewise.
12397 * grp/Makefile: Likewise.
12398 * iconvdata/Makefile: Likewise.
12399 * intl/Makefile: Likewise.
12400 * io/Makefile: Likewise.
12401 * libio/Makefile: Likewise.
12402 * malloc/Makefile: Likewise.
12403 * posix/Makefile: Likewise.
12404 * stdio-common/Makefile: Likewise.
12405 * stdlib/Makefile: Likewise.
12406 * sysdeps/x86_64/Makefile: Likewise.
12407
9a9028b1
DL
12408 * io/ftwtest-sh: Add copyright header.
12409 * posix/globtest.sh: Likewise.
12410 * posix/tst-getconf.sh: Likewise.
12411 * posix/wordexp-tst.sh: Likewise.
12412 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12413
ced6f16e
L
124142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12415
94b32c39
L
12416 [BZ #13679]
12417 * Makeconfig (+link): Defined as $(+link-static) if
12418 $(build-shared) isn't yes.
12419 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12420 isn't yes.
12421 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12422
189e935b
L
12423 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12424
ced6f16e
L
12425 [BZ #14562]
12426 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12427 new chunk size with MALLOC_ALIGN_MASK.
12428
a9f8e53a
JM
124292012-09-24 Joseph Myers <joseph@codesourcery.com>
12430
12431 [BZ #5044]
12432 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12433 <rounding-mode.h>.
12434 (__printf_fphex): Determine rounding using get_rounding_mode and
12435 round_away.
12436 * stdio-common/tst-printf-round.c (struct hex_test): New
12437 structure.
12438 (hex_tests): New variable.
12439 (test_hex_in_one_mode): New function.
12440 (do_test): Also run tests for hex float output.
12441
43153109
JM
124422012-09-21 Joseph Myers <joseph@codesourcery.com>
12443
12444 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12445 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12446 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12447 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12448 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12449 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12450 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12451 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12452
8a26625d
JM
124532012-09-20 Joseph Myers <joseph@codesourcery.com>
12454
12455 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12456 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12457 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12458 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12459
f3fd569c
DL
124602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12461
12462 [BZ #14579]
12463 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12464 mode only.
12465 * elf/tst-rtld-load-self.sh: New test.
12466 * elf/Makefile: Run it.
12467
63bbedd4
JM
124682012-09-18 Joseph Myers <joseph@codesourcery.com>
12469
12470 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12471 (tst-writev-ENV): Remove.
12472 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12473
626f8b6a
CM
124742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12475
12476 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12477
b7aaa4d6
JM
124782012-09-17 Joseph Myers <joseph@codesourcery.com>
12479
12480 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12481 unconditional.
12482 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12483 Likewise.
12484 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12485 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12486 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12487 Likewise.
12488
65513990
L
124892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12490
12491 [BZ #14587]
12492 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12493 * config.make.in (have-cpp-asm-debuginfo): Removed.
12494 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12495 * configure: Regenerated.
12496
784761be
JM
124972012-09-14 Joseph Myers <joseph@codesourcery.com>
12498
12499 [BZ #5044]
12500 * stdio-common/printf_fp.c: Include <stdbool.h> and
12501 <rounding-mode.h>.
12502 (___printf_fp): Determine rounding using get_rounding_mode and
12503 round_away.
12504 * stdio-common/tst-printf-round.c: New file.
12505 * stdio-common/Makefile (tests): Add tst-printf-round.
12506 (link-libm): New variable.
12507 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12508
9503345f
L
125092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12510
12511 [BZ #14576]
12512 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12513 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12514 Likewise.
12515 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12516 Likewise.
12517
ad35fc00
JM
125182012-09-13 Joseph Myers <joseph@codesourcery.com>
12519
12520 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12521 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12522 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12523 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12524
6c9b0f68
JM
125252012-09-12 Joseph Myers <joseph@codesourcery.com>
12526
12527 [BZ #14518]
12528 * include/rounding-mode.h: New file.
12529 * sysdeps/generic/get-rounding-mode.h: Likewise.
12530 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12531 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12532 (MAX_VALUE): New macro.
12533 (MIN_VALUE): Likewise.
12534 (overflow_value): New function.
12535 (underflow_value): Likewise.
12536 (round_and_return): Use overflow_value and underflow_value to
12537 determine return values in overflow and underflow cases. Use
12538 round_away to determine rounding depending on rounding mode.
12539 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12540 determine return values in overflow and underflow cases.
12541 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12542 (struct test_results): New structure.
12543 (struct test): Use struct test_results to store expected results
12544 for all rounding modes.
12545 (TEST): Include expected results for all rounding modes.
12546 (test_in_one_mode): New function.
12547 (do_test): Use test_in_one_mode to compute and check results.
12548 Check results for all rounding modes.
12549 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12550 $(link-libm).
12551
19fcedd5
AM
125522012-12-09 Allan McRae <allan@archlinux.org>
12553
1e9d84cd 12554 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12555
8bbfd2f1
JM
125562012-09-11 Joseph Myers <joseph@codesourcery.com>
12557
12558 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12559 (_G_int32_t): Likewise.
12560 (_G_uint16_t): Likewise.
12561 (_G_uint32_t): Likewise.
12562 (_G_HAVE_BOOL): Likewise.
12563 (_G_HAVE_ATEXIT): Likewise.
12564 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12565 (_G_HAVE_IO_FILE_OPEN): Likewise.
12566 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12567 (_G_int32_t): Likewise.
12568 (_G_uint16_t): Likewise.
12569 (_G_uint32_t): Likewise.
12570 (_G_HAVE_BOOL): Likewise.
12571 (_G_HAVE_ATEXIT): Likewise.
12572 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12573 (_G_HAVE_IO_FILE_OPEN): Likewise.
12574 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12575 (_G_int32_t): Likewise.
12576 (_G_uint16_t): Likewise.
12577 (_G_uint32_t): Likewise.
12578 (_G_HAVE_BOOL): Likewise.
12579 (_G_HAVE_ATEXIT): Likewise.
12580 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12581 (_G_HAVE_IO_FILE_OPEN): Likewise.
12582
b1dc5912
L
125832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12584
12585 * csu/libc-tls.c: Update copyright years.
12586
0e886ef9
JM
125872012-09-10 Joseph Myers <joseph@codesourcery.com>
12588
28361c5e
JM
12589 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12590 [!_G_USING_THUNKS]: Remove conditional code.
12591 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12592 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12593
0e886ef9
JM
12594 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12595 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12596 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12597 (_G_VTABLE_LABEL_PREFIX): Likewise.
12598 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12599 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12600 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12601 (_G_VTABLE_LABEL_PREFIX): Likewise.
12602 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12603 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12604 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12605 (_G_VTABLE_LABEL_PREFIX): Likewise.
12606 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12607
bcba7aa2
L
126082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12609
12610 * libio/Makefile: Include ../Makeconfig before tests.
12611 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12612 only if $(build-shared) is yes.
12613
06585ee8
L
12614 * iconv/gconv_db.c: Update copyright years.
12615
80ccd52c
LD
126162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12617
12618 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12619 unwind info if defined PIC. Fix special cases description.
12620 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12621
12622 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12623 DP_HI_MASK entry.
12624 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12625
691bc9c1
L
126262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12627
3d9b46b3
L
12628 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12629
de2139a9
L
12630 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12631 is NULL.
12632
5ca78dd0
L
12633 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12634 (LDLIBS-tst-chk4): This.
12635 (LDFLAGS-tst-chk5): Renamed to ...
12636 (LDLIBS-tst-chk5): This.
12637 (LDFLAGS-tst-chk6): Renamed to ...
12638 (LDLIBS-tst-chk6): This.
12639 (LDFLAGS-tst-lfschk4): Renamed to ...
12640 (LDLIBS-tst-lfschk4): This.
12641 (LDFLAGS-tst-lfschk5): Renamed to ...
12642 (LDLIBS-tst-lfschk5): This.
12643 (LDFLAGS-tst-lfschk6): Renamed to ...
12644 (LDLIBS-tst-lfschk6): This.
12645
691bc9c1
L
12646 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12647 on $(common-objpfx)soversions.mk.
12648
65cafb1c
JM
126492012-09-07 Joseph Myers <joseph@codesourcery.com>
12650
12651 [BZ #10014]
12652 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12653 example host name.
12654
c78ab094
SP
126552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12656
12657 * malloc/arena.c (arena_get_retry): New function that gets
12658 another arena for the caller to try its request on.
12659 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12660 current arena cannot fulfill the request.
12661 (__libc_memalign): Likewise.
12662 (__libc_memalign): Likewise.
12663 (__libc_pvalloc): Likewise.
12664 (__libc_calloc): Likewise.
12665
01f49f59
JT
126662012-09-05 John Tobey <john.tobey@gmail.com>
12667
12668 [BZ #13542]
12669 * manual/arith.texi (Operations on Complex): Fix description
12670 of carg branch cut.
12671
4c23fed5
JM
126722012-09-06 Joseph Myers <joseph@codesourcery.com>
12673
1d3c8572
JM
12674 [BZ #10014]
12675 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12676 host name.
12677
4c23fed5
JM
12678 [BZ #10038]
12679 * manual/memory.texi (Memory): Make order of menu items match
12680 order of sections.
12681
04570aaa
L
126822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12683
12684 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12685 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12686 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12687
b80af2f4
L
126882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 * csu/libc-tls.c (static_dtv): Renamed to ...
12691 (_dl_static_dtv): This. Make it global.
12692 (_dl_initial_dtv): Removed.
12693 (__libc_setup_tls): Updated.
12694 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12695 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12696 DL_INITIAL_DTV.
12697
2abe9f15
PM
126982012-09-06 Petr Machata <pmachata@redhat.com>
12699
12700 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12701 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12702 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12703 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12704
0948c3af
L
127052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12706
12707 [BZ #14545]
12708 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12709 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12710 freeing dtv[-1].
12711
a5055ad1
L
127122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12713
12714 [BZ #14544]
12715 * Makeconfig (link-static-before-libc): Replace $(+prector)
12716 with $(+prectorT).
12717 (link-static-after-libc): Replace $(+postctor) with
12718 $(+postctorT).
12719 (link-bounded): Replace $(+prector)/$(+postctor) with
12720 $(+prectorT)/$(+postctorT).
12721 (+prectorT): New macro.
12722 (+postctorT): Likewise.
12723
ed8c2ecd
JM
127242012-09-06 Joseph Myers <joseph@codesourcery.com>
12725
12726 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12727 (round_str): Handle values above the maximum for IBM long double
12728 as inexact.
12729 * stdlib/tst-strtod-round.c (tests): Regenerated.
12730
14c996c8
AK
127312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12732
12733 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12734 assembler flag.
12735 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12736 zarch_nohighgprs around the zarch optimized routines.
12737 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12738 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12739 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12740 for zarch.
12741
430d6ce6
DM
127422012-09-05 David S. Miller <davem@davemloft.net>
12743
12744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12745
ff04dda4
DM
12746 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12747 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12748 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12749 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12750 entries.
12751
24d4e01b
AO
127522012-09-05 Alexandre Oliva <aoliva@redhat.com>
12753
12754 * malloc/arena.c: Fold copyright years.
12755 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12756
61d58174
AO
127572012-09-05 Alexandre Oliva <aoliva@redhat.com>
12758
12759 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12760
20196a5e
AO
127612012-09-05 Alexandre Oliva <aoliva@redhat.com>
12762
12763 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12764
5c447383
AO
127652012-09-05 Alexandre Oliva <aoliva@redhat.com>
12766
12767 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12768 change internal state upon failure.
12769
fad64255
AO
127702012-09-05 Alexandre Oliva <aoliva@redhat.com>
12771
12772 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12773 * malloc/memusage.c (mmap): Likewise.
12774 (mmap64, mremap): Likewise. Adjust name in comment.
12775
1ffb8c90
SP
127762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12777
12778 * libio/fileops.c: Fix typos in comments.
12779 * libio/oldfileops.c: Likewise.
12780 * libio/wfileops.c: Likewise.
12781
6ef9cc37
SP
127822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12783
12784 [BZ #1349]
12785 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12786 (tst-malloc-usable-ENV): Set environment for test case.
12787 * malloc/hooks.c (malloc_check_get_size): New function to get
12788 requested size.
12789 * malloc/malloc.c (musable): Use malloc_check_get_size.
12790 * malloc/tst-malloc-usable.c: New test case.
12791
4d038ae3
AS
127922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12793
12794 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12795
c4e85184
AM
127962012-09-05 Allan McRae <allan@archlinux.org>
12797
b9dafc56 12798 [BZ #13966]
c4e85184
AM
12799 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12800 determine header location.
12801 * configure: Regenerated.
12802
e1343020
AS
128032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12804
12805 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12806 float format.
12807 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12808 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12809 format.
e1343020
AS
12810 (test): Regenerate.
12811
0a9f1987
DM
128122012-09-04 David S. Miller <davem@davemloft.net>
12813
12814 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12815 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12816 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12817
29237804
FW
128182012-09-04 Florian Weimer <fweimer@redhat.com>
12819
12820 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12821 failures.
12822
edb3cb88
FW
12823 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12824
60160d83
JM
128252012-09-04 Joseph Myers <joseph@codesourcery.com>
12826
12827 [BZ #9914]
12828 * libio/iogetdelim.c: Include <limits.h>.
12829 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12830 + len + 1 would overflow.
12831
bcd6c8dc
AJ
128322012-09-03 Andreas Jaeger <aj@suse.de>
12833
12834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12835 * sysdeps/i386/fpu/libm-test-ulps: Update.
12836
4ffffbd2
LD
128372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12838
12839 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12840 Add s_sinf-sse2, s_conf-sse2.
12841
12842 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12843 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12844 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12845 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12846
12847 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12848 for using routine as __sinf_ia32.
12849 Use macro for function declaration and weak_alias.
12850 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12851 for using routine as __cosf_ia32.
12852 Use macro for function declaration and weak_alias.
12853
12854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12855 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12856
12857 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12858 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12860
12861 * math/libm-test.inc (cos_test): Add more test cases.
12862 (sin_test): Likewise.
12863 (sincos_test): Likewise.
12864
511fa286
AK
128652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12866
12867 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12868 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12869 hidden.
12870 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12871
5f30cfec
L
128722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12873
12874 [BZ #14538]
12875 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12876 first element of the GOT.
12877 (elf_machine_load_address): Return the difference between
12878 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12879
0786794f
AM
128802012-09-01 Allan McRae <allan@archlinux.org>
12881
5f30cfec
L
12882 [BZ #13412]
12883 * configure.in (AWK): Require gawk version 3.0 or later.
12884 * configure: Regenerated.
0786794f 12885
26889eac
JM
128862012-09-01 Joseph Myers <joseph@codesourcery.com>
12887
12888 * sysdeps/unix/sysv/linux/kernel-features.h
12889 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12890 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12891 [__NR_clock_getres]: Make code unconditional.
12892 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12893 (clock_getcpuclockid): Remove code left unreachable by removal of
12894 conditionals.
12895 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12896 code unconditional.
12897 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12898 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12899 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12900 Make code unconditional.
12901 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12902 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12903 * sysdeps/unix/sysv/linux/clock_settime.c
12904 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12905 conditional code.
12906 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12907 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12908
d22e28b0
L
129092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12910
12911 [BZ #14476]
12912 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12913 scripts/test-installation.pl.
12914
12915 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12916 and $ld_so_version if it is set.
12917
050af9c4
SP
129182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12919
12920 [BZ #14516]
12921 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12922 failure if reading from procfs failed.
12923 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12924
ad845c0b
JM
129252012-08-27 Joseph Myers <joseph@codesourcery.com>
12926
12927 * sysdeps/unix/sysv/linux/kernel-features.h
12928 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12929 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12930 Remove conditional code.
12931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12932 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12933 Remove conditional code.
12934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12935 * sysdeps/unix/sysv/linux/i386/fxstat.c
12936 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12938 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12939 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12941 * sysdeps/unix/sysv/linux/i386/lxstat.c
12942 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12943 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12944 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12945 Remove conditional code.
12946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12947 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12948 Remove conditional code.
12949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12950 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12951 <kernel-features.h>.
12952 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12953 Remove.
12954 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12955 Remove conditional code.
12956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12957 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12958 Remove conditional.
12959
5dbf56af
MF
129602012-08-27 Mike Frysinger <vapier@gentoo.org>
12961
12962 [BZ #5400]
12963 * NEWS: Add fixed bug number.
12964
d6e70f43
JM
129652012-08-27 Joseph Myers <joseph@codesourcery.com>
12966
7efb4737
JM
12967 [BZ #14519]
12968 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12969 underflowing exponent in case of negative sign.
12970 * stdlib/tst-strtod-round-data: Add more tests.
12971 * stdlib/tst-strtod-round.c (tests): Regenerated.
12972
af92131a
JM
12973 [BZ #3479]
12974 * stdlib/strtod_l.c (NDIG): Remove.
12975 (HEXNDIG): Likewise.
12976 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12977 smallest representable value.
12978 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12979 lie within an exact representation of 1/2 ulp of the result.
12980 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12981 unconditionally.
12982 (TENS_P9_IDX): Define unconditionally.
12983 (TENS_P9_SIZE): Likewise.
12984 (TENS_P10_IDX): Likewise.
12985 (TENS_P10_SIZE): Likewise.
12986 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12987 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12988 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12989 entries for 10^2^13 and 10^2^14.
12990 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12991 (TENS_P13_IDX): Define.
12992 (TENS_P13_SIZE): Likewise.
12993 (TENS_P14_IDX): Likewise.
12994 (TENS_P14_SIZE): Likewise.
12995 (_fpioconst_pow10): Change array size to
12996 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12997 unconditional.
12998 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12999 1024]: Add entries for 10^2^13 and 10^2^14.
13000 [LAST_POW10 > _LAST_POW10]: Remove #error.
13001 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13002 (_fpioconst_pow10): Change array size to
13003 FPIOCONST_POW10_ARRAY_SIZE.
13004 * stdlib/gen-fpioconst.c: New file.
13005 * stdlib/gen-tst-strtod-round.c: Likewise.
13006 * stdlib/tst-strtod-round-data: Likewise.
13007 * stdlib/tst-strtod-round.c: Likewise.
13008 * stdlib/Makefile (tests): Add tst-strtod-round.
13009
d6e70f43
JM
13010 [BZ #14459]
13011 * stdlib/strtod_l.c: Include <stdint.h>.
13012 (NDEBUG): Do not define.
13013 (round_and_return): Change EXPONENT parameter to type intmax_t.
13014 Rearrange calculations to avoid internal overflow possibilities.
13015 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13016 Rearrange calculations to avoid internal overflow possibilities.
13017 Assert that number fits inside MPNSIZE limbs.
13018 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13019 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13020 calculations and add assertions to avoid internal overflow
13021 possibilities. Add casts to avoid signed/unsigned operations.
13022 * stdlib/tst-strtod-overflow.c: New file.
13023 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13024
1f529f7d
MP
130252012-08-25 Marek Polacek <polacek@redhat.com>
13026
13027 * time/time.h: Fix some typos in comments.
13028
59a629f1
RM
130292012-08-23 Roland McGrath <roland@hack.frob.com>
13030
13031 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13032 * posix/tst-rfc3484-2.c: Likewise.
13033 * posix/tst-rfc3484-3.c: Likewise.
13034
d3bafbc9
SM
130352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13036
13037 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13038 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13039
4efcc022
JM
130402012-08-23 Joseph Myers <joseph@codesourcery.com>
13041
13042 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13043 #include of fxstatat64.c.
13044
3cc3ef96
RM
130452012-08-22 Roland McGrath <roland@hack.frob.com>
13046
f04e2132
RM
13047 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13048 * shadow/getspent_r.c: Likewise.
13049 * shadow/getspnam.c: Likewise.
13050 * shadow/getspnam_r.c: Likewise.
13051 * gshadow/getsgent.c: Likewise.
13052 * gshadow/getsgent_r.c: Likewise.
13053 * gshadow/getsgnam.c: Likewise.
13054 * gshadow/getsgnam_r.c: Likewise.
13055 * inet/getnetbyad.c: Likewise.
13056 * inet/getnetbyad_r.c: Likewise.
13057 * inet/getnetbynm.c: Likewise.
13058 * inet/getnetbynm_r.c: Likewise.
13059 * inet/getnetent.c: Likewise.
13060 * inet/getnetent_r.c: Likewise.
13061 * inet/getproto.c: Likewise.
13062 * inet/getproto_r.c: Likewise.
13063 * inet/getprtent.c: Likewise.
13064 * inet/getprtent_r.c: Likewise.
13065 * inet/getprtname.c: Likewise.
13066 * inet/getprtname_r.c: Likewise.
13067 * inet/getrpcbyname.c: Likewise.
13068 * inet/getrpcbyname_r.c: Likewise.
13069 * inet/getrpcbynumber.c: Likewise.
13070 * inet/getrpcbynumber_r.c: Likewise.
13071 * inet/getrpcent.c: Likewise.
13072 * inet/getrpcent_r.c: Likewise.
13073 * inet/getaliasent.c: Likewise.
13074 * inet/getaliasent_r.c: Likewise.
13075 * inet/getaliasname.c: Likewise.
13076 * inet/getaliasname_r.c: Likewise.
13077 * nscd/getgrgid_r.c: Likewise.
13078 * nscd/getgrnam_r.c: Likewise.
13079 * nscd/gethstbyad_r.c: Likewise.
13080 * nscd/gethstbynm3_r.c: Likewise.
13081 * nscd/getpwnam_r.c: Likewise.
13082 * nscd/getpwuid_r.c: Likewise.
13083 * nscd/getsrvbynm_r.c: Likewise.
13084 * nscd/getsrvbypt_r.c: Likewise.
13085 * nscd/gai.c: Likewise.
13086
c53d909c
RM
13087 * configure.in (build_nscd): New substituted variable, set
13088 by --disable-build-nscd and defaults to $use_nscd.
13089 * configure: Regenerated.
13090 * config.make.in (build-nscd): New substituted variable.
13091 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13092 Change conditional to require [$(build-nscd) = yes] as well.
13093 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13094
3cc3ef96
RM
13095 [BZ# 13696]
13096 * configure.in (use_nscd): New substituted variable, set by
13097 --disable-nscd. If enabled, define USE_NSCD.
13098 * configure: Regenerated.
13099 * config.h.in: Add USE_NSCD.
13100 * config.make.in (use-nscd): New substituted variable.
13101 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13102 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13103 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13104 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13105 (CFLAGS-getgrnam_r.c): Likewise.
13106 (CFLAGS-initgroups.c): Likewise.
13107 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13108 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13109 Variables removed.
13110 * inet/getnetgrent_r.c
13111 (nscd_setnetgrent): New function, broken out of ...
13112 (setnetgrent): ... here. Call it.
13113 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13114 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13115 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13116 * nscd/Makefile (routines, aux): Move definitions after include of
13117 Makeconfig. Conditionalize on [$(use-nscd) != no].
13118 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13119 Conditionalize on [USE_NSCD].
13120 (is_nscd, nscd_init_cb): Likewise.
13121 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13122 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13123 * nss/nss_db/db-init.c: Likewise.
13124 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13125 [USE_NSCD].
13126 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13127 (make_request): Use it.
13128 (cache_valid_p): New function.
13129 (__check_pf): Use it.
13130 * NEWS: Add item for --disable-nscd.
13131
07e51550
DL
131322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13133
13134 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13135 to support sed >= 4.2.1-20-ga9bf076.
13136 * configure: Regenerated.
13137
35a5b08b
RM
131382012-08-22 Roland McGrath <roland@hack.frob.com>
13139
13140 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13141 Conditionalize whole body on [IREL].
13142
8479f23a
JL
131432012-08-22 Jeff Law <law@redhat.com>
13144
13145 [BZ #14505]
13146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13147 if the family is PF_UNSPEC.
13148
48da0b21
MF
131492012-08-22 Mike Frysinger <vapier@gentoo.org>
13150
13151 * Makerules (lib-version): Rename from V.
13152 (install-lib-nosubdir): Change V to lib-version.
13153
15d0da8c
WS
131542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13155
13156 [BZ #14252]
13157 * powerpc32/power6/wcschr.c: New file.
13158 * powerpc32/power6/wcscpy.c: New file.
13159 * powerpc32/power6/wcsrchr.c: New file.
13160 * powerpc64/power6/wcschr.c: New file.
13161 * powerpc64/power6/wcscpy.c: New file.
13162 * powerpc64/power6/wcsrchr.c: New file.
13163
bcca0895
MK
131642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13165
13166 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13167 (two_way_short_needle): Use it.
5a4aaa33
RM
13168 * string/strstr.c (AVAILABLE1_USES_J): Define.
13169 * string/strcasestr.c: Likewise.
99677e57
MK
13170
13171 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13172 array references.
13173 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13174
400726de
MK
13175 [BZ #11607]
13176 * NEWS: Add an entry.
13177 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13178 define their defaults.
13179 (two_way_short_needle): Detect end-of-string on-the-fly.
13180 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13181 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13182 * string/bug-strcasestr1.c: New test.
13183 * string/Makefile: Run it.
13184
20a71f2c
MK
131852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13186
13187 [BZ #11607]
13188 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13189 the first character.
13190
21ad0558
RM
131912012-08-21 Roland McGrath <roland@hack.frob.com>
13192
13193 * csu/elf-init.c (__libc_csu_irel): Function removed.
13194 * csu/libc-start.c (apply_irel): New function.
13195 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13196
0e1d9911
JM
131972012-08-21 Joseph Myers <joseph@codesourcery.com>
13198
13199 * sysdeps/unix/sysv/linux/kernel-features.h
13200 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13201 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13202 <kernel-features.h>.
13203 [__NR_fadvise64_64]: Make code unconditional.
13204 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13205 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13206 !__NR_fadvise64_64)]: Likewise.
13207 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13208 !__NR_fadvise64_64))]: Likewise.
13209 [__NR_fadvise64]: Make code unconditional.
13210 [!__NR_fadvise64]: Remove conditional code.
13211 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13212 <kernel-features.h>.
13213 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13214 unconditional.
13215 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13216 conditional code.
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13218 not include <kernel-features.h>.
13219 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13220 unconditional.
13221 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13222 conditional code.
13223 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13224 include <kernel-features.h>.
13225 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13226 unconditional.
13227 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13228 conditional code.
13229
14a50c9d
WS
132302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13231
13232 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13233 slight instruction rearrangements per scrollpipe analysis.
13234 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13235
c0f4faf0
RM
132362012-08-20 Roland McGrath <roland@hack.frob.com>
13237
696da859
RM
13238 * manual/syslog.texi (syslog; vsyslog, closelog):
13239 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13240 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13241
c0f4faf0
RM
13242 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13243 DSOCAPS to match condition on defining it.
13244
348363b2
JM
132452012-08-20 Joseph Myers <joseph@codesourcery.com>
13246
a35cbf28
JM
13247 * sysdeps/unix/sysv/linux/kernel-features.h
13248 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13250 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13251 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13253 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13254 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13256 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13257 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13258
445f7ecd
JM
13259 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13260 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13261
348363b2
JM
13262 * sysdeps/unix/sysv/linux/kernel-features.h
13263 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13264 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13265 unconditional.
13266 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13267 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13268 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13269 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13270 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13271 Make code unconditional.
13272 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13273 (__mmap64) [!__NR_mmap2]: Likewise.
13274 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13275 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13276 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13277 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13278 [__NR_mmap2]: Make code unconditional.
13279 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13280 (__mmap64) [!__NR_mmap2]: Likewise.
13281
bc5bc0e5
AK
132822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13283
13284 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13285
88d506de
AJ
132862012-08-18 Andreas Jaeger <aj@suse.de>
13287
13288 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13289
493387d2
MF
132902012-08-18 Mike Frysinger <vapier@gentoo.org>
13291
13292 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13293 * include/unistd.h (__have_sock_cloexec): Likewise.
13294 (__have_pipe2): Likewise.
13295 (__have_dup3): Likewise.
13296
a277af22
MF
132972012-08-18 Mike Frysinger <vapier@gentoo.org>
13298
13299 [BZ #9685]
13300 * include/unistd.h (__have_pipe2): Change define into an extern int.
13301 (__have_dup3): Likewise.
13302 * socket/have_sock_cloexec.c: Include fcntl.h.
13303 (__have_pipe2): New variable.
13304 (__have_dup3): Likewise.
13305
fdab8fd3
MF
133062012-08-17 Mike Frysinger <vapier@gentoo.org>
13307
13308 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13309
31035e80
MP
133102012-08-17 Marek Polacek <polacek@redhat.com>
13311
13312 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13313 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13314
3bd9e993
RM
133152012-08-17 Roland McGrath <roland@hack.frob.com>
13316
c91c505f
RM
13317 * configure.in: Add AC_SUBST for sysheaders.
13318 * configure: Regenerated.
13319 * config.make.in (sysheaders): New substituted variable.
13320
7c6f9d53
RM
13321 * sysdeps/unix/mkfifo.c: Moved ...
13322 * sysdeps/posix/mkfifo.c: ... here.
13323 * sysdeps/unix/mkfifoat.c: Moved ...
13324 * sysdeps/posix/mkfifoat.c: ... here.
13325
13326 * sysdeps/unix/utime.c: Moved ...
13327 * sysdeps/posix/utime.c: ... here.
13328
13329 * sysdeps/unix/time.c: Moved ...
13330 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13331 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13332 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13333
13334 * sysdeps/unix/nice.c: Moved ...
13335 * sysdeps/posix/nice.c: ... here.
13336
13337 * sysdeps/unix/alarm.c: Moved ...
13338 * sysdeps/posix/alarm.c: ... here.
13339
3bd9e993
RM
13340 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13341
d1f09384
JL
133422012-08-17 Jeff Law <law@redhat.com>
13343
13344 * intl/Makefile (codeset_mo): New variable.
13345 ($(codeset_mo)): New target.
13346 (tst-codeset.out): Depend on that. Remove explicit rule.
13347 (tst-gettext3.out, tst-gettext5.out): Likewise.
13348 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13349 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13350 * intl/tst-codeset.sh: Remove.
13351 * intl/tst-gettext3.sh: Likewise.
13352 * intl/tst-gettext5.sh: Likewise.
13353
2ae1ae5c
RM
133542012-08-17 Roland McGrath <roland@hack.frob.com>
13355
c31fdb83
RM
13356 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13357 * sysdeps/unix/syscalls.list: ... here.
13358
a0844057
RM
13359 * sysdeps/posix/getaddrinfo.c
13360 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13361 (gaiconf_init, gaiconf_reload): Use them.
13362 [!_STATBUF_ST_NSEC]
13363 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13364 Define using time_t rather than struct timespec.
13365
750c1f2a
RM
13366 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13367 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13368 Macros removed.
13369 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13370 [!NO_THREADS].
13371 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13372 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13373 Likewise.
13374
2ae1ae5c
RM
13375 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13376 __libc_cleanup_push argument.
13377
e66a42f5
RM
13378 * bits/param.h: New file.
13379 * misc/sys/param.h: New file.
13380 * include/sys/param.h: New file.
13381 * misc/Makefile (headers): Add bits/param.h.
13382 * sysdeps/generic/sys/param.h: File removed.
13383 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13384 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13385 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13386 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13387
b7c08a66
RM
13388 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13389 last change.
13390
b2e1c562
RM
13391 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13392 [_IO_MTSAFE_IO].
13393 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13394 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13395 New macros.
13396
c75ccd4c
RM
13397 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13398 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13399 rather than -D_IO_MTSAFE_IO conditionally.
13400 * stdio-common/Makefile (CPPFLAGS): Likewise.
13401 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13402 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13403 Use $(libio-mtsafe).
13404 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13405 of -D_IO_MTSAFE_IO.
13406 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13407 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13408 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13409 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13410 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13411 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13412 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13413 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13414 (CFLAGS-fread_u_chk.c): Likewise.
13415 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13416 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13417 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13418 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13419 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13420 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13421 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13422 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13423 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13424
13425 * libio/Makefile: Test [$(libc-reentrant) = yes]
13426 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13427
13428 * Makeconfig
13429 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13430 * sysdeps/pthread/configure: File removed.
13431 * sysdeps/pthread/Makeconfig: New file.
13432 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13433 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13434
d9195db8
GB
134352012-08-16 Gary Benson <gbenson@redhat.com>
13436
13437 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13438 unmapping the first object in a namespace.
13439
86466cd9
RM
134402012-08-16 Roland McGrath <roland@hack.frob.com>
13441
13442 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13443 (__internal_setnetgrent): ... this. Add internal_function to
13444 definition. Add libc_hidden_def.
13445 (setnetgrent): Update caller.
13446 (internal_endnetgrent): Renamed to ...
13447 (__internal_endnetgrent): ... this. Add internal_function to
13448 definition. Add libc_hidden_def.
13449 (endnetgrent): Update caller.
13450 (internal_getnetgrent_r): Renamed to ...
13451 (__internal_getnetgrent_r): ... this. Add internal_function to
13452 definition. Add libc_hidden_def.
13453 (__getnetgrent_r): Update caller.
13454 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13455
c3c8283c
JM
134562012-08-16 Joseph Myers <joseph@codesourcery.com>
13457
13458 * stdlib/longlong.h: Update from GCC.
13459
db1ee0a8
RM
134602012-08-16 Roland McGrath <roland@hack.frob.com>
13461
13462 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13463 on _QL, which is set by umul_ppmm but never used.
13464 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13465 variables, which are set by GMP macros but never used.
13466 * stdio-common/_itowa.c (_itowa): Likewise.
13467 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13468 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13469
30f69637
CD
134702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13471
13472 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13473 struct La_sh_regs is not constant.
13474 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13475 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13476 and struct La_sparc64_regs are not constant.
13477
93a78ac4
JM
134782012-08-16 Joseph Myers <joseph@codesourcery.com>
13479
13480 * sysdeps/unix/sysv/linux/kernel-features.h
13481 (__ASSUME_POSIX_TIMERS): Remove.
13482 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13483 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13484 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13485 Make code unconditional.
13486 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13487 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13488 Make code unconditional.
13489 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13490 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13491 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13492 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13493 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13494 Make code unconditional.
13495 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13496 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13497 (__libc_missing_posix_timers): Remove.
13498
dd924cd7
RM
134992012-08-15 Roland McGrath <roland@hack.frob.com>
13500
4b4f2771
RM
13501 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13502 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13503
601c888b
RM
13504 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13505
176790a7
RM
13506 * elf/dl-sym.c: Include <stdlib.h>.
13507
329bc018
RM
13508 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13509 constants, which avoids warnings in 32-bit builds.
13510
e04e272d
RM
13511 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13512 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13513
952bf94a
RM
13514 * misc/lseek.c: File moved to ...
13515 * io/lseek.c: ... here.
13516
7c99b50a
RM
13517 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13518
dd924cd7
RM
13519 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13520 shifting LEN more than 31 bits at once.
13521
b3f479a8
LD
135222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13523
13524 [BZ #14195]
8c4ae0d4
RM
13525 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13526 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13527 * string/test-strncasecmp.c (check1): Renamed to...
13528 (bz12205): ...this.
13529 (bz14195): Add new testcase for two empty input strings and N > 0.
13530 (test_main): Call new testcase, adapt for renamed function.
13531
9c55864e
AJ
135322012-08-15 Andreas Jaeger <aj@suse.de>
13533
13534 [BZ #14090]
13535 * crypt/md5test2.c: New test, based on test supplied by Serge
13536 Belyshev <belyshev@depni.sinp.msu.ru>.
13537 * crypt/Makefile (xtests): Add md5test-giant..
13538 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13539
02dcb6c5
PE
135402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13541
13542 [BZ #14090]
13543 * crypt/md5.c (md5_process_block): Don't assume the buffer
13544 length is less than 2**32.
13545 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13546 length is less than 2**64.
13547
a3f95dcc
RM
135482012-08-15 Roland McGrath <roland@hack.frob.com>
13549
be75d758
RM
13550 * string/str-two-way.h: Include <sys/param.h>.
13551 (MAX): Macro removed.
13552
7312ca90
RM
13553 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13554 Move #define and #undef of memmove to just before and after
13555 including <string.h>.
13556
9a0a5486
RM
13557 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13558 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13559 and after including <string.h>. Move declarations of
13560 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13561 to before #include "string/memmove.c".
13562
67cc348d
RM
13563 * include/dirent.h: Declare __getdirentries.
13564
a3f95dcc
RM
13565 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13566 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13567
ca98e171
MF
135682012-08-14 Mike Frysinger <vapier@gentoo.org>
13569
13570 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13571 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13572 * sysdeps/i386/configure: Regenerated.
13573 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13574 STABS_CURRENT_FILE, and STABS_FUN.
13575 (END): Remove call to STABS_FUN_END.
13576 (STABS_CURRENT_FILE1): Delete.
13577 (STABS_CURRENT_FILE): Likewise.
13578 (STABS_FUN): Likewise.
13579 (STABS_FUN_END): Likewise.
13580 (STABS_FUN2): Likewise.
13581 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13582 * sysdeps/x86_64/configure: Regenerated.
13583
5908bf46
RM
135842012-08-14 Roland McGrath <roland@hack.frob.com>
13585
13586 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13587 * elf/dl-lookup.c: Likewise.
5908bf46 13588
f2c05b9e
JM
135892012-08-14 Joseph Myers <joseph@codesourcery.com>
13590
13591 * sysdeps/unix/sysv/linux/kernel-features.h
13592 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13593 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13594 unconditionally.
13595 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13596 unconditionally.
13597 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13598 condition on __ASSUME_CLONE_THREAD_FLAGS.
13599
e11f5155
AJ
136002012-08-14 Andreas Jaeger <aj@suse.de>
13601
13602 * sysdeps/i386/fpu/libm-test-ulps: Update.
13603
51a9ba86
MK
136042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13605
2fdd4f78
AJ
13606 * include/atomic.h (atomic_exchange_and_add): Split into ...
13607 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13608 New atomic macros.
51a9ba86 13609
ba6cba9e
MT
136102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13611
13612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13613
42443a47
JL
136142012-08-13 Jeff Law <law@redhat.com>
13615
13616 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13617 null byte in the output string.
13618
121dce05
JM
136192012-08-10 Joseph Myers <joseph@codesourcery.com>
13620
13621 * sysdeps/unix/sysv/linux/kernel-features.h
13622 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13623 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13624 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13625 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13626 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13627 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13628 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13629
bf51f568
JL
136302012-08-09 Jeff Law <law@redhat.com>
13631
13632 [BZ #13939]
13633 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13634 When avoid_arena is set, don't retry in the that arena. Pick the
13635 next one, whatever it might be.
13636 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13637 (arena_lock): Pass in new parameter to arena_get2.
13638 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13639 arena_get2.
13640 (__libc_malloc): Unify retrying after main arena failure with
13641 __libc_memalign version.
13642 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13643
f85fa270
L
136442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13645
13646 [BZ #14166]
13647 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13648 to __redirect_strstr.
13649 (__strstr_sse42): Use typeof __redirect_strstr.
13650 (__strstr_ia32): Likewise.
13651 (__libc_strstr): New prototype.
13652 (strstr): Renamed to ...
13653 (__libc_strstr): This.
13654 (strstr): New strong alias of __libc_strstr.
13655 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13656 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13657 __redirect_time.
13658 Include <time.h>.
13659 (__libc_time): New prototype.
13660 (time_ifunc): Replace time with __libc_time.
13661 (time): New strong alias and hidden definition of __libc_time.
13662 (__GI_time): Remove strong alias.
13663 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13664 Include <stddef.h>.
13665 (memmove): Redefined to __redirect_memmove.
13666 (__memmove_sse2): Use typeof __redirect_memmove.
13667 (__memmove_ssse3): Likewise.
13668 (__memmove_ssse3_back): Likewise.
13669 (__libc_memmove): New prototype.
13670 (memmove): Renamed to ...
13671 (__libc_memmove): This.
13672 (memmove): New strong alias of __libc_memmove.
13673
33b4a91e
MS
136742012-08-08 Mark Salter <msalter@redhat.com>
13675
13676 * elf/elf.h
13677 (R_MN10300_TLS_GD): Define.
13678 (R_MN10300_TLS_LD): Likewise.
13679 (R_MN10300_TLS_LDO): Likewise.
13680 (R_MN10300_TLS_GOTIE): Likewise.
13681 (R_MN10300_TLS_IE): Likewise.
13682 (R_MN10300_TLS_LE): Likewise.
13683 (R_MN10300_TLS_DTPMOD): Likewise.
13684 (R_MN10300_TLS_DTPOFF): Likewise.
13685 (R_MN10300_TLS_TPOFF): Likewise.
13686 (R_MN10300_SYM_DIFF): Likewise.
13687 (R_MN10300_ALIGN): Likewise.
13688 (R_MN10300_NUM): Update.
13689
b36137f1
JM
136902012-08-08 Joseph Myers <joseph@codesourcery.com>
13691
13692 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13693 Remove.
13694
cdd915fd
RM
136952012-08-08 Roland McGrath <roland@hack.frob.com>
13696
a2433aac
RM
13697 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13698
cdd915fd
RM
13699 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13700 sysdeps/unix -> sysdeps/posix move.
13701 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13702
bf9b740a
AM
137032012-08-07 Allan McRae <allan@archlinux.org>
13704
13705 [BZ #14303]
13706 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13707 (SUNOS_CPP): Likewise.
13708 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13709 not found.
13710 (open_input): Call CPP using execvp.
13711
93df14ee
JM
137122012-08-07 Joseph Myers <joseph@codesourcery.com>
13713
13714 * sysdeps/unix/sysv/linux/kernel-features.h
13715 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13716 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13717 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13718 (__ASSUME_WAITID_SYSCALL): Likewise.
13719 * sysdeps/unix/sysv/linux/dl-execstack.c
13720 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13721 code unconditional.
13722 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13723 conditional code.
13724 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13725 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13726 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13727 code.
13728 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13729 unconditional.
13730 [__ASSUME_WAITID_SYSCALL]: Likewise.
13731 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13732
d34689de
RM
137332012-08-07 Roland McGrath <roland@hack.frob.com>
13734
a281decc
RM
13735 * sysdeps/unix/closedir.c: Renamed to ...
13736 * sysdeps/posix/closedir.c: ... here.
13737 * sysdeps/unix/dirfd.c: Renamed to ...
13738 * sysdeps/posix/dirfd.c: ... here.
13739 * sysdeps/unix/dirstream.h: Renamed to ...
13740 * sysdeps/posix/dirstream.h: ... here.
13741 * sysdeps/unix/fdopendir.c: Renamed to ...
13742 * sysdeps/posix/fdopendir.c: ... here.
13743 * sysdeps/unix/opendir.c: Renamed to ...
13744 * sysdeps/posix/opendir.c: ... here.
13745 * sysdeps/unix/readdir.c: Renamed to ...
13746 * sysdeps/posix/readdir.c: ... here.
13747 * sysdeps/unix/readdir_r.c: Renamed to ...
13748 * sysdeps/posix/readdir_r.c: ... here.
13749 * sysdeps/unix/rewinddir.c: Renamed to ...
13750 * sysdeps/posix/rewinddir.c: ... here.
13751 * sysdeps/unix/seekdir.c: Renamed to ...
13752 * sysdeps/posix/seekdir.c: ... here.
13753 * sysdeps/unix/telldir.c: Renamed to ...
13754 * sysdeps/posix/telldir.c: ... here.
13755 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13756 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13757 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13758 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13759
22895b47
RM
13760 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13761 * bits/fcntl.h: ... here.
13762
707a53b6
RM
13763 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13764 not 0.
13765 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13766 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13767 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13768 (struct flock): Move l_start, l_len to the beginning.
13769 Use __pid_t for l_pid.
13770 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13771 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13772 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13773 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13774 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13775 [__USE_LARGEFILE64] (struct flock64): New type.
13776 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13777
f0bd3e25
RM
13778 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13779 * bits/dirent.h: ... here.
13780
d34689de
RM
13781 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13782 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13783
6dad2c06
JM
137842012-08-07 Joseph Myers <joseph@codesourcery.com>
13785
13786 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13787 Change from 2.6.0 to 2.6.16.
13788 * sysdeps/unix/sysv/linux/configure: Regenerated.
13789 * sysdeps/unix/sysv/linux/kernel-features.h
13790 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13791 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13792 version.
13793 (__ASSUME_UTIMES): Likewise.
13794 (__ASSUME_CLONE_STOPPED): Remove.
13795 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13796 architectures, not kernel version.
13797 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13798 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13799 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13800 (__ASSUME_WAITID_SYSCALL): Likewise.
13801 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13802 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13803 * README: State 2.6.16 as minimum Linux kernel version. Do not
13804 refer to older versions.
13805
03af9520
RM
138062012-08-06 Roland McGrath <roland@hack.frob.com>
13807
8e49df1d
RM
13808 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13809 Define alphasort64 as an alias.
13810 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13811 Define versionsort64 as an alias.
13812 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13813 Define scandir64 as an alias.
13814 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13815 Define scandirat64 as an alias.
13816 * dirent/alphasort64.c (alphasort64):
13817 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13818 * dirent/versionsort64.c: Likewise.
13819 * dirent/scandir64.c: Likewise.
13820 * dirent/scandirat64.c: Likewise.
13821 * sysdeps/wordsize-64/alphasort.c: File removed.
13822 * sysdeps/wordsize-64/alphasort64.c: File removed.
13823 * sysdeps/wordsize-64/scandir.c: File removed.
13824 * sysdeps/wordsize-64/scandir64.c: File removed.
13825 * sysdeps/wordsize-64/scandirat.c: File removed.
13826 * sysdeps/wordsize-64/scandirat64.c: File removed.
13827 * sysdeps/wordsize-64/versionsort.c: File removed.
13828 * sysdeps/wordsize-64/versionsort64.c: File removed.
13829 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13830 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13831 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13832 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13833 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13834 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13835 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13837
13838 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13839 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13840 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13841 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13842 [defined __arch64__ || defined __sparcv9]
13843 (__INO_T_MATCHES_INO64_T): New macro.
13844 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13845 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13846 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13847 * sysdeps/unix/sysv/linux/bits/dirent.h
13848 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13849 (_DIRENT_MATCHES_DIRENT64): New macro.
13850
03af9520
RM
13851 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13852 Define lockf64 as an alias.
13853 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13854 Define fseeko64 as an alias.
13855 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13856 Define ftello64 as an alias.
13857 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13858 Define _IO_fgetpos64 and fgetpos64 as aliases.
13859 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13860 Define _IO_fsetpos64 and fsetpos64 as aliases.
13861 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13862 Conditionalize body on this.
13863 * libio/fseeko64.c: Likewise.
13864 * libio/ftello64.c: Likewise.
13865 * libio/iofgetpos64.c: Likewise.
13866 * libio/iofsetpos64.c: Likewise.
13867 * sysdeps/wordsize-64/lockf.c: File removed.
13868 * sysdeps/wordsize-64/lockf64.c: File removed.
13869 * sysdeps/wordsize-64/fseeko.c: File removed.
13870 * sysdeps/wordsize-64/fseeko64.c: File removed.
13871 * sysdeps/wordsize-64/ftello.c: File removed.
13872 * sysdeps/wordsize-64/ftello64.c: File removed.
13873 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13874 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13875 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13876 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13877 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13878 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13879 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13880 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13881 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13882 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13884 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13885 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13887
13888 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13890 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13892 [defined __arch64__ || defined __sparcv9]
13893 (__OFF_T_MATCHES_OFF64_T): New macro.
13894 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13895 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13896 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13897 (__OFF_T_MATCHES_OFF64_T): New macro.
13898
c5757acd
L
138992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 * stdlib/secure-getenv.c (__secure_getenv): Replace
13902 GLIBC_2_16 with GLIBC_2_17.
13903
3a31811e
L
139042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13905
13906 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13907 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13908
faa2bccb
DM
139092012-08-03 David S. Miller <davem@davemloft.net>
13910
13911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13912
85fe1997
JM
139132012-08-03 Joseph Myers <joseph@codesourcery.com>
13914
13915 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13916 Remove.
13917 (__ASSUME_CORRECT_SI_PID): Likewise.
13918 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13919 (__ASSUME_TMPFS_NAME): Likewise.
13920 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13921 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13922 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13923 (HAVE_AUX_SECURE): Make definition unconditional.
13924 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13925 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13926
4f75b7a0
RM
139272012-08-03 Roland McGrath <roland@hack.frob.com>
13928
13929 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13930 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13931 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13932 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13933 __eloop_threshold instead of SYMLOOP_MAX.
13934
13935 * sysdeps/generic/eloop-threshold.h: New file.
13936 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13937 of MAXSYMLINKS.
13938 * elf/chroot_canon.c (chroot_canon): Likewise.
13939
7aab07e4
JM
139402012-08-03 Joseph Myers <joseph@codesourcery.com>
13941
13942 [BZ #13717]
13943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13944 Change to 2.6.0 everywhere.
13945 * sysdeps/unix/sysv/linux/configure: Regenerated.
13946 * sysdeps/unix/sysv/linux/kernel-features.h
13947 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13948 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13949 kernel versions.
13950 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13951 (__ASSUME_FUTEX_REQUEUE): Remove.
13952 (__ASSUME_STATFS64): Define unconditionally.
13953 (__ASSUME_AT_SECURE): Likewise.
13954 (__ASSUME_CORRECT_SI_PID): Likewise.
13955 (__ASSUME_TGKILL): Define without depending on kernel version for
13956 i386.
13957 (__ASSUME_UTIMES): Likewise.
13958 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13959 kernel version.
13960 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13961 (__ASSUME_TMPFS_NAME): Likewise.
13962 * README: Update reference to Linux kernel versions.
13963
b67e9372
MP
139642012-08-02 Marek Polacek <polacek@redhat.com>
13965
1f529f7d 13966 [BZ# 14150]
b67e9372
MP
13967 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13968 libc_cv_asm_type_prefix with %.
13969 * configure: Regenerated.
d2441631
RM
13970 * include/libc-symbols.h: Remove comment about
13971 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13972 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13973 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13974 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13975 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13976 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13977 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13978 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13979 * elf/tst-unique2mod1.c: Likewise.
13980 * elf/tst-unique1mod2.c: Likewise.
13981 * elf/tst-unique1mod1.c: Likewise.
13982 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13983 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13984 Replace ASM_TYPE_DIRECTIVE with .type.
13985 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13986 * sysdeps/i386/sysdep.h: Likewise.
13987 * sysdeps/x86_64/sysdep.h: Likewise.
13988 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13990 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13991 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13992 * sysdeps/powerpc/powerpc32/sysdep.h:
13993 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13994 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13995 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13996 * sysdeps/i386/fpu/e_powf.S: Likewise.
13997 * sysdeps/i386/fpu/e_expl.S: Likewise.
13998 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13999 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14000 * sysdeps/i386/fpu/e_pow.S: Likewise.
14001 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14002 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14003 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14004 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14005 * sysdeps/i386/fpu/e_log2.S: Likewise.
14006 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14007 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14008 * sysdeps/i386/fpu/e_powl.S: Likewise.
14009 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14010 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14011 * sysdeps/i386/fpu/e_logl.S: Likewise.
14012 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14013 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14014 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14015 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14016 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14017 * sysdeps/i386/fpu/e_log.S: Likewise.
14018 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14019 * sysdeps/i386/fpu/e_logf.S: Likewise.
14020 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14021 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14022 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14023 * sysdeps/i386/fpu/e_log10.S: Likewise.
14024 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14025 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14026 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14027 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14028 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14029 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14030 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14031 * sysdeps/i386/i686/strtok.S: Likewise.
14032 * sysdeps/i386/i386-mcount.S: Likewise.
14033 * sysdeps/i386/strtok.S: Likewise.
14034 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14035 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14036 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14037 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14038 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14039 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14040 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14041 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14042 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14043 * sysdeps/x86_64/_mcount.S: Likewise.
14044 * sysdeps/x86_64/strtok.S: Likewise.
14045 * sysdeps/sh/_mcount.S: Likewise.
14046
2747bf9a
RM
140472012-08-01 Roland McGrath <roland@hack.frob.com>
14048
14049 * libio/iofopen.c: Include <fcntl.h>.
14050 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14051 (_IO_fopen64, fopen64): Define as aliases.
14052 * libio/iofopen64.c: Include <fcntl.h>.
14053 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14054 Conditionalize body on this.
14055 * sysdeps/wordsize-64/iofopen.c: File removed.
14056 * sysdeps/wordsize-64/iofopen64.c: File removed.
14057
3fb791b8
MP
140582012-08-01 Marek Polacek <polacek@redhat.com>
14059
14060 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14061 Use dlfcn directly instead of a variable.
14062 (binfmt-subdir): Do not define.
14063 (dlfcn): Likewise.
14064
a9f1039f
JM
140652012-08-01 Joseph Myers <joseph@codesourcery.com>
14066
23bddc06
JM
14067 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14068 Remove all definitions.
14069 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14070 <kernel-features.h>.
14071 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14072 (miss_F_GETOWN_EX): Remove all definitions.
14073 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14074 macro definition.
14075 [!__ASSUME_FCNTL64]: Remove conditional code.
14076 [__ASSUME_FCNTL64]: Make code unconditional.
14077 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14078 <kernel-features.h>.
14079 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14080 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14081 (lockf64) [__NR_fcntl64]: Make code unconditional.
14082 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14083
a9f1039f
JM
14084 * sysdeps/unix/sysv/linux/kernel-features.h
14085 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14086 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14087 Make code unconditional.
14088 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14089 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14091 [__NR_vfork]: Make code unconditional.
14092 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14093 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14095 [__NR_vfork]: Make code unconditional.
14096 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14097 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14098
09c0ee5f
RM
140992012-08-01 Roland McGrath <roland@hack.frob.com>
14100
48aec5b9
RM
14101 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14102 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14103
cd97c966
RM
14104 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14105 Define mkstemp64 as an alias.
3f55550c
RM
14106 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14107 Define mkstemps64 as an alias.
cd97c966
RM
14108 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14109 Define mkostemp64 as an alias.
b8625cfc
RM
14110 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14111 Define mkostemps64 as an alias.
cd97c966
RM
14112 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14113 Conditionalize body on this.
14114 * misc/mkostemp64.c: Likewise.
b8625cfc 14115 * misc/mkostemps64.c: Likewise.
3f55550c 14116 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14117 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14118 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14119 * sysdeps/wordsize-64/mkostemp.c: File removed.
14120 * sysdeps/wordsize-64/mkstemp.c: File removed.
14121 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14122 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14123 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14124 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14125
09c0ee5f
RM
14126 [BZ #14138]
14127 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14128 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14129 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14130 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14131
14132 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14133 compat_symbol macros from <shlib-compat.h> rather than the underlying
14134 default_symbol_version and symbol_version macros, so that DEFAULT
14135 lines in shlib-versions are respected.
14136 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14137
7e66ee51
FW
141382012-08-01 Florian Weimer <fweimer@redhat.com>
14139
14140 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14141 Declare with warn_unused_result.
14142 (setgid, setregid, setegid, setresgid): Likewise.
14143 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14144 Likewise.
14145 * WUR-REPORT: Remove set*id functions.
14146
d2a54255
PT
141472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14148
14149 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14150
7ecdb005
RM
141512012-07-31 Roland McGrath <roland@hack.frob.com>
14152
b4180a5e 14153 [BZ #10191]
789bd351
RM
14154 * include/sys/socket.h (__libc_accept, __libc_accept4):
14155 Add attribute_hidden.
14156 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14157
40ce302d
RM
14158 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14159 use of PTR_MANGLE.
14160 * inet/getnetgrent_r.c (setup): Likewise.
14161
7ecdb005
RM
14162 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14163
e2eabb2c
DM
141642012-07-31 David S. Miller <davem@davemloft.net>
14165
14166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14167
d0419dbf
JM
141682012-07-31 Joseph Myers <joseph@codesourcery.com>
14169
14170 [BZ #13629]
14171 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14172 value between 1.0 and 2.0 and smaller part has absolute value less
14173 than 1.0.
14174 * math/s_clog10.c (__clog10): Likewise.
14175 * math/s_clog10f.c (__clog10f): Likewise.
14176 * math/s_clog10l.c (__clog10l): Likewise.
14177 * math/s_clogf.c (__clogf): Likewise.
14178 * math/s_clogl.c (__clogl): Likewise.
14179 * math/libm-test.inc (clog_test): Add more tests.
14180 (clog10_test): Likewise.
14181 * sysdeps/i386/fpu/libm-test-ulps: Update.
14182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183
2bc13872
FW
141842012-07-31 Florian Weimer <fweimer@redhat.com>
14185
14186 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14187 Exit with zero in case no suitable GID is found, and write a
14188 message to standard error.
14189
bea9b193
RM
141902012-07-30 Roland McGrath <roland@hack.frob.com>
14191
14192 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14193 rather than to 1.
14194 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14195 (MAXPATHLEN): Removed.
14196 (NOGROUP, NODEV): New macros.
14197 (setbit, clrbit, isset, isclr): New macros.
14198 (howmany, roundup, powerof2): New macros.
14199 (DEV_BSIZE): New macro.
14200
14201 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14202 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14203
14204 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14205 definition on [!__NO_LONG_DOUBLE_MATH].
14206
14207 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14208 PTR_MANGLE and PTR_DEMANGLE.
14209
14210 * socket/accept4.c (accept4): Rename to __libc_accept4.
14211 Define accept4 as a weak alias.
14212
14213 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14214 on [_DIRENT_HAVE_D_TYPE].
14215 * io/ftw.c (ftw_dir): Likewise.
14216
14217 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14218
14219 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14220
14221 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14222 Use the BSD numbers rather than the arbitrary ones we had.
14223 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14224 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14225 (SIGXCPU, SIGXFSZ): New macros.
14226 (_NSIG): Now 32.
14227
14228 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14229 initializer on [_LIBC_REENTRANT].
14230
14231 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14232 definitions inside [_POSIX_MAPPED_FILES].
14233
14234 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14235
14236 * dirent/opendir.c: Include <fcntl.h>.
14237
14238 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14239 (__libc_getspecific): Likewise.
14240 (__libc_key_create): Likewise.
14241
14242 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14243 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14244 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14245 (tmpfile64): Define as alias.
14246 * sysdeps/wordsize-64/tmpfile.c: File removed.
14247 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14250
14251 * stdio-common/vfscanf.c: Include <stdbool.h>.
14252 * nss/makedb.c: Likewise.
14253 * stdio-common/_i18n_number.h: Likewise.
14254 * argp/argp-help.c: Likewise.
14255 * posix/wordexp.c: Likewise.
14256 * sysdeps/posix/spawni.c: Likewise.
14257 * nss/nss_files/files-initgroups.c: Likewise.
14258 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14259 * nss/nss_files/files-initgroups.c: Likewise.
14260 * nss/nss_db/db-netgrp.c: Likewise.
14261 * nss/nss_db/db-initgroups.c: Likewise.
14262 * io/fchmodat.c: Include <sys/stat.h>.
14263
14264 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14265 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14266
14267 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14268 [HAVE_MMAP].
14269
14270 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14271 Add multiple inclusion protection.
14272
e5abc686
DM
142732012-07-27 David S. Miller <davem@davemloft.net>
14274
14275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14276
815e6fa3
GB
142772012-07-27 Gary Benson <gbenson@redhat.com>
14278
14279 [BZ #14298]
14280 * elf/rtld.c: Include <stap-probe.h>.
14281 (dl_main): Added static probes "init_start" and "init_complete".
14282 * elf/dl-load.c: Include <stap-probe.h>.
14283 (lose): Take new parameter "nsid".
14284 Added static probe "map_failed".
14285 (_dl_map_object_from_fd): Pass namespace id to lose.
14286 Added static probe "map_start".
14287 (open_verify): Pass namespace id to lose.
14288 * elf/dl-open.c: Include <stap-probe.h>.
14289 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14290 and "reloc_complete".
14291 * elf/dl-close.c: Include <stap-probe.h>.
14292 (_dl_close_worker): Added static probes "unmap_start" and
14293 "unmap_complete".
14294 * elf/rtld-debugger-interface.txt: New file documenting the above.
14295
9f98c16c
RM
142962012-07-26 Roland McGrath <roland@hack.frob.com>
14297
14298 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14299 rather than a string variable.
14300 * sunrpc/rpc_main.c (h_output): Likewise.
14301 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14302
f3c22df3
PT
143032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14304
14305 * inet/check_native.c: New file.
14306
3129cfc6
JM
143072012-07-26 Joseph Myers <joseph@codesourcery.com>
14308
da865e95
JM
14309 [BZ #13629]
14310 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14311 if larger part has absolute value 1.0.
14312 * math/s_clog10.c (__clog10): Likewise.
14313 * math/s_clog10f.c (__clog10f): Likewise.
14314 * math/s_clog10l.c (__clog10l): Likewise.
14315 * math/s_clogf.c (__clogf): Likewise.
14316 * math/s_clogl.c (__clogl): Likewise.
14317 * math/libm-test.inc (clog_test): Add more tests.
14318 (clog10_test): Likewise.
14319 * sysdeps/i386/fpu/libm-test-ulps: Update.
14320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14321
3129cfc6
JM
14322 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14323 (pltexit): Likewise.
14324 (La_regs): Likewise.
14325 (La_retval): Likewise.
14326 (int_retval): Likewise.
14327 Update #error for removed macros to refer only to definitions in
14328 tst-audit.h.
14329 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14330 macro.
14331 (pltexit): Likewise.
14332 (La_regs): Likewise.
14333 (La_retval): Likewise.
14334 (int_retval): Likewise.
14335 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14336 macro.
14337 (pltexit): Likewise.
14338 (La_regs): Likewise.
14339 (La_retval): Likewise.
14340 (int_retval): Likewise.
14341 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14342 macro.
14343 (pltexit): Likewise.
14344 (La_regs): Likewise.
14345 (La_retval): Likewise.
14346 (int_retval): Likewise.
14347 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14348 macro.
14349 (pltexit): Likewise.
14350 (La_regs): Likewise.
14351 (La_retval): Likewise.
14352 (int_retval): Likewise.
14353 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14354 macro.
14355 (pltexit): Likewise.
14356 (La_regs): Likewise.
14357 (La_retval): Likewise.
14358 (int_retval): Likewise.
14359 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14360 macro.
14361 (pltexit): Likewise.
14362 (La_regs): Likewise.
14363 (La_retval): Likewise.
14364 (int_retval): Likewise.
14365 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14366 macro definitions in tst-audit.h.
14367 * sysdeps/i386/tst-audit.h: New file.
14368 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14369 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14370 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14371 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14372 * sysdeps/sh/tst-audit.h: Likewise.
14373 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14374 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14375 * sysdeps/x86_64/tst-audit.h: Likewise.
14376
bfc07087
AJ
143772012-07-26 Andreas Jaeger <aj@suse.de>
14378
b1b2aaf8
AJ
14379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14380 ptrace.
14381
14382 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14383 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14384 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14385 PTRACE_O_MASK.
14386 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14387 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14388 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14389
bfc07087
AJ
14390 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14391 value.
14392
14393 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14394 _sigsys.
14395 (si_call_addr, si_syscall, si_arch): Define new macro.
14396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14397 _sigsys.
14398 (si_call_addr, si_syscall, si_arch): Define new marcro.
14399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14400 _sigsys.
14401 (si_call_addr, si_syscall, si_arch): Define new macro.
14402 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14403 _sigsys.
14404 (si_call_addr, si_syscall, si_arch): Define new macro.
14405
89b4b02f
JM
144062012-07-25 Joseph Myers <joseph@codesourcery.com>
14407
14408 [BZ #13717]
14409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14410 Change to 2.4.21 where previously 2.4.1.
14411 * sysdeps/unix/sysv/linux/configure: Regenerated.
14412 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14413 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14414 Linux kernel version.
14415 (__ASSUME_STD_AUXV): Remove.
14416 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14417 kernel version.
14418 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14419 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14420 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14421 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14422 (__ASSUME_NETLINK_SUPPORT): Likewise.
14423 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14424 (__no_netlink_support): Remove conditional definition.
14425 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14426 Remove.
14427 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14428 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14429 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14430 (if_nameindex_ioctl): Remove.
14431 (if_nameindex_netlink): Do not handle __no_netlink_support.
14432 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14433 code.
14434 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14435 Remove conditional code.
14436 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14437 code.
14438 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14439 unconditional.
14440 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14441 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14442 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14443 Remove.
14444 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14445 [!__ASSUME_STD_AUXV]: Remove conditional code.
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14447 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14448 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14450 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14451 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14452 code.
14453 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14455 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14456 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14457 conditional code.
14458 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14460 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14461 code.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14463 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14464 conditional code.
14465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14466 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14467 code unconditional.
14468 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14469 conditional code.
14470 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14471 unconditional.
14472 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14473 conditional code.
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14475 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14476 unconditional.
14477 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14478 conditional code.
14479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14480 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14481 code unconditional.
14482 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14483 conditional code.
14484 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14485 unconditional.
14486 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14487 conditional code.
14488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14489 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14490 code unconditional.
14491 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14492 conditional code.
14493 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14494 unconditional.
14495 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14496 conditional code.
14497
842a39cd
AS
144982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14499
14500 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14501 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14502 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14503 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14504 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14505 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14506 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14507 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14508 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14509 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14510 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14511 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14512 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14513 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14514 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14515 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14516 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14517 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14518 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14520 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14521 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14522 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14523
84b3fd84
FW
145242012-07-25 Florian Weimer <fweimer@redhat.com>
14525
14526 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14527 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14528 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14529 Introduce __libc_secure_getenv.
0c7936d5
FW
14530 * stdlib/Versions (2.17): Add secure_getenv
14531 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14532 * stdlib/secure-getenv.c: Rename __secure_getenv to
14533 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14534 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14535 * stdlib/tst-secure-getenv.c: New.
14536 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14537 * manual/startup.texi (Environment Access): Document
14538 secure_getenv.
84b3fd84
FW
14539 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14540 __libc_secure_getenv.
14541 * inet/ruserpass.c (ruserpass): Likewise.
14542 * malloc/mtrace.c (mtrace): Likewise.
14543 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14544 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14545 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14546 * sysdeps/posix/tempname.c: Likewise. Evaluate
14547 HAVE_SECURE_GETENV.
14548 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14549 __secure_getenv to __libc_secure_getenv.
84b3fd84 14550 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14552 Likewise.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14554 Likewise.
14555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14562
56e49b71
JM
145632012-07-25 Joseph Myers <joseph@codesourcery.com>
14564
14565 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14566 (struct La_i86_retval): Likewise.
14567 (struct La_x86_64_regs): Likewise.
14568 (struct La_x86_64_retval): Likewise.
14569 (struct La_x32_regs): Likewise.
14570 (struct La_x32_retval): Likewise.
14571 (struct La_ppc32_regs): Likewise.
14572 (struct La_ppc32_retval): Likewise.
14573 (struct La_ppc64_regs): Likewise.
14574 (struct La_ppc64_retval): Likewise.
14575 (struct La_sh_regs): Likewise.
14576 (struct La_sh_retval): Likewise.
14577 (struct La_s390_32_regs): Likewise.
14578 (struct La_s390_32_retval): Likewise.
14579 (struct La_s390_64_regs): Likewise.
14580 (struct La_s390_64_retval): Likewise.
14581 (struct La_sparc32_regs): Likewise.
14582 (struct La_sparc32_retval): Likewise.
14583 (struct La_sparc64_regs): Likewise.
14584 (struct La_sparc64_retval): Likewise.
14585 (struct audit_ifaces): Remove architecture-specific pltenter and
14586 pltexit members.
14587 * sysdeps/i386/ldsodefs.h: New file.
14588 * sysdeps/powerpc/ldsodefs.h: Likewise.
14589 * sysdeps/s390/ldsodefs.h: Likewise.
14590 * sysdeps/sh/ldsodefs.h: Likewise.
14591 * sysdeps/sparc/ldsodefs.h: Likewise.
14592 * sysdeps/x86_64/ldsodefs.h: Likewise.
14593
354691b7
MP
145942012-07-25 Marek Polacek <polacek@redhat.com>
14595
14596 [BZ #6808]
14597 * math/libm-test.inc (yn_test): Add another test.
14598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14599 to ERANGE when the result is +-Inf.
14600 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14601 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14602 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14603 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14604
bf9e2071
JM
146052012-07-24 Joseph Myers <joseph@codesourcery.com>
14606
14607 * conform/data/time.h-data (NULL): Use macro-constant. Require
14608 equal to 0.
14609 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14610 clock_t.
14611 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14612
57633811
TS
146132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14614
14615 * configure.in <sysdeps resolving>: Correct printing
14616 Implies_before.
14617 * configure: Regenerate.
14618
c23c33b0
TS
146192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14620
14621 * math/w_ilogb.c: Include <limits.h>.
14622 * math/w_ilogbl.c: Likewise.
14623
b5982523
JM
146242012-07-20 Joseph Myers <joseph@codesourcery.com>
14625
14626 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14627 va_copy. Document allowing for unavailable va_copy only as
14628 pre-C99 compatibility.
14629 * manual/string.texi (Copying and Concatenation): Use va_copy
14630 instead of __va_copy in concat example.
14631
ac4ea442
PT
146322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14633
14634 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14635 (__sendto): Use create_address_port. Initialize APORT and deallocate
14636 it if not null.
14637
f98eafbd
PT
14638 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14639 with O_NOLINK passed to __file_name_lookup.
14640
898c7aab
PT
14641 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14642 with O_NOLINK passed to __file_name_lookup.
14643
0ced335a
PT
14644 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14645 negative N or less than NGIDS.
14646
b3404dbd
PT
14647 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14648 type to string_t. Set ERANGE as errno and return it if NAME is not big
14649 enough. Use memcpy instead of strncpy.
14650
0f48659e
JM
146512012-07-20 Joseph Myers <joseph@codesourcery.com>
14652
14653 * elf/Makefile (check-data): Remove.
14654 (localplt.data): New vpath directive.
14655 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14656 instead of $(check-data).
14657 * scripts/data/localplt-generic.data: Move to ...
14658 * sysdeps/generic/localplt.data: ... here.
14659 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14660 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14661 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14663 ... here.
14664 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14666 ... here.
14667 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14669 ... here.
14670 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14672 ... here.
14673 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14675 ... here.
14676 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14678 ... here.
14679
d37cbdaa
AZ
146802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14681
14682 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14683 PPC32 and PPC64 files.
14684 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14685 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14686
46f85fc2
AK
146872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14688
14689 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14690 __makecontext_ret to ...
14691 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14692 ... here and call exit if uc_link is NULL. New file.
14693 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14694 __makecontext_ret.S.
14695 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14696 __makecontext_ret to ...
14697 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14698 ... here and call exit if uc_link is NULL. New file.
14699 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14700 __makecontext_ret.S.
14701
08f43f9b
AK
147022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14703
14704 * elf/elf.h (R_390_IRELATIVE): New definition.
14705 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14706 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14707 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14708 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14709 (elf_machine_lazy_rel): Likewise.
14710 * sysdeps/s390/dl-irel.h: New file.
14711 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14712 * sysdeps/s390/s390-64/memset.S: New asm code.
14713 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14714 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14715 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14716 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14717 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14718 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14720 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14721 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14722 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14723 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14724 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14725 * sysdeps/s390/s390-32/memset.S: New asm code.
14726 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14727
3b05db33
MP
147282012-07-17 Marek Polacek <polacek@redhat.com>
14729
14730 [BZ #14349]
14731 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14732 * sysdeps/s390/s390-64/configure.in: Likewise.
14733 * sysdeps/sparc/configure.in: Likewise.
14734 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14735 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14736 * sysdeps/i386/configure.in: Likewise.
14737 * sysdeps/x86_64/configure.in: Likewise.
14738 * sysdeps/sh/configure.in: Likewise.
14739 * sysdeps/s390/s390-32/configure: Regenerated.
14740 * sysdeps/s390/s390-64/configure: Likewise.
14741 * sysdeps/x86_64/configure: Likewise.
14742 * sysdeps/sh/configure: Likewise.
14743 * sysdeps/powerpc/powerpc64/configure: Likewise.
14744 * sysdeps/powerpc/powerpc32/configure: Likewise.
14745 * sysdeps/sparc/configure: Likwise.
14746 * sysdeps/i386/configure: Likewise.
14747
a66877c6
MP
14748 * elf/dl-open.c: Comment fixes.
14749
cfc82fd8
JM
147502012-07-17 Joseph Myers <joseph@codesourcery.com>
14751
bd29910a
JM
14752 * Makefile [CXX] (check-data): Remove.
14753 [CXX] (c++-types.data): New vpath directive.
14754 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14755 vpath. Do not allow for C++ type data being missing.
14756 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14757 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14758 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14759 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14760 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14761 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14762 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14764 ... here.
14765 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14767 ... here.
14768 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14770 ... here.
14771 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14773 ... here.
14774 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14776 ... here.
14777 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14779 ... here.
14780 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14782 ... here.
14783 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14785
cfc82fd8
JM
14786 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14787 definitions to architecture-specific files.
14788 (TLS_IE): Likewise.
14789 (TLS_LD): Likewise.
14790 (TLS_GD): Likewise.
14791 * sysdeps/i386/tls-macros.h: New file.
14792 * sysdeps/powerpc/tls-macros.h: Likewise.
14793 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14794 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14795 * sysdeps/sh/tls-macros.h: Likewise.
14796 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14797 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14798 * sysdeps/x86_64/tls-macros.h: Likewise.
14799
f7db3170
TS
148002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14801
07cbfc23
TS
14802 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14803 zero value for regular exit case.
14804
f7db3170
TS
14805 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14806 (__start_context): Preserve zero value for regular exit case.
14807
dc97c227
TS
148082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14809 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14810
14811 * manual/setjmp.texi (setcontext): Clarify normal process
14812 termination when uc_link is the null pointer.
14813 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14814 exit call.
14815
d0cd7d02
AS
148162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14817
14818 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14819 preprocessor. Test for each exception mask separately.
14820
dd318934
AJ
148212012-07-16 Andreas Jaeger <aj@suse.de>
14822
14823 * po/ru.po: Update from translation team.
14824
8048311a
JM
148252012-07-15 Joseph Myers <joseph@codesourcery.com>
14826
14827 * conform/data/string.h-data (NULL): Use macro-constant. Require
14828 equal to 0.
14829 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14830 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14831 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14832 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14834
b637d46e
AJ
148352012-07-13 Andreas Jaeger <aj@suse.de>
14836
14837 * po/fr.po: Update from translation team.
14838
541428fe
MP
148392012-07-12 Marek Polacek <polacek@redhat.com>
14840
14841 [BZ #14173]
14842 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14844 loop condition.
14845
ec332e94
JM
148462012-07-12 Joseph Myers <joseph@codesourcery.com>
14847
14848 [BZ #13717]
14849 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14850 Change to 2.4.1 where previously 2.4.0.
14851 * sysdeps/unix/sysv/linux/configure: Regenerated.
14852 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14853 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14854 version.
14855 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14856 (__ASSUME_AT_CLKTCK): Remove.
14857 (__ASSUME_AT_PAGESIZE): Likewise.
14858 (__ASSUME_AT_XID): Likewise.
14859 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14860 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14861 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14862 unconditionally.
14863 (HAVE_AUX_PAGESIZE): Likewise.
14864 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14865 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14866 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14867
7b6e99be
JB
148682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14869
14870 [BZ #14307]
14871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14872 the temporary buffer used to invoke __gethostbyname2_r,
14873 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14874 host_data / struct gaih_addrtuple.
14875 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14876 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14877 header file nss/nsswitch.h.
14878 * nss/nsswitch.h (global scope): Add definition of implementation
14879 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14880 resolv/nss_dns/dns-host.c).
14881
608404eb
AJ
148822012-07-11 Andreas Jaeger <aj@suse.de>
14883
14884 * po/fr.po: Update from translation team.
14885
71220aca
AJ
14886 * po/sv.po: Update from translation team
14887 * po/fr.po: Another update from translation team.
14888
28cfe843
AZ
148892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14890
14891 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14892 for subnormals or multiply small sinh result by itself.
14893 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14895
6b90f981
DM
148962012-07-11 David S. Miller <davem@davemloft.net>
14897
14898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14899
c6825772
AS
149002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14901
14902 [BZ #14347]
14903 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14904 (INTERNAL_MARK): Shift it here.
14905
7b8e0d49
MP
149062012-07-10 Marek Polacek <polacek@redhat.com>
14907
14908 [BZ #14151]
14909 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14910 libc_cv_asm_global_directive with .globl.
14911 * configure: Regenerated.
14912 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14913 with .globl.
14914 * sysdeps/i386/configure: Regenerated.
14915 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14916 with .globl.
14917 * sysdeps/x86_64/configure: Regenerated.
14918 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14919 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14920 * elf/tst-unique2mod2.c: Likewise.
14921 * elf/tst-unique2mod1.c: Likewise.
14922 * elf/tst-unique1mod2.c: Likewise.
14923 * elf/tst-unique1mod1.c: Likewise.
14924 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14925 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14926 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14927 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14928 * sysdeps/mach/sysdep.h: Likewise.
14929 * sysdeps/i386/sysdep.h: Likewise.
14930 * sysdeps/i386/i386-mcount.S: Likewise.
14931 * sysdeps/x86_64/_mcount.S: Likewise.
14932 * sysdeps/x86_64/sysdep.h: Likewise.
14933 * sysdeps/sh/_mcount.S: Likewise.
14934 * sysdeps/sh/sysdep.h: Likewise.
14935 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14936 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14937 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14938 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14939 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14940 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14941 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14942 * locale/localeinfo.h: Likewise.
14943 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14944 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14945
6c55cda3
RM
149462012-07-09 Roland McGrath <roland@hack.frob.com>
14947
14948 [BZ #14336]
14949 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14950 system".
14951 * manual/message.texi (The Uniforum approach): Likewise.
14952 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14953 (glibc iconv Implementation): Likewise.
14954
638a572e
JM
149552012-07-09 Joseph Myers <joseph@codesourcery.com>
14956
14957 [BZ #14337]
14958 * math/s_clog.c (__clog): Avoid scaling a value down where that
14959 could result in underflow.
14960 * math/s_clog10.c (__clog10): Likewise.
14961 * math/s_clog10f.c (__clog10f): Likewise.
14962 * math/s_clog10l.c (__clog10l): Likewise.
14963 * math/s_clogf.c (__clogf): Likewise.
14964 * math/s_clogl.c (__clogl): Likewise.
14965 * math/libm-test.inc (clog_test): Add more tests.
14966 (clog10_test): Likewise.
14967 * sysdeps/i386/fpu/libm-test-ulps: Update.
14968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14969
261f4859
AS
149702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14971
0abaf3e4
AS
14972 [BZ #14283]
14973 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14974 by 7 not 8 to examine high bit of fractional part.
14975
261f4859
AS
14976 [BZ #14042]
14977 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14978 for call to __mcount_internal.
14979 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14980 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14981 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14982
f17ac40d
JM
149832012-07-06 Joseph Myers <joseph@codesourcery.com>
14984
9ad63c23
JM
14985 [BZ #14154]
14986 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14987 approximation for values within 0x1p-13f of an odd multiple of
14988 pi/4.
14989 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14990 exception. Add more tests.
14991 * sysdeps/i386/fpu/libm-test-ulps: Update.
14992
f17ac40d
JM
14993 [BZ #6778]
14994 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14995 inputs and return -1 for them. Do not check for +Inf in case not
14996 reachable for +Inf.
14997 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14998 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14999 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15000 and return -1 for them. Do not check for +Inf in case not
15001 reachable for +Inf.
15002 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15003 define.
15004 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15005 and return -1 for them. Do not check for +Inf in case not
15006 reachable for +Inf.
15007 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15008 spurious underflow.
15009 * sysdeps/i386/fpu/libm-test-ulps: Update.
15010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15011
fb21f89b
MF
150122012-07-06 Mike Frysinger <vapier@gentoo.org>
15013
15014 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15015
cdfe2c5e
JM
150162012-07-05 Joseph Myers <joseph@codesourcery.com>
15017
15018 [BZ #14157]
15019 [BZ #14331]
15020 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15021 could result in spurious underflow. Scale down values above
15022 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15023 * math/s_csqrtf.c (__csqrtf): Likewise.
15024 * math/s_csqrtl.c (__csqrtl): Likewise.
15025 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15026 spurious underflow.
15027 * sysdeps/i386/fpu/libm-test-ulps: Update.
15028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15029
70d35b67
AS
150302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15031
704bc459
AS
15032 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15033 xopen-msg.sed.
15034 * catgets/xopen-msg.awk: New file.
15035 * catgets/xopen-msg.sed: Removed.
15036
70d35b67
AS
15037 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15038 po2text.sed.
15039 * intl/po2test.awk: New file.
15040 * intl/po2test.sed: Removed.
15041
ca61cf32
JM
150422012-07-04 Joseph Myers <joseph@codesourcery.com>
15043
15044 [BZ #14328]
15045 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15046 or multiply small sinh result by itself.
15047 * math/s_ctanf.c (__ctanf): Likewise.
15048 * math/s_ctanh.c (__ctanh): Likewise.
15049 * math/s_ctanhf.c (__ctanhf): Likewise.
15050 * math/s_ctanhl.c (__ctanhl): Likewise.
15051 * math/s_ctanl.c (__ctanl): Likewise.
15052 * math/libm-test.inc (ctan_test_tonearest): New function.
15053 (ctan_test_towardzero): Likewise.
15054 (ctan_test_downward): Likewise.
15055 (ctan_test_upward): Likewise.
15056 (ctanh_test_tonearest): Likewise.
15057 (ctanh_test_towardzero): Likewise.
15058 (ctanh_test_downward): Likewise.
15059 (ctanh_test_upward): Likewise.
15060 (main): Call these new functions.
15061 * sysdeps/i386/fpu/libm-test-ulps: Update.
15062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15063
ca48a46a
MF
150642012-07-03 Mike Frysinger <vapier@gentoo.org>
15065
15066 * .gitignore: Delete /ports entry.
15067
9d63d37d
AJ
150682012-07-03 Andreas Jaeger <aj@suse.de>
15069
15070 * po/bg.po: Update from translation team.
15071 * po/cs.po: Likewise.
15072 * po/de.po: Likewise.
15073 * po/hr.po: Likewise.
15074 * po/nl.pl: Likewise.
15075 * po/pl.po: Likewise.
15076 * po/vi.po: Likewise.
15077
370ca3d2
JM
150782012-07-03 Joseph Myers <joseph@codesourcery.com>
15079
95f5a9a8
JM
15080 * Makeconfig [!+link] (+link-before-libc): New variable.
15081 [!+link] (+link-after-libc): Likewise.
15082 [!+link] (+link-tests): Likewise.
15083 [!+link] (+link): Define in terms of $(+link-before-libc) and
15084 $(+link-after-libc).
15085 [!+link-static] (+link-static-before-libc): New variable.
15086 [!+link-static] (+link-static-after-libc): Likewise.
15087 [!+link-static] (+link-static-tests): Likewise.
15088 [!+link-static] (+link-static): Define in terms of
15089 $(+link-static-before-libc) and $(+link-static-after-libc).
15090 [build-shared] (link-libc-before-gnulib): New variable.
15091 [build-shared] (link-libc-tests): Likewise.
15092 [build-shared] (link-libc): Define in terms of
15093 $(link-libc-before-gnulib).
15094 [!build-shared] (link-libc-tests): New variable.
15095 (link-libc-static-tests): New variable.
15096 [!gnulib] (gnulib-arch): New variable.
15097 [!gnulib] (gnulib-tests): Likewise.
15098 [!gnulib] (static-gnulib-arch): Likewise.
15099 [!gnulib] (static-gnulib-tests): Likewise.
15100 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15101 Define with "=" instead of ":=".
15102 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15103 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15104 * Rules (binaries-all-notests): New variable.
15105 (binaries-all-tests): Likewise.
15106 (binaries-static-notests): Likewise.
15107 (binaries-static-tests): Likewise.
15108 (binaries-all): Define using $(binaries-all-notests) and
15109 $(binaries-all-tests).
15110 (binaries-static): Define using $(binaries-static-notests) and
15111 $(binaries-static-tests).
15112 (binaries-shared-tests): New variable.
15113 (binaries-shared-notests): Likewise.
15114 (binaries-shared): Remove variable.
15115 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15116 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15117 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15118 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15119 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15120 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15121 * elf/Makefile (sln-modules): New variable.
15122 (extra-objs): Add $(sln-modules:=.o).
15123 (ldconfig-modules): Add static-stubs.
15124 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15125 * elf/static-stubs.c: New file.
15126
7a845b2c
JM
15127 [BZ #14283]
15128 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15129 by 7 not 8 to examine high bit of fractional part. Use volatile
15130 variables when splitting into final array of floats if
15131 __FLT_EVAL_METHOD__ != 0.
15132 * math/libm-test.inc (cos_test): Add another test.
15133 (sin_test): Likewise.
15134 * sysdeps/i386/fpu/libm-test-ulps: Update.
15135
e2283f38
JM
15136 [BZ #14273]
15137 * math/libm-test.inc (cosh_test): Add more tests.
15138
370ca3d2
JM
15139 * version.h (RELEASE): Set to "development".
15140 (VERSION): Set to "2.16.90".
15141
ee9247c3
CD
151422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15143
15144 * NEWS: Update copyright. Remove last-updated date.
15145 Mention math library bug fixes and timezone data changes.
15146 * README: Mention GNU/Hurd, x32, and HPPA support status.
15147
4648c381
TS
151482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15149
15150 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15151
aac78a43
AJ
151522012-06-27 Andreas Jaeger <aj@suse.de>
15153
15154 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15155
ed3dbfad
AJ
151562012-06-25 Andreas Jaeger <aj@suse.de>
15157
15158 * sysdeps/s390/fpu/libm-test-ulps: Update.
15159
4d0ee855
AS
151602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15161 Thomas Schwinge <thomas@codesourcery.com>
15162
15163 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15164 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15166 fanotify_mark.
15167
af1bce34
TS
151682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15169
a9fa33ba
TS
15170 * sysdeps/mach/start.c: Remove file.
15171 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15172 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15173 * sysdeps/sh/init-first.c: Likewise.
15174
58f902b8
TS
15175 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15176 registers for frame unwinding purposes, add CFI directives.
15177 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15178 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15179 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15180 Likewise.
15181
1518f58b
TS
15182 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15183 __fortify_fail returning.
15184 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15185
db9b5059
TS
15186 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15187 sysdeps/sh/____longjmp_chk.S.
15188 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15189 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15190 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15191 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15192
967705fe
TS
15193 * sysdeps/sh/abort-instr.h: New file.
15194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15195 process in case exit returns.
15196
a9def8c4
TS
15197 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15198 initialize the GOT register before use.
15199
2a649725
TS
15200 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15201 calculation of ARGC > 4.
15202
af1bce34
TS
15203 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15204 meaningful names to some local labels.
15205
d230f50a
KK
152062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15207 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15208
15209 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15210 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15211 (__arch_compare_and_exchange_val_16_acq): Likewise.
15212 (__arch_compare_and_exchange_val_32_acq): Likewise.
15213 (atomic_exchange_and_add): Fix gUSA sequence.
15214 (atomic_add): Likewise.
15215 (atomic_add_negative): Likewise.
15216 (atomic_add_zero): Likewise.
15217 (atomic_bit_test_set): Likewise.
15218
0479b305
AS
152192012-06-22 Andreas Schwab <schwab@redhat.com>
15220
15221 [BZ #13579]
15222 * include/link.h (struct link_map): Add l_free_initfini.
15223 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15224 l_initfini.
15225 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15226 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15227 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15228 set.
15229
0e3933b9
CD
152302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15231
15232 * configure.in: Use AC_LANG_SOURCE.
15233 * configure: Regenerate.
15234
4248b1b1
RM
152352012-06-22 Roland McGrath <roland@hack.frob.com>
15236
15237 * configure.in (libc_cv_localstatedir): New substituted variable.
15238 * configure: Regenerated.
15239 * config.make.in (localstatedir): New variable, substituted from
15240 libc_cv_localstatedir.
15241 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15242 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15243 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15244 * sysdeps/gnu/configure: Regenerated.
15245
006dd861
JL
152462012-06-21 Jeff Law <law@redhat.com>
15247
15248 [BZ #14277]
15249 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15250 free. Simplify list management for _LIBC case.
15251
79662d42
JM
152522012-06-21 Joseph Myers <joseph@codesourcery.com>
15253
b7abb4bf
JM
15254 [BZ #14273]
15255 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15256 Clear sign bit of 64-bit integer value before comparing against
15257 overflow value.
15258
79662d42
JM
15259 * sysdeps/mach/configure: Regenerated.
15260
1f150908
L
152612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15262
15263 [BZ #14278]
15264 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15265
28363bbf
JL
152662012-06-21 Jeff Law <law@redhat.com>
15267
15268 [BZ #13882]
15269 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15270 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15271 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15272 * elf/dl-open.c (dl_open_worker): Likewise.
15273
09615db4
CD
152742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15275
15276 * scripts/list-sources.sh: Scan PORTS for translations.
15277 * po/libc.pot: Regenerated.
15278
2174c6dd
AJ
152792012-06-21 Andreas Jaeger <aj@suse.de>
15280
15281 [BZ #12194]
15282 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15283 warning.
15284 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15285 * bits/byteswap-16.h (__bswap_16): Likewise.
15286 * bits/byteswap.h (__bswap_constant_16): Likewise.
15287
3ee947b1
L
152882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15289
15290 [BZ #14117]
a2f34833
L
15291 * sysdeps/i386/fpu_control.h: Removed.
15292 * sysdeps/x86_64/fpu_control.h: Moved to ...
15293 * sysdeps/x86/fpu_control.h: Here.
15294
3ee947b1
L
15295 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15296 (_FPU_SETCW): Likewise.
15297
ed1825f8
L
152982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15299
25f1282a
L
15300 [BZ #14117]
15301 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15302 * sysdeps/x86/fpu/bits/mathinline.h: This.
15303 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15304
ed1825f8
L
15305 [BZ #14050]
15306 [BZ #14117]
15307 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15308 functions if __x86_64__ is defined.
15309
36d54b74
CLT
153102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15311
15312 * string/endian.h: Add !__ASSEMBLER__ condition for including
15313 conversion interfaces.
15314
10285c21
JM
153152012-06-15 Joseph Myers <joseph@codesourcery.com>
15316
15317 [BZ #14241]
15318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15319 of ABS(x) in calculating zero to negative powers other than odd
15320 integers.
15321 * math/libm-test.inc (pow_test): Add more tests.
15322
06c5abbd
AJ
153232012-06-15 Andreas Jaeger <aj@suse.de>
15324
15325 * manual/contrib.texi (Contributors): Update entry of Liubov
15326 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15327 Machado Filho.
15328
a3aeac40
CH
153292012-06-15 Cyril Hrubis <metan@ucw.cz>
15330
15331 * string/string.h: Add __wur to GNU version of strerror_r.
15332
49bdf4c1
L
153332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15334
15335 [BZ #14229]
15336 * string/Makefile (tests): Add tst-strtok_r.
15337 * string/tst-strtok_r.c: New file.
15338 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15339 RAX_LP/RDX_LP on SAVE_PTR.
15340
834f9b8d
RM
153412012-06-14 Roland McGrath <roland@hack.frob.com>
15342
15343 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15344
75fa1921
JM
153452012-06-14 Joseph Myers <joseph@codesourcery.com>
15346
15347 * libm_test.inc (csqrt_test): Allow more spurious underflow
15348 exceptions.
15349 (j0_test): Likewise.
15350 (j1_test): Likewise.
15351 (y0_test): Likewise.
15352 (y1_test): Likewise.
15353
771766df
CD
153542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15355
15356 * po/Makefile (libc.pot): Use UTF-8 charset.
15357
ceb9e56b
PP
153582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15359
15360 [BZ #14210]
15361 Suppress sign-conversion warning from FD_SET.
15362 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15363 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15364 not unsigned long int.
15365 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15366
ddb28975
L
153672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15368
15369 [BZ #14050]
15370 [BZ #14117]
15371 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15372 __extern_always_inline instead of __extern_inline.
15373 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15374 (__signbit): Likewise.
15375 (__signbitl): Support C++ namespace.
15376 (lrintf): New inline function.
15377 (lrint): Likewise.
15378 (llrintf): Likewise.
15379 (llrint): Likewise.
15380 (fmaxf): Likewise.
15381 (fmax): Likewise.
15382 (fminf): Likewise.
15383 (fmin): Likewise.
15384 (rint): Likewise.
15385 (rintf): Likewise.
15386 (ceil): Likewise.
15387 (ceilf): Likewise.
15388 (floor): Likewise.
15389 (floorf): Likewise.
15390 (nearbyint): Likewise.
15391 (nearbyintf): Likewise.
15392
d7b4fb26
TS
153932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15394
15395 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15396 non-default versions.
15397
eb55f5c2
RM
153982012-06-11 Roland McGrath <roland@hack.frob.com>
15399
15400 [BZ #14218]
15401 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15402
366af02c
TS
154032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15404
99ff6e5c
TS
15405 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15406 (FE_UPWARD, FE_DOWNWARD): Don't define.
15407 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15408 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15409
366af02c
TS
15410 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15411 reading it.
15412 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15414
793ea851
KK
154152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15416
15417 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15419 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15420 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15421
a728a38f
L
154222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15423
15424 [BZ #14117]
c08010c7
L
15425 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15426 * sysdeps/i386/fpu/Implies: New file.
15427 * sysdeps/x86_64/fpu/Implies: Likewise.
15428 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15429 * sysdeps/x86/fpu/bits/fenv.h: This.
15430
a728a38f
L
15431 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15432 __SSE_MATH__.
15433
6e230d11
SP
154342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15435
15436 [BZ #14134]
15437 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15438 character 0xffff that matches the last element of the
15439 conversion table.
15440
1b671feb
AZ
154412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15442
15443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15444 fmodl commit.
15445
6043738b
AZ
154462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15447
15448 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15449 values higher than 25.6283.
15450
34ae0b32
AZ
154512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15452
15453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15454 subnormal exponent extraction and add some __builtin_expect.
15455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15456 Fix for subnormal mantissa calculation.
15457
1214ec8f
MF
154582012-06-04 Mike Frysinger <vapier@gentoo.org>
15459
15460 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15461 cpu2 is -1 and errno is not ENOSYS.
15462
f3d1f93c
L
154632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15464
15465 [BZ #14117]
0e4a3cd7
L
15466 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15467 * sysdeps/x86/bits/string.h: This.
15468 * sysdeps/x86_64/bits/string.h: Removed.
15469
6704c645
L
15470 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15471 if not compiling for x86-64, but compiling for >= i486.
15472
48495318
L
15473 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15474 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15475
14adcbfc
L
15476 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15477 New macro from Linux kernel 3.4.0.
15478 (FP_XSTATE_MAGIC2): Likewise.
15479 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15480 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15481 (struct _fpx_sw_bytes): New struct.
15482 (struct _xsave_hdr): Likewise.
15483 (struct _ymmh_state): Likewise.
15484 (struct _xstate): Likewise.
15485
68e408ab
L
15486 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15487 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15488 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15489 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15490 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15491 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15492
f3d1f93c
L
15493 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15494 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15495 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15496 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15497 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15498 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15499
d9dc34cd
TMQMF
155002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15501
15502 [BZ #13743]
15503 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15504 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15505 (sysdep_headers): Include sys/platform/ppc.h.
15506 * sysdeps/powerpc/test-gettimebase.c: Test for
15507 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15508 * manual/Makefile (appendices): Include platform.texi.
15509 * manual/contrib.texi (Contributors): Update @node pointers.
15510 * manual/maint.texi (Maintenance): Likewise.
15511 (Platform): New node.
15512 * manual/platform.texi: New file. Document the new features.
15513
4af3879c
SP
155142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15515 Jakub Jelinek <jakub@redhat.com>
15516
15517 [BZ #14188]
15518 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15519 where __builtin_expect is unavailable.
15520
2fd6ff13
DM
155212012-06-03 David S. Miller <davem@davemloft.net>
15522
15523 * stdlib/longlong.h: Updated from GCC.
15524
173f7220
AS
155252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15526
15527 [BZ #14042]
15528 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15529 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15530 __mcount_internal.
15531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15532 (GLIBC_2.16): Likewise.
15533
f34a1c6f
L
155342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15535
15536 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15537
88a4576f
JM
155382012-06-01 Joseph Myers <joseph@codesourcery.com>
15539
ea32bcdd
JM
15540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15541 (default-abi): New variable.
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15543 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15544 variable.
15545 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15546 Likewise.
15547 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15548 Likewise.
15549 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15550 Likewise.
15551
88a4576f
JM
15552 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15553 definition. Document in comment.
15554
402fe938
DM
155552012-06-01 David S. Miller <davem@davemloft.net>
15556
15557 * stdlib/longlong.h: Updated from GCC.
15558
3553723f
L
155592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15560
15561 [BZ #14117]
3bd872c4
L
15562 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15563 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15564 sys/debugreg.h sys/io.h here.
15565 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15566 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15567 sys/io.h.
15568 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15569 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15570 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15571 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15572 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15573 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15574
3553723f
L
15575 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15576 Define only if __x86_64__ is defined.
15577
4842e4fe
JM
155782012-06-01 Joseph Myers <joseph@codesourcery.com>
15579
c5bfe3d5
JM
15580 [BZ #14048]
15581 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15582 Use int64_t for variable i.
15583 * math/libm-test.inc (fmod_test): Add more tests.
15584
4842e4fe
JM
15585 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15586 z computation is not scheduled after fetestexcept.
15587 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15588 Use math_force_eval instead of asm to ensure calculation scheduled
15589 before exception test.
15590 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15591 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15592
efb73488
AJ
155932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15594
15595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15596 computation is not scheduled after fetestexcept.
15597
29bcce7c
L
155982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15599
15600 [BZ #14117]
15601 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15602 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15603
73a68f94
AZ
156042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15605
15606 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15607 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15608
67b6df78
L
156092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15610
edf2933a 15611 [BZ #14117]
ebc64a18
L
15612 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15613 <bits/wordsize.h>.
15614 (__WCHAR_MIN): Support __WORDSIZE == 64.
15615 (__WCHAR_MAX): Likewise.
15616
edf2933a
L
15617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15618 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15619
57c6cf40
L
15620 [BZ #14183]
15621 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15622 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15623
67b6df78 15624 [BZ #14117]
8eb6281e
L
15625 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15626 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15627
aac639f4
L
15628 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15629 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15630
67b6df78
L
15631 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15632 Defined to 1 if __x86_64__ isn't defined.
15633 (_STAT_VER_LINUX_OLD): New.
15634 (st_atime): Remove duplicate.
15635 (st_mtime): Likewise.
15636 (st_ctime): Likewise.
15637
1c2cfe81
DM
156382012-05-31 David S. Miller <davem@davemloft.net>
15639
15640 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15641 entries.
15642
5be8418c
AS
156432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15644
e7725326
AS
15645 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15646 gen-libm-test.pl.
15647
5be8418c
AS
15648 [BZ #14132]
15649 * elf/dl-reloc.c: Include <_itoa.h>.
15650 (_dl_reloc_bad_type): Remove use of INTUSE.
15651 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15652 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15653 * stdio-common/psiginfo.c (psiginfo): Likewise.
15654 * stdio-common/psignal.c (psignal): Likewise.
15655 * string/strsignal.c (strsignal): Likewise.
15656 * include/signal.h (_sys_siglist): Declare hidden proto.
15657 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15658 INTVARDEF with libc_hidden_data_def.
15659 * stdio-common/itoa-udigits.c: Likewise.
15660 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15661 (_itoa_lower_digits_internal): Remove declaration.
15662 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15663 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15664 (_sys_sigabbrev_internal): Remove aliases.
15665 (_sys_siglist): Define hidden alias.
15666
507352f1
MT
156672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15668
15669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15670 bits/sysctl.h.
15671
42bbb1c3
L
156722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15673
15674 [BZ #14117]
6bd784b6
L
15675 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15676 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15677
8bca20f0
L
15678 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15679 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15680 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15681 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15683 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15684
f9e890a9
L
15685 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15686 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15687 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15688
471101a1
L
15689 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15690 with __addr.
15691 (insw): Likewise.
15692 (insl): Likewise.
15693 (outsb): Likewise.
15694 (outsw): Likewise.
15695 (outsl): Likewise.
15696
6451c862
L
15697 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15700
a254b8c9
L
15701 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15702 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15703 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15704 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15705 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15706 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15707
b8dfdd92
L
15708 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15709 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15710
578cd270
L
15711 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15712 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15713
de662f5f
L
15714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15715 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15716 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15717
25653439
L
15718 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15719 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15720 to ...
15721 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15722
6bad24a0
L
15723 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15724 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15725 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15726
42bbb1c3
L
15727 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15728 for x86-64.
15729 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15730
2d10d547
JM
157312012-05-31 Joseph Myers <joseph@codesourcery.com>
15732
15733 * math/math.h (M_El): Use two more decimal places.
15734 (M_LOG2El): Likewise.
15735 (M_LOG10El): Likewise.
15736 (M_LN2l): Likewise.
15737 (M_LN10l): Likewise.
15738 (M_PIl): Likewise.
15739 (M_PI_2l): Likewise.
15740 (M_PI_4l): Likewise.
15741 (M_1_PIl): Likewise.
15742 (M_2_PIl): Likewise.
15743 (M_2_SQRTPIl): Likewise.
15744 (M_SQRT2l): Likewise.
15745 (M_SQRT1_2l): Likewise.
15746
f230c29b
DM
157472012-05-31 David S. Miller <davem@davemloft.net>
15748
15749 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15750 values between float registers.
15751 * sysdeps/sparc/sparc64/memset.S: Likewise.
15752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15753
fed806c3
MF
157542012-05-31 Mike Frysinger <vapier@gentoo.org>
15755
15756 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15757 -D_FORTIFY_SOURCE=1.
15758 (CPPFLAGS-tst-longjmp_chk.c): Define.
15759 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15760 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15761 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15762 CFLAGS-tst-wchar-h.c.
15763
30917259
MP
157642012-05-31 Marek Polacek <polacek@redhat.com>
15765
15766 [BZ #14132]
15767 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15768 __endmntent_internal): Remove declaration.
15769 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15770 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15771 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15772
1c58d5dc
DM
157732012-05-30 David S. Miller <davem@davemloft.net>
15774
15775 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15776 (___Q_simulate_exceptions): Use real FP ops rather than writing
15777 into the %fsr.
15778 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15779 Likewise.
15780
7dc00e0d
L
157812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15782
15783 [BZ #14117]
0bd53985
L
15784 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15785 * sysdeps/x86/bits/xtitypes.h: This.
15786
3a257e66
L
15787 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15788 * sysdeps/x86/bits/wordsize.h: This.
15789
62f62904
L
15790 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15791 * sysdeps/x86/bits/huge_vall.h: This.
15792
404fe9d9
L
15793 * sysdeps/i386/bits/select.h: Removed.
15794 * sysdeps/x86_64/bits/select.h: Renamed to ...
15795 * sysdeps/x86/bits/select.h: This.
15796
d48d0446
L
15797 * sysdeps/i386/bits/setjmp.h: Removed.
15798 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15799 * sysdeps/x86/bits/setjmp.h: This.
15800
7dc00e0d
L
15801 * sysdeps/i386/bits/mathdef.h: Removed.
15802 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15803 * sysdeps/x86/bits/mathdef.h: This.
15804
03277f8f
AS
158052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15806
15807 [BZ #14132]
15808 * include/sys/socket.h (__connect_internal)
15809 (__libc_sa_len_internal): Remove declaration.
15810 (__connect, __libc_sa_len): Declare hidden_proto.
15811 (SA_LEN): Remove use of INTUSE.
15812 * socket/connect.c: Add libc_hidden_def.
15813 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15814 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15815 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15816 alias.
15817 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15818 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15819 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15820 of adding _internal alias.
15821
13764867
L
158222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15823
15824 [BZ #14117]
6bd97696
L
15825 * sysdeps/i386/bits/link.h: Removed.
15826 * sysdeps/i386/bits/linkmap.h: Likewise.
15827 * sysdeps/x86_64/bits/link.h: Renamed to ...
15828 * sysdeps/x86/bits/link.h: This.
15829 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15830 * sysdeps/x86/bits/linkmap.h: This.
15831
f726f0bb
L
15832 * sysdeps/i386/bits/endian.h: Removed.
15833 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15834 * sysdeps/x86/bits/endian.h: This.
15835
13764867
L
15836 * sysdeps/i386/bits/byteswap.h: Removed.
15837 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15838 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15839 * sysdeps/x86/bits/byteswap.h: This.
15840 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15841 * sysdeps/x86/bits/byteswap-16.h: This.
15842 * sysdeps/i386/Implies: Add x86.
15843 * sysdeps/x86_64/Implies: Likewise.
15844
ae251b0b
DM
158452012-05-30 David S. Miller <davem@davemloft.net>
15846
15847 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15848 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15849 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15850 (FP_TRAPPING_EXCEPTIONS): Define.
15851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15852 (FP_TRAPPING_EXCEPTIONS): Define.
15853 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15854 subnormals only when inexact has been signalled or underflow
15855 exceptions are enabled.
15856 (_FP_PACK_CANONICAL): Likewise.
15857
d5c90867
L
158582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15859
15860 [BZ #14183]
15861 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15862 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15863
63f1549e
RH
158642012-05-30 Richard Henderson <rth@twiddle.net>
15865
8d8f2279
RH
15866 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15867 with #ifndef NOT_IN_libc.
15868
63f1549e
RH
15869 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15870 marked to avoid plt entry.
15871
0ab0291b
L
158722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15873
15874 [BZ #14112]
15875 * Makeconfig (default-abi): New macro.
15876 (abi-includes): Likewise.
15877 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15878 $(abi-$(default-abi)-lib-soname) for soname if defined.
15879 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15880 abi-variants.
15881 * Makefile (installed-stubs): Likewise.
15882 * include/stubs-biarch.h: Removed.
15883 * scripts/lib-names.awk: Only handle one library at a time.
15884 * scripts/soversions.awk: Remove WORDSIZE support.
15885 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15886 entries.
15887 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15888 Removed.
15889 (syscall-list-default-condition): Likewise.
15890 (syscall-list-default-condition): Likewise.
15891 (syscall-list-includes): Likewise.
15892 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15893 syscall-list-* with abi-*. Handle undefined abi-variants.
15894 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15895 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15896 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15897 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15898 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15899 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15900 Removed.
15901 (syscall-list-32-options): Likewise.
15902 (syscall-list-32-condition): Likewise.
15903 (syscall-list-64-options): Likewise.
15904 (syscall-list-64-condition): Likewise.
15905 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15906 macro.
15907 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15908 Renamed to ...
15909 (abi-*): This.
15910 (abi-64-ld-soname): New macro.
15911 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15912 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15913 Renamed to ...
15914 (abi-*): This.
15915 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15916 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15917
4da0431d
JM
159182012-05-30 Joseph Myers <joseph@codesourcery.com>
15919
3a85279c
JM
15920 * sysdeps/unix/sysv/linux/kernel-features.h
15921 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15922 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15923 include <kernel-features.h>.
15924 [!__NR_ftruncate64]: Remove conditional code.
15925 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15926 [__NR_ftruncate64]: Make code unconditional.
15927 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15928 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15929 include <kernel-features.h>.
15930 [!__NR_ftruncate64]: Remove conditional code.
15931 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15932 [__NR_ftruncate64]: Make code unconditional.
15933 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15935 include <kernel-features.h>.
15936 [!__NR_ftruncate64]: Remove conditional code.
15937 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15938 [__NR_ftruncate64]: Make code unconditional.
15939 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15941 include <kernel-features.h>.
15942 [!__NR_ftruncate64]: Remove conditional code.
15943 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15944 [__NR_ftruncate64]: Make code unconditional.
15945 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15946
4da0431d
JM
15947 * configure.in (libc_cv_fpie): Weaken to a compile test using
15948 LIBC_TRY_CC_OPTION.
15949 * configure: Regenerated.
15950
11ef492c
AK
159512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15952
15953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15957 Refreshed.
15958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15964 Refreshed.
15965
d66ef399
DM
159662012-05-27 David S. Miller <davem@davemloft.net>
15967
15968 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15969 (___Q_zero): New.
15970 (__Q_simulate_exceptions): Return void. Change to simulate
15971 exceptions by writing into the %fsr.
15972 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15973 (__Qp_handle_exceptions): Likewise.
15974 (numbers): Delete.
15975 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15976 __Qp_handle_exceptions.
15977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15978 __Qp_handle_exceptions.
15979 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15980 as unused and give dummy FP_RND_NEAREST initializer.
15981 (FP_INHIBIT_RESULTS): Define.
15982 (___Q_simulate_exceptions): Update declaration.
15983 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15984 formatting.
15985 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15986 as unused and give dummy FP_RND_NEAREST initializer.
15987 (__Qp_handle_exceptions): Update declaration.
15988 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15989 formatting.
15990
04fb54b5
TS
159912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15992
15993 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15994 the temporary FPU control word.
15995 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15996 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15997 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15998 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15999 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16000 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16001 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16002 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16003 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16004 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16005 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16006
3f99608f
KK
160072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16008
16009 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16010 fields.
16011
65a4de4e
CLT
160122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16013
16014 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16015 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16016 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16017 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16018 Likewise.
16019 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16020 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16021 Likewise.
16022
15749d40
UD
160232012-05-27 Ulrich Drepper <drepper@gmail.com>
16024
16025 * po/h.po: Update from translation team.
16026
25dbcb27
AS
160272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16028
3d3f8e55
AS
16029 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16030
25dbcb27
AS
16031 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16032 handling of denormals.
16033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16034 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16035 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16036 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16040 Likewise.
16041
7ad47a80 160422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16043
16044 [BZ #14152]
16045 * math/libm-test.inc (fma_test): Don't always expect underflow
16046 exception.
16047
9c6ea9fa
SP
160482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16049
16050 [BZ #12416]
16051 * elf/tst-execstack.c: Include stackinfo.h.
16052 (do_test): Adjust test case to ensure that pthread_getattr_np
16053 behaviour remains the same after marking stack executable.
16054
a8239222
JM
160552012-05-25 Joseph Myers <joseph@codesourcery.com>
16056
16057 * sysdeps/unix/sysv/linux/kernel-features.h
16058 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16059 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16060 kernel-features.h.
16061 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16062 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16063 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16064 kernel-features.h.
16065 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16066 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16067
918b5606
L
160682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16069
16070 * configure.in: Define the default includes to being none.
16071 * configure: Regenerated.
16072
3a097cc7
RM
160732012-05-25 Roland McGrath <roland@hack.frob.com>
16074
8422c9a5
RM
16075 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16076 * sysdeps/x86_64/setjmp.S: Likewise.
16077 * sysdeps/i386/bsd-setjmp.S: Likewise.
16078 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16079 * sysdeps/i386/setjmp.S: Likewise.
16080 * sysdeps/i386/__longjmp.S: Likewise.
16081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16082 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16083
3a097cc7
RM
16084 * include/stap-probe.h: New file.
16085 * configure.in: Handle --enable-systemtap.
16086 * configure: Regenerated.
16087 * config.h.in (USE_STAP_PROBE): New #undef.
16088 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16089 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16090 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16091
21708942
JM
160922012-05-25 Joseph Myers <joseph@codesourcery.com>
16093
16094 [BZ #13717]
16095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16096 to 2.4.0 where earlier.
16097 * sysdeps/unix/sysv/linux/configure: Regenerated.
16098 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16099 <kernel-features.h>.
16100 [__ASSUME_32BITUIDS]: Make code unconditional.
16101 [!__ASSUME_32BITUIDS]: Remove conditional code.
16102 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16103 <kernel-features.h>.
16104 [__ASSUME_32BITUIDS]: Make code unconditional.
16105 [!__ASSUME_32BITUIDS]: Remove conditional code.
16106 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16107 [__ASSUME_32BITUIDS]: Make code unconditional.
16108 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16109 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16110 <kernel-features.h>.
16111 [__ASSUME_32BITUIDS]: Make code unconditional.
16112 [!__ASSUME_32BITUIDS]: Remove conditional code.
16113 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16114 <kernel-features.h>.
16115 [__ASSUME_32BITUIDS]: Make code unconditional.
16116 [!__ASSUME_32BITUIDS]: Remove conditional code.
16117 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16118 <kernel-features.h>.
16119 [__ASSUME_32BITUIDS]: Make code unconditional.
16120 [!__ASSUME_32BITUIDS]: Remove conditional code.
16121 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16122 <kernel-features.h>.
16123 [__ASSUME_32BITUIDS]: Make code unconditional.
16124 [!__ASSUME_32BITUIDS]: Remove conditional code.
16125 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16126 <kernel-features.h>.
16127 [__ASSUME_32BITUIDS]: Make code unconditional.
16128 [!__ASSUME_32BITUIDS]: Remove conditional code.
16129 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16130 <kernel-features.h>.
16131 [__ASSUME_32BITUIDS]: Make code unconditional.
16132 [!__ASSUME_32BITUIDS]: Remove conditional code.
16133 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16134 <kernel-features.h>.
16135 [__ASSUME_32BITUIDS]: Make code unconditional.
16136 [!__ASSUME_32BITUIDS]: Remove conditional code.
16137 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16138 <kernel-features.h>.
16139 [__ASSUME_32BITUIDS]: Make code unconditional.
16140 [!__ASSUME_32BITUIDS]: Remove conditional code.
16141 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16142 <kernel-features.h>.
16143 [__ASSUME_32BITUIDS]: Make code unconditional.
16144 [!__ASSUME_32BITUIDS]: Remove conditional code.
16145 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16146 <kernel-features.h>.
16147 [__ASSUME_32BITUIDS]: Make code unconditional.
16148 [!__ASSUME_32BITUIDS]: Remove conditional code.
16149 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16150 <kernel-features.h>.
16151 [__NR_setresgid] (__setresgid): Do not declare.
16152 [__ASSUME_32BITUIDS]: Make code unconditional.
16153 [!__ASSUME_32BITUIDS]: Remove conditional code.
16154 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16155 <kernel-features.h>.
16156 [__NR_setresuid] (__setresuid): Do not declare.
16157 [__ASSUME_32BITUIDS]: Make code unconditional.
16158 [!__ASSUME_32BITUIDS]: Remove conditional code.
16159 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16160 <kernel-features.h>.
16161 [__ASSUME_32BITUIDS]: Make code unconditional.
16162 [!__ASSUME_32BITUIDS]: Remove conditional code.
16163 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16164 <kernel-features.h>.
16165 [__ASSUME_32BITUIDS]: Make code unconditional.
16166 [!__ASSUME_32BITUIDS]: Remove conditional code.
16167 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16168 <kernel-features.h>.
16169 [__ASSUME_32BITUIDS]: Make code unconditional.
16170 [!__ASSUME_32BITUIDS]: Remove conditional code.
16171 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16172 <kernel-features.h>.
16173 [__ASSUME_32BITUIDS]: Make code unconditional.
16174 [!__ASSUME_32BITUIDS]: Remove conditional code.
16175 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16176 <kernel-features.h>.
16177 [__ASSUME_32BITUIDS]: Make code unconditional.
16178 [!__ASSUME_32BITUIDS]: Remove conditional code.
16179 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16180 <kernel-features.h>.
16181 [__ASSUME_32BITUIDS]: Make code unconditional.
16182 [!__ASSUME_32BITUIDS]: Remove conditional code.
16183 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16184 <kernel-features.h>.
16185 [__ASSUME_32BITUIDS]: Make code unconditional.
16186 [!__ASSUME_32BITUIDS]: Remove conditional code.
16187 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16188 <kernel-features.h>.
16189 [__ASSUME_32BITUIDS]: Make code unconditional.
16190 [!__ASSUME_32BITUIDS]: Remove conditional code.
16191 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16192 <kernel-features.h>.
16193 [__ASSUME_32BITUIDS]: Make code unconditional.
16194 [!__ASSUME_32BITUIDS]: Remove conditional code.
16195 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16196 <kernel-features.h>.
16197 [__ASSUME_32BITUIDS]: Make code unconditional.
16198 [!__ASSUME_32BITUIDS]: Remove conditional code.
16199 * sysdeps/unix/sysv/linux/kernel-features.h
16200 (__ASSUME_SETRESUID_SYSCALL): Remove.
16201 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16202 (__ASSUME_32BITUIDS): Likewise.
16203 (__ASSUME_LDT_WORKS): Likewise.
16204 (__ASSUME_O_DIRECTORY): Likewise.
16205 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16206 architecture but not kernel version.
16207 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16208 (__ASSUME_MMAP2_SYSCALL): Likewise.
16209 (__ASSUME_STAT64_SYSCALL): Likewise.
16210 (__ASSUME_IPC64): Likewise.
16211 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16212 <kernel-features.h>.
16213 [__ASSUME_32BITUIDS]: Make code unconditional.
16214 [!__ASSUME_32BITUIDS]: Remove conditional code.
16215 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16216 <kernel-features.h>.
16217 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16218 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16219 132096]: Remove conditional code.
16220 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16221 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16222 <kernel-features.h>.
16223 [__ASSUME_32BITUIDS]: Make code unconditional.
16224 [!__ASSUME_32BITUIDS]: Remove conditional code.
16225 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16226 <kernel-features.h>.
16227 [__ASSUME_32BITUIDS]: Make code unconditional.
16228 [!__ASSUME_32BITUIDS]: Remove conditional code.
16229 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16230 <kernel-features.h>.
16231 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16232 unconditional.
16233 (__setresgid): Do not declare.
16234 [__ASSUME_32BITUIDS]: Make code unconditional.
16235 [!__ASSUME_32BITUIDS]: Remove conditional code.
16236 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16237 <kernel-features.h>.
16238 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16239 unconditional.
16240 (__setresuid): Do not declare.
16241 [__ASSUME_32BITUIDS]: Make code unconditional.
16242 [!__ASSUME_32BITUIDS]: Remove conditional code.
16243 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16244 <kernel-features.h>.
16245 [__ASSUME_32BITUIDS]: Make code unconditional.
16246 [!__ASSUME_32BITUIDS]: Remove conditional code.
16247 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16248 <kernel-features.h>.
16249 [__ASSUME_32BITUIDS]: Make code unconditional.
16250 [!__ASSUME_32BITUIDS]: Remove conditional code.
16251
a386f1cc
RH
162522012-05-25 Richard Henderson <rth@twiddle.net>
16253
16254 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16255 dl_hwcap to ifunc resolver.
16256 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16257 elf_ifunc_invoke.
16258 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16259 dl_hwcap to ifunc resolver.
16260 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16261
b6550497
JM
162622012-05-24 Joseph Myers <joseph@codesourcery.com>
16263
16264 [BZ #14153]
16265 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16266 for |x| <= 2**-26, not 2**-57.
16267 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16268 exception.
16269
b0bc23a1
JL
162702012-05-24 Jeff Law <law@redhat.com>
16271
16272 * stdio-common/Makefile (tests): Add bug25.
16273 * stdio-common/bug25.c: New test.
16274
347c92e9
L
162752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16276
16277 [BZ #13576]
16278 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16279 multiple of MALLOC_ALIGNMENT in size.
16280 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16281
6bcc8b3f
JM
162822012-05-24 Joseph Myers <joseph@codesourcery.com>
16283
16284 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16285 Require >= 256.
16286 (FILENAME_MAX): Use macro-int-constant.
16287 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16288 (_IOFBF): Use macro-int-constant.
16289 (_IOLBF): Likewise.
16290 (_IONBF): Likewise.
16291 (SEEK_CUR): Likewise.
16292 (SEEK_END): Likewise.
16293 (SEEK_SET): Likewise.
16294 (TMP_MAX): Likewise.
16295 (EOF): Use macro-int-constant. Require < 0.
16296 (NULL): Use macro-constant. Require == 0.
16297 (stdin): Require type to be FILE *.
16298 (stdout): Likewise.
16299 (stderr): Likewise.
16300 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16301 macro-int-constant.
16302 (EXIT_SUCCESS): Likewise.
16303 (NULL): Use macro-constant. Require == 0.
16304 (RAND_MAX): Use macro-int-constant.
16305 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16306 [C99-based standards] (strtof): Require function.
16307 [C99-based standards] (strtold): Likewise.
16308 [C99-based standards] (strtoll): Likewise.
16309 [C99-based standards] (strtoull): Likewise.
16310 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16311 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16312 [ISO || ISO99 || ISO11] (math.h): Likewise.
16313 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16314 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16315 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16316
d18ea0c5
AS
163172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16318
16319 [BZ #14132]
56d25bb8
AS
16320 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16321 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16322 * intl/dgettext.c (DCGETTEXT): Likewise.
16323 * intl/gettext.c (DCGETTEXT): Likewise.
16324 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16325 * posix/regex_internal.h (gettext): Likewise.
16326 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16327 Remove declaration.
16328 * include/argz.h (__argz_count_internal)
16329 (__argz_stringify_internal): Remove declaration.
16330 (__argz_count, __argz_stringify): Declare hidden proto.
16331 * intl/dcgettext.c: Remove use of INTDEF.
16332 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16333 * string/argz-stringify.c: Likewise.
16334 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16335 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16336 Declare hidden proto.
d18ea0c5
AS
16337 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16338 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16339 Declare hidden proto.
16340 * include/stdio.h (__asprintf_internal): Don't declare.
16341 (__asprintf): Don't define as macro. Declare hidden proto.
16342 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16343 (__fsetlocking): Declare hidden proto.
16344 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16345 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16346 hidden proto.
16347 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16348 (_IO_setlinebuf): Remove use of INTUSE.
16349 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16350 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16351 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16352 Remove declaration.
16353 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16354 (_IO_do_flush): Remove use of INTUSE.
16355 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16356 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16357 (_IO_adjust_column, _IO_least_wmarker)
16358 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16359 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16360 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16361 (_IO_default_doallocate, _IO_wdefault_doallocate)
16362 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16363 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16364 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16365 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16366 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16367 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16368 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16369 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16370 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16371 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16372 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16373 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16374 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16375 proto.
16376 (_IO_flush_all_internal, _IO_adjust_column_internal)
16377 (_IO_default_uflow_internal, _IO_default_finish_internal)
16378 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16379 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16380 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16381 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16382 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16383 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16384 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16385 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16386 (_IO_file_close_internal, _IO_file_close_it_internal)
16387 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16388 (_IO_file_init_internal, _IO_file_attach_internal)
16389 (_IO_file_fopen_internal, _IO_file_read_internal)
16390 (_IO_file_sync_internal, _IO_file_seek_internal)
16391 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16392 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16393 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16394 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16395 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16396 (_IO_list_all_internal, _IO_link_in_internal)
16397 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16398 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16399 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16400 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16401 (_IO_do_write_internal, _IO_padn_internal)
16402 (_IO_getline_info_internal, _IO_getline_internal)
16403 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16404 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16405 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16406 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16407 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16408 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16409 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16410 with libc_hidden_ver, remove use of INTUSE.
16411 * libio/genops.c: Likewise.
16412 * libio/freopen.c: Likewise.
16413 * libio/freopen64.c: Likewise.
16414 * libio/iofclose.c: Likewise.
16415 * libio/iofdopen.c: Likewise.
16416 * libio/iofflush.c: Likewise.
16417 * libio/iofflush_u.c: Likewise.
16418 * libio/iofgets.c: Likewise.
16419 * libio/iofgets_u.c: Likewise.
16420 * libio/iofopen.c: Likewise.
16421 * libio/iofopncook.c: Likewise.
16422 * libio/iofread.c: Likewise.
16423 * libio/iofread_u.c: Likewise.
16424 * libio/ioftell.c: Likewise.
16425 * libio/iofwrite.c: Likewise.
16426 * libio/iogetline.c: Likewise.
16427 * libio/iogets.c: Likewise.
16428 * libio/iogetwline.c: Likewise.
16429 * libio/iopadn.c: Likewise.
16430 * libio/iopopen.c: Likewise.
16431 * libio/ioseekoff.c: Likewise.
16432 * libio/ioseekpos.c: Likewise.
16433 * libio/iosetbuffer.c: Likewise.
16434 * libio/iosetvbuf.c: Likewise.
16435 * libio/ioungetc.c: Likewise.
16436 * libio/ioungetwc.c: Likewise.
16437 * libio/iovdprintf.c: Likewise.
16438 * libio/iovsprintf.c: Likewise.
16439 * libio/iovsscanf.c: Likewise.
16440 * libio/memstream.c: Likewise.
16441 * libio/obprintf.c: Likewise.
16442 * libio/oldfileops.c: Likewise.
16443 * libio/oldiofclose.c: Likewise.
16444 * libio/oldiofdopen.c: Likewise.
16445 * libio/oldiofopen.c: Likewise.
16446 * libio/oldiopopen.c: Likewise.
16447 * libio/oldstdfiles.c: Likewise.
16448 * libio/putc.c: Likewise.
16449 * libio/setbuf.c: Likewise.
16450 * libio/setlinebuf.c: Likewise.
16451 * libio/stdfiles.c: Likewise.
16452 * libio/strops.c: Likewise.
16453 * libio/vasprintf.c: Likewise.
16454 * libio/vscanf.c: Likewise.
16455 * libio/vsnprintf.c: Likewise.
16456 * libio/vswprintf.c: Likewise.
16457 * libio/wfiledoalloc.c: Likewise.
16458 * libio/wfileops.c: Likewise.
16459 * libio/wgenops.c: Likewise.
16460 * libio/wmemstream.c: Likewise.
16461 * libio/wstrops.c: Likewise.
16462 * libio/__fpurge.c: Likewise.
16463 * libio/__fsetlocking.c: Likewise.
16464 * assert/assert.c: Likewise.
16465 * debug/fgets_chk.c: Likewise.
16466 * debug/fgets_u_chk.c: Likewise.
16467 * debug/fread_chk.c: Likewise.
16468 * debug/fread_u_chk.c: Likewise.
16469 * debug/gets_chk.c: Likewise.
16470 * debug/obprintf_chk.c: Likewise.
16471 * debug/vasprintf_chk.c: Likewise.
16472 * debug/vdprintf_chk.c: Likewise.
16473 * debug/vsnprintf_chk.c: Likewise.
16474 * debug/vsprintf_chk.c: Likewise.
16475 * malloc/mtrace.c: Likewise.
16476 * misc/error.c: Likewise.
16477 * misc/syslog.c: Likewise.
16478 * stdio-common/asprintf.c: Likewise.
16479 * stdio-common/fxprintf.c: Likewise.
16480 * stdio-common/getw.c: Likewise.
16481 * stdio-common/isoc99_fscanf.c: Likewise.
16482 * stdio-common/isoc99_scanf.c: Likewise.
16483 * stdio-common/isoc99_vfscanf.c: Likewise.
16484 * stdio-common/isoc99_vscanf.c: Likewise.
16485 * stdio-common/isoc99_vsscanf.c: Likewise.
16486 * stdio-common/printf-prs.c: Likewise.
16487 * stdio-common/printf_fp.c: Likewise.
16488 * stdio-common/printf_fphex.c: Likewise.
16489 * stdio-common/printf_size.c: Likewise.
16490 * stdio-common/putw.c: Likewise.
16491 * stdio-common/scanf.c: Likewise.
16492 * stdio-common/sprintf.c: Likewise.
16493 * stdio-common/tmpfile.c: Likewise.
16494 * stdio-common/vfprintf.c: Likewise.
16495 * stdio-common/vfscanf.c: Likewise.
16496 * stdlib/strfmon_l.c: Likewise.
16497 * sunrpc/openchild.c: Likewise.
16498 * sunrpc/xdr_stdio.c: Likewise.
16499 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16500 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16501
d6c33fda
RM
165022012-05-24 Roland McGrath <roland@hack.frob.com>
16503
c1487492
RM
16504 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16505
16506 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16507 in the third column, to generate for the shared library an IFUNC
16508 that uses _dl_vdso_vsym.
16509 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16510 * Makeconfig (object-suffixes-noshared): New variable.
16511
16512 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16513 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16514 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16515 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16516
d6c33fda
RM
16517 [BZ #14132]
16518 * include/sys/time.h (__gettimeofday): Remove macro.
16519 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16520 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16521 Remove INTDEF.
16522 (__gettimeofday): Add libc_hidden_def.
16523 (gettimeofday): Add libc_hidden_weak.
16524 * sysdeps/mach/gettimeofday.c: Likewise.
16525 * sysdeps/posix/gettimeofday.c: Likewise.
16526 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16527 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16529 (__gettimeofday_internal): Remove strong_alias.
16530 (__gettimeofday): Add libc_hidden_def.
16531 (gettimeofday): Add libc_hidden_weak.
16532 * sysdeps/unix/syscalls.list (gettimeofday):
16533 Remove __gettimeofday_internal alias.
16534
b5a2bbe6
L
165352012-05-24 Daniel Jacobowitz <drow@false.org>
16536 H.J. Lu <hongjiu.lu@intel.com>
16537
16538 [BZ #12495]
16539 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16540 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16541 (largebin_index_32_big): New.
16542 (largebin_index): Use it for 16-byte alignment.
16543 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16544 correction with front_misalign.
16545
cfba4fda
L
165462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16547
7f907421
L
16548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16550 Likewise.
16551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16552 Likewise.
16553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16554 Likewise.
16555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16556 Likewise.
16557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16558 Likewise.
16559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16560 Likewise.
16561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16562 Likewise.
16563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16564 Likewise.
16565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16566 Likewise.
16567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16568 Likewise.
16569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16570 Likewise.
16571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16572 Likewise.
16573
cfba4fda
L
16574 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16575 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16576
80bad0cc
JM
165772012-05-24 Joseph Myers <joseph@codesourcery.com>
16578
7a25eb06
JM
16579 [BZ #10846]
16580 [BZ #14036]
16581 * math/libm-test.inc (exp_test): Add test from bug 14036.
16582 (pow_test): Add test from bug 10846.
16583
795405f9
JM
16584 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16585 and other flags.
16586 (special_function): Do not include flags in test name.
16587 (parse_args): Likewise.
16588 * sysdeps/i386/fpu/libm-test-ulps: Update.
16589 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16590 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16591 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16593
80bad0cc
JM
16594 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16595 exceptions.
16596 * math/libm-test.inc ("Philosophy"): Update comment about
16597 exception testing.
16598 (UNDERFLOW_EXCEPTION): New macro.
16599 (UNDERFLOW_EXCEPTION_OK): Likewise.
16600 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16601 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16602 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16603 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16604 (INVALID_EXCEPTION_OK): Update value.
16605 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16606 (OVERFLOW_EXCEPTION_OK): Likewise.
16607 (IGNORE_ZERO_INF_SIGN): Likewise.
16608 (test_exceptions): Handle underflow exceptions.
16609 (acos_test): Update for underflow exception expectations.
16610 (cexp_test): Likewise.
16611 (clog_test): Likewise.
16612 (clog10_test): Likewise.
16613 (csqrt_test): Likewise.
16614 (ctan_test): Likewise.
16615 (ctanh_test): Likewise.
16616 (exp_test): Likewise.
16617 (exp10_test): Likewise.
16618 (exp2_test): Likewise.
16619 (expm1_test): Likewise.
16620 (fma_test): Likewise.
16621 (j0_test): Likewise.
16622 (jn_test): Likewise.
16623 (nexttoward_test): Likewise.
16624 (pow_test): Likewise.
16625 (scalbn_test): Likewise.
16626 (scalbln_test): Likewise.
16627 (tan_test): Likewise.
16628 (y1_test): Likewise.
16629 * sysdeps/i386/fpu/libm-test-ulps: Update.
16630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16631
9e0e3d0b
DM
166322012-05-23 David S. Miller <davem@davemloft.net>
16633
16634 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16635 (__libc_sigaction): Remove unused local variables.
16636
ccd0a08f
L
166372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16638
16639 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16640
62bdf9a6
PE
166412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16642
f8591f80
PE
16643 mktime: avoid signed integer overflow
16644 * time/mktime.c (__mktime_internal): Do not mishandle the case
16645 where diff == INT_MIN.
16646
94c7d826
PE
16647 mktime: simplify computation of average
16648 * time/mktime.c (ranged_convert): Use new time_t_avg function
16649 instead of rolling our own (probably-slower) code.
16650
ce73d683
PE
16651 mktime: do not assume signed right shift propagates sign bit
16652 * time/mktime.c (isdst_differ): New static function.
16653 (__mktime_internal): No need to normalize tm_isdst now.
16654 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16655 tm_isdst values.
16656
72a22e59
PE
16657 mktime: merge another wrapv change from gnulib
16658 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16659 from some compilers.
16660
68605433
PE
16661 mktime: remove incorrect attempt at unusual arithmetics
16662 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16663 The code didn't really work on such machines anyway.
16664 (TYPE_MINIMUM): Assume two's complement.
16665 (twos_complement_arithmetic): Verify that long_int and time_t
16666 are two's complement (or unsigned, in the latter case).
16667
03cf7fe3
PE
16668 mktime: check signed shifts on long_int and time_t, too
16669 * time/mktime.c (SHR): Check that shifts work as desired
16670 on the types long_int and time_t too, as SHR is used on
16671 such types.
16672
f04dfbc2
PE
16673 mktime: do not assume 'long' is wide enough
16674 * time/mktime.c (verify): Move decl up.
16675 (long_int): New type.
16676 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16677 to remove assumption in the code that 'long' is wide enough to
16678 store year values. This assumption is not true on x32 and on
16679 some non-glibc platforms.
16680
62bdf9a6
PE
16681 mktime: merge wrapv change from gnulib
16682 * time/mktime.c (WRAPV): New macro.
16683 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16684 (guess_time_tm, __mktime_internal): Do not assume that signed
16685 integer overflow wraps around; modern compilers generate code
16686 where this assumption is no longer valid.
16687
5e292e4f
L
166882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16689
16690 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16691 Replace "jmp L(pseudo_end)" with "ret".
16692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16693 Likewise.
16694
8caf8c87
AJ
166952012-05-23 Andreas Jaeger <aj@suse.de>
16696
16697 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16698 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16699
1a09dc56
AJ
167002012-05-23 Andreas Jaeger <aj@suse.de>
16701 Maximilian Attems <max@stro.at>
16702
16703 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16704 New macros.
16705
1c87aba0
L
167062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16707
16708 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16709 code so that pseudo_end is just ret and the stack pointer is
16710 correct also for static library in error case.
16711
40e45bd5
JM
167122012-05-23 Joseph Myers <joseph@codesourcery.com>
16713
c2670533
JM
16714 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16715 move to syscalls.list.
16716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16720
40e45bd5
JM
16721 * manual/install.texi (Running make install): Do not mention Linux
16722 kernel version for which pt_chown is not needed.
16723 (Linux): Do not mention problems with nscd with 2.0 kernels.
16724 * INSTALL: Regenerated.
16725
be08eda5
AJ
167262012-05-23 Andreas Jaeger <aj@suse.de>
16727
16728 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16729 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16730 macro.
16731 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16732 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16733 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16734 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16735 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16736 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16738 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16739 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16740 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16741 * sysdeps/unix/sysv/linux/bits/in.h
16742 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16743
a6a056bb
RM
167442012-05-22 Roland McGrath <roland@hack.frob.com>
16745
16746 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16747 (PREPARE_VERSION): Just use assert instead, it will be elided
16748 under [NDEBUG] anyway.
16749
c9009328
L
167502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16751
16752 * sysdeps/unix/sysv/linux/Makefile: Include
16753 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16754 (sysdep_routines): Remove sysctl.
c9009328
L
16755 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16756 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16757 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16758 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16759 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16760
73338355
AJ
167612012-05-22 Andreas Jaeger <aj@suse.de>
16762
16763 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16764 that pseudo_end is just ret and the stack pointer is correct also
16765 for static library in error case.
16766
d44638b0
PP
167672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16768
16769 [BZ #14122]
16770 * nss/nsswitch.c (defconfig_entries): New variable.
16771 (__nss_database_lookup): Don't leak defconfig entries.
16772 (nss_parse_service_list): Don't leak on error paths.
16773 (free_database_entries): New function.
16774 (free_defconfig): New function.
16775 (free_mem): Move common code to free_database_entries.
16776
31a39bd8
L
167772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16778
da0331a8
L
16779 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16780 Add arch_prctl.
16781 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16782
31a39bd8
L
16783 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16784 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16786 New macro.
16787 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16788 (INTERNAL_SYSCALL_TYPES): Likewise.
16789 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16790 (LOAD_REGS_TYPES_[1-6]): Likewise.
16791 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16792 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16793
45470df3
AZ
167942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16795
16796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16797 copysignl for GLIBC_2_0.
16798 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16799 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16801 logbl for GLIBC_2_0.
16802 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16803 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16804
98a61bcb
L
168052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16806
a4f6e481
L
16807 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16808 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16809
f63d5db6
L
16810 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16811 Use "neg %eax".
16812
98a61bcb
L
16813 * time/mktime.c: Update copyright years.
16814
95770f14
PE
168152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16816
6226efbd
PE
16817 mktime: merge comment-quoting-style change from gnulib
16818 * time/mktime.c: Quote 'like this' in comments.
16819 The GNU coding standards suggest that we no longer quote `like this',
16820 as "`" and "'" are typically rendered asymmetrically nowadays.
16821 The typical gnulib style is to quote 'like this' when quoting
16822 code, and "like this" when quoting English.
16823
b99e4f78
PE
16824 * time/mktime.c (compile-command): Add "-I.".
16825
643e01e6
PE
16826 mktime: merge mktime-internal.h change from gnulib
16827 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16828
2554247d
PE
16829 mktime: merge time_r change from gnulib
16830 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16831
826dd0ab
PE
16832 mktime: merge DEBUG change from gnulib
16833 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16834 case system <time.h> has a #define.
16835
bd83aabe
PE
16836 mktime: merge <sys/types.h> change from gnulib
16837 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16838 since <time.t> is now guaranteed to define time_t.
16839
95770f14
PE
16840 mktime: merge HAVE_CONFIG_H change from gnulib
16841 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16842
5e1a27a9
L
168432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16844
0e44a77e
L
16845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16846 Use "neg %eax".
16847
5e1a27a9
L
16848 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16849 __rlim_t cast.
16850 (struct rusage): Use anonymous union to pad each field to
16851 __syscall_slong_t.
16852
46259bec
DM
168532012-05-21 David S. Miller <davem@davemloft.net>
16854
16855 * Makefules (o-iterator): Remove .s cases.
16856 (compile-command.s): Delete.
16857 (COMPILE.s): Delete.
16858 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16859
59f0c22e
JM
168602012-05-21 Joseph Myers <joseph@codesourcery.com>
16861
16862 * configure.in (libc_cv_predef_stack_protector): Only consider
16863 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16864 * configure: Regenerated.
16865
20c07380
L
168662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16867
bbb3154b
L
16868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16869 New macro. Use R*LP on int and pointer.
16870 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16871 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16872 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16873 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16874
20c07380
L
16875 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16876 [__WORDSIZE_TIME64_COMPAT32] instead of
16877 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16878 (struct utmp): Likewise.
16879 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16880 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16881 Renamed to ...
16882 (__WORDSIZE_TIME64_COMPAT32): This.
16883 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16884 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16885 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16886 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16887 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16888 (__WORDSIZE_TIME64_COMPAT32): New macro.
16889
d8d1017e
AJ
168902012-05-21 Andreas Jaeger <aj@suse.de>
16891
16892 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16893 only if [SHARED]. Add prototype for __wcschr_ia32.
16894
6c7fb145
RM
168952012-05-21 Roland McGrath <roland@hack.frob.com>
16896
16897 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16898 of %rbp unmolested in the jmp_buf while mangling the low bits.
16899 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16900 unmolested high bits of %rbp while demangling the low bits.
16901 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16902
66274218
AJ
169032012-05-21 Andreas Jaeger <aj@suse.de>
16904
07c58f8f
AJ
16905 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16906 * sunrpc/svc_simple.c: Use it for registerrpc.
16907 * sunrpc/xcrypt.c: Use it for passwd2des.
16908
66274218
AJ
16909 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16910
61f65140
L
169112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16912
16913 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16914 Don't define if [__SYSCALL_WORDSIZE != 32].
16915 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16916 New macro.
16917
5fefb436
AJ
169182012-05-21 Bruno Haible <bruno@clisp.org>
16919 Andreas Jaeger <aj@suse.de>
16920
16921 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16922 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16923 inptr and inend for must_buffer_ch.
16924 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16925 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16926 * stdio-common/Makefile (tests): Remove bug15.
16927 (bug15-ENV): Remove macro.
16928 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16929 anymore.
16930
d8e272ab
AJ
169312012-05-19 Andreas Jaeger <aj@suse.de>
16932 Roland McGrath <roland@hack.frob.com>
16933
16934 * manual/contrib.texi: Completely rewritten. It contains now an
16935 alphabetical list of contributors and their contributions.
16936
4a56a162
RH
169372012-05-21 Richard Henderson <rth@twiddle.net>
16938
16939 * misc/getauxval.c (__getauxval): Use unsigned long int.
16940 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16941 (getauxval): Use unsigned long int.
16942
d024d23c
L
169432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16944
16945 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16946
cbc00a03
RM
169472012-05-21 Roland McGrath <roland@hack.frob.com>
16948
16949 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16950 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16951 __alignof__ (long double).
16952
478143fa
AZ
169532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16954
16955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16956
c7683a6d
RH
169572012-05-20 Richard Henderson <rth@twiddle.net>
16958
16959 * misc/getauxval.c: New file.
16960 * misc/sys/auxv.h: New file.
16961 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16962 (routines): Add getauxval.
16963 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16964 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16965 * elf/dl-sysdep.c (_dl_auxv): Remove.
16966 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16967 * elf/dl-support.c (_dl_auxv): New variable.
16968 (_dl_aux_init): Initialize it.
16969 * manual/startup.texi (Auxiliary Vector): New node.
16970 * sysdeps/generic/bits/hwcap.h: New file.
16971 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16972 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16973 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16974 * sysdeps/sparc/sysdep.h: ... here. Include it.
16975 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16978 Update.
c7683a6d
RH
16979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16982 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16987
a6f1845d
AZ
169882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16989
16990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16991
cbcbe830
DM
169922012-05-19 David S. Miller <davem@davemloft.net>
16993
16994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16995
e0b16cc2
JM
169962012-05-19 Joseph Myers <joseph@codesourcery.com>
16997
16998 [BZ #14123]
16999 * math/s_ccosh.c: Include <float.h>
17000 (__ccosh): Avoid internal overflow calculating sinh and cosh
17001 values before multiplying by sin and cos values.
17002 * math/s_ccoshf.c: Likewise.
17003 * math/s_ccoshl.c: Likewise.
17004 * math/s_csin.c: Likewise.
17005 * math/s_csinf.c: Likewise.
17006 * math/s_csinl.c: Likewise.
17007 * math/s_csinh.c: Likewise.
17008 * math/s_csinhf.c: Likewise.
17009 * math/s_csinhl.c: Likewise.
17010 * math/libm-test.inc (ccos_test): Add more tests.
17011 (ccosh_test): Likewise.
17012 (csin_test): Likewise.
17013 (csinh_test): Likewise.
17014 * sysdeps/i386/fpu/libm-test-ulps: Update.
17015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17016
6ad13e08
L
170172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17018
f66f0ce8
L
17019 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17020 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17021
6ad13e08
L
17022 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17023
b1d072a7
JM
170242012-05-19 Joseph Myers <joseph@codesourcery.com>
17025
17026 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17027 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17028 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17029 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17030 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17031 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17032 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17033 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17034 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17035 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17036 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17037 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17038 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17039 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17040 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17041 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17042 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17043 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17044 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17045 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17046 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17047 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17048 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17049 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17050 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17051 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17052 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17053 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17054 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17055 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17056 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17057
9eae47cb
AJ
170582012-05-18 Andreas Jaeger <aj@suse.de>
17059
17060 * csu/.gitignore: Delete.
17061
bb07f69f
L
170622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17063
17064 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17065 (timex): Use __syscall_slong_t.
17066
e6bdb741
AJ
170672012-05-18 Andreas Jaeger <aj@suse.de>
17068 Carlos O'Donell <carlos_odonell@mentor.com>
17069
17070 * manual/install.texi (Configuring and compiling): Update
17071 description about files modified in the source directory.
d6c33fda 17072 * INSTALL: Regenerated.
e6bdb741 17073
1b74487e
L
170742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17075
17076 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17077 value. Use "or" to set return value to -1.
17078 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17079 negate return value.
17080
a88b64b9
TMQMF
170812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17082
17083 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17084 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17085 failure if the compiler has Graphite support disabled.
17086 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17087 Likewise.
17088 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17089 CFLAGS-memmove.c): Likewise.
17090 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17091 Likewise.
17092
3707636e
L
170932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17094
610b8622
L
17095 * sysdeps/x86_64/x32/_itoa.h: New file.
17096
7cd195df
L
17097 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17098 getdents system call only if kernel and user dirents have the
17099 same d_ino and d_off.
17100
94b07d20
L
17101 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17102 LLONG_MAX != LONG_MAX.
17103 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17104 (_fitoa_word): Likewise.
17105
18298070
L
17106 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17107 years.
17108 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17109 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17110 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17111
553c7ea4
L
17112 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17113 include <bits/wordsize.h>. Check __x86_64__ instead of
17114 __WORDSIZE.
17115 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17116 if __x86_64__ is defined. Use anonymous union on fpstate.
17117
3707636e
L
17118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17119 anonymous union.
17120
b53ef01a
AS
171212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17122
37fb1dc0
AS
17123 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17124 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17125 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17126 Refer to _rtld_local_ro instead of _rtld_global_ro.
17127 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17128 Likewise.
17129 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17130 Likewise.
17131 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17132 Likewise.
17133 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17134 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17135 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17136
b53ef01a
AS
17137 * sysdeps/powerpc/powerpc32/dl-machine.c
17138 (__elf_machine_runtime_setup) [PROF]: Don't reference
17139 _dl_prof_resolve.
17140
7a185db2
AJ
171412012-05-18 Andreas Jaeger <aj@suse.de>
17142
17143 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17144 function only available for GCCs before 3.4 since GCC 3.4
17145 introduced a builtin.
17146 (lrint): Likewise.
17147 (llrintf): Likewise.
17148 (llrint): Likewise.
17149 (fmaxf): Likewise.
17150 (fmax): Likewise.
17151 (fminf): Likewise.
17152 (fmin): Likewise.
17153 (rint): Likewise.
17154 (rintf): Likewise.
17155 (nearbyint): Likewise.
17156 (nearbyintf): Likewise.
17157 (ceil): Likewise.
17158 (ceilf): Likewise.
17159 (floor): Likewise.
17160 (floorf): Likewise.
17161
3e5aef87
L
171622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17163
428bd707
L
17164 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17165 on both fields and cast pointer to __syscall_ulong_t.
17166
3e5aef87
L
17167 * bits/types.h (__fsword_t): New type.
17168 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17169 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17171 (__FSWORD_T_TYPE): Likewise.
17172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17173 (__FSWORD_T_TYPE): Likewise.
17174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17175 (__FSWORD_T_TYPE): Likewise.
17176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17177 (__FSWORD_T_TYPE): Likewise.
17178 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17179 __SWORD_TYPE with __fsword_t.
17180 (statfs64): Likewise.
17181
1ba7c3dc
DM
171822012-05-17 David S. Miller <davem@davemloft.net>
17183
17184 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17185
59910343
AJ
171862012-05-17 Andreas Jaeger <aj@suse.de>
17187
17188 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17189 warning.
17190
2e4c1e9e
L
171912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17192
17193 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17194
de7f5ce7
AJ
171952012-05-17 Andreas Jaeger <aj@suse.de>
17196
17197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17198 when it is used.
17199
286abc3d
CM
172002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17201
17202 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17203
477cc68e
L
172042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17205
17206 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17207 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17208
1a0994f5
CD
172092012-05-17 Andreas Jaeger <aj@suse.de>
17210 Carlos O'Donell <carlos_odonell@mentor.com>
17211
17212 [BZ #14059]
17213 * sysdeps/x86_64/multiarch/init-arch.h
17214 (bit_YMM_Usable): Rename to...
17215 (bit_AVX_Usable): ... this.
17216 (bit_FMA4_Usable): New macro.
17217 (bit_XMM_state): New macro.
17218 (bit_YMM_state): New macro.
17219 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17220 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17221 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17222 (CPUID_OSXSAVE): New macro.
17223 (CPUID_AVX): New macro.
17224 (CPUID_FMA4): New macro.
17225 (index_YMM_Usable): Rename to...
17226 (index_AVX_Usable): ... this.
17227 (HAS_AVX): Use HAS_ARCH_FEATURE.
17228 (HAS_FMA4): Likewise.
17229 (HAS_YMM_USABLE): Remove.
17230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17231 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17232 are present.
17233 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17234 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17235 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17236 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17237 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17238
0af797de
CM
172392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17240
17241 * math/libm-test.c: Support platforms without multiple rounding modes.
17242 * math/bug-nextafter.c: Support platforms without FP exceptions.
17243 * math/bug-nexttoward.c: Likewise.
17244 * math/test-fenv.c: Likewise.
17245 * math/test-misc.c: Likewise.
17246 * stdlib/bug-getcontext.c: Likewise.
17247
e39745ff
AJ
172482012-05-17 Andreas Jaeger <aj@suse.de>
17249
17250 * manual/examples/search.c (critter_cmp): Change signature to
17251 avoid warnings.
17252 * manual/string.texi (Collation Functions): Likewise.
17253
48970aba
L
172542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17255
17256 * bits/types.h: Fold copyright years.
17257 * bits/typesizes.h: Likewise.
17258 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17261 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17262 * time/time.h: Likewise.
17263
bedee953
PP
172642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17265
17266 [BZ #208]
17267 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17268 in instead of returning them. Return void.
17269 (__libc_mallinfo): Accumulate over all arenas.
17270 (__malloc_stats): Adjust for change in int_mallinfo interface.
17271
61653dfb
RM
172722012-05-16 Roland McGrath <roland@hack.frob.com>
17273
30b99d79
RM
17274 [BZ #10375]
17275 * configure.in (NM): Add AC_CHECK_TOOL for it.
17276 (libc_extra_cflags): New substituted variable.
17277 Check for -fstack-protector being used implicitly.
17278 * configure: Regenerated.
17279 * config.make.in (config-extra-cflags): New variable,
17280 gets @libc_extra_cflags@.
17281 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17282
61653dfb
RM
17283 [BZ #10375]
17284 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17285 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17286 * configure: Regenerated.
17287 * config.make.in (CPPUNDEFS): New substituted variable.
17288 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17289 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17290 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17291
661768bb
L
172922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17293
17294 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17295 (mq_attr): Use __syscall_slong_t.
17296
d4261567
L
172972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17298
17299 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17300 Check __x86_64__ instead of __WORDSIZE.
17301 (_STAT_VER_LINUX): Likewise.
17302 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17303 __syscall_ulong_t and __syscall_slong_t.
17304 (stat64): Likewise.
17305
cf3ff365
L
173062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17307
17308 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17309
76cf3e4d
L
173102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17311
17312 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17313
a637753a
L
173142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17315
17316 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17317 __syscall_ulong_t.
17318
d5e05119
L
17319 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17320 include <bits/wordsize.h>. Check __x86_64__ instead of
17321 __WORDSIZE.
17322 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17323 defined.
17324 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17325
f62ee380
L
17326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17327 include <bits/wordsize.h>. Check __x86_64__ instead of
17328 __WORDSIZE.
17329 (user_regs_struct): Use "__extension__ unsigned long long"
17330 instead of "unsigned long" if __x86_64__ is defined.
17331 (user): Likewise. Pad after pointer field if __ILP32__ is
17332 defined.
17333
4e124ced
JM
173342012-05-16 Joseph Myers <joseph@codesourcery.com>
17335
6a3951a0
JM
17336 * configure.in (makeinfo): Require version 4.5 or later. Allow
17337 versions 5 to 9.
17338 * configure: Regenerated.
17339 * manual/install.texi (texinfo): Increase version requirement to
17340 4.5 or later.
17341 * INSTALL: Regenerated.
17342
4e124ced
JM
17343 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17344
953ca31a
L
173452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17346
17347 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17348
617aca05
L
17349 * sysdeps/x86_64/x32/ffs.c: New file.
17350
5762f7ae
L
17351 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17352 __syscall_ulong_t.
17353 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17354 defined. Use __syscall_ulong_t.
17355 (shminfo): Use __syscall_ulong_t.
17356 (shm_info): Likewise.
17357
a26b6856
L
17358 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17359 __syscall_ulong_t.
17360
cb2b9ef7
L
17361 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17362 <bits/wordsize.h>.
17363 (msgqnum_t): Use __syscall_ulong_t.
17364 (msglen_t): Likewise.
17365 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17366 __syscall_ulong_t.
17367
34683bb0
L
17368 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17369 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17370
84a68786
L
17371 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17372
48baa5f1
L
17373 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17374 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17375
180be88b
L
17376 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17377 __syscall_slong_t.
17378
5e90c8ad
L
17379 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17380 include <bits/wordsize.h>. Check __x86_64__ instead of
17381 __WORDSIZE.
17382
23dfb58b
L
17383 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17384 "unsigned long long int" if __x86_64__ is defined.
17385 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17386
ce5d54b0
L
17387 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17388 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17389 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17390
13dc9eac
L
17391 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17392 <stdint.h>.
17393 (GET_PC): Cast to uintptr_t first.
17394 (GET_FRAME): Likewise.
17395 (GET_STACK): Likewise.
17396
a7895d15
L
17397 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17398 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17399 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17400 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17401 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17402 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17403 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17404 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17405 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17406 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17407 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17408 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17409 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17410 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17411 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17412 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17413 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17414 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17415 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17416 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17418 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17419 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17420 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17421 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17422 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17424 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17425 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17426
656416c9
AS
174272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17428
5bd66283
AS
17429 * Makerules (+depfiles): Also collect depfiles from .oS in
17430 $(extra-objs).
17431 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17432 .oS, $(libnldbl-routines)).
17433
656416c9
AS
17434 * Makerules (native-compile-mkdep-flags): Define.
17435 * sunrpc/Makefile (extra-objs): Add $(addprefix
17436 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17437 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17438 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17439 calling $(make-target-directory).
17440
a46f2169
L
174412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17442
17443 * bits/types.h (__snseconds_t): Removed.
17444 * time/time.h (struct timespec): Replace __snseconds_t with
17445 __syscall_slong_t.
17446 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17447 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17448 Likewise.
17449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17450 (__SNSECONDS_T_TYPE): Likewise.
17451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17452 (__SNSECONDS_T_TYPE): Likewise.
17453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17454 (__SNSECONDS_T_TYPE): Likewise.
17455
6af6528b
L
174562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17457
17458 * sysdeps/mach/hurd/bits/typesizes.h
17459 (__SYSCALL_SLONG_TYPE): New macro.
17460 (__SYSCALL_ULONG_TYPE): Likewise.
17461
de986b56
L
174622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * bits/types.h (__syscall_slong_t): New type.
17465 (__syscall_ulong_t): Likewise.
17466
17467 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17468 (__SYSCALL_ULONG_TYPE): Likewise.
17469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17470 (__SYSCALL_SLONG_TYPE): Likewise.
17471 (__SYSCALL_ULONG_TYPE): Likewise.
17472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17473 (__SYSCALL_SLONG_TYPE): Likewise.
17474 (__SYSCALL_ULONG_TYPE): Likewise.
17475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17476 (__SYSCALL_SLONG_TYPE): Likewise.
17477 (__SYSCALL_ULONG_TYPE): Likewise.
17478
85736dc7
L
174792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17482 Add sigaltstack-offsets.sym.
17483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17484 <sigaltstack-offsets.h>.
17485 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17486 longjmp_msg pointer.
17487 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17488 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17489 signal stack.
17490 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17491
cc03b296
JM
174922012-05-15 Joseph Myers <joseph@codesourcery.com>
17493
a9538892
JM
17494 * elf/stackguard-macros.h: Remove file.
17495 * sysdeps/generic/stackguard-macros.h: New file.
17496 * sysdeps/i386/stackguard-macros.h: Likewise.
17497 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17498 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17499 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17500 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17501 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17502 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17503 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17504 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17505 <elf/stackguard-macros.h>.
17506
cc03b296
JM
17507 [BZ #14109]
17508 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17509 __aligned__ in attribute.
17510 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17511 (gregset_t): Likewise.
17512
93171016
L
175132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17514
17515 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17516 * sysdeps/x86_64/64/Implies-after: Here. New file.
17517 * sysdeps/x86_64/x32/Implies-after: New file.
17518
d86813a0
L
175192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17520
17521 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17522 and access return value for _dl_profile_fixup. Use R10_LP to
17523 load frame size.
17524
2953ec75
L
175252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17526
17527 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17528
3b550e9e
L
175292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17530
17531 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17532 * sysdeps/x86_64/x32/sysdep.h: New file.
17533
eda41706
L
175342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17537 * sysdeps/x86_64/setjmp.S: Likewise.
17538
9ea01d93
AZ
175392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17540
17541 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17542 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17543 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17544 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17545 remove unused global constant.
17546
02a91938
CM
175472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17548
17549 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17550 include of <not-cancel.h>.
17551
6540185f
RM
175522012-05-15 Roland McGrath <roland@hack.frob.com>
17553
17554 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17555
509072a0
AJ
175562012-05-15 Jeff Law <law@redhat.com>
17557 Andreas Jaeger <aj@suse.de>
17558
17559 [BZ #13594]
17560 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17561 out from...
17562 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17563 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17564 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17565 code changing __hst_map_handle.map.
17566
ba75122d
RM
175672012-05-15 Roland McGrath <roland@hack.frob.com>
17568
17569 * configure.in (sysnames): Look for Implies-before and Implies-after
17570 files.
17571 * configure: Regenerated.
17572
890d8bd8
L
175732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17574
17575 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17576 8-byte data alignment with LP_SIZE alignment.
17577
f6ee6623
L
175782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17581 into R10_LP.
17582
ea2626f6
L
175832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17584
17585 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17586
085f715e
L
175872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17588
17589 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17590 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17591 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17592 Likewise.
17593 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17594
be8498fc
L
175952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17596
17597 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17598 (stackinfo_sub_sp): Likewise.
17599
70bc83b9
L
176002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17601
17602 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17603 RAX_LP.
17604
9bc0b730
L
176052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17606
17607 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17608 into R*_LP.
17609
6d2850e7
L
176102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17611
17612 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17613 sizes into R*_LP.
17614
3cb84561
L
176152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17616
17617 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17618
54e2ed81
L
176192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17622 into R11_LP and load __x86_64_shared_cache_size_half into
17623 R8_LP.
17624
8a17f349
L
176252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17626
17627 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17628 R8_LP.
17629
777b1eea
AZ
176302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17631
17632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17633 logb for POWER7.
17634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17635 logbf for POWER7.
17636 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17637 logbl for POWER7.
17638 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17639 powerpc32/power7/fpu/s_logb.c via #include.
17640 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17641 powerpc32/power7/fpu/s_logbf.c via #include.
17642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17643 powerpc32/power7/fpu/s_logbl.c via #include.
17644
d20d4ac2
JM
176452012-05-15 Joseph Myers <joseph@codesourcery.com>
17646
17647 * README.libm: Remove file.
17648
6cdef1ab
L
176492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17650
17651 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17652 count for x32. Use R*_LP and omit operand-size suffix.
17653
0b254d8f
L
176542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17655
17656 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17657 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17658 * sysdeps/x86_64/x32/shlib-versions: New file.
17659
ceb809dc
RM
176602012-05-14 Roland McGrath <roland@hack.frob.com>
17661
17662 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17663 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17664 Use _dl_fatal_printf instead.
17665
37f1abd4
JM
176662012-05-14 Joseph Myers <joseph@codesourcery.com>
17667
17668 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17669 set if not set by the user. Do not allow for being unset.
17670 * sysdeps/unix/sysv/linux/configure: Regenerated.
17671
11de3a33
L
176722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17673
17674 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17675 the `q' suffix from lea and replace .quad with ASM_ADDR.
17676
e02f153a
L
176772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17678
17679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17680 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17681 instead of $17.
17682 (PTR_DEMANGLE): Likewise.
17683
520ae0fd
L
176842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17685
17686 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17687 (LP_OP): Likewise.
17688 (ASM_ADDR): Likewise.
17689 (RAX_LP): Likewise.
17690 (RBP_LP): Likewise.
17691 (RBX_LP): Likewise.
17692 (RCX_LP): Likewise.
17693 (RDI_LP): Likewise.
17694 (RSI_LP): Likewise.
17695 (RSP_LP): Likewise.
17696 (R8_LP): Likewise.
17697 (R9_LP): Likewise.
17698 (R10_LP): Likewise.
17699 (R10_LP): Likewise.
17700 (R11_LP): Likewise.
17701 (R12_LP): Likewise.
17702 (R13_LP): Likewise.
17703 (R14_LP): Likewise.
17704 (R15_LP): Likewise.
17705
b985be81
L
177062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17707
17708 * sysdeps/x86_64/x32/dl-machine.h: New file.
17709
6a4888ff
AJ
177102012-05-14 Andreas Jaeger <aj@suse.de>
17711
17712 * manual/Makefile (subdir): Remove export of subdir.
17713 (all): Remove target.
17714 (.PHONY): Remove all from list.
17715 (mkinstalldirs): Remove.
17716 (.PHONY): Remove installdirs from list.
17717 ($(inst_infodir)/libc.info): Use make-target-directory.
17718 (installdirs): Remove.
17719 (subdir_%): Remove.
17720 (glibc-targets): Remove.
17721 (lib): Remove.
17722 (stubs): Remove.
17723 ($(objpfx)stubs ../po/manual.pot): Remove.
17724 ($(objpfx)stamp%): Remove.
17725 (make-target-directory): Remove.
17726 (subdir_install): Remove.
17727 (routines): Remove.
17728 (aux): Remove.
17729 (sources): Remove.
17730 (objects): Remove.
17731 (headers): Remove.
17732
17733 [BZ #13750]
17734 * manual/.gitignore: Remove, it's not needed anymore.
17735 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17736 all files in it.
17737 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17738 directory.
17739 (texis): Renamed to $(objpfx)texis.
17740 (texis-path): New, contains path to generated files.
17741 (chapters.%): Use texis-path for complete path, add extra argument
17742 libc-texinfo.sh.
17743 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17744 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17745 (summary,texi, stamp-summary): Use complete path of
17746 files. Generate files in build dir.
17747 (dir-add.texi): Build in build dir.
17748 (libm-err.texi,stamp-libm-err): Likewise.
17749 (version.texi, stamp-version): Likewise.
17750 (.%c.texi): Likewise.
17751 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17752 (mostlyclean): Remove target.
17753 (realclean): Remove target.
17754 (generated): Add new variable with contents from mostlyclean and
17755 realclean, remove entries duplicated in common-mostlyclean, add
17756 stamp-libm-err and stamp-version.
17757 (generated-dirs): Add libc directory.
17758 ($(inst_infodir)/libc.info): Install files from build dir.
17759
17760 * manual/install.texi (Configuring and compiling): Adjust since
17761 the info files are not part of the tar ball anymore.
17762
7ac77294
AJ
177632012-05-14 Andreas Jaeger <aj@suse.de>
17764
17765 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17766 variable.
17767
ffb7875d
JM
177682012-05-14 Joseph Myers <joseph@codesourcery.com>
17769
17770 [BZ #13717]
17771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17772 to 2.2.0 where earlier.
17773 * sysdeps/unix/sysv/linux/configure: Regenerated.
17774 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17775 Remove conditional code.
17776 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17777 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17778 Remove conditional code.
17779 [!__NR_lchown]: Likewise.
17780 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17781 [__NR_lchown]: Likewise.
17782 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17783 comment referencing __ASSUME_LCHOWN_SYSCALL.
17784 * sysdeps/unix/sysv/linux/i386/sigaction.c
17785 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17786 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17787 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17788 Remove conditional code.
17789 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17790 (__protocol_available): Remove #if 0 code.
17791 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17792 conditional code.
17793 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17794 * sysdeps/unix/sysv/linux/kernel-features.h
17795 (__ASSUME_GETCWD_SYSCALL): Don't define.
17796 (__ASSUME_REALTIME_SIGNALS): Likewise.
17797 (__ASSUME_PREAD_SYSCALL): Likewise.
17798 (__ASSUME_PWRITE_SYSCALL): Likewise.
17799 (__ASSUME_POLL_SYSCALL): Likewise.
17800 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17801 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17802 non-SPARC.
17803 (__ASSUME_SIOCGIFNAME): Don't define.
17804 (__ASSUME_MSG_NOSIGNAL): Likewise.
17805 (__ASSUME_SENDFILE): Define unconditionally.
17806 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17807 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17808 conditional code.
17809 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17810 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17811 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17812 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17813 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17814 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17815 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17817 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17820 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17829 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17832 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17840 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17841 Remove conditional code.
17842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17843 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17844 Remove conditional code.
17845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17846 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17847 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17848 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17849 Remove conditional code.
17850 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17851 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17852 Remove conditional code.
17853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17854 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17855 Remove conditional code.
17856 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17857 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17858 Remove conditional code.
17859 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17860 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17861 Remove conditional code.
17862 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17863 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17864 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17866 * sysdeps/unix/sysv/linux/sigaction.c
17867 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17868 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17869 * sysdeps/unix/sysv/linux/sigpending.c
17870 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17871 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17872 * sysdeps/unix/sysv/linux/sigprocmask.c
17873 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17874 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17875 * sysdeps/unix/sysv/linux/sigsuspend.c
17876 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17877 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17878 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17879 (__libc_missing_rt_sigs): Remove.
17880 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17881 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17882 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17883 Remove conditional code.
17884 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17885 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17886 return 1.
17887 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17888 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17889 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17890 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17891
1bfb7291
AJ
178922012-05-14 Andreas Jaeger <aj@suse.de>
17893
caae5a81
AJ
17894 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17895 it's not used in glibc.
17896 (__coshm1): Likewise.
17897 (__acosh1p): Likewise.
17898 (__sgn): Likewise.
17899
1bfb7291
AJ
17900 * manual/string.texi (Copying and Concatenation): Add missing
17901 variable in concat example.
17902 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17903
c044d724
L
179042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17905
144c5467 17906 [BZ #14103]
c044d724
L
17907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17908 __builtin_clzl with __builtin_clzll.
17909
2523c62b
L
179102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 [BZ #14104]
17913 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17914 libc_freeres_ptr.
17915
d7bb4c42
LD
179162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17917
17918 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17919 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17920 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17921 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17922
9dc4e1fb
MF
179232012-05-14 Mike Frysinger <vapier@gentoo.org>
17924
17925 * NEWS: Update ia64 info.
17926
c7df0112
AS
179272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17928
17929 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17930 used as bcopy.
17931
dc70356c
TS
179322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17933
17934 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17935 * sysdeps/unix/syscalls.list (dup3): Likewise.
17936 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17937 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17938
9fb1a21f
L
179392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17940
17941 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17942 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17943
4822a2a5
L
179442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17945
17946 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17947 thread pointer.
17948 (TLS_IE): Use mov/add instead of movq/addq to load thread
17949 pointer.
17950 (TLS_GD_PREFIX): New.
17951 (TLS_GD): Use it.
17952
842b81d6
DM
179532012-05-11 David S. Miller <davem@davemloft.net>
17954
17955 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17956 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17957 (_FPU_SETCW): Likewise.
17958
1cf463cd
L
179592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17960
17961 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17962 is 32-byte aligned.
17963
60cc4a18
AS
179642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17965
17966 [BZ #11837]
17967 * iconvdata/gb18030.c: Update tables.
17968 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17969 characters specially.
17970 (BODY for TO_LOOP): Add encoding of missing ranges.
17971
febb44a4
TS
179722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17973
17974 [BZ #13673]
17975 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17976 * sysdeps/mach/hurd/dup3.c: Likewise.
17977 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17978 * sysdeps/powerpc/memmove.c:: Likewise.
17979
0a10fb9e
L
179802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17981
17982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17983 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17984
df8a552f
L
179852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17986
17987 * elf/elf.h (R_X86_64_RELATIVE64): New.
17988 (R_X86_64_NUM): Updated.
17989 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17990 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17991 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17992 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17993 tst-quad1pie tst-quad2pie
17994 (modules-names): Add tst-quadmod1 tst-quadmod2.
17995 ($(objpfx)tst-quad1): New dependency.
17996 ($(objpfx)tst-quad2): Likewise.
17997 ($(objpfx)tst-quad1pie): Likewise.
17998 ($(objpfx)tst-quad2pie): Likewise.
17999 * sysdeps/x86_64/tst-quad1.c: New file.
18000 * sysdeps/x86_64/tst-quad1pie.c: New file.
18001 * sysdeps/x86_64/tst-quad2.c: Likewise.
18002 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18003 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18004 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18005 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18006 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18007
f34d6f84
ST
180082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18009
f42d41d1
ST
18010 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18011 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18012 * streams/stropts.h (t_scalar_t): Define type.
18013
3c3571fc
ST
18014 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18015 (_PATH_PRESERVE): Set to "/var/lib".
18016 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18017
61f06bd3
ST
18018 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18019 instead of int.
18020
918d4d71
ST
18021 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18022 if __dir_mkfile succeeded.
18023
f34d6f84
ST
18024 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18025 checking for _hurd_dtablesize. Unlock it right after having
18026 finished _hurd_dtable allocation.
18027
10589b4a
TS
180282012-05-10 Thomas Schwinge <thomas@schwinge.name>
18029
674cdbc7
TS
18030 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18031 * sysdeps/mach/hurd/configure: Regenerated.
18032 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18033 special-casing to...
18034 * sysdeps/gnu/configure.in: ... this new file.
18035 * sysdeps/unix/sysv/linux/configure: Regenerated.
18036 * sysdeps/gnu/configure: New generated file.
18037
8e41b99f
TS
18038 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18039 for Linux: use nsec instead of usec, as well as:
18040 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18041 members of type struct timespec.
18042 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18043 New macros.
18044 (struct stat64): Likewise.
18045 (_STATBUF_ST_NSEC): New macro.
18046 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18047
10589b4a
TS
18048 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18049 __strtoul_internal rather than strtoul.
18050
63643c85
PT
180512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18052
18053 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18054 and reject them.
18055
3faebe6a
ST
180562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18057
18058 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18059 which preserves existing values.
18060 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18061
c6474b07
PT
180622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18063
18064 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18065 TIMEOUT values. Return EINVAL for NFDS values either negative or
18066 greater than FD_SETSIZE.
18067
1043890b
ST
180682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18069
18070 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18071 allocated, call __vm_protect to finish enabling the existing space, and
18072 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18073 allocate the remainder.
18074
37ed8b9b
PT
180752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18076
18077 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18078 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18079
db653660
ST
180802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18081
37ed8b9b
PT
18082 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18083 sysdeps/mach/hurd/readlink.c.
b29d4053 18084
db653660
ST
18085 * posix/tst-sysconf.c (posix_options): Only use
18086 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18087 _POSIX_SYNCHRONIZED_IO when they are defined
18088 * sysdeps/mach/hurd/bits/posix_opt.h:
18089 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18090 (_XOPEN_REALTIME): Undefine macro.
18091 (_XOPEN_REALTIME_THREADS): Undefine macro.
18092 (_XOPEN_SHM): Undefine macro.
18093 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18094 macro to -1.
18095 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18096 macro to -1.
18097 (_POSIX_ASYNC_IO): Undefine macro.
18098 (_POSIX_PRIORITIZED_IO): Undefine macro.
18099 (_POSIX_SPIN_LOCKS): Define macro to -1.
18100
ee16e894
ST
18101 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18102 SA_NODEFER, SA_RESETHAND.
18103 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18104 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18105 F_DUPFD_CLOEXEC.
18106
6103ae3b
TS
181072012-05-10 Thomas Schwinge <thomas@schwinge.name>
18108
18109 * elf/Makefile (pldd-modules): Define unconditionally.
18110
80b4e5f3
TS
181112012-05-10 Thomas Schwinge <thomas@schwinge.name>
18112
18113 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18114
edadcbd6
ST
181152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18116
18117 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18118 Return ENOENT when name is empty.
18119 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18120
80694780
TS
181212012-05-10 Thomas Schwinge <thomas@schwinge.name>
18122
1792c087
TS
18123 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18124
80694780
TS
18125 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18126
6b645f0d
ST
181272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18128
80694780
TS
18129 Fix mlock in all cases except non-readable pages.
18130 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18131 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18132
6b645f0d
ST
18133 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18134 (__mkdir): When path is `/', just fail with EEXIST.
18135 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18136
e468f8a3
TS
181372012-05-10 Thomas Schwinge <thomas@schwinge.name>
18138
18139 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18140 <sys/uio.h> (for writev).
18141 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18142 and <sys/param.h> (for MIN).
18143
a4186cff
PT
181442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18145
18146 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18147 REQUESTED_TIME. Properly set the remaining time and return EINTR
18148 if interrupted.
18149
510bbf14
TS
181502012-05-10 Thomas Schwinge <thomas@schwinge.name>
18151
18152 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18153 Depend on against $(link-rpcuserlibs).
18154
5d5722e8
ST
181552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18156
a4186cff
PT
18157 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18158 (__libc_stack_end): Do not use attribute_relro.
18159 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18160 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18161 to libthread-provided value.
a4186cff
PT
18162 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18163 attribute_relro.
5d5722e8 18164
37233df9
TS
181652012-05-10 Thomas Schwinge <thomas@schwinge.name>
18166
be971a2b
TS
18167 [BZ #3748]
18168 * bits/libc-lock.h (__libc_once_get): New macro.
18169 * sysdeps/mach/bits/libc-lock.h: Likewise.
18170 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18172 instead of using implementation details.
18173
37233df9
TS
18174 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18175 * libio/freopen.c: Likewise.
18176 * libio/freopen64.c: Likewise.
18177 * misc/syslog.c: Likewise.
18178 * nscd/connections.c: Likewise.
18179 * nscd/netgroupcache.c: Likewise.
18180 * sysdeps/posix/getcwd.c: Likewise.
18181
38de94a5
RM
181822012-05-10 Roland McGrath <roland@hack.frob.com>
18183
18184 * math/w_ilogbf.c: Add #include <limits.h>.
18185
67530489
ST
181862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18187
a4186cff 18188 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18189 path instead of returning without unlocking.
18190
67530489
ST
18191 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18192 immediate-write ioctls.
18193 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18194
5aa3a74a
TS
181952012-05-10 Thomas Schwinge <thomas@schwinge.name>
18196
18bad2ae
TS
18197 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18198 __builtin_frame_address instead of making assumptions about the
18199 location of the return address relative to DATA. Force early load of
18200 the return address.
18201 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18202 __builtin_frame_address.
18203
5aa3a74a
TS
18204 dup3 for GNU Hurd.
18205 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18206 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18207 implement dup3 and do some further code clean-ups.
18208 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18209 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18210
ecd0de9a
ST
182112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18212
cd9fa985
ST
18213 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18214
a4186cff
PT
18215 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18216 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18217 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18218 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18219 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18220 d->port.lock.
802ca5a5 18221
a4186cff
PT
18222 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18223 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18224 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18225
bcf55240
TS
182262012-05-10 Thomas Schwinge <thomas@schwinge.name>
18227
6960eb42
TS
18228 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18229 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18230 definitions.
18231
eb43375f
TS
18232 accept4 for GNU Hurd.
18233 * include/sys/socket.h (__libc_accept4): New prototype.
18234 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18235 to implement __libc_accept4.
18236 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18237 __libc_accept4.
18238 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18239
bcf55240
TS
18240 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18241 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18242 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18243 signal-defines.sym.
18244
6178c55b
ST
182452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18246
a4186cff 18247 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18248
6f080c2f
TS
182492012-05-10 Thomas Schwinge <thomas@schwinge.name>
18250
18251 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18252 assertion on O_CLOEXEC flag.
18253 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18254 * hurd/intern-fd.c: Likewise.
18255 * hurd/port2fd.c: Likewise.
18256
bcfe3a54
ST
182572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18258
18259 [BZ #3906]
18260 * bits/in.h (IPV6_PKTINFO): Define new macro.
18261 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18262
89c9aa49
AZ
182632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18264
18265 [BZ #13954]
18266 [BZ #13955]
18267 [BZ #13956]
18268 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18270 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18271 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18274 * math/libm-test.inc (logb_test) : Additional logb tests.
18275
021db4be
AJ
182762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18277 Andreas Jaeger <aj@suse.de>
18278
18279 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18280 * configure: Regenerated.
18281 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18282 * config.make.in (link-obsolete-rpc): New substituted variable.
18283 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18284 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18285 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18286 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18287 so that libc.a contains the symbols.
18288 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18289 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18290 * sunrpc/auth_none.c: Likewise.
18291 * sunrpc/auth_unix.c: Likewise.
18292 * sunrpc/authdes_prot.c: Likewise.
18293 * sunrpc/authuxprot.c: Likewise.
18294 * sunrpc/clnt_gen.c: Likewise.
18295 * sunrpc/clnt_perr.c: Likewise.
18296 * sunrpc/clnt_raw.c: Likewise.
18297 * sunrpc/clnt_simp.c: Likewise.
18298 * sunrpc/clnt_tcp.c: Likewise.
18299 * sunrpc/clnt_udp.c: Likewise.
18300 * sunrpc/clnt_unix.c: Likewise.
18301 * sunrpc/des_crypt.c: Likewise.
18302 * sunrpc/des_soft.c: Likewise.
18303 * sunrpc/get_myaddr.c: Likewise.
18304 * sunrpc/key_call.c: Likewise.
18305 * sunrpc/key_prot.c: Likewise.
18306 * sunrpc/netname.c: Likewise.
18307 * sunrpc/pm_getmaps.c: Likewise.
18308 * sunrpc/pm_getport.c: Likewise.
18309 * sunrpc/pmap_clnt.c: Likewise.
18310 * sunrpc/pmap_prot.c: Likewise.
18311 * sunrpc/pmap_prot2.c: Likewise.
18312 * sunrpc/pmap_rmt.c: Likewise.
18313 * sunrpc/publickey.c: Likewise.
18314 * sunrpc/rpc_cmsg.c: Likewise.
18315 * sunrpc/rpc_common.c: Likewise.
18316 * sunrpc/rpc_dtable.c: Likewise.
18317 * sunrpc/rpc_prot.c: Likewise.
18318 * sunrpc/rpc_thread.c: Likewise.
18319 * sunrpc/rtime.c: Likewise.
18320 * sunrpc/svc.c: Likewise.
18321 * sunrpc/svc_auth.c: Likewise.
18322 * sunrpc/svc_raw.c: Likewise.
18323 * sunrpc/svc_run.c: Likewise.
18324 * sunrpc/svc_tcp.c: Likewise.
18325 * sunrpc/svc_udp.c: Likewise.
18326 * sunrpc/svc_unix.c: Likewise.
18327 * sunrpc/svcauth_des.c: Likewise.
18328 * sunrpc/xcrypt.c: Likewise.
18329 * sunrpc/xdr.c: Likewise.
18330 * sunrpc/xdr_array.c: Likewise.
18331 * sunrpc/xdr_float.c: Likewise.
18332 * sunrpc/xdr_intXX_t.c: Likewise.
18333 * sunrpc/xdr_mem.c: Likewise.
18334 * sunrpc/xdr_rec.c: Likewise.
18335 * sunrpc/xdr_ref.c: Likewise.
18336 * sunrpc/xdr_sizeof.c: Likewise.
18337 * sunrpc/xdr_stdio.c: Likewise.
18338
b5c086a2
RM
183392012-05-10 Roland McGrath <roland@hack.frob.com>
18340
18341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18342 change. Update copyright years.
18343
6d74dd09
JM
183442012-05-10 Joseph Myers <joseph@codesourcery.com>
18345
18346 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18347
28e72501
MK
183482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18349 Joseph Myers <joseph@codesourcery.com>
18350 Paul Pluzhnikov <ppluzhnikov@google.com>
18351
18352 [BZ #14012]
18353 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18354 requiring rpcgen.
18355 [cross-compiling] (extra-libs): Likewise.
18356 [cross-compiling] (extra-libs-others): Likewise.
18357 [cross-compiling] (librpcsvc-routines): Likewise.
18358 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18359 [cross-compiling] (omit-deps): Likewise.
18360 (sunrpc-CPPFLAGS): New variable.
18361 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18362 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18363 (cross-rpcgen-objs): New variable.
18364 (extra-objs): Append $(cross-rpcgen-objs).
18365 ($(cross-rpcgen-objs)): New rule.
18366 ($(objpfx)cross-rpcgen): Likewise.
18367 (rpcgen-cmd): Define to use $(built-program-file). Expand
18368 comment.
18369 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18370 ($(objpfx)x%.stmp): Likewise.
18371 * sunrpc/proto.h [IS_IN_build] (_): Define.
18372 [IS_IN_build] (_libc_intl_domainname): Likewise.
18373
c8c59454
L
183742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18375
18376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18377 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18378 and R_X86_64_TPOFF64.
18379
6f27cd16
JM
183802012-05-10 Joseph Myers <joseph@codesourcery.com>
18381
18382 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18383 sysdeps/unix/sysv/syscalls.list.
18384 (stime): Likewise.
18385 (utime): Likewise.
18386 * sysdeps/unix/sysv/syscalls.list: Remove file.
18387
02467e1c
PE
183882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18389
18390 [BZ #3440]
18391 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18392 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18393 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18394 (__LC_IDENTIFICATION): Make these macros useful in #if
18395 expressions, as required by C99.
18396
da392631
AS
183972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18398
18399 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18400 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18401 after this.
18402
8115f29b
L
184032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18404
18405 * stdlib/longlong.h: Updated from GCC.
18406
bdd74070
AJ
184072012-05-09 Andreas Jaeger <aj@suse.de>
18408
edfe0dbe
AJ
18409 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18410 default is first entry.
18411 (run_mode): Set type.
18412 (main): Remove informal message about syslog.
18413 (options): Fix typo.
18414
bcfe3a54
ST
18415 [BZ #14053]
18416 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18417 to asm.
bcfe3a54
ST
18418 (lrint): Likewise.
18419 (llrintf): Likewise.
18420 (llrint): Likewise.
18421 (rint): Likewise.
18422 (rintf): Likewise.
18423 (nearbyint): Likewise.
18424 (nearbyintf): Likewise.
bdd74070 18425
91d8d69e
AJ
184262012-05-09 Andreas Jaeger <aj@suse.de>
18427 Pedro Alves <palves@redhat.com>
18428
18429 * nscd/nscd.c (run_mode): Use enum.
18430 (main): Cleanup coding style issue.
18431
bb90b80b
AJ
184322012-05-09 Alexandre Oliva <aoliva@redhat.com>
18433 Andreas Jaeger <aj@suse.de>
18434
bcfe3a54
ST
18435 * nscd/nscd.c (go_background): Replaced with...
18436 (run_mode): ... this.
bb90b80b 18437 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18438 (options): Add -F --foreground.
18439 (main): Implement it.
18440 (parse_opt): Parse it.
bb90b80b 18441
1a4b75a1
AJ
184422012-05-09 Andreas Jaeger <aj@suse.de>
18443
18444 [BZ #14083]
18445 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18446 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18447 -Wconversion warning.
18448 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18449 Likewise.
18450
b1cc2472
JM
184512012-05-09 Joseph Myers <joseph@codesourcery.com>
18452
18453 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18454 == 0.
18455 (LC_ALL): Use macro-int-constant.
18456 (LC_COLLATE): Likewise.
18457 (LC_CTYPE): Likewise.
18458 (LC_MESSAGES): Likewise.
18459 (LC_MONETARY): Likewise.
18460 (LC_NUMERIC): Likewise.
18461 (LC_TIME): Likewise.
18462 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18463 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18465 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18466 Specify type.
18467 [C99-based standards] (float_t): Expect type.
18468 [C99-based standards] (double_t): Expect type.
18469 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18470 type.
18471 [C99-based standards] (HUGE_VALL): Likewise.
18472 [C99-based standards] (INFINITY): Likewise.
18473 [C99-based standards] (NAN): Likewise.
18474 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18475 [C99-based standards] (FP_NAN): Likewise.
18476 [C99-based standards] (FP_NORMAL): Likewise.
18477 [C99-based standards] (FP_SUBNORMAL): Likewise.
18478 [C99-based standards] (FP_ZERO): Likewise.
18479 [C99-based standards] (FP_FAST_FMA): Use
18480 optional-macro-int-constant. Specify type. Require == 1.
18481 [C99-based standards] (FP_FAST_FMAF): Likewise.
18482 [C99-based standards] (FP_FAST_FMAL): Likewise.
18483 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18484 [C99-based standards] (FP_ILOGBNAN): Likewise.
18485 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18486 Specify type.
18487 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18488 [C99-based standards] (math_errhandling): Specify type.
18489 [ISO99 || ISO11] (signgam): Do not allow.
18490 [non-C99-based standards] (copysignf): Do not allow.
18491 [non-C99-based standards] (exp2f): Likewise.
18492 [non-C99-based standards] (log2f): Likewise.
18493 [non-C99-based standards] (modff): Allow.
18494 [non-C99-based standards] (erff): Do not allow.
18495 [non-C99-based standards] (erfcf): Likewise.
18496 [non-C99-based standards] (gammaf): Likewise.
18497 [non-C99-based standards] (hypotf): Likewise.
18498 [non-C99-based standards] (j0f): Likewise.
18499 [non-C99-based standards] (j1f): Likewise.
18500 [non-C99-based standards] (jnf): Likewise.
18501 [non-C99-based standards] (lgammaf): Likewise.
18502 [non-C99-based standards] (tgammaf): Likewise.
18503 [non-C99-based standards] (y0f): Likewise.
18504 [non-C99-based standards] (y1f): Likewise.
18505 [non-C99-based standards] (ynf): Likewise.
18506 [non-C99-based standards] (isnanf): Likewise.
18507 [non-C99-based standards] (acoshf): Likewise.
18508 [non-C99-based standards] (asinhf): Likewise.
18509 [non-C99-based standards] (atanhf): Likewise.
18510 [non-C99-based standards] (cbrtf): Likewise.
18511 [non-C99-based standards] (expm1f): Likewise.
18512 [non-C99-based standards] (ilogbf): Likewise.
18513 [non-C99-based standards] (log1pf): Likewise.
18514 [non-C99-based standards] (logbf): Likewise.
18515 [non-C99-based standards] (nextafterf): Likewise.
18516 [non-C99-based standards] (remainderf): Likewise.
18517 [non-C99-based standards] (rintf): Likewise.
18518 [non-C99-based standards] (scalbf): Likewise.
18519 [non-C99-based standards] (copysignl): Likewise.
18520 [non-C99-based standards] (exp2l): Likewise.
18521 [non-C99-based standards] (log2l): Likewise.
18522 [non-C99-based standards] (modfl): Allow.
18523 [non-C99-based standards] (erfl): Do not allow.
18524 [non-C99-based standards] (erfcl): Likewise.
18525 [non-C99-based standards] (gammal): Likewise.
18526 [non-C99-based standards] (hypotl): Likewise.
18527 [non-C99-based standards] (j0l): Likewise.
18528 [non-C99-based standards] (j1l): Likewise.
18529 [non-C99-based standards] (jnl): Likewise.
18530 [non-C99-based standards] (lgammal): Likewise.
18531 [non-C99-based standards] (tgammal): Likewise.
18532 [non-C99-based standards] (y0l): Likewise.
18533 [non-C99-based standards] (y1l): Likewise.
18534 [non-C99-based standards] (ynl): Likewise.
18535 [non-C99-based standards] (isnanl): Likewise.
18536 [non-C99-based standards] (acoshl): Likewise.
18537 [non-C99-based standards] (asinhl): Likewise.
18538 [non-C99-based standards] (atanhl): Likewise.
18539 [non-C99-based standards] (cbrtl): Likewise.
18540 [non-C99-based standards] (expm1l): Likewise.
18541 [non-C99-based standards] (ilogbl): Likewise.
18542 [non-C99-based standards] (log1pl): Likewise.
18543 [non-C99-based standards] (logbl): Likewise.
18544 [non-C99-based standards] (nextafterl): Likewise.
18545 [non-C99-based standards] (remainderl): Likewise.
18546 [non-C99-based standards] (rintl): Likewise.
18547 [non-C99-based standards] (scalbl): Likewise.
18548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18549 [non-C99-based standards] (FP_*): Do not allow.
18550 [C99-based standards] (FP_*): Change to
18551 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18552 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18553 allow.
18554 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18555 (SIG_ERR): Likewise.
18556 [X/Open-based standards] (SIG_HOLD): Likewise.
18557 (SIG_IGN): Likewise.
18558 (SIGABRT): Use macro-int-constant. Specify type. Require
18559 positive value.
18560 (SIGFPE): Likewise.
18561 (SIGILL): Likewise.
18562 (SIGINT): Likewise.
18563 (SIGSEGV): Likewise.
18564 (SIGTER): Likewise.
18565 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18566 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18567 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18568 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18569 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18570 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18571 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18572 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18573 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18574 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18575 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18576 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18577 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18578 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18579 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18580 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18581 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18582 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18583 [X/Open-based standards] (SIGTRAP): Likewise.
18584 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18585 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18586 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18587 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18588 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18589 allow.
18590
b9f1922d
IW
185912012-05-08 Ian Wienand <ianw@vmware.com>
18592
18593 [BZ #14080]
18594 * time/tzset.c (__tzset_parse_tz): Update default rules for
18595 daylight time changes in the Energy Policy Act of 2005.
18596
1db86e88
AJ
185972012-05-09 Andreas Jaeger <aj@suse.de>
18598
18599 [BZ #13983]
18600 * elf/ldconfig.c (parse_conf): Change string to make clear that
18601 ldconfig only issued a warning if ld.so.conf does not exist.
18602
dee4a4e3
DM
186032012-05-08 David S. Miller <davem@davemloft.net>
18604
ee0db190
DM
18605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18606 movxtod instead of popping the value on the stack.
18607
dee4a4e3
DM
18608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18609
6a43ec98
CD
186102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18611
18612 * config.h.in: Add HAVE_ARM_PCS_VFP.
18613
05c2c961
RMG
186142012-05-08 Roland Mc Grath <roland@hack.frob.com>
18615
bcfe3a54
ST
18616 [BZ #13979]
18617 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18618 checking but the checks are disabled for any reason.
05c2c961 18619
4b30f61a
L
186202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18621
18622 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18623 and ELF64_R_TYPE with ELFW(R_TYPE).
18624
eee2bc67
JM
186252012-05-08 Joseph Myers <joseph@codesourcery.com>
18626
7ea5391a
JM
18627 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18628 (ulimit): Likewise.
18629
eee2bc67
JM
18630 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18631 (settimeofday): Likewise.
18632
abb66a67
MF
186332012-05-08 Mike Frysinger <vapier@gentoo.org>
18634
18635 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18636 a struct th_u2 inside the union, and move tu_block/tu_code into
18637 a new th_u3 union of tu_block/tu_code inside of that. Move
18638 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18639 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18640 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18641 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18642 (th_stuff): Change to th_u1.tu_stuff.
18643 (th_data): Define.
18644 (th_msg): Change to th_u1.th_u2.tu_data.
18645
7f18b530
DM
186462012-05-07 David S. Miller <davem@davemloft.net>
18647
05760585
DM
18648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18649
7f18b530
DM
18650 [BZ #14074]
18651 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18652 (SETUP_PIC_REG): Use it.
18653 (SETUP_PIC_REG_LEAF): Use it.
18654
495fd99f
JM
186552012-05-07 Joseph Myers <joseph@codesourcery.com>
18656
18657 [BZ #13885]
18658 [BZ #13923]
18659 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18660 USE_AS_EXPM1L.
18661 (EXPL_FINITE): Likewise.
18662 (FLDLOG): Likewise.
18663 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18664 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18665 e_expl.S.
18666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18667 USE_AS_EXPM1L.
18668 (EXPL_FINITE): Likewise.
18669 (FLDLOG): Likewise.
18670 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18671 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18672 e_expl.S.
18673 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18674 test of -max_value argument for long double.
18675 * sysdeps/i386/fpu/libm-test-ulps: Update.
18676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18677
6693d694
DM
186782012-05-06 David S. Miller <davem@davemloft.net>
18679
18680 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18681 quad soft-float symbols whose references which are compiler
18682 generated.
18683 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18684
6c23e11c
JM
186852012-05-06 Joseph Myers <joseph@codesourcery.com>
18686
d8b82cad
JM
18687 [BZ #13884]
18688 [BZ #13914]
18689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18690 USE_AS_EXP10L.
18691 (EXPL_FINITE): Likewise.
18692 (FLDLOG): Likewise.
18693 (c0): Likewise.
18694 (c1): Likewise.
18695 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18696 Adjust comments for base varying.
18697 (__expl_finite): Change alias to EXPL_FINITE.
18698 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18699 e_expl.S.
18700 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18701 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18702 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18703 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18704 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18705 USE_AS_EXP10L.
18706 (EXPL_FINITE): Likewise.
18707 (FLDLOG): Likewise.
18708 (c0): Likewise.
18709 (c1): Likewise.
18710 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18711 Adjust comments for base varying.
18712 (__expl_finite): Change alias to EXPL_FINITE.
18713 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18714 tests for bugs.
18715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18716
6c23e11c
JM
18717 [BZ #14064]
18718 * math/libm-test.inc (check_float_internal): Correct ulp
18719 calculation for subnormal expected results.
18720
29ba805c
AJ
187212012-05-06 Andreas Jaeger <aj@suse.de>
18722
18723 * Makeconfig (+math-flags): New, set to -frounding-math.
18724 (+cflags): Add +math-flags so that all of glibc gets compiled with
18725 it.
18726
18727 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18728
7b17aeda
JM
187292012-05-05 Joseph Myers <joseph@codesourcery.com>
18730
5779f134
JM
18731 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18732 Disable one test.
18733
41498f4d
JM
18734 [BZ #13787]
18735 [BZ #13922]
18736 [BZ #14036]
18737 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18738 (__ieee754_expl): Allow for and saturate large arguments.
18739 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18740 (u_threshold): Likewise.
18741 (__exp): Call __ieee754_exp before checking for overflow and
18742 underflow.
18743 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18744 (u_threshold): Likewise.
18745 (__expf): Call __ieee754_expf before checking for overflow and
18746 underflow.
18747 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18748 (u_threshold): Likewise.
18749 (__expl): Call __ieee754_expl before checking for overflow and
18750 underflow.
18751 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18752 (__ieee754_expl): Allow for and saturate large arguments.
18753 * math/libm-test.inc (exp_test): Add another test. Do not allow
18754 missing overflow exception on overflow.
18755 (expm1_test): Do not allow missing overflow exception on overflow.
18756
6698b8bf
JM
18757 * sysdeps/i386/fpu/e_expl.c: Move to ...
18758 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18759 rather than using inline asm.
18760 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18761 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18762 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18763
7b17aeda
JM
18764 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18765 (nice): Likewise.
18766 (poll): Likewise.
18767 (signal): Likewise.
18768 (time): Likewise.
18769 (times): Likewise.
18770
f7c85819
JM
187712012-05-04 Joseph Myers <joseph@codesourcery.com>
18772
18773 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18774 sysdeps/unix/common/syscalls.list.
18775 (fchmod): Likewise.
18776 (fchown): Likewise.
18777 (ftruncate): Likewise.
18778 (getrusage): Likewise.
18779 (gettimeofday): Likewise.
18780 (setpgid): Likewise.
18781 (setregid): Likewise.
18782 (setreuid): Likewise.
18783 (sigaction): Likewise.
18784 (truncate): Likewise.
18785 (vhangup): Likewise.
18786 * sysdeps/unix/common/syscalls.list: Remove file.
18787 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18788 * sysdeps/unix/sysv/linux/Implies: Likewise.
18789
336270d0
L
187902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18791
18792 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18794 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18795 Moved to ...
18796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18797 Here.
18798 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18799 to ...
18800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18801 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18802 to ...
18803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18804 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18805 to ...
18806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18807 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18808 to ...
18809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18810 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18811 to ...
18812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18813 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18814 to ...
18815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18816 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18817 to ...
18818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18819 Here.
18820 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18821 to ...
18822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18823 Here.
18824 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18825 to ...
18826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18827 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18828 Moved to ...
18829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18830 Here.
18831 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18832 to ...
18833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18834
d128e450
JM
188352012-05-04 Joseph Myers <joseph@codesourcery.com>
18836
fa8ee516
JM
18837 * sysdeps/unix/common/bits/dirent.h: Remove file.
18838 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18839
d128e450
JM
18840 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18841 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18842 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18843 * sysdeps/unix/bsd/isatty.c: Likewise.
18844 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18845 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18846 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18847
ff8faaf0 188482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18849
62881be4 18850 [BZ #13563]
31dc8730
AZ
18851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18852 long double comparison inaccuracies.
18853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18855
6fef930c
AS
188562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18857
18858 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18860
8f203e6c
JM
188612012-05-04 Joseph Myers <joseph@codesourcery.com>
18862
18863 [BZ #14049]
18864 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18865 nonzero digits before rounding a hex value.
18866 * stdlib/tst-strtod.c (tests): Add another test.
18867
5197d9c2
AK
188682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18869
18870 * sysdeps/s390/fpu/libm-test-ulps: Update.
18871
f0c1dedf
AJ
188722012-05-03 Andreas Jaeger <aj@suse.de>
18873
18874 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18875 does not get optimized out.
18876 (malloc_opt_barrier): New.
18877
a65ef2ae 188782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18879 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18880
2b942cb7 18881 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18882 intermediate file deletion.
2b942cb7 18883 (generated): Add .symlist files.
a65ef2ae 18884
54b71e02
JM
188852012-05-03 Joseph Myers <joseph@codesourcery.com>
18886
18887 [BZ #13775]
18888 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18889 Redirect under this condition.
18890 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18891 [__USE_GNU] (__dprintf_chk): Not under this condition.
18892 [__USE_GNU] (__vdprintf_chk): Likewise.
18893 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18894 under this condition.
18895 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18896 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18897 [__USE_XOPEN2K8] (vdprintf): Likewise.
18898 [__USE_GNU] (__dprintf_chk): Not under this condition.
18899 [__USE_GNU] (__vdprintf_chk): Likewise.
18900 [__USE_GNU] (dprintf): Likewise.
18901 [__USE_GNU] (vdprintf): Likewise.
18902
d3dfcc41
RM
189032012-05-03 Roland McGrath <roland@hack.frob.com>
18904
18905 * elf/Makefile (common-generated): Set this instead of generated for
18906 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18907 $(all-built-dso)-derived lists.
18908
7ac30cc5
AJ
189092012-05-03 Andreas Jaeger <aj@suse.de>
18910
0c51e550
AJ
18911 * sysdeps/i386/fpu/libm-test-ulps: Update.
18912
7ac30cc5
AJ
18913 * FAQ: Removed.
18914 * FAQ.in: Likewise.
18915 * scripts/gen-FAQ.pl: Likewise.
18916 * manual/install.texi (Installation): Point to online location of
18917 FAQ.
18918 * Makefile (files-for-dist): Remove FAQ.
18919 (FAQ): Remove.
18920
d4c2917f
AM
189212012-05-02 Allan McRae <allan@archlinux.org>
18922
18923 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18924 (LDFLAGS-reldepmod5.so): Likewise.
18925 (LDFLAGS-reldep6mod1.so): Likewise.
18926 (LDFLAGS-reldep6mod4.so): Likewise.
18927 (LDFLAGS-reldep8mod3.so): Likewise.
18928 (LDFLAGS-unload4mod1.so): Likewise.
18929 (LDFLAGS-unload4mod2.so): Likewise.
18930 (LDFLAGS-tst-initorder): Likewise.
18931 (LDFLAGS-tst-initordera2.so): Likewise.
18932 (LDFLAGS-tst-initordera3.so): Likewise.
18933 (LDFLAGS-tst-initordera4.so): Likewise.
18934 (LDFLAGS-tst-initorderb2.so): Likewise.
18935 (LDFLAGS-noload): Likewise.
18936 (LDFLAGS-next): Likewise.
18937 (LDFLAGS-order2mod1.so): Likewise.
18938 (LDFLAGS-order2mod2.so): Likewise.
18939 (LDFLAGS-tst-initorder2): Likewise.
18940 (LDFLAGS-tst-initorder2a.so): Likewise.
18941 (LDFLAGS-tst-initorder2b.so): Likewise.
18942 (LDFLAGS-tst-initorder2c.so): Likewise.
18943 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18944
d77f993f
DM
189452012-05-02 David S. Miller <davem@davemloft.net>
18946
18947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18948
171a70b4
PP
189492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18950
18951 [BZ #14055]
18952 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18953
0be196ad
AJ
189542012-05-02 Andreas Jaeger <aj@suse.de>
18955
18956 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18957 since we manipulate rounding mode.
18958 (CPPFLAGS-test-idouble.c): Likewise.
18959 (CPPFLAGS-test-ifloat.c): Likewise.
18960 (CFLAGS-test-ldouble.c): Likewise.
18961 (CFLAGS-test-double.c): Likewise.
18962 (CFLAGS-test-float.c): Likewise.
18963 (CFLAGS-test-misc.c): Likewise.
18964 (CFLAGS-test-test-fenv.c): Likewise.
18965
4f9d04aa
AZ
189662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18967
2b942cb7
RM
18968 [BZ #2550]
18969 [BZ #2570]
18970 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18971 comparisons to determine direction to adjust input.
4f9d04aa 18972
82a79e7d
RM
189732012-05-01 Roland McGrath <roland@hack.frob.com>
18974
f5a01ca9
RM
18975 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18976 output to the target.
18977
90fe4186
RM
18978 * scripts/localplt.awk: New file.
18979 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18980 (check-localplt-CFLAGS): Variable removed.
18981 ($(all-built-dso:=.jmprel)): New static pattern rule.
18982 (generated): Add those targets.
18983 (localplt-built-dso): New variable.
18984 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18985
18986 * elf/check-localplt.c: File removed.
18987
82397ed6
RM
18988 * scripts/check-execstack.awk: New file.
18989 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18990 (check-execstack-CFLAGS): Variable removed.
18991 ($(objpfx)check-execstack.h): Target removed.
18992 ($(objpfx)execstack-default): New target.
18993 (generated): Add that instead of check-execstack.h.
18994 ($(all-built-dso:=.phdr)): New static pattern rule.
18995 (generated): Add those targets.
18996 * elf/check-execstack.c: File removed.
18997
82a79e7d
RM
18998 * scripts/check-textrel.awk: New file.
18999 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19000 (check-textrel-CFLAGS): Variable removed.
19001 (all-built-dso): Use := to define.o
19002 ($(all-built-dso:=.dyn)): New static pattern rule.
19003 (generated): Add those targets.
19004 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19005 * config.make.in (READELF): New substituted variable.
19006 * elf/check-textrel.c: File removed.
19007
62fde54f 190082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19009
615605c9
JM
19010 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19011 allow.
19012 * conform/data/ctype.h-data [C99-based standards] (isblank):
19013 Expect function.
19014 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19015 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19017 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19018 Specify type. Require positive value.
19019 (EILSEQ): Likewise.
19020 (ERANGE): Likewise.
19021 [ISO || POSIX] (EILSEQ): Do not expect.
19022 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19023 Specify type. Require positive value.
19024 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19025 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19026 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19027 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19028 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19029 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19030 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19031 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19032 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19033 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19034 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19035 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19036 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19037 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19038 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19039 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19040 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19041 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19042 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19043 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19044 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19045 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19046 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19047 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19048 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19049 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19050 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19051 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19052 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19053 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19054 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19055 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19056 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19057 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19058 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19059 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19060 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19061 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19062 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19063 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19064 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19065 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19066 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19067 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19068 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19069 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19070 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19071 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19072 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19073 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19074 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19075 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19076 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19077 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19078 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19079 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19080 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19081 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19082 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19083 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19084 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19085 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19086 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19087 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19088 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19089 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19090 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19091 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19092 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19093 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19094 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19095 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19096 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19097 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19098 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19099 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19100 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19101 Require >= 2.
19102 (FLT_ROUNDS): Expect as macro, not constant.
19103 (FLT_MANT_DIG): Use macro-int-constant.
19104 (DBL_MANT_DIG): Likewise.
19105 (LDBL_MANT_DIG): Likewise.
19106 (FLT_DIG): Likewise.
19107 (DBL_DIG): Likewise.
19108 (LDBL_DIG): Likewise.
19109 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19110 (DBL_MIN_EXP): Likewise.
19111 (LDBL_MIN_EXP): Likewise.
19112 (FLT_MAX_EXP): Use macro-int-constant.
19113 (DBL_MAX_EXP): Likewise.
19114 (LDBL_MAX_EXP): Likewise.
19115 (FLT_MAX_10_EXP): Likewise.
19116 (DBL_MAX_10_EXP): Likewise.
19117 (LDBL_MAX_10_EXP): Likewise.
19118 (FLT_MAX): Use macro-constant.
19119 (DBL_MAX): Likewise.
19120 (LDBL_MAX): Likewise.
19121 (FLT_EPSILON): Use macro-constant. Give upper bound.
19122 (DBL_EPSILON): Likewise.
19123 (LDBL_EPSILON): Likewise.
19124 (FLT_MIN): Likewise.
19125 (DBL_MIN): Likewise.
19126 (LDBL_MIN): Likewise.
19127 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19128 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19129 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19130 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19131 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19132 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19133 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19134 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19135 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19136 [ISO11] (FLT_TRUE_MIN): Likewise.
19137 [ISO11] (LDBL_TRUE_MIN): Likewise.
19138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19139 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19140 (SCHAR_MIN): Use macro-int-constant. Specify type.
19141 (SCHAR_MAX): Likewise.
19142 (UCHAR_MAX): Likewise.
19143 (CHAR_MIN): Likewise.
19144 (CHAR_MAX): Likewise.
19145 (MB_LEN_MAX): Use macro-int-constant.
19146 (SHRT_MIN): Use macro-int-constant. Specify type.
19147 (SHRT_MAX): Likewise.
19148 (USHRT_MAX): Likewise.
19149 (INT_MAX): Likewise.
19150 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19151 bound negative.
19152 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19153 bound with "U".
19154 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19155 bound with "L".
19156 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19157 bound negative. Suffix upper bound with "L".
19158 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19159 bound with "UL".
19160 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19161 Specify type.
19162 [C99-based standards] (LLONG_MAX): Likewise.
19163 [C99-based standards] (ULLONG_MAX): Likewise.
19164 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19165 == 0.
19166 [ISO11] (max_align_t): Require type.
19167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19168
c9140a62
JM
19169 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19170 from $CFLAGS, without defining away __attribute__ calls.
19171 (checknamespace): Use $CFLAGS_namespace.
19172
9af0bf29
JM
19173 * conform/conformtest.pl (@keywords): Only include C99 keywords
19174 for standards based on C99 or C11.
19175
343222a2
JM
19176 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19177 Disable tests.
19178 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19179 UNIX98]: Likewise.
19180
661f8cf0
JM
19181 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19182 usability of symbols in #if.
19183
ee74b9cb
JM
19184 * conform/conformtest.pl: If macro or constant types start
19185 "promoted:", expect the symbol to be of the following type
19186 promoted by the integer promotions.
62fde54f 19187
aafc49b3
JM
19188 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19189 in one place. Also handle "macro-constant".
19190
fefdf574
JM
19191 * conform/conformtest.pl: Only accept expected macro values with
19192 "==". Parse all "macro" lines in one place.
19193 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19194
f2d922fe
JM
19195 * conform/conformtest.pl: Handle braced types on "constant" lines
19196 instead of handling "typed-constant".
19197 * conform/data/signal.h-data: Use "constant" instead of
19198 "typed-constant".
19199
d22956c9
JM
19200 * conform/conformtest.pl: Handle "optional-" at start of lines in
19201 one place rather than duplicating several cases. Handle each
19202 format of "macro" line with initial "optional-".
19203
028e2e38
JM
19204 * conform/conformtest.pl: Only accept expected constant or
19205 optional-constant values with "==". Parse all "constant" lines in
19206 one place. Parse all "optional-constant" lines in one place.
19207 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19208 * conform/data/fmtmsg.h-data: Likewise.
19209 * conform/data/netinet/in.h-data: Likewise.
19210 * conform/data/tar.h-data: Likewise.
19211 * conform/data/limits.h-data: Use "==" form on "constant" and
19212 "optional-constant" lines.
19213
1b8f2850
JM
19214 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19215 Use -std=c99 for XOPEN2K.
19216 (@knownproblems): Remove.
19217 (newtoken): Don't check %isknown.
19218
a05a144b
JM
19219 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19220 Do not expect macro.
19221 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19233 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19234 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19251 [XPG3] (acosh): Likewise.
19252 [XPG3] (asinh): Likewise.
19253 [XPG3] (atanh): Likewise.
19254 [XPG3] (cbrt): Likewise.
19255 [XPG3] (expm1): Likewise.
19256 [XPG3] (ilogb): Likewise.
19257 [XPG3] (log1p): Likewise.
19258 [XPG3] (logb): Likewise.
19259 [XPG3] (nextafter): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19262 [XPG3] (remainder): Likewise.
19263 [XPG3] (rint): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19265 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19266 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19267 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19268 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19269 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19270 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19271 [UNIX98 || XOPEN2K] (scalb): Expect.
19272 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19273 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19274 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19275 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19276 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19277 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19278 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19279 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19280 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19281 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19282 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19283 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19284 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19285 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19286 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19287 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19288 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19289 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19290 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19291 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19292 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19293 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19294 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19295 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19296 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19297 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19298 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19299 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19300 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19301 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19302 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19303 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19304 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19305 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19306 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19307 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19308 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19309 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19310 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19311 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19312 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19313 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19314 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19315 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19316 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19317 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19318 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19319 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19320 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19321 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19322 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19323 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19324 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19325 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19326 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19327 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19328 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19329 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19330 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19331 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19332 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19333 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19334 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19335 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19336 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19337 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19338 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19339 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19340 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19341 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19342 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19343 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19344 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19345 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19346 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19347 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19348 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19349 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19350 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19351 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19352 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19353 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19354 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19355 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19356 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19357 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19358 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19359 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19360 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19361 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19362 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19363 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19364 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19365 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19366 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19367 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19368 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19369 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19370 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19371 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19372 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19373 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19374 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19375 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19376 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19377 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19378 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19379 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19380 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19381 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19382 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19383 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19384 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19385 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19386 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19387 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19388 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19389 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19390 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19391 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19392 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19393 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19394 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19395 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19396 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19397 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19398 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19399 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19400 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19401 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19402 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19403 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19404 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19405 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19406 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19407 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19408 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19409
73c5ebe3
JM
19410 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19411 _XOPEN_SOURCE_EXTENDED for XPG4.
19412
39c33b6c
JM
19413 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19414
62fde54f
JM
19415 * Makeconfig (localtime): Remove variable.
19416 (inst_localtime-file): Likewise.
19417
0741d64c
AS
194182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19419
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19421 Update.
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19423 Update.
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19425 Update.
19426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19427 Update.
19428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19429 Update.
19430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19431 Update.
19432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19433 Update.
19434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19435 Update.
19436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19437 Update.
19438
7cb029ee
JM
194392012-05-01 Joseph Myers <joseph@codesourcery.com>
19440
19441 [BZ #2550]
19442 [BZ #2570]
19443 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19444 comparisons to determine direction to adjust input.
19445 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19446 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19447 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19448 Likewise.
19449 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19450 Likewise.
19451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19452 Likewise.
19453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19455 Likewise.
19456 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19457 Likewise.
19458 * math/libm-test.inc (nexttoward_test): Add more tests.
19459
412bd966
AS
194602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19461
19462 [BZ #14040]
19463 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19464 in version GLIBC_2.1, not GLIBC_2.0.
19465 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19466 Likewise.
19467
9568c0c2
JM
194682012-04-30 Joseph Myers <joseph@codesourcery.com>
19469
adfbc8ac
JM
19470 [BZ #13942]
19471 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19472 (1 - x) * (1 + x).
19473 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19474 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19475 * math/libm-test.inc (acos_test): Add more tests.
19476 (asin_test): Likewise.
19477 * sysdeps/i386/fpu/libm-test-ulps: Update.
19478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19479
5ba3cc69
JM
19480 [BZ #14034]
19481 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19482 of square root.
19483 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19484 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19485 * math/libm-test.inc (acos_test_tonearest): New function.
19486 (acos_test_towardzero): Likewise.
19487 (acos_test_downward): Likewise.
19488 (acos_test_upward): Likewise.
19489 (asin_test_tonearest): Likewise.
19490 (asin_test_towardzero): Likewise.
19491 (asin_test_downward): Likewise.
19492 (asin_test_upward): Likewise.
19493 (main): Call the new functions.
19494 * sysdeps/i386/fpu/libm-test-ulps: Update.
19495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19496
9568c0c2
JM
19497 [BZ #13884]
19498 [BZ #13924]
19499 * math/e_exp10.c: Include <float.h>.
19500 (__ieee754_exp10): Handle underflow here rather than multiplying
19501 large negative argument by M_LN10.
19502 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19503 of __ieee754_expf.
19504 * math/e_exp10l.c: Include <float.h>.
19505 (__ieee754_exp10l): Handle underflow here rather than multiplying
19506 large negative argument by M_LN10l.
19507 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19508 spurious overflow exception on underflow.
19509
5ac3ea17
MP
195102012-04-29 Marek Polacek <polacek@redhat.com>
19511
19512 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19513 (__fortify_function): New macro.
19514 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19515 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19516 __extern_always_inline.
19517 * libio/bits/stdio2.h: Likewise.
19518 * libio/bits/stdio.h: Likewise.
19519 * string/string.h: Likewise.
19520 * string/bits/string3.h: Likewise.
19521 * include/stdio.h: Likewise.
19522 * stdlib/bits/stdlib.h: Likewise.
19523 * stdlib/stdlib.h: Likewise.
19524 * rt/bits/mqueue2.h: Likewise.
19525 * rt/mqueue.h: Likewise.
19526 * posix/bits/unistd.h: Likewise.
19527 * posix/unistd.h: Likewise.
19528 * io/bits/poll2.h: Likewise.
19529 * io/bits/fcntl2.h: Likewise.
19530 * io/fcntl.h: Likewise.
19531 * io/sys/poll.h: Likewise.
19532 * misc/bits/syslog.h: Likewise.
19533 * misc/bits/syslog-ldbl.h: Likewise.
19534 * misc/sys/syslog.h: Likewise.
19535 * socket/bits/socket2.h: Likewise.
19536 * socket/sys/socket.h: Likewise.
19537 * debug/tst-chk1.c: Likewise.
19538 * wcsmbs/bits/wchar2.h: Likewise.
19539 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19540 * wcsmbs/wchar.h: Likewise.
19541
ecf0ebfb
AJ
195422012-04-29 Andreas Jaeger <aj@suse.de>
19543
19544 * Makerules (tests): Remove enable-check-abi protection.
19545 (check-abi-warn): Remove.
19546 (check-abi-%): Remove check-abi-warn usage.
19547
19548 * configure.in: Remove check-abi configure option.
19549 * configure: Regenerated.
19550 * config.make.in (enable-check-abi): Remove.
19551
6d5c57fa
AS
195522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19553
24c5d07e 19554 [BZ #14033]
ded5180a
AS
19555 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19556 double functions to double *_finite functions.
19557
7e0d315d
AS
19558 [BZ #13941]
19559 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19560 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19561 LDBL_MIN_EXP.
19562 * stdio-common/Makefile (tests): Add tst-sprintf3.
19563 * stdio-common/tst-sprintf3.c: New file.
19564
6d5c57fa
AS
19565 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19566 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19567
0749ff8b
JM
195682012-04-28 Joseph Myers <joseph@codesourcery.com>
19569
19570 * conform/conformtest.pl: Remove duplicate typed-constant
19571 handling.
19572
8dbd5d7b
DM
195732012-04-28 David S. Miller <davem@davemloft.net>
19574
19575 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19576 (check-abi-%): Remove AWK script prerequisite and explicit
19577 abilist directory.
19578 (check-abi): Rewrite to just diff the symlist with the abilist.
19579 (config-tls, config-abi-config): Delete, no longer used.
19580 (update-abi-%): Remove AWK script and explicit abilist directory.
19581 (update-abi): Rewrite to simply compare and conditionally copy the
19582 symlist and the sysdep abilist file. Remove update-abi-config
19583 checks.
19584 * abilist/ld.abilist: Remove.
19585 * abilist/libBrokenLocale.abilist: Remove.
19586 * abilist/libanl.abilist: Remove.
19587 * abilist/libcrypt.abilist: Remove.
19588 * abilist/libdl.abilist: Remove.
19589 * abilist/librt.abilist: Remove.
19590 * abilist/libthread_db.abilist: Remove.
19591 * abilist/libutil.abilist: Remove.
19592 * scripts/extract-abilist.awk: Remove.
19593 * scripts/merge-abilist.awk: Remove.
19594 * sysdeps/generic/libcidn.abilist: New file.
19595 * sysdeps/generic/libnss_compat.abilist: New file.
19596 * sysdeps/generic/libnss_db.abilist: New file.
19597 * sysdeps/generic/libnss_dns.abilist: New file.
19598 * sysdeps/generic/libnss_files.abilist: New file.
19599 * sysdeps/generic/libnss_hesiod.abilist: New file.
19600 * sysdeps/generic/libnss_nis.abilist: New file.
19601 * sysdeps/generic/libnss_nisplus.abilist: New file.
19602 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19603 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19604 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19605 file.
19606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19607 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19608 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19609 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19610 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19611 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19612 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19613 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19614 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19615 file.
19616 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19617 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19618 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19619 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19620 file.
19621 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19622 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19623 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19624 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19625 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19626 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19627 file.
19628 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19629 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19630 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19631 file.
19632 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19633 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19634 New file.
19635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19636 New file.
19637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19638 New file.
19639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19640 New file.
19641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19642 New file.
19643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19644 New file.
19645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19646 New file.
19647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19648 New file.
19649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19650 New file.
19651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19652 New file.
19653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19654 New file.
19655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19656 New file.
19657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19658 New file.
19659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19660 file.
19661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19662 New file.
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19664 New file.
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19666 file.
19667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19668 New file.
19669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19670 New file.
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19672 file.
19673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19674 New file.
19675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19676 New file.
19677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19678 New file.
19679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19680 New file.
19681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19682 New file.
19683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19684 New file.
19685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19687 file.
19688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19689 New file.
19690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19691 file.
19692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19693 file.
19694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19695 file.
19696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19697 file.
19698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19699 file.
19700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19701 New file.
19702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19703 file.
19704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19705 file.
19706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19707 New file.
19708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19709 file.
19710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19712 file.
19713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19714 New file.
19715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19716 file.
19717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19718 file.
19719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19720 file.
19721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19722 file.
19723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19724 file.
19725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19726 New file.
19727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19728 file.
19729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19730 file.
19731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19732 New file.
19733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19734 file.
19735 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19736 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19737 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19738 file.
19739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19740 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19741 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19742 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19743 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19744 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19745 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19746 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19747 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19748 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19751 file.
19752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19753 New file.
19754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19755 file.
19756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19757 file.
19758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19759 file.
19760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19761 file.
19762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19763 file.
19764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19765 New file.
19766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19767 New file.
19768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19769 file.
19770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19771 New file.
19772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19773 file.
19774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19776 file.
19777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19778 New file.
19779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19780 file.
19781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19782 file.
19783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19784 file.
19785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19786 file.
19787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19788 file.
19789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19790 New file.
19791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19792 New file.
19793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19794 file.
19795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19796 New file.
19797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19798 file.
19799
41d73a1b
JM
198002012-04-28 Joseph Myers <joseph@codesourcery.com>
19801
19802 * conform/conformtest.pl: Fix typo in handling typed-constant from
19803 allow-header.
19804
28aeeda4
JM
198052012-04-27 Joseph Myers <joseph@codesourcery.com>
19806
adae8f5e
JM
19807 * README: Cut down references to pre-2.6 Linux kernels and
19808 Linuxthreads. Update lists of configurations in libc and ports
19809 and sort alphabetically. Say "or newer" with Linux kernel version
19810 requirements.
19811
28aeeda4
JM
19812 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19813
a462cb63
RA
198142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19815
19816 [BZ #887]
19817 * math/libm-test.inc (logb_test_downward): New test to expose
19818 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19819 rounding mode.
19820
6ad3493e
JM
198212012-04-27 Joseph Myers <joseph@codesourcery.com>
19822
19823 [BZ #14027]
19824 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19825 to be done.
19826 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19827 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19828
2ce4f015
JM
198292012-04-26 Joseph Myers <joseph@codesourcery.com>
19830
5aeb141a
JM
19831 * sysdeps/unix/i386/brk.S: Remove file.
19832 * sysdeps/unix/i386/dl-brk.S: Likewise.
19833 * sysdeps/unix/i386/pipe.S: Likewise.
19834 * sysdeps/unix/i386/sigreturn.S: Likewise.
19835 * sysdeps/unix/i386/syscall.S: Likewise.
19836 * sysdeps/unix/i386/vfork.S: Likewise.
19837 * sysdeps/unix/i386/wait.S: Likewise.
19838
7143acae
JM
19839 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19840 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19841
2ce4f015
JM
19842 * configure.in (arm*-none*): Do not allow without
19843 --enable-hacker-mode.
19844 (netbsd*): Remove case setting base_os.
19845 (386bsd*): Likewise.
19846 (freebsd*): Likewise.
19847 (bsdi*): Likewise.
19848 (osf*): Likewise.
19849 (sunos*): Likewise.
19850 (ultrix*): Likewise.
19851 (newsos*): Likewise.
19852 (dynix*): Likewise.
19853 (*bsd*): Likewise.
19854 (sysv*): Likewise.
19855 (isc*): Likewise.
19856 (esix*): Likewise.
19857 (sco*): Likewise.
19858 (minix*): Likewise.
19859 (irix4*): Likewise.
19860 (irix6*): Likewise.
19861 (solaris[2-9]*): Likewise.
19862 (none): Likewise.
19863 * configure: Regenerated.
19864
0ac229c8
AZ
198652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19866
19867 [BZ #11521]
19868 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19869 overflow or cancellation in calculating denominator.
19870 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19872 down expression to avoid unexpected rounding in newer GCCs.
19873 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19874
33f244f4
DM
198752012-04-26 David S. Miller <davem@davemloft.net>
19876
19877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19878 long-double compat symbols.
19879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19892
cfa1f3e8
DM
198932012-04-25 David S. Miller <davem@davemloft.net>
19894
19895 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19896 HWCAP_* values only after the memory barriers have been defined.
19897 (atomic_full_barrier): Define.
19898 (atomic_read_barrier): Define.
19899 (atomic_write_barrier): Define.
19900
6e236b92
SP
199012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19902
19903 * shlib-versions: Add libgcc_s version information.
19904 * sysdeps/generic/libgcc_s.h: Remove.
19905 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19906 libgcc_s.h.
19907 * sysdeps/gnu/unwind-resume.c: Likewise.
19908 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19909
aab39a09
DM
199102012-04-25 David S. Miller <davem@davemloft.net>
19911
19912 * sysdeps/unix/sparc/brk.S: Delete.
19913 * sysdeps/unix/sparc/dl-brk.S: Delete.
19914 * sysdeps/unix/sparc/pipe.S: Delete.
19915 * sysdeps/unix/sparc/sysdep.S: Delete.
19916 * sysdeps/unix/sparc/sysdep.h: Delete.
19917 * sysdeps/unix/sparc/vfork.S: Delete.
19918 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19919 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19920 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19921 ret_ERRVAL, r0, r1, MOVE): Define.
19922 (JUMPTARGET): Remove.
19923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19924 sysdeps/unix/sparc/sysdep.h
19925 (ENTRY, END): Remove.
19926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19927
a3cc4f48
JM
199282012-04-25 Joseph Myers <joseph@codesourcery.com>
19929
2ed8cda2
JM
19930 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19931 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19932 -DIS_IN_build.
19933
35d76d59
JM
19934 * timezone/README: Update upstream location and email address for
19935 tzcode and tzdata.
19936 * timezone/zdump.c: Update from tzcode 2012b.
19937 * timezone/zic.c: Likewise.
19938
a3cc4f48
JM
19939 * configure.in (libc_cv_as_needed): Remove test.
19940 * configure: Regenerated.
19941 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19942 conditional definition.
19943 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19944 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19945 * config.make.in (have-as-needed): Remove variable.
19946
ceab42c3
SP
199472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19948 Paul Pluzhnikov <ppluzhnikov@google.com>
19949
19950 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19951 strings correctly.
19952
3ce2865f
CLT
199532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19954
19955 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19956 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19957 * sysdeps/sh/strlen.S: Likewise.
19958
f37e0d68
JM
199592012-04-24 Joseph Myers <joseph@codesourcery.com>
19960
ae186e9a
JM
19961 * sysdeps/unix/fork.S: Remove file.
19962 * sysdeps/unix/i386/fork.S: Likewise.
19963 * sysdeps/unix/sparc/fork.S: Likewise.
19964
b96914af
JM
19965 * sysdeps/unix/system.c: Remove file.
19966 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19967
f37e0d68
JM
19968 * sysdeps/unix/getegid.S: Remove file.
19969 * sysdeps/unix/geteuid.S: Likewise.
19970
87ef29ca
RM
199712012-04-24 Roland McGrath <roland@hack.frob.com>
19972
83bcd236
RM
19973 * scripts/check-localplt.awk: New file.
19974 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19975 of diff.
19976 * scripts/data/localplt-generic.data: Add a comment.
19977
87ef29ca
RM
19978 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19979 NODE when __dir_mkfile failed.
19980 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19981 Reported by Ludovic Courtès <ludo@gnu.org>.
19982
e5a6e567
AJ
199832012-04-24 Andreas Jaeger <aj@suse.de>
19984
19985 * Makerules (common-clean): Also remove gen-as-const-headers
19986 files.
19987
c1820385
JM
199882012-04-24 Joseph Myers <joseph@codesourcery.com>
19989
19990 * Makerules (native-compile): Do not change working directory for
19991 build. Use $(OUTPUT_OPTION) in command.
19992 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19993
94e02fc4
AZ
199942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19995
19996 [BZ #13886]
19997 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19998 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19999 * math/libm-test.inc (floor_test): Add more tests.
20000 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20001
3a533ca3
JM
200022012-04-24 Joseph Myers <joseph@codesourcery.com>
20003
940ab4b3
JM
20004 * sysdeps/unix/getdents.c: Remove file.
20005 * sysdeps/unix/sysv/getdents.c: Likewise.
20006 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20007
90e037bd
JM
20008 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20009 sysdeps/unix/mman/syscalls.list.
20010 (mmap): Likewise.
20011 (mprotect): Likewise.
20012 (msync): Likewise.
20013 (munmap): Likewise.
20014 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20015 * sysdeps/unix/mman/syscalls.list: Remove.
20016 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20017
3a533ca3
JM
20018 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20019 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20020 * configure: Regenerated.
20021 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20022 $(libgcc_s_suffix).
20023 * config.make.in (libgcc_s_suffix): Remove variable.
20024
1ad743de
JM
200252012-04-23 Joseph Myers <joseph@codesourcery.com>
20026
4ad451e2
JM
20027 * sysdeps/unix/sysv/gethostname.c: Move to ...
20028 * sysdeps/posix/gethostname.c: ... here.
20029
5e37ce39
JM
20030 * sysdeps/unix/execve.S: Remove file.
20031
1ad743de
JM
20032 * sysdeps/unix/_exit.S: Remove file.
20033
4e681b5b
AJ
200342012-04-23 Andreas Jaeger <aj@suse.de>
20035
20036 [BZ #13739]
20037 * manual/Makefile: Remove make dist support, there's no
20038 need for a stand-alone documentation tar ball.
20039 (TEXI2DVI): Define always, it's not in Makeconfig.
20040 (dist): Removed.
20041 (tar-it): Removed.
20042 (edition): Removed.
20043 (glibc-doc-$(edition).tar): Removed
20044 (%.Z): Removed.
20045 (%.gz): Removed.
20046 (%.uu): Removed.
20047 (ETAGS): Remove, it's in Makeconfig.
20048 (move-if-change): Remove, it's in Makeconfig.
20049
38686a03 200502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20051
20052 [BZ #13970]
20053 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20054 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20055 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20056 (strtod_l, strtof_l, strtold_l): Remove __wur.
20057 It is not necessarily an error to ignore strtol's return value.
20058 One can reliably look at the stored endptr to decide whether
20059 the number had valid syntax.
20060
7c0616fa
AJ
200612012-04-21 Andreas Jaeger <aj@suse.de>
20062
803cb6b7 20063 [BZ #13739]
7c0616fa
AJ
20064 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20065
b0fe253f
JM
200662012-04-21 Joseph Myers <joseph@codesourcery.com>
20067
20068 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20069 * sysdeps/unix/sysv/Versions: Remove file.
20070
8280f22d
MT
200712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20072
20073 [BZ #13927]
20074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20075
75ce411f 200762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20077
20078 [BZ #7064]
20079 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20080 version from __vm86.
20081
097d59fa
JM
200822012-04-20 Joseph Myers <joseph@codesourcery.com>
20083
a90f3bcb
JM
20084 * sysdeps/unix/common/lxstat.c: Remove file.
20085 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20086
edc7ea78
JM
20087 * sysdeps/unix/sysv/Makefile: Remove file.
20088
cb78c221
JM
20089 * sysdeps/unix/sysv/direct.h: Remove file.
20090
efa6a45f
JM
20091 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20092 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20093 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20094 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20095 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20096 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20097 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20098
9c9f2d0c
JM
20099 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20100
4541c83b
JM
20101 * sysdeps/unix/xmknod.c: Remove file.
20102 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20103
f5d153a0
JM
20104 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20105
aa746595
JM
20106 * sysdeps/unix/sysv/i386/time.S: Remove file.
20107
cce5905e
JM
20108 * sysdeps/unix/fxstat.c: Remove file.
20109 * sysdeps/unix/xstat.c: Likewise.
20110 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20111
37fa3841
JM
20112 * sysdeps/unix/sysv/sigaction.c: Remove file.
20113
ff1962a3
JM
20114 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20115 (sysdep_headers): Remove variable.
20116 [termio.h not in sysdep_headers] (generated): Likewise.
20117 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20118 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20119 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20120 * sysdeps/unix/sysv/tcflow.c: Likewise.
20121 * sysdeps/unix/sysv/tcflush.c: Likewise.
20122 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20123 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20124 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20125 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20126 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20127
e7740d31
JM
20128 * sysdeps/unix/siglist.c: Remove file.
20129
ee06f18b
JM
20130 * sysdeps/unix/getppid.S: Remove file.
20131
097d59fa
JM
20132 * sysdeps/unix/mkdir.c: Remove file.
20133 * sysdeps/unix/rmdir.c: Likewise.
20134
ff3d51ec
AS
201352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20136
20137 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20138 ERR_MAX value.
20139 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20140 errlist-compat value.
20141
50f81fd7
DM
201422012-04-18 David S. Miller <davem@davemloft.net>
20143
20144 * sysdeps/generic/memcopy.h (reg_char): Delete.
20145 * debug/strcat_chk.c: Use char, not reg_char.
20146 * debug/strcpy_chk.c: Likewise.
20147 * debug/strncat_chk.c: Likewise.
20148 * debug/strncpy_chk.c: Likewise.
20149 * string/memchr.c: Likewise.
20150 * string/memrchr.c: Likewise.
20151 * string/rawmemchr.c: Likewise.
20152 * string/strcat.c: Likewise.
20153 * string/strchr.c: Likewise.
20154 * string/strchrnul.c: Likewise.
20155 * string/strcmp.c: Likewise.
20156 * string/strcpy.c: Likewise.
20157 * string/strncat.c: Likewise.
20158 * string/strncmp.c: Likewise.
20159 * string/strncpy.c: Likewise.
20160
8ff41c46
WS
201612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20162
20163 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20164 __builtin_memcopy is called when src and dest ranges are known to not
20165 overlap.
20166
6b652f46
WS
201672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20168
20169 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20170 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20171 fwd_align_merge macro call.
20172 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20173 bwd_align_merge macro call.
20174 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20175
b282631e
WS
201762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20177
20178 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20179 bwd_align_merge macros.
20180 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20181 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20182 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20183
95aa737c
DM
201842012-04-18 David S. Miller <davem@davemloft.net>
20185
20186 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20187
7a99a614
AJ
201882012-04-18 Andreas Jaeger <aj@suse.de>
20189
20190 [BZ# 6794]
20191 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20192 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20193 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20194
20195 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20196 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20197 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20198
20199 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20200 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20201 Adjust for changed ldbl-128 files.
20202
20203 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20204 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20205 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20206
e5270c23
DM
202072012-04-17 David S. Miller <davem@davemloft.net>
20208
20209 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20210
fb5e92c9
AS
202112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20212
20213 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20214 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20215 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20216 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20217 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20218 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20219
76da7265
AZ
202202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20221
20222 [BZ #6794]
20223 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20224 * math/libm-test.inc: Add ilogb errno and exception tests.
20225 * math/w_ilogb.c: New file: ilogb wrapper.
20226 * math/w_ilogbf.c: New file: ilogbf wrapper.
20227 * math/w_ilogbl.c: New file: ilogbl wrapper.
20228 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20229 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20230 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20231 exception being thrown with 0.0 as argument.
20232 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20233 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20234 exception being thrown with 0.0 as argument.
20235 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20236 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20237 exception being thrown with 0.0 as argument.
20238 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20239 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20240 exception being thrown with 0.0 as argument.
20241 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20242 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20243 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20244 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20245 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20246 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20247 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20248 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20249 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20250
0396e69d
PB
202512012-04-17 Petr Baudis <pasky@ucw.cz>
20252
20253 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20254 with altivec.
20255
750b5926
MP
202562012-04-16 Marek Polacek <polacek@redhat.com>
20257
20258 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20259
751728a1
MP
202602012-04-16 Marek Polacek <polacek@redhat.com>
20261
20262 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20263 operands of fdivp instruction.
20264
34a27407
L
202652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20266
20267 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20268 * elf/tst-auditmod3b.c: Likewise.
20269 * elf/tst-auditmod4b.c: Likewise.
20270 * elf/tst-auditmod5b.c: Likewise.
20271 * elf/tst-auditmod6b.c: Likewise.
20272 * elf/tst-auditmod6c.c: Likewise.
20273 * elf/tst-auditmod7b.c: Likewise.
20274 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20275 * sysdeps/x86_64/preconfigure.in: Likewise.
20276 * sysdeps/x86_64/preconfigure: Regenerated.
20277
7e73e17d
L
202782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20279
20280 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20281 __ILP32__.
20282
c7a6ab72
AB
202832012-04-13 Antoine Balestrat <merkil33@gmail.com>
20284
20285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20286 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20287
a9e8e0e0
CL
202882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20289
20290 [BZ #13973]
20291 * locale/iso-639.def: Fix gl language name. Spotted by
20292 Yaron Shahrabani.
20293
ec98af7d
RM
202942012-04-12 Roland McGrath <roland@hack.frob.com>
20295
20296 [BZ #2074]
20297 * libio/libio.h (__io_write_fn): Update comment.
20298
247c3ede
PB
202992012-04-12 Petr Baudis <pasky@ucw.cz>
20300
20301 [BZ #2074]
20302 * stdio.texi (Hook Functions): The user provided writer function
20303 is not allowed to return -1.
20304
55939d6d
DM
203052012-04-11 David S. Miller <davem@davemloft.net>
20306
20307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20308
90020f5a
MF
203092012-04-11 Mike Frysinger <vapier@gentoo.org>
20310
20311 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20312 Add a leading slash to rtkaio.
20313
288f9098
JM
203142012-04-11 Jim Meyering <meyering@redhat.com>
20315
90020f5a
MF
20316 [BZ #11959]
20317 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20318 It is not necessarily an error to ignore fwrite's return
20319 value. One can reliably use ferror to test for errors after
20320 the fact.
288f9098 20321
4be2b570
L
203222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20323
20324 * bits/types.h (__snseconds_t): New type.
20325 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20326
20327 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20329 (__SNSECONDS_T_TYPE): Likewise.
20330 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20331 (__SNSECONDS_T_TYPE): Likewise.
20332 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20333 (__SNSECONDS_T_TYPE): Likewise.
20334
288f9098 203352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20336
20337 [BZ #2636]
20338 * manual/time.texi (Processor Time): Return type of times is
20339 elapsed real time since an arbitrary point in the past.
20340 (CPU Time): Move CLK_TCK from here...
20341 (Processor Time): ...to here. Correct description.
20342 * manual/conf.texi (Constants for Sysconf): Correct description of
20343 _SC_CLK_TCK.
20344
d7dd4413
DM
203452012-04-10 David S. Miller <davem@davemloft.net>
20346
20347 [BZ #13967]
20348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20349 where the is a gap between DT_REL(A) and DT_JMPREL.
20350
b46068fc
L
203512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20352
20353 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20354 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20355 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20356
73d65cc3
SP
203572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20358
20359 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20360 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20361 (dl_main): Handle --inhibit-cache.
20362 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20363 _dl_inhibit_cache.
20364 * elf/dl-load.c (_dl_map_object): Use it.
20365 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20366
bcc8d661
JM
203672012-04-09 Joseph Myers <joseph@codesourcery.com>
20368
8f9a2fae
JM
20369 [BZ #13872]
20370 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20371 (__ieee754_powl): Saturate large exponents rather than testing for
20372 overflow of y*log2(x).
20373 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20374 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20375 exceptions.
20376
bcc8d661
JM
20377 [BZ #11521]
20378 * math/s_ctan.c: Include <float.h>.
20379 (__ctan): Avoid internal overflow or cancellation in calculating
20380 denominator.
20381 * math/s_ctanf.c: Likewise.
20382 * math/s_ctanl.c: Likewise.
20383 * math/s_ctanh.c: Likewise.
20384 * math/s_ctanhf.c: Likewise.
20385 * math/s_ctanhl.c: Likewise.
20386 * math/libm-test.inc (ctan_test): Add more tests.
20387 (ctanh_test): Likewise.
20388 * sysdeps/i386/fpu/libm-test-ulps: Update.
20389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20390
823fbbb4
AJ
203912012-04-09 Andreas Jaeger <aj@suse.de>
20392
03879793
AJ
20393 [BZ #6894]
20394 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20395 is an optional BSD extension.
20396
823fbbb4
AJ
20397 [BZ #10254]
20398 * manual/stdio.texi (Opening Streams): Document additional fopen
20399 parameters.
20400
8de131cb
RM
204012012-04-09 Roland McGrath <roland@hack.frob.com>
20402
20403 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20404 %eax without telling the compiler.
20405
c0ed9d7d
CD
204062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20407
20408 [BZ # 13963]
20409 * manual/install.texi: Use sourceware.org.
20410
c483f6b4
JM
204112012-04-09 Joseph Myers <joseph@codesourcery.com>
20412
d7dd9453
JM
20413 [BZ #13873]
20414 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20415 (__ieee754_pow): Generate overflow and underflow using huge*huge
20416 and tiny*tiny rather than just returning constant infinity or zero
20417 for large exponents.
20418 * math/libm-test.inc (pow_test): Require overflow exceptions for
20419 applicable cases of large exponents.
20420
c483f6b4
JM
20421 [BZ #706]
20422 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20423 (__ieee754_pow): Use iterative multiplication algorithm only for
20424 integer exponents with absolute value below 1024. Check for odd
20425 integer exponents when using algorithm for real exponents.
20426 * math/libm-test.inc (pow_test): Add more tests.
20427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20428
d2de7579
JM
204292012-04-08 Joseph Myers <joseph@codesourcery.com>
20430
20431 [BZ #13705]
20432 * math/libm-test.inc (exp_test): Do not allow overflow exception
20433 on underflow test.
20434
f77f1232
AJ
204352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20436
20437 [BZ #13705]
20438 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20439 instead of __kernel_standard_f.
20440
3884932b
MF
204412012-04-08 Mike Frysinger <vapier@gentoo.org>
20442
20443 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20444 * sysdeps/x86_64/memset_chk.S: Likewise.
20445
54472e9c
AJ
204462012-04-08 Andreas Jaeger <aj@suse.de>
20447
6ab0fbfc
AJ
20448 [BZ #10153]
20449 * manual/startup.texi (Environment Access): Describe return value
20450 for putenv and setenv.
20451
61efba8c
AJ
20452 [BZ #6895]
20453 * manual/filesys.texi (Directory Entries): Add description for
20454 DT_LNK.
20455
95c3f29a
AJ
20456 [BZ #6890]
20457 * manual/filesys.texi (Directory Entries): Clarify that it's file
20458 system not operating system in the description of DT_UNKNOWN.
20459
54472e9c
AJ
20460 [BZ #6578]
20461 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20462
624254b1
SC
204632012-04-08 Stephen Compall <s11@member.fsf.org>
20464
20465 [BZ #6649]
20466 * manual/llio.texi (Opening and Closing Files): Add cross
20467 reference to explain mode argument.
20468
1e4920e0
MF
204692012-04-07 Mike Frysinger <vapier@gentoo.org>
20470
20471 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20472 * sysdeps/x86_64/memset_chk.S: Likewise.
20473
5ed848f3
DM
204742012-04-07 David S. Miller <davem@davemloft.net>
20475
20476 * elf/elf.h (R_SPARC_WDISP10): Define.
20477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20478 R_SPARC_SIZE32.
20479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20480 R_SPARC_SIZE64 and R_SPARC_H34.
20481
96154cd8
CD
204822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20483
20484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20485 conditions and remove no longer applicable assertion.
20486
9904dc47
L
204872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20488
20489 * bits/byteswap.h: Include <features.h>.
20490 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20491 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20492
f8887d0a
L
204932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20494
20495 * bits/byteswap.h (__bswap_16): Removed.
20496 Include <bits/byteswap-16.h> to get __bswap_16.
20497 * sysdeps/i386/bits/byteswap.h: Likewise.
20498 * sysdeps/s390/bits/byteswap.h: Likewise.
20499 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20500 * bits/byteswap-16.h: New file.
20501 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20502 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20503 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20504 * string/Makefile (headers): Add bits/byteswap-16.h.
20505
62470f60
PP
205062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20507
20508 [BZ #13895]
20509 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20510 extra indirection.
20511 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20512 * nss/tst-nss-static.c: New.
20513
4dad7bab
RM
205142012-04-06 Robert Millan <rmh@gnu.org>
20515
20516 [BZ #6486]
20517 * manual/llio.texi (File Position Primitive): lseek
20518 refers to WHENCE when it really means OFFSET.
20519
e9142a17
AJ
205202012-04-06 Andreas Jaeger <aj@suse.de>
20521
2c040eff
AJ
20522 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20523 strncmp declarations.
20524
e9142a17
AJ
20525 * abilist/libc.abilist: Add __poll and __ppoll.
20526
ff9f1c5f
DM
205272012-04-05 David S. Miller <davem@davemloft.net>
20528
dcd2ae90
DM
20529 * scripts/check-local-headers.sh: Accept a host triplet in the
20530 path matched by the exclude regexp.
20531
993eb054
DM
20532 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20533 definition.
20534 * sysdeps/powerpc/powerpc32/dl-machine.h
20535 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20536 * sysdeps/s390/s390-32/dl-machine.h
20537 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20538 * sysdeps/sparc/sparc32/dl-machine.h
20539 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20540 * sysdeps/sparc/sparc64/dl-machine.h
20541 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20542
ff9f1c5f
DM
20543 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20544 lazy binding.
48e2e132 20545 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20546 undefined symbol errors.
20547
48e2e132 20548 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20549 DT_NEEDED entries.
20550
e80d6f94
MM
205512012-04-05 Michael Matz <matz@suse.de>
20552
20553 [BZ #13592]
20554 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20555
349fa79f
AJ
205562012-04-05 Andreas Jaeger <aj@suse.de>
20557
20558 [BZ #13908]
20559 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20560 comment.
20561
f402708f
KK
205622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20563
20564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20565 which ROUND is no valid rounding mode.
20566
2ecccfc9
KK
205672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20568
20569 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20570 read again.
20571 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20572
8a53f50f
KK
205732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20574
20575 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20576 an exception using FPU order intentionally.
20577
205782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20579
20580 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20581 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20582 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20583 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20584
d653abb7
SJ
205852012-04-05 Simon Josefsson <simon@josefsson.org>
20586
20587 [BZ #12340]
20588 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20589 EINVAL when BUFLEN is too smal.
20590
c3b1bf7d
TS
205912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20592
20593 [BZ #13553]
20594 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20595 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20596
b1aa60f3
AJ
205972012-04-03 Andreas Jaeger <aj@suse.de>
20598
c3b1bf7d 20599 [BZ #13938]
67f60a26
AJ
20600 * manual/setjmp.texi (System V contexts): Fix sentence.
20601
b1aa60f3
AJ
20602 [BZ #13926]
20603 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20604 New macro for this case.
20605 [!__GNUC__] (__bswap_64): New inline function for this case.
20606 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20607 * bits/byteswap.h: Likewise.
20608 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20609 ull, guard with __GLIBC_HAVE_LONG_LONG.
20610
20611 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20612 __GLIBC_HAVE_LONG_LONG.
20613
20614 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20615 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20616
39c59c35
TMQMF
206172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20618
20619 [BZ #13691]
20620 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20621 inptr and inend, rather than using last_ch.
20622
135ffda8
DM
206232012-04-02 David S. Miller <davem@davemloft.net>
20624
20625 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20626 * stdio-common/printf-parse.h (read_int): Change return type to
20627 'int', return -1 on INT_MAX overflow.
20628 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20629 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20630 overflows INT_MAX. Check for overflow of in-format-string precision
20631 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20632 SIZE_MAX not INT_MAX for integer overflow test.
20633 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20634 skip the construct in the format string but do not record anything.
20635 * stdio-common/bug22.c: Adjust to test both width/prevision
20636 INT_MAX overflow as well as total length INT_MAX overflow. Check
20637 explicitly for proper errno values.
20638
228c019e
TS
206392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20640
302cadd3
TS
20641 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20642 CHAR_MAX.
20643 * string/test-strcmp.c [! WIDE]: Likewise.
20644 * time/tst-mktime2.c: Likewise for INT_MAX.
20645 * string/test-string.h: #include <sys/param.h> for MIN.
20646
228c019e
TS
20647 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20648 * sysdeps/i386/init-first.c (init): Likewise.
20649 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20650 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20651 * sysdeps/sh/init-first.c (init): Likewise.
20652
cfa633f5
UD
206532012-04-01 Ulrich Drepper <drepper@gmail.com>
20654
20655 * po/ru.po: Update from translation team.
d1635ef8 20656 * po/vi.po: Likewise.
cfa633f5 20657
6cd0a5ea
SP
206582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20659
20660 * resolv/nss_dns/dns-host.c: Merge copyright years.
20661
4b43400f
LD
206622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20663
20664 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20665 Optimize memcpy with prefetch if
20666 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20667 src, dst pointers have unequal 16 byte alignments.
20668
48c41d04
SP
206692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20670
20671 [BZ #13928]
20672 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20673 from a CNAME entry and return the minimum ttl for the query.
20674 (gaih_getanswer_slice): Likewise.
20675
b8dc394d
JL
206762012-03-30 Jeff Law <law@redhat.com>
20677
20678 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20679 due to long keys.
20680 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20681 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20682
2f5a5ed0
JL
20683 * resolv/nss_dns/dns-host.c: Update copyright year.
20684
1d39e359
UD
206852012-03-30 Ulrich Drepper <drepper@gmail.com>
20686
c030f70c 20687 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20688 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20689
1d39e359
UD
20690 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20691 comments for sendmmsg.
20692
206932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20694
20695 [BZ #13691]
20696 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20697 with only 1 character between 0x0041 and 0x01b0.
20698 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20699 * wcsmbs/tst-mbsnrtowcs.c: New file.
20700
20fde227
DM
207012012-03-29 David S. Miller <davem@davemloft.net>
20702
20703 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20704 small copies by hand.
20705
984a4237
JL
207062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20707
20708 [BZ #13761]
20709 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20710 _nss_compat_initgroups_dyn): Fall back to malloc/free
20711 for large group memberships.
20712
18c9d62b
DM
207132012-03-28 David S. Miller <davem@davemloft.net>
20714
88d85d4f
DM
20715 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20716 that branches into memcpy.
20717 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20718 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20720 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20722 bits.
20723 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20724 implementation too.
20725 * sysdeps/sparc/mempcpy.S: New file.
20726
e5aa83e1
DM
20727 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20728 the IFUNC routine in the libc case.
20729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20730
88570753
DM
20731 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20732 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20733 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20734 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20735 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20736 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20737 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20738 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20739
249d7567
DM
20740 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20741 loop to 256 bytes instead of 64 bytes and fix test signedness.
20742
18c9d62b
DM
20743 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20744 * sysdeps/sparc/sparc32/Makefile: rather than here...
20745 * sysdeps/sparc/sparc64/Makefile: and here.
20746
05f3d1f6
UD
207472012-03-28 Ulrich Drepper <drepper@gmail.com>
20748
20749 * malloc/mallocbug.c: Avoid warnings about unused variables.
20750
86ae07a8
JL
207512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20752
20753 [BZ #13760]
20754 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20755 in the right place. Discard and retry query if response is
20756 larger than input buffer size.
20757
41bf21a1
JM
207582012-03-28 Joseph Myers <joseph@codesourcery.com>
20759
d6270972
JM
20760 [BZ #369]
20761 [BZ #2678]
20762 [BZ #3866]
20763 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20764 x for large integer exponent.
20765 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20766 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20767 sign of result as needed afterwards.
20768 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20769 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20770 result for underflowing pow the same as for overflow.
20771 (__kernel_standard_l): Handle powl overflow and underflow here
20772 rather than calling __kernel_standard.
20773 * math/libm-test.inc (pow_test): Add more tests.
20774
414fca03 20775 [BZ #3868]
41bf21a1
JM
20776 [BZ #13879]
20777 [BZ #13910]
20778 [BZ #13911]
20779 [BZ #13912]
20780 [BZ #13913]
20781 [BZ #13915]
20782 [BZ #13916]
20783 [BZ #13917]
20784 [BZ #13918]
20785 [BZ #13919]
20786 [BZ #13920]
20787 [BZ #13921]
20788 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20789 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20790 (__kernel_standard_l): New function.
20791 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20792 __kernel_standard.
20793 * math/w_acosl.c (__acosl): Likewise.
20794 * math/w_asinl.c (__asinl): Likewise.
20795 * math/w_atan2l.c (__atan2l): Likewise.
20796 * math/w_atanhl.c (__atanhl): Likewise.
20797 * math/w_coshl.c (__coshl): Likewise.
20798 * math/w_exp10l.c (__exp10l): Likewise.
20799 * math/w_exp2l.c (__exp2l): Likewise.
20800 * math/w_fmodl.c (__fmodl): Likewise.
20801 * math/w_hypotl.c (__hypotl): Likewise.
20802 * math/w_j0l.c (__j0l, __y0l): Likewise.
20803 * math/w_j1l.c (__j1l, __y1l): Likewise.
20804 * math/w_jnl.c (__jnl, __ynl): Likewise.
20805 * math/w_lgammal.c (__lgammal): Likewise.
20806 * math/w_log10l.c (__log10l): Likewise.
20807 * math/w_log2l.c (__log2l): Likewise.
20808 * math/w_logl.c (__logl): Likewise.
20809 * math/w_powl.c (__powl): Likewise.
20810 * math/w_remainderl.c (__remainderl): Likewise.
20811 * math/w_scalbl.c (sysv_scalbl): Likewise.
20812 * math/w_sinhl.c (__sinhl): Likewise.
20813 * math/w_sqrtl.c (__sqrtl): Likewise.
20814 * math/w_tgammal.c (__tgammal): Likewise.
20815 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20816 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20817 * math/libm-test.inc (acos_test): Add more tests.
20818 (acosh_test): Likewise.
20819 (asin_test): Likewise.
20820 (atanh_test): Likewise.
20821 (exp_test): Likewise.
20822 (exp10_test): Likewise.
20823 (exp2_test): Likewise.
20824 (expm1_test): Likewise.
20825 (lgamma_test): Likewise.
20826 (log_test): Likewise.
20827 (log10_test): Likewise.
20828 (log1p_test): Likewise.
20829 (log2_test): Likewise.
20830 (pow_test): Do not allow some spurious overflow exceptions.
20831 (sqrt_test): Add more tests.
20832 (tgamma_test): Likewise.
20833 (y0_test): Likewise.
20834 (y1_test): Likewise.
20835 (yn_test): Likewise.
20836
dd62fda6
AB
208372012-03-27 Anton Blanchard <anton@samba.org>
20838
20839 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20840 MAP_HUGETLB.
20841 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20842 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20843 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20844
1e3cdfda
AJ
208452012-03-27 David S. Miller <davem@davemloft.net>
20846
b855ab85
DM
20847 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20848
1e3cdfda
AJ
20849 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20850 have-as-vis3 check.
20851
208522012-03-27 Andreas Jaeger <aj@suse.de>
20853
20854 * sysdeps/x86_64/elf/configure.in: Moved to ...
20855 * sysdeps/x86_64/configure.in: ... here.
20856 * sysdeps/x86_64/elf/start.S: Moved to ...
20857 * sysdeps/x86_64/start.S: ... here.
20858 * sysdeps/x86_64/elf/configure: Delete.
20859
20860 * sysdeps/x86_64/configure.in: Merge contents from
20861 sysdeps/i386/configure.in (without i686 check).
20862
20863 * sysdeps/i386/elf/Versions: Merge into ...
20864 * sysdeps/i386/Versions: ... this.
20865 * sysdeps/i386/elf/Versions: Delete file.
20866 * sysdeps/i386/elf/start.S: Moved to ...
20867 * sysdeps/i386/start.S: ...here.
20868 * sysdeps/i386/elf/configure.in: Merge into...
20869 * sysdeps/i386/configure.in: ...here.
20870 * sysdeps/i386/elf/configure.in: Delete file.
20871 * sysdeps/i386/elf/configure: Delete file.
20872
20873 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20874 * debug/backtracesyms.c: ... here.
20875 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20876 * debug/backtracesymsfd.c: ... here.
20877 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20878 * sysdeps/generic/ifunc-sel.h: ... here.
20879
20880 * sysdeps/unix/i386/start.c: Delete file.
20881 * sysdeps/unix/sparc/start.c: Delete file.
20882 * sysdeps/unix/start.c: Delete file.
20883
20884 * sysdeps/sh/elf/configure.in: Moved to ...
20885 * sysdeps/sh/configure.in: ... here.
20886 * sysdeps/sh/elf/start.S: Moved to ...
20887 * sysdeps/sh/start.S: ... here.
20888 * sysdeps/sh/elf/configure: Delete file.
20889
20890 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20891 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20892 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20893 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20894 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20895 * sysdeps/powerpc/powerpc64/start.S: here.
20896 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20897 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20898 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20899 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20900 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20901
20902 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20903 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20904 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20905 * sysdeps/powerpc/powerpc32/start.S: ... here.
20906 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20907 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20908 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20909
20910 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20911 * sysdeps/powerpc/ifunc-sel.h: ... here.
20912 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20913 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20914
20915 * sysdeps/sparc/elf/configure.in: Moved to ...
20916 * sysdeps/sparc/configure.in: ... here.
20917 * sysdeps/sparc/elf/configure: Delete file.
20918 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20919 * sysdeps/sparc/sparc32/start.S: ... here.
20920 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20921 * sysdeps/sparc/sparc64/start.S: ... here.
20922 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20923 * sysdeps/sparc/sparc32/Makefile: ... this.
20924 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20925 * sysdeps/sparc/sparc64/Makefile: ... this.
20926
20927 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20928 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20929 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20930 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20931 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20932 * sysdeps/s390/s390-32/setjmp.S: ... here.
20933 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20934 * sysdeps/s390/s390-32/configure.in: ... here.
20935 * sysdeps/s390/s390-32/elf/configure: Delete file.
20936 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20937 * sysdeps/s390/s390-32/start.S: ... here.
20938
20939 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20940 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20941 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20942 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20943 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20944 * sysdeps/s390/s390-64/setjmp.S: ... here.
20945 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20946 * sysdeps/s390/s390-64/configure.in: ... here
20947 * sysdeps/s390/s390-64/elf/configure: Delete file.
20948 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20949 * sysdeps/s390/s390-64/start.S: ... here.
20950 * sysdeps/s390/s390-64/elf/configure: Delete.
20951
20952 * configure.in: Remove support for elf directories in sysdeps.
20953
20954 * configure: Regenerated.
20955 * sysdeps/i386/configure: Regenerated.
20956 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20957 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20958 * sysdeps/s390/s390-32/configure: Regenerated.
20959 * sysdeps/s390/s390-64/configure: Regenerated.
20960 * sysdeps/sh/configure: Regenerated.
20961 * sysdeps/sparc/configure: Regenerated.
20962 * sysdeps/x86_64/configure: Regenerated.
20963
a3f61311
AS
209642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20965
c876e002
AS
20966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20967
a3f61311
AS
20968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20969 denormal result into account.
20970
ac4c54f0
RM
209712012-03-25 Roland McGrath <roland@hack.frob.com>
20972
20973 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20974 Reported by Allan McRae <allan@archlinux.org>.
20975
6a9b9c02
JL
209762012-03-23 Jeff Law <law@redhat.com>
20977
20978 * nss/getnssent.c (__nss_getent): Fix typo.
20979
4c42a0c1
DM
209802012-03-23 David S. Miller <davem@davemloft.net>
20981
20982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20983
1532c7ac
L
209842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20985
20986 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20987 to pad to uint64_t for each field.
20988 (dl_tls_index): Replace unsigned long with uint64_t.
20989
3ff42526
PP
209902012-03-23 Daniel Jacobowitz <dmj@google.com>
20991 Paul Pluzhnikov <ppluzhnikov@google.com>
20992
20993 [BZ #6528]
20994 * grp/Makefile (otherlibs): Don't set it.
20995 * inet/Makefile (otherlibs): Likewise.
20996 * login/Makefile (otherlibs): Likewise.
20997 * nscd/Makefile (otherlibs): Likewise.
20998 * posix/Makefile (otherlibs): Likewise.
20999 * pwd/Makefile (otherlibs): Likewise.
21000 * rt/Makefile (otherlibs): Likewise.
21001 * sunrpc/Makefile (otherlibs): Likewise.
21002 * nss/Makefile (otherlibs): Likewise.
21003 Add libnss_files to routines and static-only-routines.
21004 ($(objpfx)getent): Remove rule.
21005 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21006 static-only-routines.
21007
7c69cd14
JM
210082012-03-22 Joseph Myers <joseph@codesourcery.com>
21009
21010 [BZ #13892]
21011 * math/s_cexp.c: Include <float.h>.
21012 (__cexp): Handle exp result overflowing not necessarily
21013 overflowing both real and imaginary parts of result.
21014 * math/s_cexpf.c: Likewise.
21015 * math/s_cexpl.c: Likewise.
21016 * math/libm-test.inc (cexp_test): Add more tests.
21017 * sysdeps/i386/fpu/libm-test-ulps: Update.
21018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21019
81b035fe
L
210202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21021
21022 * include/link.h (ELFW): New macro.
21023 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21024 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21025
1da7940c
L
210262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21027
21028 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21029 with uint64_t.
21030
b749dbb9
L
210312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21032
21033 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21034 declaration.
21035 (struct La_x32_retval): Likewise.
21036
2ff87f3f
L
210372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21038
21039 * sysdeps/x86_64/preconfigure.in: New file.
21040 * sysdeps/x86_64/preconfigure: New generated file.
21041
c0df8e69
JM
210422012-03-22 Joseph Myers <joseph@codesourcery.com>
21043
48e44791
JM
21044 [BZ #13824]
21045 * math/e_exp2l.c: Include <float.h>.
21046 (__ieee754_exp2l): Handle overflow and underflow cases
21047 separately. Only pass fractional part of argument to
21048 __ieee754_expl.
21049 * math/libm-test.inc (exp2_test): Add more tests.
21050
c0df8e69
JM
21051 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21052 negating x to take absolute value.
21053 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21054 Likewise.
21055 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21056 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21057 Likewise.
21058 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21059 computing low part if x was negated.
21060 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21061
c8e43ba7
L
210622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21063
21064 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21065 la_x32_gnu_pltexit.
21066 (pltexit): Cast int_retval to ptrdiff_t.
21067 * elf/tst-auditmod3b.c: Likewise.
21068 * elf/tst-auditmod4b.c: Likewise.
21069 * elf/tst-auditmod5b.c: Likewise.
21070 * elf/tst-auditmod6b.c: Likewise.
21071 * elf/tst-auditmod6c.c: Likewise.
21072 * elf/tst-auditmod7b.c: Likewise.
21073
21074 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21075 and x32_gnu_pltexit.
21076
21077 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21078 __ELF_NATIVE_CLASS.
21079 (La_x32_regs): New macro.
21080 (La_x32_retval): Likewise.
21081 (la_x32_gnu_pltenter): New function prototype.
21082 (la_x32_gnu_pltexit): Likewise.
21083
7998fa78
AS
210842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21085
dcb33988
AS
21086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21087 exponent.
21088
233fc563
AS
21089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21090
7998fa78
AS
21091 * configure.in (libc_cv_cc_nofma): Check for option to disable
21092 generation of FMA instructions.
21093 * configure: Regenerate.
21094 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21095 * sysdeps/ieee754/dbl-64/Makefile: New file.
21096 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21097 Remove brandred-fma4.
21098 (CFLAGS-brandred-fma4.c): Remove.
21099 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21100 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21101 define.
21102 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21103 define.
21104
8e95c99a
L
211052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21106
21107 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21108 LLONG_MAX != LONG_MAX.
21109 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21110 (_fitoa_word): Likewise.
21111 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21112 LLONG_MAX != LONG_MAX.
21113 * stdio-common/_itowa.h: Include <_itoa.h>.
21114 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21115 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21116 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21117 only if not defined.
21118 (_ITOA_WORD_TYPE): Likewise.
21119 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21120 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21121
6f4db457
DM
211222012-03-21 David S. Miller <davem@davemloft.net>
21123
21124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21125
7785fe5a
L
211262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21127
21128 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21129 of x86_64 when setting libc_cv_slibdir, libdir and
21130 libc_cv_localedir.
21131 * sysdeps/unix/sysv/linux/configure: Regenerated.
21132
4535cd55
JM
211332012-03-21 Joseph Myers <joseph@codesourcery.com>
21134
21135 * manual/lang.texi (Old Varargs): Remove section.
21136 (How Variadic): Update menu.
21137 (va_start): Do not mention varargs.h.
21138
17228132
TS
211392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21140 Joseph Myers <joseph@codesourcery.com>
21141
21142 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21143 link test.
21144 * configure: Regenerated.
21145
8149f976
TS
211462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21147
05f3d1f6
UD
21148 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21149 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21150 conformtest.pl
8149f976 21151
1a4ac776
JM
211522012-03-21 Joseph Myers <joseph@codesourcery.com>
21153
be22ce65
JM
21154 * NOTES: Remove.
21155 * Makefile (files-for-dist): Remove NOTES.
21156 (NOTES): Remove rule.
21157 * README: Don't refer to NOTES.
21158 * manual/creature.texi: Don't include macros.texi.
21159 * manual/intro.texi (creature.texi): Remove comment referring to
21160 NOTES.
21161
40b601fb
JM
21162 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21163 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21164 * configure: Regenerated.
21165 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21166 LIBC_TRY_CC_OPTION.
21167 (libc_cv_as_i686): Likewise.
21168 (libc_cv_cc_avx): Likewise.
21169 (libc_cv_cc_sse2avx): Likewise.
21170 (libc_cv_cc_fma4): Likewise.
21171 (libc_cv_cc_novzeroupper): Likewise.
21172 * sysdeps/i386/configure: Regenerated.
21173
1a4ac776
JM
21174 [BZ #13883]
21175 * sysdeps/i386/fpu/s_cexp.S: Remove.
21176 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21177 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21178 * math/libm-test.inc (cexp_test): Add more tests.
21179 * sysdeps/i386/fpu/libm-test-ulps: Update.
21180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21181
a458e7fe
AM
211822012-03-21 Allan McRae <allan@archlinux.org>
21183
21184 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21185
0cb7efc5
JM
211862012-03-21 Joseph Myers <joseph@codesourcery.com>
21187
21188 [BZ #13871]
21189 * math/w_exp2.c: Do not include <float.h>.
21190 (o_threshold, u_threshold): Remove.
21191 (__exp2): Calculate result before checking finiteness and calling
21192 __kernel_standard.
21193 * math/w_exp2f.c: Likewise.
21194 * math/w_exp2l.c: Likewise.
21195 * math/libm-test.inc (exp2_test): Require overflow exception for
21196 1e6 input.
2460d3aa
JM
21197
21198 [BZ #3866]
21199 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21200 range of signed 64-bit integers before using fistpll. Remove
21201 checks for whether integers fit in mantissa bits.
21202 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21203 the range of signed 32-bit integers before using fistpl. Remove
21204 checks for whether integers fit in mantissa bits.
21205 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21206 (__ieee754_powl): Test for y outside the range of signed 64-bit
21207 integers before using fistpll. Reduce 64-bit values to 63-bit
21208 ones as needed.
21209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21210 divide-by-zero is raised for zero to large negative powers.
21211 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21212 (__ieee754_powl): Test for y outside the range of signed 64-bit
21213 integers before using fistpll. Reduce 64-bit values to 63-bit
21214 ones as needed.
21215 * math/libm-test.inc (pow_test): Add more tests.
21216
eb96ffb0
L
212172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21218
21219 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21220 <stdio-common/_itoa.h>.
21221 * debug/segfault.c: Likewise.
21222 * elf/dl-cache.c: Likewise.
21223 * elf/dl-minimal.c: Likewise.
21224 * elf/dl-misc.c: Likewise.
21225 * elf/dl-sysdep.c: Likewise.
21226 * elf/dl-version.c: Likewise.
21227 * elf/rtld.c: Likewise.
21228 * hurd/hurdsock.c: Likewise.
21229 * hurd/lookup-retry.c: Likewise.
21230 * malloc/malloc.c: Likewise.
21231 * malloc/mtrace.c: Likewise.
21232 * nscd/nscd_getgr_r.c: Likewise.
21233 * nscd/nscd_getpw_r.c: Likewise.
21234 * nscd/nscd_getserv_r.c: Likewise.
21235 * posix/getopt_init.c: Likewise.
21236 * posix/wordexp.c: Likewise.
21237 * stdio-common/_itoa.c: Likewise.
21238 * stdio-common/printf_fphex.c: Likewise.
21239 * stdio-common/vfprintf.c: Likewise.
21240 * string/_strerror.c: Likewise.
21241 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21242 * sysdeps/i386/i686/hp-timing.h: Likewise.
21243 * sysdeps/mach/_strerror.c: Likewise.
21244 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21245 * sysdeps/mach/hurd/sethostid.c: Likewise.
21246 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21247 * sysdeps/mach/xpg-strerror.c: Likewise.
21248 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21250 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21251 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21252 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21253 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21254 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21255 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21256 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21257 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21258 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21259 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21260 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21261 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21262 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21263 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21264 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21265 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21266 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21267 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21268 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21269
21270 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21271
21272 * stdio-common/_itoa.h: Moved to ...
21273 * sysdeps/generic/_itoa.h: Here.
21274
21275 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21276
21277 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21278 instead of "_itoa.h" and "_itowa.h".
21279 * stdio-common/vfprintf.: Likewise.
21280
d1af992d
L
212812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21282
21283 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21284 <bits/wordsize.h>.
21285 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21286 (__signbit): Likwise.
21287 (llrintf): Likwise.
21288 (llrint): Likwise.
21289
114883e0
L
212902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21291
21292 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21293 __WORDSIZE != 64.
21294
c135cc1b
JM
212952012-03-20 Joseph Myers <joseph@codesourcery.com>
21296
21297 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21298 OVERFLOW_EXCEPTION_OK.
21299 * math/libm-test.inc ("Philosophy"): Update comment about
21300 exception testing.
21301 (OVERFLOW_EXCEPTION): Define.
21302 (OVERFLOW_EXCEPTION_OK): Likewise.
21303 (INVALID_EXCEPTION_OK): Renumber.
21304 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21305 (IGNORE_ZERO_INF_SIGN): Likewise.
21306 (test_exceptions): Handle FE_OVERFLOW.
21307 (exp10_test): Expect overflow exceptions.
21308 (exp2_test): Likewise.
21309 (expm1_test): Likewise.
21310 (nextafter_test): Likewise.
21311 (pow_test): Likewise.
21312 (scalbn_test): Likewise.
21313 (scalbln_test): Likewise.
21314
95443d88
L
213152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21316
21317 * sysdeps/x86_64/bits/atomic.h
21318 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21319 64bit integer.
21320 (atomic_exchange_acq): Likewise.
21321 (__arch_exchange_and_add_body): Likewise.
21322 (__arch_add_body): Likewise.
21323 (atomic_add_negative): Likewise.
21324 (atomic_add_zero): Likewise.
21325
490df6c4
L
213262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21327
c2722551 21328 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21329 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21330
5e52b189
L
213312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21332
21333 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21334 Check __x86_64__ instead of __WORDSIZE.
21335
a9879d4c
L
213362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21337
21338 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21339
5df98260
DM
213402012-03-19 David S. Miller <davem@davemloft.net>
21341
e1497744
DM
21342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21343
5df98260
DM
21344 * sysdeps/sparc/fpu/fenv_private.h: New file.
21345 * sysdeps/sparc/fpu/math_private.h: Use it.
21346 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21347 Remove.
21348 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21349 (libc_feholdexcept_setroundl): Remove.
21350 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21351 Remove.
21352 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21353 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21354
b4c35121
L
213552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21356
21357 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21358 int64_t instead of long int.
21359 (INSERT_WORDS64): Likwise.
21360
56965fd7
L
213612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21362
21363 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21364 _Unwind_GetCFA return to _Unwind_Ptr first.
21365
83d1aec8
JM
213662012-03-19 Joseph Myers <joseph@codesourcery.com>
21367
1897ad44
JM
21368 [BZ #13629]
21369 * math/s_clog.c: Include <float.h>.
21370 (__clog): Scale large or subnormal inputs.
21371 * math/s_clogf.c: Likewise.
21372 * math/s_clogl.c: Likewise.
21373 * math/s_clog10.c: Include <float.h>.
21374 (M_LOG10_2): Define.
21375 (__clog10): Scale large or subnormal inputs.
21376 * math/s_clog10f.c: Likewise.
21377 * math/s_clog10l.c: Likewise.
21378 * math/libm-test.inc (clog_test): Add more tests.
21379 (clog10_test): Likewise.
21380 * sysdeps/i386/fpu/libm-test-ulps: Update.
21381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382
7726d6a9
JM
21383 [BZ #11451]
21384 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21385 x and y.
21386 * math/libm-test.inc (atan2_test): Add another test.
21387
83d1aec8
JM
21388 * Makerules (common-objdir-compile): Remove.
21389 * sysdeps/unix/Makefile (config-generated): Do not add
21390 $(unix-generated) to variable.
21391 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21392 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21393 Remove rule.
21394 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21395 Likewise.
21396 [generic bits/local_lim.h] (before-compile): Do not append to
21397 variable.
21398 [generic bits/local_lim.h] (common-generated): Likewise.
21399 [generic sys/param.h] (before-compile): Do not append to variable.
21400 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21401 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21402 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21403 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21404 include.
21405 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21406 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21407 [generic sys/param.h] ($(addprefix
21408 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21409 [generic sys/param.h] (common-generated): Do not append to
21410 variable.
21411 [generic sys/param.h] (sysdep_headers): Likewise.
21412 [generic bits/errno.h] (before-compile): Do not append to
21413 variable.
21414 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21415 rule.
21416 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21417 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21418 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21419 [generic bits/errno.h] (common-generated): Do not append to
21420 variable.
21421 [generic bits/ioctls.h] (before-compile): Do not append to
21422 variable.
21423 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21424 rule.
21425 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21426 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21427 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21428 rule.
21429 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21430 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21431 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21432 [generic bits/ioctls.h] (common-generated): Do not append to
21433 variable.
21434 [generic sys/syscall.h] (syscall.h): Remove variable.
21435 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21436 rule.
21437 [generic sys/syscall.h] (before-compile): Do not append to
21438 variable.
21439 [generic sys/syscall.h] (common-generated): Likewise.
21440 * sysdeps/unix/errnos-tmpl.c: Remove file.
21441 * sysdeps/unix/errnos.awk: Likewise.
21442 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21443 * sysdeps/unix/ioctls.awk: Likewise.
21444 * sysdeps/unix/mk-local_lim.c: Likewise.
21445 * sysdeps/unix/snarf-ioctls: Likewise.
21446
4851a949
RH
214472012-03-19 Richard Henderson <rth@twiddle.net>
21448
bd37f2ee
RH
21449 * sysdeps/i386/fpu/fenv_private.h: New file.
21450 * sysdeps/i386/fpu/math_private.h: Use it.
21451 (math_opt_barrier, math_force_eval): Remove.
21452 (libc_feholdexcept_setround_53bit): Remove.
21453 (libc_feupdateenv_53bit): Remove.
21454 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21455 (math_opt_barrier, math_force_eval): Remove.
21456 (libc_feholdexcept): Remove.
21457 (libc_feholdexcept_setround): Remove.
21458 (libc_fetestexcept, libc_fesetenv): Remove.
21459 (libc_feupdateenv_test): Remove.
21460 (libc_feupdateenv, libc_feholdsetround): Remove.
21461 (libc_feresetround): Remove.
21462
d0adc922
RH
21463 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21464 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21465
0fe0f1f8
RH
21466 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21467 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21468 (libc_feupdateenv_testl): New.
21469 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21470 (libc_feupdateenv_testf): New.
21471 (libc_feupdateenv): Use libc_feupdateenv_test.
21472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21473 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21474
eb92c487
RH
21475 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21476 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21477 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21478 (libc_feresetround_noex): New.
21479 (libc_feresetround_noexf): New.
21480 (libc_feresetround_noexl): New.
21481 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21482 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21483 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21484 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21485 SET_RESTORE_ROUND.
21486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21487 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21488 (__cos): Likewise.
21489 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21490 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21491 SET_RESTORE_ROUND_NOEX.
21492 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21493 SET_RESTORE_ROUND_NOEXF.
21494 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21495 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21496 (libc_feholdsetroundf): New.
21497 (libc_feresetround, libc_feresetroundf): New.
21498
7d2e8012
RH
21499 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21500 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21501 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21502
b4dabbb4
RH
21503 * sysdeps/generic/math_private.h: Include <fenv.h>.
21504 (default_libc_feholdexcept): New.
21505 (default_libc_feholdexcept_setround): New.
21506 (default_libc_fesetenv, default_libc_feupdateenv): New.
21507 (libc_feholdexcept): Only define if undefined.
21508 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21509 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21510 (libc_feholdexcept_setroundl): Likewise.
21511 (libc_feholdexcept_setround_53bit): Likewise.
21512 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21513 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21514 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21515 (libc_feupdateenv_53bit): Likewise.
21516 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21517 (libc_feholdexcept): Convert from macro to inline function.
21518 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21519 (libc_fesetenv, libc_feupdateenv): Likewise.
21520
4851a949
RH
21521 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21522 not previously defined.
21523 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21524 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21525 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21526 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21527 * sysdeps/ieee754/flt-32/math_private.h: New file.
21528 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21529 math_private.h below SET_FLOAT_WORD.
21530 (__isnan, __isinf_ns, __finite): Remove.
21531 (__isnanf, __isinf_nsf, __finitef): Remove.
21532
e79d442e
AS
215332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21534
21535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21536
90b80344
DM
215372012-03-17 David S. Miller <davem@davemloft.net>
21538
21539 [BZ #6471]
21540 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21541 for 2.16.
21542
edc21804
DM
215432012-03-16 David S. Miller <davem@davemloft.net>
21544
77e927af
DM
21545 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21546 warnings.
21547
374976dd
DM
21548 [BZ #6471]
21549 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21550 properly.
21551 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21552 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21553 sysdep_routines when subdir is sysvipc.
21554 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21555 __getshmlba helper.
21556
edc21804
DM
21557 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21558
473c3ef3
L
215592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21560
21561 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21562 [__LP64__].
21563
eb0f39b6
L
215642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21565
21566 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21567 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21568 (__lround): Renamed to ...
21569 (__llround): This. Replace long int with long long int.
21570 Define lround functions as aliases of llround functions.
21571 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21572
6b6cd74b
L
215732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21574
21575 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21576 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21577 adresses to uintptr_t. Replace "long int" and "unsigned long
21578 int" with "greg_t" on va_arg.
21579
f1a77b01
L
215802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21581
21582 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21583 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21584
21585 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21586 Move e_machine check before EI_CLASS check. Handle x32
21587 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21588 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21589 SKIP_EM_IA_64 and include
21590 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21591
21592 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21593 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21594 (add_system_dir): New macro.
21595
21596 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21597 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21598
11b90b9f
JM
215992012-03-16 Joseph Myers <joseph@codesourcery.com>
21600
c36e1d23
JM
21601 [BZ #2551]
21602 [BZ #2552]
21603 [BZ #2553]
21604 [BZ #2554]
21605 [BZ #2562]
21606 [BZ #2563]
21607 [BZ #2565]
21608 [BZ #2566]
21609 [BZ #2576]
21610 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21611 (y0): Likewise.
21612 * math/w_j0f.c (j0f): Likewise.
21613 (y0f): Likewise.
21614 * math/w_j0l.c (__j0l): Likewise.
21615 (__y0l): Likewise.
21616 * math/w_j1.c (j1): Likewise.
21617 (y1): Likewise.
21618 * math/w_j1f.c (j1f): Likewise.
21619 (y1f): Likewise.
21620 * math/w_j1l.c (__j1l): Likewise.
21621 (__y1l): Likewise.
21622 * math/w_jn.c (jn): Likewise.
21623 (yn): Likewise.
21624 * math/w_jnf.c (jnf): Likewise.
21625 (ynf): Likewise.
21626 * math/w_jnl.c (__jnl): Likewise.
21627 (__ynl): Likewise.
21628 * math/libm-test.inc (j0_test): Add more tests.
21629 (j1_test): Likewise.
21630 (jn_test): Likewise. Add trailing semicolon to existing test.
21631 (y0_test): Likewise.
21632 (y1_test): Likewise.
21633 * sysdeps/i386/fpu/libm-test-ulps: Update.
21634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21635
11b90b9f
JM
21636 [BZ #13851]
21637 [BZ #13854]
21638 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21639 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21640 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21641 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21642 (__tanl): Set errno for infinite argument.
21643 * sysdeps/i386/fpu/mptan.c: Remove.
21644 * sysdeps/i386/fpu/s_tan.S: Likewise.
21645 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21646 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21647 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21648 * math/libm-test.inc (tan_test): Add more tests and enable more
21649 tests for double and long double.
21650 * sysdeps/i386/fpu/libm-test-ulps: Update.
21651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21652
6a1bd2a1
JK
216532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21654
21655 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21656 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21657
10a803e0
RM
216582012-03-16 Roland McGrath <roland@hack.frob.com>
21659
21660 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21661 * configure.in: Use it for both main tree and add-ons.
21662 * configure: Regenerated.
21663
f196c7f7
L
216642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21665
21666 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21667
8848d99d
JM
216682012-03-16 Joseph Myers <joseph@codesourcery.com>
21669
96cbe7f4
JM
21670 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21671 in comment.
21672
8848d99d
JM
21673 [BZ #13851]
21674 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21675 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21679 infinite argument.
21680 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21682 != 0 for prec == 2.
21683 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21684 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21685 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21686 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21687 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21688 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21689 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21690 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21691 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21692 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21693 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21694 * math/libm-test.inc (cos_test): Add more tests and enable more
21695 tests for long double.
21696 (sin_test): Likewise.
21697 (sincos_test): Likewise.
21698 * sysdeps/i386/fpu/libm-test-ulps: Update.
21699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21700
dd7f4703
DM
217012012-03-16 David S. Miller <davem@davemloft.net>
21702
21703 * sysdeps/sparc/fpu/math_private.h: New file.
21704
006f1daa
DM
217052012-03-15 David S. Miller <davem@davemloft.net>
21706
c0c83bc8
DM
21707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21708 file.
e6a62e18 21709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21711 file.
e6a62e18
DM
21712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21718 sysdep routines.
21719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21720
88cb87d9
DM
21721 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21722 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21723
006f1daa 21724 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21726 sparc-ifunc.h
006f1daa 21727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21729 Likewise.
21730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21731 Likewise.
006f1daa
DM
21732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21736 Likewise.
006f1daa
DM
21737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21742 Likewise.
21743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21744 Likewise.
006f1daa
DM
21745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21769
11e0098e
AS
217702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21771
21772 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21773 scaling.
21774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21775
e85b09d0
AJ
217762012-03-15 Andreas Jaeger <aj@suse.de>
21777
21778 [BZ #13852]
21779 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21780 ieee754/flt-32 implementation for sin, cos and sincos.
21781 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21782 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21783 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21784 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21785 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21786 ieee754/flt-32 implementation for tan.
21787
21788 * math/libm-test.inc (cos_test): Enable some large input tests for
21789 float as well
21790 (sin_test): Likewise.
21791 (sincos_test): Likewise.
21792 (tan_test): Add tests for large input.
21793
21794 * sysdeps/i386/fpu/libm-test-ulps: Update.
21795
81c64153
AJ
217962012-03-15 Andreas Jaeger <aj@suse.de>
21797
21798 [BZ #13658]
21799 * math/libm-test.inc (cos_test): Add more test cases.
21800 (sin_test): Likewise.
21801 (sincos_test): Likewise.
21802
7bbfa5c6
AJ
218032012-03-15 Andreas Jaeger <aj@suse.de>
21804
21805 [BZ #13837]
21806 * math/libm-test.inc (cos_test): Add a test case for large input
21807 value.
21808 (sin_test): Likewise.
21809 (sincos_test): Likewise.
21810
218112012-03-15 Andreas Jaeger <aj@suse.de>,
21812 Joseph Myers <joseph@codesourcery.com>
21813
21814 [BZ #13658]
0671f479 21815 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21816 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21817 * sysdeps/i386/fpu/branred.c: Likewise.
21818 * sysdeps/i386/fpu/dosincos.c: Likewise.
21819 * sysdeps/i386/fpu/mpa.c: Likewise.
21820 * sysdeps/i386/fpu/s_cos.S: Likewise.
21821 * sysdeps/i386/fpu/s_sin.S: Likewise.
21822 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21823 * sysdeps/i386/fpu/sincos32.c: Likewise.
21824
21825 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21826 Define.
21827 (libc_feupdateenv_53bit): Define.
21828 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21829 Define.
21830 (libc_feupdateenv_53bit): Define.
21831
21832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21833 53 bit (without extend i386 double precision).
21834
21835 * math/libm-test.inc (sincos_test): Add tests for large input.
21836 (sin): Likewise.
21837 (cos): Likewise.
21838
21839 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21840
9cad04ea
AS
218412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21842
21843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21844
f7062b9a
DM
218452012-03-15 David S. Miller <davem@davemloft.net>
21846
21847 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21848 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21849 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21850 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21863 file.
f7062b9a 21864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21866 file.
f7062b9a 21867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21869 file.
f7062b9a 21870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21872 file.
f7062b9a
DM
21873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21875 fmin/fmax sysdep routines.
21876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21877
7bd951ff
DM
218782012-03-14 David S. Miller <davem@davemloft.net>
21879
559398ab
DM
21880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21884 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21902 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21903 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21909 routines.
21910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21911 file.
559398ab 21912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21914 file.
559398ab 21915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21917 file.
559398ab 21918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21920 file.
559398ab 21921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21923 file.
559398ab 21924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21926 file.
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21928 file.
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21930 file.
21931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21932 file.
21933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21934 New file.
21935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21936 file.
21937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21938 file.
559398ab 21939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21941 file.
559398ab 21942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21944 file.
559398ab 21945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21947 file.
559398ab 21948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21950 VIS3 routines.
559398ab
DM
21951
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21953 New file.
21954
5a1c1e32
DM
21955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21956
eae47a36
DM
21957 * sysdeps/sparc/configure.in: New file.
21958 * sysdeps/sparc/configure: Generate.
21959 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21960 * configure: Regenerate.
21961 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21962 * config.make.in (have-as-vis3): New.
21963 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21964 available use -Av9d instead of -Av9a.
21965 * sysdeps/sparc/sparc64/Makefile: Likewise.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21968 New file.
21969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21970 file.
21971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21972 New file.
21973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21974 file.
eae47a36
DM
21975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21980
c0c83bc8
DM
21981 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21982 fzeros/fnegs to load 0x80000000 into a float register instead of
21983 using the stack.
7bd951ff
DM
21984 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21985
bd951ccb
JM
219862012-03-14 Joseph Myers <joseph@codesourcery.com>
21987
21988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21989 bits/syscall.h.
21990 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21991 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21992 ($(inst_includedir)/bits/syscall.h): Remove rule.
21993 ($(objpfx)bits/syscall.d): Include instead of
21994 $(objpfx)syscall-list.d.
21995 (generated): Change syscall-list.h and syscall-list.d to
21996 bits/syscall.h and bits/syscall.d.
21997
bb4e6db2
RM
219982012-03-14 Roland McGrath <roland@hack.frob.com>
21999
22000 [BZ #13846]
22001 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22002
aa4a2ae1
JM
220032012-03-14 Joseph Myers <joseph@codesourcery.com>
22004
e456826d
JM
22005 [BZ #13841]
22006 * math/s_csqrt.c: Include <float.h>.
22007 (__csqrt): Scale large or subnormal inputs.
22008 * math/s_csqrtf.c: Likewise.
22009 * math/s_csqrtl.c: Likewise.
22010 * math/libm-test.inc (csqrt_test): Add more tests.
22011 * sysdeps/i386/fpu/libm-test-ulps: Update.
22012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22013
aa4a2ae1
JM
22014 [BZ #13840]
22015 * math/libm-test.inc (hypot_test): Add more tests.
22016
7c10fd35
DM
220172012-03-13 David S. Miller <davem@davemloft.net>
22018
22019 [BZ #13840]
22020 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22021 double-precision for the calculation instead of scaling.
22022
f453b98b
JM
220232012-03-13 Joseph Myers <joseph@codesourcery.com>
22024
22025 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22026 manipulate bits before adding and subtracting TWO52[sx].
22027 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22029 Likewise.
22030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22031
09a3453f
DM
220322012-03-13 David S. Miller <davem@davemloft.net>
22033
8e59da90
DM
22034 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22035 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22037 rtld-global-offsets.h
22038 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22039
2a8ab7f2
DM
22040 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22041 large parameters.
22042
10f62770
DM
22043 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22044
5f0bdb18
DM
22045 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22046 'err' in the ifdef scope in which it is actually used.
22047
09a3453f
DM
22048 * nss/nss_db/db-init.c: Include string.h
22049
b4b2eb5e
DM
220502012-03-12 David S. Miller <davem@davemloft.net>
22051
98bb2f1c
DM
22052 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22053 masking out of the most significant byte of random value used.
22054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22055 Fix coding style in previous change.
22056
b4b2eb5e
DM
22057 * sysdeps/unix/sysv/linux/kernel-features.h
22058 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22059 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22060 expression.
22061 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22062 later.
22063
6e226b09
DM
220642012-03-11 David S. Miller <davem@davemloft.net>
22065
a1bcbd40
DM
22066 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22067 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22068 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22069 for 'resultvar' otherwise things get truncated on 64-bit.
22070
cb9d6174
DM
22071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22072 Fix masking out of the most significant byte of random value used.
22073
6e226b09
DM
22074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22075
058c132d
AS
220762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22077
22078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22079
2d2cd515
DM
220802012-03-09 David S. Miller <davem@davemloft.net>
22081
22082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22083 variables with appropriate CPP guards.
22084 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22085 frame pointer, not the stack pointer. Correct layout comments. Fix test
22086 on resulting framesize and the management of the outregs buffer for pltexit.
22087 Preserve floating point return values across _dl_call_pltexit call.
22088 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22089 framesize and the management of the outregs buffer for pltexit.
22090 Preserve floating point return values across _dl_call_pltexit
22091 call.
22092 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22093 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22094 (print_exit): Fix format string for return register value.
22095
9a07f9d0
JM
220962012-03-10 Joseph Myers <joseph@codesourcery.com>
22097
22098 * sunrpc/Makefile (others): Add rpcgen.
22099 ($(objpfx)rpcgen): Remove special build rule and dependency on
22100 libc.
22101 * sunrpc/rpcgen.c: New file.
22102
547b5e30
PE
221032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22104
c524201a
PE
22105 [BZ #13673]
22106 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22107 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22108 * sysdeps/i386/crti.S: Likewise.
22109 * sysdeps/i386/crtn.S: Likewise.
22110 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22111 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22112 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22113 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22114 * sysdeps/sh/crti.S: Likewise.
22115 * sysdeps/sh/crtn.S: Likewise.
22116 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22117
7b6235f2
PE
22118 [BZ #13673]
22119 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22120 with URL.
22121 * locale/programs/locfile-kw.gperf: Likewise.
22122 * locale/programs/charmap-kw.h: Regenerated.
22123 * locale/programs/locfile-kw.h: Likewise.
22124
547b5e30
PE
22125 [BZ #13673]
22126 * intl/plural.y: Replace FSF snail mail address with URL.
22127 * intl/plural.c: Regenerated.
22128
5f0a5dae
RH
221292012-03-09 Richard Henderson <rth@twiddle.net>
22130
22131 * include/math_private.h: Remove file.
22132 * math/math_private.h: Move file ...
22133 * sysdeps/generic/math_private.h: ... here.
22134
b8c03620
RH
22135 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22136 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22137 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22138
4e234f5d 22139 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22140 and <math_private.h>.
22141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22147 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22149 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22152 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22153 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22155 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22157 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22158 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22159 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22160 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22162 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22163 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22164 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22166 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22167 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22168 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22169 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22171 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22173 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22174 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22175 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22176 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22177 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22178 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22179 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22181 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22182 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22193 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22204 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22205 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22215 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22218 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22219 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22220 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22228 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22229 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22230 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22231 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22232 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22233 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22234 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22235 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22236 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22237 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22238 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22239 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22240 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22241 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22242 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22243 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22244 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22245 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22246 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22247 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22248 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22249 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22251 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22252 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22253 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22254 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22255 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22256 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22257 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22258 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22259 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22260 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22261 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22262 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22263 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22264 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22265 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22266 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22267 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22268 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22269 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22270 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22271 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22272 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22273 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22274 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22275 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22276 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22278 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22279 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22280 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22281 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22282 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22283 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22284 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22285 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22286 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22287 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22288 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22289 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22290 * sysdeps/ieee754/k_standard.c: Likewise.
22291 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22294 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22295 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22300 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22301 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22305 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22307 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22308 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22309 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22312 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22313 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22314 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22315 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22317 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22318 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22319 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22320 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22321 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22322 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22323 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22324 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22325 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22326 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22327 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22328 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22329 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22330 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22331 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22332 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22333 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22334 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22335 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22336 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22337 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22339 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22340 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22342 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22343 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22344 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22345 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22346 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22347 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22348 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22349 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22350 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22351 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22352 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22353 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22355 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22357 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22359 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22360 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22361 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22363 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22364 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22365 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22368 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22370 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22371 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22372 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22373 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22374 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22375 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22376 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22377 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22378 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22379 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22381 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22382 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22383 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22384 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22385 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22386 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22387 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22388 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22389 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22390 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22392 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22395 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22398 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22399 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22400 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22401 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22402 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22409 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22410 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22411 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22413 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22414 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22415 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22416 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22417 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22423 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22424 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22436 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22437 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22439 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22440 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22441 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22442 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22443 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22445 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22446 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22451 * sysdeps/ieee754/s_lib_version.c: Likewise.
22452 * sysdeps/ieee754/s_matherr.c: Likewise.
22453 * sysdeps/ieee754/s_signgam.c: Likewise.
22454 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22455 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22457 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22458 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22459 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22460 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22461 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22462 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22463 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22464 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22465 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22466 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22467 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22468 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22469 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22471 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22473 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22475
1991fa03
JM
224762012-03-09 Joseph Myers <joseph@codesourcery.com>
22477
22478 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22479 * sunrpc/rpc_main.c: Likewise.
22480 * sunrpc/rpc_svcout.c: Likewise.
22481
60d6f5a6
DM
224822012-03-09 David S. Miller <davem@davemloft.net>
22483
22484 * include/math_private.h: New file.
22485
4962050e
JM
224862012-03-09 Joseph Myers <joseph@codesourcery.com>
22487
02a6f887
JM
22488 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22489 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22490 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22491 from <bits/socket_type.h>.
22492 (enum __socket_type): Don't define here.
22493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22495 bits/socket_type.h.
22496
c6e013c1
JM
22497 [BZ #13566]
22498 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22499 checking __USE_GNU.
22500
4962050e
JM
22501 * Makerules ($(inst_includedir)/%.h): New rule.
22502 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22503 (install-others): Remove variable setting.
22504 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22505
38842f45
RH
225062012-03-08 Richard Henderson <rth@twiddle.net>
22507
67bb6da6
RH
22508 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22509 from macro to inline function; merge with the
22510 !__LIBC_INTERNAL_MATH_INLINES version.
22511 (__ieee754_sqrtf): Likewise.
22512
15194b4b
RH
22513 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22514 to inline function.
22515 (__rintf, __floor, __floorf): Likewise.
22516
64e21ede
RH
22517 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22518 macro to inline function.
22519 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22520
38842f45
RH
22521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22522 not <math/math_private.h>.
22523
c64bf5fe
DM
225242012-03-08 David S. Miller <davem@davemloft.net>
22525
22526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22527 copyright year.
22528 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22529
82d86f28
TS
225302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22531
22532 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22533 normalization.
22534 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22535 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22536
aea5d727
UD
225372012-03-08 Ulrich Drepper <drepper@gmail.com>
22538
22539 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22540 be defined individually, they must be defined as a block. Define
22541 S for printing a string instead of hidint the different by using a
22542 macro for adding the 'l'.
22543 * stdio-common/tst-fphex-wide.c: Adjust.
22544
70bca0a3
MP
225452012-03-07 Marek Polacek <polacek@redhat.com>
22546
22547 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22548
65b81130
MP
225492012-03-08 Marek Polacek <polacek@redhat.com>
22550
22551 [BZ #13806]
22552 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22553 * stdio-common/tst-fphex.c: Define a few macros to make the
22554 test reusable. Use them.
22555 * stdio-common/tst-fphex-wide.c: New file.
22556
07037eeb
JM
225572012-03-08 Joseph Myers <joseph@codesourcery.com>
22558
a7a93d50
JM
22559 [BZ #6911]
22560 * manual/macros.texi (gnusystems): New macro.
22561 (nongnusystems): Likewise.
22562 (gnulinuxhurdsystems): Likewise.
22563 (gnuhurdsystems): Likewise..
22564 (gnulinuxsystems): Likewise.
22565 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22566 variants of the GNU system, not "GNU system".
22567 * manual/conf.texi: Likewise.
22568 * manual/errno.texi: Likewise. Update example of errno macro
22569 expansion.
22570 * manual/filesys.texi: Likewise.
22571 (getumask): Document as specific to GNU/Hurd.
22572 * manual/install.texi: Likewise. Reword some references to
22573 GNU/Linux.
22574 * manual/intro.texi: Likewise.
22575 * manual/io.texi: Likewise.
22576 (File Name Portability): Detail which constraints are inapplicable
22577 to all GNU systems and which are only inapplicable to GNU/Hurd.
22578 * manual/job.texi: Likewise.
22579 * manual/llio.texi: Likewise.
22580 (O_NOCTTY): Document as present on GNU/Linux.
22581 * manual/maint.texi: Likewise.
22582 * manual/memory.texi: Likewise.
22583 * manual/pattern.texi: Likewise.
22584 * manual/pipe.texi: Likewise.
22585 * manual/process.texi: Likewise.
22586 * manual/resource.texi: Likewise.
22587 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22588 child on GNU/Hurd.
22589 * manual/setjmp.texi: Likewise.
22590 * manual/signal.texi: Likewise.
22591 * manual/startup.texi: Likewise.
22592 * manual/stdio.texi: Likewise.
22593 * manual/terminal.texi: Likewise.
22594 (ONLCR): Document as POSIX.
22595 (OXTABS): Document availability on GNU/Linux as XTABS.
22596 (ONOEOT): Document availability separately from other bits.
22597 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22598 * manual/time.texi: Likewise.
22599 * manual/users.texi: Likewise.
22600 * INSTALL: Regenerated.
22601 * sysdeps/gnu/errlist.c: Regenerated.
22602
07037eeb
JM
22603 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22604 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22605 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22606 puts.
22607 * configure: Regenerated.
22608
d1d3431a
JM
226092012-03-07 Joseph Myers <joseph@codesourcery.com>
22610
af6a1e37
JM
22611 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22612 default includes instead of AC_HEADER_CHECK.
22613 * sysdeps/i386/configure: Regenerated.
22614
d1d3431a
JM
22615 [BZ #10716]
22616 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22617 * math/s_cacoshf.c (__cacoshf): Likewise.
22618 * math/s_cacoshl.c (__cacoshl): Likewise.
22619 * math/s_casinh.c (__casinh): Set signs of result from argument.
22620 * math/s_casinhf.c (__casinhf): Likewise.
22621 * math/s_casinhl.c (__casinhl): Likewise.
22622 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22623 (casinh_test): Add more tests.
22624 * sysdeps/i386/fpu/libm-test-ulps: Update.
22625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22626
482ff4da
UD
226272012-03-07 Ulrich Drepper <drepper@gmail.com>
22628
872fda05
UD
22629 * po/zh_TW.po: Update from translation team.
22630
a4300c7a
UD
22631 * login/Makefile (distribute): Remove variable.
22632 * catgets/Makefile: Likewise.
22633 * mach/Makefile: Likewise.
22634 * malloc/Makefile: Likewise.
22635 * misc/Makefile: Likewise.
22636 * iconv/Makefile: Likewise.
22637 * nscd/Makefile: Likewise.
22638 * hurd/Makefile: Likewise.
22639 * manual/Makefile: Likewise.
22640 * locale/Makefile: Likewise.
22641 * intl/Makefile: Likewise.
22642 * conform/Makefile: Likewise.
22643 * nss/Makefile: Likewise.
22644 * time/Makefile: Likewise.
22645 * soft-fp/Makefile: Likewise.
22646 * dirent/Makefile: Likewise.
22647 * gmon/Makefile: Likewise.
22648 * po/Makefile: Likewise.
22649 * rt/Makefile: Likewise.
22650 * socket/Makefile: Likewise.
22651 * math/Makefile: Likewise.
22652 * signal/Makefile: Likewise.
22653 * debug/Makefile: Likewise.
22654 * elf/Makefile: Likewise.
22655 * timezone/Makefile: Likewise.
22656 * stdlib/Makefile: Likewise.
22657 * iconvdata/Makefile: Likewise.
22658 * sunrpc/Makefile: Likewise.
22659 * io/Makefile: Likewise.
22660 * argp/Makefile: Likewise.
22661 * inet/Makefile: Likewise.
22662 * hesiod/Makefile: Likewise.
22663 * grp/Makefile: Likewise.
22664 * csu/Makefile: Likewise.
22665 * wctype/Makefile: Likewise.
22666 * crypt/Makefile: Likewise.
22667 * libio/Makefile: Likewise.
22668 * string/Makefile: Likewise.
22669 * nis/Makefile: Likewise.
22670 * resolv/Makefile: Likewise.
22671 * stdio-common/Makefile: Likewise.
22672 * wcsmbs/Makefile: Likewise.
22673 * dlfcn/Makefile: Likewise.
22674 * posix/Makefile: Likewise.
22675
3b7c4e74 22676 [BZ #6959]
482ff4da
UD
22677 * timezone/Makefile: Don't install timezone files, just the programs
22678 and scripts.
22679
f72ed77d
UD
226802012-03-06 Ulrich Drepper <drepper@gmail.com>
22681
a000466f
UD
22682 * nss/databases.def: Add missing gshadow entry.
22683
f72ed77d
UD
22684 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22685
a53b7a4e
MP
226862012-03-06 Marek Polacek <polacek@redhat.com>
22687
22688 [BZ #13726]
22689 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22690 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22691 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22692 * stdio-common/tst-long-dbl-fphex.c: New file.
22693
e9258400
DM
226942012-03-06 David S. Miller <davem@davemloft.net>
22695
22696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22697 (set_obp_int): New function.
22698 (get_obp_int): New function.
22699 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22701 Avoid unused variable warnings on 'val' and use builtin_expect.
22702 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22703 __builtin_expect.
e9258400
DM
22704 (INLINE_CLONE_SYSCALL): Likewise.
22705
3bd2c723
DM
227062012-03-05 David S. Miller <davem@davemloft.net>
22707
22708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22709
bbb78d03
AS
227102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22711
884c5db4
AS
22712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22713
bbb78d03
AS
22714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22715 only for |x| >= 40.
22716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22717
1c9f702a 227182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22719
22720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22721 Replace gettimeofday with __vdso_gettimeofday.
22722
7be16f82
RM
22723 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22724 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22725 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22726
22727 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22728 time with __vdso_time.
22729
ed58a00f
JM
227302012-03-05 Joseph Myers <joseph@codesourcery.com>
22731
22732 * manual/lang.texi (size_t): Note types to which size_t may be
22733 equivalent with the GNU C Library, but do not describe when
22734 differences between them are significant.
22735
30ee4ced
AJ
227362012-03-05 Andreas Jaeger <aj@suse.de>
22737
22738 * sysdeps/i386/fpu/libm-test-ulps: Update.
22739
b7cd39e8
JM
227402012-03-05 Joseph Myers <joseph@codesourcery.com>
22741
22742 [BZ #3976]
22743 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22744 (__ieee754_pow): Save and restore rounding mode and use
22745 round-to-nearest for main computations.
22746 * math/libm-test.inc (pow_test_tonearest): New function.
22747 (pow_test_towardzero): Likewise.
22748 (pow_test_downward): Likewise.
22749 (pow_test_upward): Likewise.
22750 (main): Call the new functions.
22751 * sysdeps/i386/fpu/libm-test-ulps: Update.
22752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22753
22754 [BZ #3976]
22755 * math/libm-test.inc (cosh_test_tonearest): New function.
22756 (cosh_test_towardzero): Likewise.
22757 (cosh_test_downward): Likewise.
22758 (cosh_test_upward): Likewise.
22759 (sinh_test_tonearest): Likewise.
22760 (sinh_test_towardzero): Likewise.
22761 (sinh_test_downward): Likewise.
22762 (sinh_test_upward): Likewise.
22763 (main): Call the new functions.
22764 * sysdeps/i386/fpu/libm-test-ulps: Update.
22765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22766
6c6a98c9
TV
227672012-03-05 Tom de Vries <tom@codesourcery.com>
22768
22769 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22770 default stack guard is set in last bytes.
22771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22772
21bb2d2e 227732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22774
21bb2d2e 22775 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22776
21bb2d2e
AJ
22777 [BZ #13656]
22778 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22779 possibly allocate from heap instead of stack.
22780 * stdio-common/bug-vfprintf-nargs.c: New file.
22781 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22782
c6922934
AS
227832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22784
22785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22786
bc957d53
MP
227872012-03-03 Marek Polacek <polacek@redhat.com>
22788
22789 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22790 * math/math_private.h: Likewise.
22791 * stdlib/tst-strtod.c: Likewise.
22792 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22793 * sysdeps/x86_64/bits/atomic.h: Likewise.
22794
6358490d
DM
227952012-03-02 David S. Miller <davem@davemloft.net>
22796
22797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22801 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22802 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22803 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22804 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22805
01ae168d
RM
228062012-03-02 Roland McGrath <roland@hack.frob.com>
22807
d9a17c07
RM
22808 [BZ #13792]
22809 * manual/examples/README: New file, says the example source files
22810 can be used under GPL>=2.
22811 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22812 line containing just "*/".
22813 * manual/examples/add.c: Add copyright header (GPL>=2).
22814 * manual/examples/argp-ex1.c: Likewise.
22815 * manual/examples/argp-ex2.c: Likewise.
22816 * manual/examples/argp-ex3.c: Likewise.
22817 * manual/examples/argp-ex4.c: Likewise.
22818 * manual/examples/atexit.c: Likewise.
22819 * manual/examples/db.c: Likewise.
22820 * manual/examples/dir.c: Likewise.
22821 * manual/examples/dir2.c: Likewise.
22822 * manual/examples/execinfo.c: Likewise.
22823 * manual/examples/filecli.c: Likewise.
22824 * manual/examples/filesrv.c: Likewise.
22825 * manual/examples/fmtmsgexpl.c: Likewise.
22826 * manual/examples/genpass.c: Likewise.
22827 * manual/examples/inetcli.c: Likewise.
22828 * manual/examples/inetsrv.c: Likewise.
22829 * manual/examples/isockad.c: Likewise.
22830 * manual/examples/longopt.c: Likewise.
22831 * manual/examples/memopen.c: Likewise.
22832 * manual/examples/memstrm.c: Likewise.
22833 * manual/examples/mkfsock.c: Likewise.
22834 * manual/examples/mkisock.c: Likewise.
22835 * manual/examples/mygetpass.c: Likewise.
22836 * manual/examples/pipe.c: Likewise.
22837 * manual/examples/popen.c: Likewise.
22838 * manual/examples/rprintf.c: Likewise.
22839 * manual/examples/search.c: Likewise.
22840 * manual/examples/select.c: Likewise.
22841 * manual/examples/setjmp.c: Likewise.
22842 * manual/examples/sigh1.c: Likewise.
22843 * manual/examples/sigusr.c: Likewise.
22844 * manual/examples/stpcpy.c: Likewise.
22845 * manual/examples/strdupa.c: Likewise.
22846 * manual/examples/strftim.c: Likewise.
22847 * manual/examples/strncat.c: Likewise.
22848 * manual/examples/subopt.c: Likewise.
22849 * manual/examples/swapcontext.c: Likewise.
22850 * manual/examples/termios.c: Likewise.
22851 * manual/examples/testopt.c: Likewise.
22852 * manual/examples/testpass.c: Likewise.
22853 * manual/examples/timeval_subtract.c: Likewise.
22854
01ae168d
RM
22855 [BZ #13792]
22856 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22857 function to ...
22858 * manual/timeval_subtract.c.texi: ... here, new file.
22859
49efa33d
DM
228602012-03-02 David S. Miller <davem@davemloft.net>
22861
22862 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22863
28afd92d
JM
228642012-03-02 Joseph Myers <joseph@codesourcery.com>
22865
804360ed
JM
22866 [BZ #3976]
22867 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22868 (__sin): Save and restore rounding mode and use round-to-nearest
22869 for all computations.
22870 (__cos): Save and restore rounding mode and use round-to-nearest
22871 for all computations.
22872 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22873 <fenv.h>.
22874 (tan): Save and restore rounding mode and use round-to-nearest for
22875 all computations.
22876 * math/libm-test.inc (cos_test_tonearest): New function.
22877 (cos_test_towardzero): Likewise.
22878 (cos_test_downward): Likewise.
22879 (cos_test_upward): Likewise.
22880 (sin_test_tonearest): Likewise.
22881 (sin_test_towardzero): Likewise.
22882 (sin_test_downward): Likewise.
22883 (sin_test_upward): Likewise.
22884 (tan_test_tonearest): Likewise.
22885 (tan_test_towardzero): Likewise.
22886 (tan_test_downward): Likewise.
22887 (tan_test_upward): Likewise.
22888 (main): Call the new functions.
22889 * sysdeps/i386/fpu/libm-test-ulps: Update.
22890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22891
a6d06d7b
JM
22892 [BZ #10135]
22893 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22894 small n, then large n, before computing and testing k+n.
22895 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22897 Likewise.
22898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22899 Likewise.
22900 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22901 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22902 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22903 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22905 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22906 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22907 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22908 * math/libm-test.inc (scalbn_test): Add more tests.
22909 (scalbln_test): Likewise.
22910
07e12bb3
JM
22911 * manual/filesys.texi (mode_t): Describe constraints on size and
22912 signedness, not exact equivalence to a particular type.
22913 (ino_t): Likewise.
22914 (ino64_t): Likewise.
22915 (dev_t): Likewise.
22916 (nlink_t): Likewise.
22917 (blkcnt_t): Likewise.
22918 (blkcnt64_t): Likewise.
22919 * manual/llio.texi (off_t): Likewise.
22920
28afd92d
JM
22921 [BZ #3976]
22922 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22923 (__ieee754_exp): Save and restore rounding mode and use
22924 round-to-nearest for all computations.
22925 * math/libm-test.inc (exp_test_tonearest): New function.
22926 (exp_test_towardzero): Likewise.
22927 (exp_test_downward): Likewise.
22928 (exp_test_upward): Likewise.
22929 (main): Call the new functions.
22930 * sysdeps/i386/fpu/libm-test-ulps: Update.
22931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22932
b1eeb65d
CD
229332012-03-01 Chris Demetriou <cgd@google.com>
22934
22935 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22936 have predictable order.
22937
53362a4b
DM
229382012-03-01 David S. Miller <davem@davemloft.net>
22939
3c969083
DM
22940 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22941
759707de
DM
22942 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22943 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22944 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22945 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22946
dfdb8ff2
DM
22947 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22948 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22949 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22951 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22952 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22953 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22954 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22955 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22956
ead89f96
DM
22957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22958
7f66bd07
DM
22959 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22960 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22962
53362a4b
DM
22963 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22964 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22965 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22966 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22967 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22968 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22969 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22970 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22971 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22972 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22973 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22974 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22976 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22977 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22979 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22980 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22981 * sysdeps/sparc/elf/configure: Regenerated.
22982
7b1902cb
JM
229832012-03-01 Joseph Myers <joseph@codesourcery.com>
22984
bec039bc
JM
22985 * configure.in (AS, LD): Require binutils 2.20 or later.
22986 * configure: Regenerated.
22987 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22988 as required minimum version.
22989 * INSTALL: Regenerated.
22990
7b1902cb
JM
22991 [BZ #2541]
22992 [BZ #4108]
22993 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22994 before squaring exponent.
22995 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22996 bottom long double and 27 bits of top long double before squaring
22997 exponent.
22998 * math/libm-test.inc (erfc_test): Add more tests.
22999 * sysdeps/i386/fpu/libm-test-ulps: Update.
23000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23002
f775c276
KT
230032012-03-01 Kai Tietz <ktietz@redhat.com>
23004
23005 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23006 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23007 containing bit-fields.
23008 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23009 * soft-fp/single.h (_FP_UNION_S): Likewise.
23010 * soft-fp/double.h (_FP_UNION_D): Likewise.
23011
5b8a4d4a
JM
230122012-02-29 Joseph Myers <joseph@codesourcery.com>
23013
0bab47b6
JM
23014 [BZ #13786]
23015 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23016 not include ../strcmp.S.
23017 [USE_AS_STRNCASECMP_L]: Likewise.
23018 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23019 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23020 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23021 (__strncasecmp_l_ia32): Define as alias to
23022 __strncasecmp_l_nonascii.
23023
0fcad3e2
JM
23024 [BZ #5794]
23025 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23026 * sysdeps/i386/fpu/libm-test-ulps: Update.
23027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23028
5b8a4d4a
JM
23029 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23031
8fdceb2e
JL
230322012-02-29 Jeff Law <law@redhat.com>
23033
23034 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23035 out of bounds read.
23036
1f393a11
MP
230372012-02-29 Marek Polacek <polacek@redhat.com>
23038
23039 [BZ #13706]
23040 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23041 * elf/Makefile: Add rules to run tst-unused-dep.out.
23042
8847f037
DM
230432012-02-28 David S. Miller <davem@davemloft.net>
23044
23045 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23046 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23049 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23050 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23051
169d7f11
JM
230522012-02-29 Joseph Myers <joseph@codesourcery.com>
23053
23054 * math/libm-test.inc (llround_test): Move one test from
23055 lround_test. Use TEST_f_L in moved test.
23056 (lround_test): Move misplaced test to llround_test. Add testcase
23057 from bug 2561.
23058
39adf059
UD
230592012-02-28 Ulrich Drepper <drepper@gmail.com>
23060
23061 * sysdeps/x86_64/fpu/e_expf.S: New file.
23062 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23063
71b5d1c5
SB
230642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23065
23066 [BZ #13637]
23067 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23068 of remain_len that may cause incomplete multi-byte character and
23069 false match.
23070 * posix/bug-regex33.c: New file.
23071 * posix/Makefile (tests): Add bug-regex33.
23072
1f77f049
JM
230732012-02-28 Joseph Myers <joseph@codesourcery.com>
23074
23075 * manual/macros.texi: New file.
23076 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23077 * manual/libc.texinfo: Include macros.texi.
23078 * manual/creatute.texi: Likewise.
23079 * manual/install.texi: Likewise.
23080 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23081 @glibcadj{} in references to the GNU C Library.
23082 * manual/charset.texi: Likewise.
23083 * manual/conf.texi: Likewise.
23084 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23085 when not using those macros.
23086 * manual/creature.texi: Likewise.
23087 * manual/crypt.texi: Likewise.
23088 * manual/errno.texi: Likewise.
23089 * manual/filesys.texi: Likewise.
23090 * manual/header.texi: Likewise.
23091 * manual/install.texi: Likewise.
23092 * manual/intro.texi: Likewise.
23093 * manual/io.texi: Likewise.
23094 * manual/job.texi: Likewise.
23095 * manual/lang.texi: Likewise.
23096 * manual/libc.texiinfo: Likewise.
23097 * manual/llio.texi: Likewise.
23098 * manual/locale.texi: Likewise.
23099 * manual/maint.texi: Likewise.
23100 * manual/math.texi: Likewise.
23101 * manual/memory.texi: Likewise.
23102 * manual/message.texi: Likewise.
23103 * manual/nss.texi: Likewise.
23104 * manual/pattern.texi: Likewise.
23105 * manual/process.texi: Likewise.
23106 * manual/resource.texi: Likewise.
23107 * manual/search.texi: Likewise.
23108 * manual/setjmp.texi: Likewise.
23109 * manual/signal.texi: Likewise.
23110 * manual/socket.texi: Likewise.
23111 * manual/startup.texi: Likewise.
23112 * manual/stdio.texi: Likewise.
23113 * manual/string.texi: Likewise.
23114 * manual/sysinfo.texi: Likewise.
23115 * manual/syslog.texi: Likewise.
23116 * manual/terminal.texi: Likewise.
23117 * manual/time.texi: Likewise.
23118 * manual/users.texi: Likewise.
23119 * INSTALL: Regenerated.
23120 * NOTES: Regenerated.
d40c5d54 23121 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23122
450bf206
AS
231232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23124
23125 * include/dirent.h: Include <dirstream.h> before
23126 <dirent/dirent.h>.
23127
741a235b
DM
231282012-02-28 David S. Miller <davem@davemloft.net>
23129
23130 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23131 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23132 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23133 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23134
d6b5aa58
DM
231352012-02-27 David S. Miller <davem@davemloft.net>
23136
1aff59a3
DM
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23139 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23140 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23141
d6b5aa58
DM
23142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23143 frame pointer instead of stack pointer relative arg slot.
23144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23145 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23146 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23147
433f48bf
CD
231482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23149
23150 [BZ #3992]
23151 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23152
d674b76d
DM
231532012-02-27 David S. Miller <davem@davemloft.net>
23154
23155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23159 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23160 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23161 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23162 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23163
0e7727f7
JM
231642012-02-27 Joseph Myers <joseph@codesourcery.com>
23165
23166 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23167 later. Allow versions 5-9.
43be4ca2 23168 * configure: Regenerated.
0e7727f7
JM
23169 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23170 required minimum version and 4.6 as recommended version. Do not
23171 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23172 * INSTALL: Regenerated.
0e7727f7 23173
a78bc654
DM
231742012-02-27 David S. Miller <davem@davemloft.net>
23175
428d5830
DM
23176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23180 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23181 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23182 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23183 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23184
a78bc654
DM
23185 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23186 manipulate bits before adding and subtracting TWO112[sx].
23187 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23188
4579f81c
RM
231892012-02-27 Roland McGrath <roland@hack.frob.com>
23190
36c8acb4
RM
23191 [BZ #13775]
23192 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23193 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23194 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23195 being in POSIX, because they are in 1003.1-2008.
23196
84ad622b
RM
23197 * rt/tst-aio.c: Include <fcntl.h>.
23198 * rt/tst-aio7.c: Likewise.
23199 * rt/tst-aio64.c: Likewise.
23200
4579f81c
RM
23201 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23202
abd923db
JM
232032012-02-27 Joseph Myers <joseph@codesourcery.com>
23204
23205 * manual/install.texi (--with-headers): Describe headers as
23206 interface headers, not private headers.
23207 (Specific advice for GNU/Linux systems): Describe use of headers
23208 from "make headers_install", not private headers from older
23209 kernels.
43be4ca2 23210 * INSTALL: Regenerated.
abd923db
JM
23211 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23212 Change to 2.6.19.
23213 * sysdeps/unix/sysv/linux/configure: Regenerated.
23214
6664049b
JM
23215 * manual/llio.texi (fclean): Remove documentation.
23216
bb8b6697
JM
23217 * manual/Makefile (libc-texi-generated): New variable. Include
23218 version.texi.
23219 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23220 $(libc-texi-generated), not duplicated list of files.
23221 (version.texi, stamp-version): New rules.
23222 (realclean): Remove $(libc-texi-generated), not individual files
23223 from that list. Do not remove dir-add.texinfo.
23224 * manual/libc.texinfo: Comment out uses of edition numbers and
23225 references to printed manual. Remove last-updated dates.
23226 (EDITION): Comment out.
23227 (ISBN): Likewise.
23228 (VERSION, UPDATED): Remove.
23229 (version.texi): Include.
23230
12e5c3b9
AS
232312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23232
23233 * sysdeps/posix/spawni.c: Include <signal.h>.
23234 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23235 * sysdeps/pthread/aio_fsync.c: Likewise.
23236
4efeffc1 232372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23238
ba63ba08
UD
23239 * conform/Makefile (tests): Run only when not cross-compiling and
23240 when fast-check is not defined.
23241
d94a4670
UD
23242 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23243 * conform/data/limits.h-data: Fixes for POSIX2008.
23244 * conform/run-conformtest.sh: Run all tests.
23245 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23246 headers.
23247 * include/bits/dlfcn.h: Likewise.
23248 * include/langinfo.h: Likewise.
23249 * include/monetary.h: Likewise.
23250 * include/sys/poll.h: Likewise.
23251
23252 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23253 for __USE_GNU.
23254 * posix/spawn.h: Define __need_sigset_t.
23255 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23256 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23257 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23258 to get sigevent_t only.
23259 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23260 only for __USE_GNU.
23261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23262 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23263 process_vm_writev only for __USE_GNU.
23264 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23265
23266 * conform/Makefile: For now ignore errors from run-conformtest.
23267 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23268 POSIX to avoid namespace pollution. Don't prepend headers.
23269 * conform/data/aio.h-data: Fixes for POSIX testing.
23270 * conform/data/fcntl.h-data: Likewise.
23271 * conform/data/glob.h-data: Likewise.
23272 * conform/data/grp.h-data: Likewise.
23273 * conform/data/pthread.h-data: Likewise.
23274 * conform/data/pwd.h-data: Likewise.
23275 * conform/data/signal.h-data: Likewise.
23276 * conform/data/spawn.h-data: Likewise.
23277 * conform/data/stdio.h-data: Likewise.
23278 * conform/data/stdlib.h-data: Likewise.
23279 * conform/data/stropts.h-data: Likewise.
23280 * conform/data/sys/mman.h-data: Likewise.
23281 * conform/data/sys/stat.h-data: Likewise.
23282 * conform/data/sys/types.h-data: Likewise.
23283 * conform/data/sys/wait.h-data: Likewise.
23284 * conform/data/time.h-data: Likewise.
23285 * conform/data/unistd.h-data: Likewise.
23286 * conform/data/utime.h-data: Likewise.
23287
23288 * io/sys/stat.h: fchmod was always in POSIX.
23289 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23290 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23291 * rt/aio.h: Define __need_timespec before including <time.h>.
23292 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23293 struct. Add forward declaration of pthread_attr_t and use it in
23294 sigevent.
23295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23297 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23298 always remove CLK_TCK definition.
23299
c20105c3
AS
233002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23301
23302 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23303
7a270350
UD
233042012-02-25 Ulrich Drepper <drepper@gmail.com>
23305
31341567
UD
23306 * conform/run-conformtest.sh: New file.
23307 * conform/Makefile: Run run-conformtest for tests.
23308 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23309 support.
23310
23311 * conform/data/uchar.h-data: New file.
23312 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23313 * conform/data/arpa/inet.h-data: Likewise.
23314 * conform/data/assert.h-data: Likewise.
23315 * conform/data/complex.h-data: Likewise.
23316 * conform/data/cpio.h-data: Likewise.
23317 * conform/data/ctype.h-data: Likewise.
23318 * conform/data/dirent.h-data: Likewise.
23319 * conform/data/dlfcn.h-data: Likewise.
23320 * conform/data/errno.h-data: Likewise.
23321 * conform/data/fcntl.h-data: Likewise.
23322 * conform/data/float.h-data: Likewise.
23323 * conform/data/fmtmsg.h-data: Likewise.
23324 * conform/data/fnmatch.h-data: Likewise.
23325 * conform/data/ftw.h-data: Likewise.
23326 * conform/data/glob.h-data: Likewise.
23327 * conform/data/grp.h-data: Likewise.
23328 * conform/data/iconv.h-data: Likewise.
23329 * conform/data/inttypes.h-data: Likewise.
23330 * conform/data/langinfo.h-data: Likewise.
23331 * conform/data/libgen.h-data: Likewise.
23332 * conform/data/limits.h-data: Likewise.
23333 * conform/data/locale.h-data: Likewise.
23334 * conform/data/math.h-data: Likewise.
23335 * conform/data/monetary.h-data: Likewise.
23336 * conform/data/mqueue.h-data: Likewise.
23337 * conform/data/ndbm.h-data: Likewise.
23338 * conform/data/net/if.h-data: Likewise.
23339 * conform/data/netdb.h-data: Likewise.
23340 * conform/data/netinet/in.h-data: Likewise.
23341 * conform/data/nl_types.h-data: Likewise.
23342 * conform/data/poll.h-data: Likewise.
23343 * conform/data/pthread.h-data: Likewise.
23344 * conform/data/pwd.h-data: Likewise.
23345 * conform/data/regex.h-data: Likewise.
23346 * conform/data/sched.h-data: Likewise.
23347 * conform/data/search.h-data: Likewise.
23348 * conform/data/semaphore.h-data: Likewise.
23349 * conform/data/setjmp.h-data: Likewise.
23350 * conform/data/signal.h-data: Likewise.
23351 * conform/data/spawn.h-data: Likewise.
23352 * conform/data/stdarg.h-data: Likewise.
23353 * conform/data/stdio.h-data: Likewise.
23354 * conform/data/stdlib.h-data: Likewise.
23355 * conform/data/string.h-data: Likewise.
23356 * conform/data/strings.h-data: Likewise.
23357 * conform/data/stropts.h-data: Likewise.
23358 * conform/data/sys/ipc.h-data: Likewise.
23359 * conform/data/sys/mman.h-data: Likewise.
23360 * conform/data/sys/msg.h-data: Likewise.
23361 * conform/data/sys/resource.h-data: Likewise.
23362 * conform/data/sys/select.h-data: Likewise.
23363 * conform/data/sys/sem.h-data: Likewise.
23364 * conform/data/sys/shm.h-data: Likewise.
23365 * conform/data/sys/socket.h-data: Likewise.
23366 * conform/data/sys/stat.h-data: Likewise.
23367 * conform/data/sys/statvfs.h-data: Likewise.
23368 * conform/data/sys/time.h-data: Likewise.
23369 * conform/data/sys/timeb.h-data: Likewise.
23370 * conform/data/sys/times.h-data: Likewise.
23371 * conform/data/sys/types.h-data: Likewise.
23372 * conform/data/sys/uio.h-data: Likewise.
23373 * conform/data/sys/un.h-data: Likewise.
23374 * conform/data/sys/utsname.h-data: Likewise.
23375 * conform/data/sys/wait.h-data: Likewise.
23376 * conform/data/syslog.h-data: Likewise.
23377 * conform/data/tar.h-data: Likewise.
23378 * conform/data/termios.h-data: Likewise.
23379 * conform/data/utime.h-data: Likewise.
23380 * conform/data/utmpx.h-data: Likewise.
23381 * conform/data/varargs.h-data: Likewise.
23382 * conform/data/wchar.h-data: Likewise.
23383 * conform/data/wctype.h-data: Likewise.
23384 * conform/data/wordexp.h-data: Likewise.
23385
23386 * include/stropts.h: New file.
23387 * include/uchar.h: New file.
23388 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23389 * include/assert.h: Likewise.
23390 * include/ctype.h: Likewise.
23391 * include/dirent.h: Likewise.
23392 * include/dlfcn.h: Likewise.
23393 * include/fcntl.h: Likewise.
23394 * include/fnmatch.h: Likewise.
23395 * include/glob.h: Likewise.
23396 * include/grp.h: Likewise.
23397 * include/libio.h: Likewise.
23398 * include/locale.h: Likewise.
23399 * include/math.h: Likewise.
23400 * include/net/if.h: Likewise.
23401 * include/netdb.h: Likewise.
23402 * include/netinet/in.h: Likewise.
23403 * include/pthread.h: Likewise.
23404 * include/pwd.h: Likewise.
23405 * include/regex.h: Likewise.
23406 * include/sched.h: Likewise.
23407 * include/search.h: Likewise.
23408 * include/setjmp.h: Likewise.
23409 * include/signal.h: Likewise.
23410 * include/stdio.h: Likewise.
23411 * include/stdlib.h: Likewise.
23412 * include/string.h: Likewise.
23413 * include/sys/cdefs.h: Likewise.
23414 * include/sys/mman.h: Likewise.
23415 * include/sys/msg.h: Likewise.
23416 * include/sys/resource.h: Likewise.
23417 * include/sys/select.h: Likewise.
23418 * include/sys/socket.h: Likewise.
23419 * include/sys/stat.h: Likewise.
23420 * include/sys/statvfs.h: Likewise.
23421 * include/sys/time.h: Likewise.
23422 * include/sys/times.h: Likewise.
23423 * include/sys/uio.h: Likewise.
23424 * include/sys/utsname.h: Likewise.
23425 * include/sys/wait.h: Likewise.
23426 * include/termios.h: Likewise.
23427 * include/time.h: Likewise.
23428 * include/ulimit.h: Likewise.
23429 * include/unistd.h: Likewise.
23430 * include/utime.h: Likewise.
23431 * include/wchar.h: Likewise.
23432 * include/wctype.h: Likewise.
23433 * include/wordexp.h: Likewise.
23434
23435 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23436
7a270350
UD
23437 * time/time.h: TIME_UTC must be a macro.
23438 Make timespec_get available for ISO C11 only as well.
23439
7724defc
UD
234402012-02-24 Ulrich Drepper <drepper@gmail.com>
23441
23442 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23443 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23444
6b1d1d46
JM
234452012-02-24 Joseph Myers <joseph@codesourcery.com>
23446
23447 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23448
0f8bbd69
JM
234492012-02-24 Joseph Myers <joseph@codesourcery.com>
23450
23451 * manual/texinfo.tex: Update to version 2012-01-19.16.
23452
66ab80bc
JM
234532012-02-24 Joseph Myers <joseph@codesourcery.com>
23454
23455 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23456
74981cc5
RM
234572012-02-24 Roland McGrath <roland@hack.frob.com>
23458
ee968201
RM
23459 [BZ #13738]
23460 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23461 * manual/fdl-1.3.texi: New file.
23462 * manual/fdl-1.1.texi: File removed.
23463
74981cc5
RM
23464 [BZ #13738]
23465 * manual/libc.texinfo (FDL_VERSION): New @set.
23466 Use it for mention of FDL in cover text.
23467 (Documentation License): Use it in @include file name.
23468
7bb764bc
JM
234692012-02-22 Joseph Myers <joseph@codesourcery.com>
23470 Roland McGrath <roland@hack.frob.com>
23471
23472 [BZ #5461]
23473 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23474 not LONG_LONG_MAX and LONG_LONG_MIN.
23475 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23476 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23477 name.
23478 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23479
6cbeae47
JM
234802012-02-22 Joseph Myers <joseph@codesourcery.com>
23481
23482 [BZ #2547]
23483 [BZ #11365]
23484 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23485 manipulate bits before adding and subtracting TWO23[sx].
23486 * math/libm-test.inc (nearbyint_test): Add more tests.
23487
fe45ce09
JM
234882012-02-22 Joseph Myers <joseph@codesourcery.com>
23489
23490 [BZ #2548]
23491 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23492 bits before adding and subtracting TWO23[sx].
23493 * math/libm-test.inc (rint_test): Add more tests.
23494 (rint_test_tonearest): Likewise.
23495 (rint_test_towardzero): Likewise.
23496 (rint_test_downward): Likewise.
23497 (rint_test_upward: Likewise.
23498
ff3b3d82
JM
234992012-02-22 Joseph Myers <joseph@codesourcery.com>
23500
23501 [BZ #10110]
23502 * include/stdc-predef.h: New file. Extracted from features.h.
23503 * include/features.h: Include stdc-predef.h.
23504 * Makefile (headers): Add stdc-predef.h.
23505 * CONFORMANCE (Compiler limitations): Update.
23506
ef0aab35
JM
235072012-02-22 Joseph Myers <joseph@codesourcery.com>
23508
23509 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23510
58639409
DM
235112012-02-21 David S. Miller <davem@davemloft.net>
23512
23513 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23514 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23515
c0e70b25
DM
235162012-02-20 David S. Miller <davem@davemloft.net>
23517
23518 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23519 using a normal save/restore sequence, rather than allocating a
23520 dummy stack frame just to store a frame pointer and restore.
23521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23522
fb06851d
JM
235232012-02-21 Joseph Myers <joseph@codesourcery.com>
23524
23525 * manual/install.texi: Fix stray word in line-wrapped comment.
23526
7a8b71c3
DM
235272012-02-20 David S. Miller <davem@davemloft.net>
23528
d510c123
DM
23529 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23530 both binutils and gcc support GOTDATA.
23531
0722d7c2
DM
23532 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23533 "rd %pc" in the PIC register setup sequences.
23534
3d2b3019
DM
23535 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23536 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23537 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23538 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23539 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23541 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23543 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23544 (SYSCALL_ERROR_HANDLER): Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23548 (SYSCALL_ERROR_HANDLER): Likewise.
23549
c80098a9
DM
23550 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23551 (HAVE_GCC_GOTDATA): New.
23552 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23553 relocation support in both binutils and gcc.
23554 * sysdeps/sparc/elf/configure: Regenerate.
23555
3a2545a0
DM
23556 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23557 * sysdeps/sparc/sparc32/elf/configure: Delete.
23558 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23559 * sysdeps/sparc/sparc64/elf/configure: Delete.
23560 * sysdeps/sparc/elf/configure.in: New file.
23561 * sysdeps/sparc/elf/configure: Generate.
23562
7a8b71c3
DM
23563 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23564 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23565 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23566 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23567 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23568
f1e86fca
JM
235692012-02-21 Joseph Myers <joseph@codesourcery.com>
23570
23571 * manual/install.texi: Do not mention specific glibc version
23572 numbers.
23573 * manual/libc.texinfo (VERSION, UPDATED): Update.
23574 (@copying): Use @copyright{} and range of years.
23575
0e7dfaef
JM
235762012-02-21 Joseph Myers <joseph@codesourcery.com>
23577
23578 [BZ #13695]
23579 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23580 [crti.S not in sysdirs] (generated): Do not append.
23581 [crti.S not in sysdirs] (omit-deps): Likewise.
23582 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23583 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23584 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23585 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23586 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23587 Likewise.
23588 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23589 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23590 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23591 * csu/defs.awk: Remove file.
23592 * sysdeps/generic/initfini.c: Likewise.
23593 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23594 variable.
23595 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23596 Likewise.
23597
599af3ca
JM
235982012-02-20 Joseph Myers <joseph@codesourcery.com>
23599
23600 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23601 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23602 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23603 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23604 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23605 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23606 <bits/epoll.h>.
23607 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23608 (__EPOLL_PACKED): Define to empty if not defined by
23609 <bits/epoll.h>.
23610 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23612 bits/epoll.h.
23613
0e499750
JM
236142012-02-20 Joseph Myers <joseph@codesourcery.com>
23615
23616 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23617 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23618 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23619 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23620 <bits/timerfd.h>.
23621 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23623 bits/timerfd.h.
23624
5ad91f6e
JM
236252012-02-20 Joseph Myers <joseph@codesourcery.com>
23626
23627 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23628 in C locale.
23629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23630 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23631 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23633
06b99b02
AJ
236342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23635
23636 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23637 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23638
7638c0fd
AS
236392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23640
23641 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23642 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23643 defined.
23644 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23645 Likewise.
23646 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23647 entry for 2.16.
23648
92221550
AJ
236492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23650
23651 * math/w_acos.c: Use non-signaling floating-point comparisons.
23652 * math/w_acosf.c: Likewise.
23653 * math/w_acosh.c: Likewise.
23654 * math/w_acoshf.c: Likewise.
23655 * math/w_acoshl.c: Likewise.
23656 * math/w_acosl.c: Likewise.
23657 * math/w_asin.c: Likewise.
23658 * math/w_asinf.c: Likewise.
23659 * math/w_asinl.c: Likewise.
23660 * math/w_atanh.c: Likewise.
23661 * math/w_atanhf.c: Likewise.
23662 * math/w_atanhl.c: Likewise.
23663 * math/w_exp2.c: Likewise.
23664 * math/w_exp2f.c: Likewise.
23665 * math/w_exp2l.c: Likewise.
23666 * math/w_j0.c: Likewise.
23667 * math/w_j0f.c: Likewise.
23668 * math/w_j0l.c: Likewise.
23669 * math/w_j1.c: Likewise.
23670 * math/w_j1f.c: Likewise.
23671 * math/w_j1l.c: Likewise.
23672 * math/w_jn.c: Likewise.
23673 * math/w_jnf.c: Likewise.
23674 * math/w_log.c: Likewise.
23675 * math/w_log10.c: Likewise.
23676 * math/w_log10f.c: Likewise.
23677 * math/w_log10l.c: Likewise.
23678 * math/w_log2.c: Likewise.
23679 * math/w_log2f.c: Likewise.
23680 * math/w_log2l.c: Likewise.
23681 * math/w_logf.c: Likewise.
23682 * math/w_logl.c: Likewise.
23683 * math/w_sqrt.c: Likewise.
23684 * math/w_sqrtf.c: Likewise.
23685 * math/w_sqrtl.c: Likewise.
23686 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23689 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23690 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23691
ebaf36eb
JM
236922012-02-19 Joseph Myers <joseph@codesourcery.com>
23693
23694 [BZ #9739]
23695 * manual/string.texi (strnlen): Use correct parameter name in
23696 equivalent expression.
23697
71c254a6
JM
236982012-02-19 Joseph Myers <joseph@codesourcery.com>
23699
23700 [BZ #11174]
23701 * manual/users.texi (seteuid): Consistently use neweuid for
23702 argument name.
23703
16d2c631
JM
237042012-02-19 Joseph Myers <joseph@codesourcery.com>
23705
23706 [BZ #13704]
23707 * manual/nss.texi (Services in the NSS configuration): Correct
23708 list of services in example configuration file.
23709
cd837b09
NB
237102012-02-19 Nick Bowler <nbowler@draconx.ca>
23711
23712 [BZ #11322]
23713 * manual/arith.texi: Remove statements about negative zero
23714 behaving identically to zero.
23715
02c4bbad
JM
237162012-02-18 Joseph Myers <joseph@codesourcery.com>
23717
23718 [BZ #5993]
23719 * manual/install.texi: Do not document upgrading from libc5.
23720
366842e7
JM
237212012-02-18 Joseph Myers <joseph@codesourcery.com>
23722
23723 [BZ #4596]
23724 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23725
dd54084d
DM
237262012-02-18 David S. Miller <davem@davemloft.net>
23727
23728 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23729 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23730 %o7 across the call.
23731 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23732 instead.
23733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23734 SETUP_PIC_REG_LEAF.
23735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23736 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23737 * sysdeps/sparc/crtn.S: Likewise.
23738
2bcc53a3
UD
237392012-02-17 Ulrich Drepper <drepper@gmail.com>
23740
23741 * aout/Makefile: Remove.
23742
09c093b5
RK
237432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23744
23745 [BZ #13058]
23746 * manual/examples/argp-ex1.c (main): Format definition in GNU
23747 style.
23748 * manual/examples/argp-ex2.c (main): Likewise.
23749 * manual/examples/argp-ex3.c (main): Likewise.
23750 * manual/examples/argp-ex4.c (main): Likewise.
23751 * manual/examples/longopt.c (main): Use new-style prototype
23752 definition.
23753 * manual/examples/strncat.c (main): Specify return type and use
23754 (void) for arguments.
23755 * manual/examples/subopt.c (main): Use char **argv argument.
23756
2ee633a2
JM
237572012-02-17 Joseph Myers <joseph@codesourcery.com>
23758
23759 [BZ #5077]
23760 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23761 rounding modes.
23762
0520adde
FB
237632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23764
23765 [BZ #6907]
23766 * manual/string.texi (strchr): Change when strchrnul is
23767 recommended.
23768
3f4081cd
DGM
237692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23770
23771 [BZ #174]
23772 * manual/locale.texi (setlocale): Document LOCPATH.
23773
d1b10e78
JM
237742012-02-17 Joseph Myers <joseph@codesourcery.com>
23775
23776 [BZ #10210]
23777 * manual/process.texi (execle): Move @dots{} before last argument.
23778
79c6869c
PB
237792012-02-17 Paul Bolle <pebolle@tiscali.nl>
23780
23781 [BZ #12047]
23782 * manual/charset.texi (Generic Charset Conversion): Fix typo
23783 (LC_TYPE -> LC_CTYPE).
23784
cc6e48bc
NB
237852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23786
23787 [BZ #5805]
23788 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23789 (scalbnf): Likewise.
23790 (scalbnl): Likewise.
23791 (scalbln): Likewise.
23792 (scalblnf): Likewise.
23793 (scalblnl): Likewise.
23794 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23795 (vwarnx): Likewise.
23796 (verr): Likewise.
23797 (verrx): Likewise.
23798 * manual/filesys.texi (telldir): Use braces around return type.
23799 * manual/llio.texi (mmap): Add space after comma.
23800 (mmap64): Likewise.
23801 * manual/math.texi (jn): Use @var{} on parameter names.
23802 (jnf): Likewise.
23803 (jnl): Likewise.
23804 (yn): Likewise.
23805 (ynf): Likewise.
23806 (ynl): Likewise.
23807 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23808 line.
23809 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23810 "...".
23811 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23812 (sched_get_priority_max): Likewise.
23813 * manual/signal.texi (sigvec): Add space after comma.
23814 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23815 names.
23816 (if_indextoname): Likewise.
23817 (if_freenameindex): Likewise.
23818 (sendto): Use ',' instead of '.' in prototype.
23819 * manual/startup.texi (syscall): Use @dots{} instead of literal
23820 "...".
23821 * manual/stdio.texi (__fpending): Separate initial words of
23822 paragraph from @deftypefun line.
23823 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23824 "...".
23825 (vsyslog): Use @var{} on parameter names.
23826 * manual/terminal.texi (stty): Use @var{} on parameter names.
23827 * manual/users.texi (getutmp): Use @var{} on parameter names.
23828 (getutmpx): Likewise.
23829
5b23062f
JM
238302012-02-17 Joseph Myers <joseph@codesourcery.com>
23831
23832 [BZ #6884]
23833 * manual/stdio.texi (fopen): Fix typos in description of
23834 ",ccs=STRING".
23835
8dee4833
AJ
238362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23837
23838 [BZ #4026]
23839 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23840 get clock_id definition.
23841
9078ce93
TS
238422012-02-17 Thomas Schwinge <thomas@schwinge.name>
23843
23844 [BZ #4822]
23845 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23846 (madvise): Cast every argument to void on its own.
23847
3835c55f
JM
238482012-02-17 Joseph Myers <joseph@codesourcery.com>
23849
23850 [BZ #9902]
23851 * manual/startup.texi (Exit Status): Fix typo.
23852
35c47e37
JM
238532012-02-17 Joseph Myers <joseph@codesourcery.com>
23854
23855 [BZ #10140]
23856 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23857 * manual/examples/argp-ex2.c: Likewise.
23858 * manual/examples/argp-ex3.c: Likewise.
23859
e3b69ca7
RH
238602012-02-16 Richard Henderson <rth@redhat.com>
23861
23862 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23863 * sysdeps/s390/s390-32/initfini.c: Remove.
23864 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23865 * sysdeps/s390/s390-64/initfini.c: Remove.
23866
df83af67
KK
238672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23868
23869 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23870 compiler output for sysdeps/generic/initfini.c.
23871 * sysdeps/sh/elf/initfini.c: Remove file.
23872
f63f3380
DM
238732012-02-16 David S. Miller <davem@davemloft.net>
23874
fb59b3a4
DM
23875 [BZ #11494]
23876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23877
f63f3380
DM
23878 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23879 * sysdeps/sparc/crti.S: New file.
23880 * sysdeps/sparc/crtn.S: New file.
23881 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23882 * sysdeps/sparc/sparc64/Makefile: Likewise.
23883
df6a4a4a
MF
238842012-02-15 Mike Frysinger <vapier@gentoo.org>
23885
6dd8f3dc 23886 [BZ #3335]
df6a4a4a
MF
23887 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23888
1cac7236
RM
238892012-02-15 Roland McGrath <roland@hack.frob.com>
23890
d2c736f8
RM
23891 [BZ #4822]
23892 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23893
1cac7236
RM
23894 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23895 (write, read, close): Likewise.
23896 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23897
8e475601
JM
238982012-02-15 Joseph Myers <joseph@codesourcery.com>
23899
23900 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23901 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23902 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23903 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23904 <bits/signalfd.h>.
23905 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23907 bits/signalfd.h.
23908
ed656b40
MP
239092012-02-14 Marek Polacek <polacek@redhat.com>
23910
23911 * sysdeps/x86_64/crti.S: New file.
23912 * sysdeps/x86_64/crtn.S: New file.
23913 * sysdeps/x86_64/elf/initfini.c: Remove file.
23914
2a979d3a
JM
239152012-02-13 Joseph Myers <joseph@codesourcery.com>
23916
23917 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23918 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23919 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23920 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23921 <bits/inotify.h>.
23922 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23924 bits/inotify.h.
23925
2a418ac3
JM
239262012-02-13 Joseph Myers <joseph@codesourcery.com>
23927
23928 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23929 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23930 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23931 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23932 <bits/eventfd.h>.
23933 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23935 bits/eventfd.h.
23936
fb779be7
TS
239372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23938
e19e83c5
RM
23939 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23940 __feraiseexcept instead of feraiseexcept.
7c35ffed 23941
fb779be7
TS
23942 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23943 nanosleep invocations.
23944 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23945 strings, and add error checking for a nanosleep invocations.
23946
59ba27a6
PE
239472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23948
23949 Replace FSF snail mail address with URLs, as per GNU coding standards.
23950 Most of the snail mail addresses were wrong anyway, and omitting
23951 them makes the source code easier to maintain. Almost all of the
23952 changes are to license notices and to locale LC_IDENTIFICATION
23953 addresses, except for this one:
23954 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23955 not its snail mail address.
23956
57b957eb
RH
239572012-02-09 Richard Henderson <rth@twiddle.net>
23958
af850b1c
RH
23959 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23960 of kernel-features.h.
23961
57b957eb
RH
23962 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23963
6b73181a
MP
239642012-02-08 Marek Polacek <polacek@redhat.com>
23965
23966 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23967 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23968 * sysdeps/gnu/_G_config.h: Likewise.
23969 * sysdeps/generic/_G_config.h: Likewise.
23970
26ecc33a
AS
239712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23972
6c6dbc63
AS
23973 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23974 tests.
23975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23976
e216c012
AS
23977 * sysdeps/powerpc/powerpc32/crti.S: New file.
23978 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23979 * sysdeps/powerpc/powerpc64/crti.S: New file.
23980 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23981
26ecc33a
AS
23982 * Makeconfig (have-initfini): Don't set.
23983 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23984 * configure.in (nopic_initfini): Don't substitute.
23985 * config.h.in (HAVE_INITFINI): Don't #undef.
23986 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23987 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23988
3add8e13
JM
239892012-02-08 Joseph Myers <joseph@codesourcery.com>
23990
23991 Support crti.S and crtn.S provided directly by architectures.
23992 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23993 [crti.S in sysdirs] (omit-deps): Likewise.
23994 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23995 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23996 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23997 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23998 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23999 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24000 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24001 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24002 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24003 compiler output for sysdeps/generic/initfini.c.
24004 * sysdeps/i386/elf/Makefile: Remove file.
24005 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24006
a22f12b4
MP
240072012-02-07 Marek Polacek <polacek@redhat.com>
24008
24009 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24010 * sysdeps/gnu/_G_config.h: Likewise.
24011 * sysdeps/mach/hurd/_G_config.h: Likewise.
24012
148cf100
MP
240132012-02-07 Marek Polacek <polacek@redhat.com>
24014
24015 * math/Makefile (tests): Add tst-CMPLX2.
24016 * math/tst-CMPLX2.c: New file.
24017
cfdc0dd7
AS
240182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24019
84ba42c4
AS
24020 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24021
cfdc0dd7
AS
24022 * math/libm-test.inc (jn_test): Add missing L suffix.
24023
622c86f4
MP
240242012-02-06 Marek Polacek <polacek@redhat.com>
24025
24026 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24027 * sysdeps/i386/fpu/e_powf.S: Likewise.
24028 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24029 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24030 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24031 * sysdeps/i386/fpu/e_pow.S: Likewise.
24032 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24033 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24034 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24035 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24036 * sysdeps/i386/fpu/e_log2.S: Likewise.
24037 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24038 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24039 * sysdeps/i386/fpu/e_powl.S: Likewise.
24040 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24041 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24042 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24043 * sysdeps/i386/fpu/e_logl.S: Likewise.
24044 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24045 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24046 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24047 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24048 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24049 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24050 * sysdeps/i386/fpu/e_log.S: Likewise.
24051 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24053 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24054 * sysdeps/i386/fpu/e_logf.S: Likewise.
24055 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24056 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24057 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24058 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24059 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24060 * sysdeps/i386/fpu/e_log10.S: Likewise.
24061 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24062 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24063 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24064 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24065 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24066 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24067 * sysdeps/i386/asm-syntax.h: Likewise.
24068 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24069 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24070 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24071 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24072 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24073 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24074 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24075 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24076 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24077 * sysdeps/powerpc/sysdep.h: Likewise.
24078 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24079 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24080
d4a54ac6
JM
240812012-02-06 Joseph Myers <joseph@codesourcery.com>
24082
24083 [BZ #411]
24084 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24085
314054ea
JM
240862012-02-06 Joseph Myers <joseph@codesourcery.com>
24087
24088 * sysdeps/i386/sysdep.h: Include <features.h>.
24089 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24090 version.
24091
d8e0ca50
JM
240922012-02-05 Joseph Myers <joseph@codesourcery.com>
24093
24094 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24095 Define.
24096 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24097 LOAD_PIC_REG_STR.
24098
b1da7dd9
JM
240992012-02-03 Joseph Myers <joseph@codesourcery.com>
24100
24101 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24102 (SETUP_PIC_REG): Use GET_PC_THUNK.
24103 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24104 macro.
24105
9a1d9254
JM
241062012-02-03 Joseph Myers <joseph@codesourcery.com>
24107
24108 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24109 for non-PIC compilation.
24110 (SETUP_PIC_REG): Add .p2align directive.
24111 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24112 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24114 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24115 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24116 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24117 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24119 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24120 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24121 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24122 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24123 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24124 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24125 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24126 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24127 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24128 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24129 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24130 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24132 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24133 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24134 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24135 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24139 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24140 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24141 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24142 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24143 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24144 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24145 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24146 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24147 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24148 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24149 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24150 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24151 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24152
65dc3b75
JM
241532012-02-03 Joseph Myers <joseph@codesourcery.com>
24154
24155 * math/tst-CMPLX.c: Include <stdio.h>.
24156
d55bf177
JM
241572012-01-31 Joseph Myers <joseph@codesourcery.com>
24158
24159 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24160 float.
24161 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24162 * sysdeps/sparc/bits/mathdef.h: Likewise.
24163
69db4f8f
MP
241642012-01-31 Marek Polacek <polacek@redhat.com>
24165
24166 * libio/libio.h: Don't define _PARAMS.
24167 * locale/programs/config.h: Don't define PARAMS.
24168 * stdlib/strtol_l.c: Likewise.
24169 (__strtol_l): Remove PARAMS from the prototype.
24170
41b81892
UD
241712012-01-31 Ulrich Drepper <drepper@gmail.com>
24172
3b49edc0
UD
24173 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24174 names. Just use the correct names. Remove unnecessary wrapper
24175 functions.
24176 * malloc/arena.c: Likewise.
24177 * malloc/hooks.c: Likewise.
24178
41b81892
UD
24179 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24180 ARENA_TEST says not to. Simplify test for creation of a new arena.
24181 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24182
27a25b6e
UD
241832012-01-30 Ulrich Drepper <drepper@gmail.com>
24184
24185 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24186 into tail calls.
24187 (update_get_addr): New function.
24188 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24189 GET_ADDR_MODULE parameter.
24190
c8a89e7d
JM
241912012-01-30 Joseph Myers <joseph@codesourcery.com>
24192
24193 * crypt/cert.c: Remove __STDC__ conditionals.
24194 * crypt/crypt-entry.c: Likewise.
24195 * crypt/crypt_util.c: Likewise.
24196 * libio/filedoalloc.c: Likewise.
24197 * libio/fileops.c: Likewise.
24198 * libio/genops.c: Likewise.
24199 * libio/iofclose.c: Likewise.
24200 * libio/iofdopen.c: Likewise.
24201 * libio/iofopen.c: Likewise.
24202 * libio/iofopen64.c: Likewise.
24203 * libio/iogetdelim.c: Likewise.
24204 * libio/iopopen.c: Likewise.
24205 * libio/obprintf.c: Likewise.
24206 * libio/oldfileops.c: Likewise.
24207 * libio/oldiofclose.c: Likewise.
24208 * libio/oldiofdopen.c: Likewise.
24209 * libio/oldiofopen.c: Likewise.
24210 * libio/oldiopopen.c: Likewise.
24211 * libio/wfiledoalloc.c: Likewise.
24212 * libio/wgenops.c: Likewise.
24213 * locale/programs/xmalloc.c: Likewise.
24214 * misc/syslog.c: Likewise.
24215 * stdio-common/xbug.c: Likewise.
24216 * string/memchr.c: Likewise.
24217 * string/memcmp.c: Likewise.
24218 * string/memrchr.c: Likewise.
24219 * string/rawmemchr.c: Likewise.
24220 * sysdeps/posix/getcwd.c: Likewise.
24221 * time/strftime_l.c: Likewise.
24222
3b100462
JM
242232012-01-30 Joseph Myers <joseph@codesourcery.com>
24224
24225 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24226 * config.make.in (config-cflags-sse2avx): Define.
24227 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24228 Fix typo.
24229
607998af
CM
242302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24231
24232 * scripts/config.guess: Update from upstream config git repository.
24233 * scripts/config.sub: Likewise.
24234
3601428f
CM
242352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24236
3ac8b282
CM
24237 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24238 (EM_NUM): Update.
24239 (R_TILEPRO_*, R_TILEGX_*): New macros.
24240
e034841e
CM
24241 * scripts/firstversions.awk: Fix bug in version range handling.
24242
540d7568
CM
24243 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24244
3601428f
CM
24245 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24246
463de862
CM
24247 * include/sys/epoll.h: New file.
24248 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24249 libc_hidden_def.
24250
73139a76
UD
242512012-01-28 Ulrich Drepper <drepper@gmail.com>
24252
96bc5b45
UD
24253 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24254 Avoid unnecessary __WORDSIZE == 64 test.
24255 (fmaxf): Use VEX format if possible.
24256 (fmax): Likewise.
24257 (fminf): Likewise.
24258 (fmin): Likewise.
24259
56f6f6a2
UD
24260 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24261 * math/math_private.h: Remove libc_fegetround* and
24262 libc_fesetround*.
24263 * sysdeps/i386/configure.in: Check for -msse2avx.
24264 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24265 also if SSE2AVX is defined.
24266 Remove libc_fegetround* and libc_fesetround*.
24267 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24268 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24270 of HAS_YMM_USABLE.
24271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24276
73139a76
UD
24277 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24278
d73f93a4
AZ
242792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24280
24281 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24282 size is not set.
24283 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24284
6ee65ed6
UD
242852012-01-27 Ulrich Drepper <drepper@gmail.com>
24286
24287 [BZ #13618]
24288 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24289 relocation.
24290 * Makeconfig (libm): Define.
24291 * elf/Makefile: Add rules to build and run tst-relsort1.
24292 * elf/tst-relsort1.c: New file.
24293 * elf/tst-relsort1mod1.c: New file.
24294 * elf/tst-relsort1mod2.c: New file.
24295
8db21882
JM
242962012-01-27 Joseph Myers <joseph@codesourcery.com>
24297
24298 * math/s_ldexp.c: Remove __STDC__ conditionals.
24299 * math/s_ldexpf.c: Likewise.
24300 * math/s_ldexpl.c: Likewise.
24301 * math/s_nextafter.c: Likewise.
24302 * math/s_nexttowardf.c: Likewise.
24303 * math/s_significand.c: Likewise.
24304 * math/s_significandf.c: Likewise.
24305 * math/s_significandl.c: Likewise.
24306 * math/w_jnl.c: Likewise.
24307 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24308 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24309 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24310 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24311 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24312 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24313 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24314 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24316 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24317 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24318 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24319 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24321 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24322 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24324 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24326 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24327 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24328 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24329 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24330 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24331 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24332 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24333 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24334 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24335 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24336 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24337 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24338 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24339 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24340 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24341 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24342 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24343 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24344 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24345 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24346 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24347 * sysdeps/ieee754/k_standard.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24352 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24357 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24358 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24359 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24364 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24366 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24367 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24369 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24370 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24372 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24377 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24378 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24379 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24380 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24381 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24382 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24383 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24385 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24386 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24387 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24388 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24389 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24390 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24392 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24393 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24395 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24396 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24397 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24398 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24399 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24400 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24401 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24402 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24403 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24404 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24405 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24406 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24407 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24408 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24409 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24410 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24412 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24413 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24414 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24415 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24416 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24417 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24418 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24419 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24420 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24421 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24422 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24423 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24424 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24425 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24426 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24427 * sysdeps/ieee754/s_matherr.c: Likewise.
24428 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24432
965a54a4
JM
244332012-01-26 Joseph Myers <joseph@codesourcery.com>
24434
24435 * crypt/md5.h: Remove __STDC__ conditionals.
24436 * libio/libioP.h: Likewise.
24437 * locale/programs/config.h: Likewise.
24438 * sysdeps/generic/sysdep.h: Likewise.
24439 * sysdeps/i386/asm-syntax.h: Likewise.
24440 * sysdeps/s390/asm-syntax.h: Likewise.
24441 * sysdeps/unix/sysdep.h: Likewise.
24442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24444
7071ad79
JM
244452012-01-26 Joseph Myers <joseph@codesourcery.com>
24446
24447 * libio/libio.h: Remove __STDC__ conditionals.
24448 * malloc/obstack.h: Likewise.
24449 * math/complex.h: Likewise.
24450 * math/math.h: Likewise.
24451 * sysdeps/generic/_G_config.h: Likewise.
24452 * sysdeps/gnu/_G_config.h: Likewise.
24453 * sysdeps/mach/hurd/_G_config.h: Likewise.
24454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24455 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24456 * sysdeps/sparc/bits/mathdef.h: Likewise.
24457
afc5ed09
UD
244582012-01-26 Ulrich Drepper <drepper@gmail.com>
24459
24460 [BZ #13583]
24461 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24462 Clean up HAS_* macros.
afc5ed09 24463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24464 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24465 possible.
24466 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24467 HAS_AVX.
24468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24473
bdb6de1d
JM
244742012-01-25 Joseph Myers <joseph@codesourcery.com>
24475
24476 * elf/tst-unique3.cc (gets): Remove declaration.
24477 * elf/tst-unique3lib.cc (gets): Likewise.
24478 * elf/tst-unique3lib2.cc (gets): Likewise.
24479 * elf/tst-unique4.cc (gets): Likewise.
24480
b15549e6
UD
244812012-01-24 Ulrich Drepper <drepper@gmail.com>
24482
24483 * include/stdio.h: Add C++ protection. Add gets declarations and
24484 definitions.
24485 * debug/tst-chk1.c: Don't declare gets here.
24486 * stdio-common/tst-gets.c: Likewise.
24487
a037381f
JM
244882012-01-24 Joseph Myers <joseph@codesourcery.com>
24489
24490 * posix/glob: Remove directory.
24491
f1d4aa75
JM
244922012-01-24 Joseph Myers <joseph@codesourcery.com>
24493
24494 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24495
81c0c964
PT
244962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24497
24498 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24499 of the non-standard EPFNOSUPPORT.
24500
0ea698ae
ST
245012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24502
24503 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24504 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24505 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24506
d220b117
UD
245072012-01-21 Ulrich Drepper <drepper@gmail.com>
24508
24509 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24510
3e1aa84e
UD
245112012-01-20 Ulrich Drepper <drepper@gmail.com>
24512
24513 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24514 transient errors.
24515 * nscd/grpcache.c (cache_addgr): Likewise.
24516 * nscd/hstcache.c (cache_addhst): Likewise.
24517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24518 * nscd/pwdcache.c (cache_addpw): Likewise.
24519 * nscd/servicescache.c (cache_addserv): Likewise.
24520
400aa020
UD
245212012-01-16 Ulrich Drepper <drepper@gmail.com>
24522
d77e7869
UD
24523 * malloc/malloc.c: Various cleanups.
24524 * malloc/hooks.c: Likewise.
24525
400aa020
UD
24526 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24527 * stdlib/bug-fmtmsg1.c: New file.
24528
24529 * stdlib/fmtmsg.c (init): Add missing unlock.
24530 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24531
e0a309cf
MP
245322012-01-12 Marek Polacek <polacek@redhat.com>
24533
24534 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24535 and _GNU_SOURCE.
24536
929d11c7
WS
245372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24538
24539 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24540 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24541 macro to ensure uniqueness of label name.
24542 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24543 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24544
41d0e869
UD
245452012-01-11 Ulrich Drepper <drepper@gmail.com>
24546
0cc5ed3b
UD
24547 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24548
41d0e869
UD
24549 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24550 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24552 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24553
a47a831a
UD
245542012-01-10 Ulrich Drepper <drepper@gmail.com>
24555
daa891c0
UD
24556 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24557
24558 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24559 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24560 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24561
e58ef0f2
UD
24562 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24563
a47a831a 24564 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24565 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24566 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24568
24569 * math/bits/math-finite.h: Add ldexp support.
24570
a0bfc9c7
MP
245712012-01-10 Marek Polacek <polacek@redhat.com>
24572
24573 * locale/programs/localedef.h (show_archive_content): Add noreturn
24574 attribute.
24575
d6e97a1d
UD
245762012-01-09 Ulrich Drepper <drepper@gmail.com>
24577
24578 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24579
d5835c26
UD
245802012-01-08 Ulrich Drepper <drepper@gmail.com>
24581
e5f484c6
UD
24582 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24583
d5835c26
UD
24584 * io/Makefile (headers): Add bits/poll2.h.
24585
d1f741e9
WS
245862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24587
24588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24589 typo #include statement.
24590
ec09c1c4
UD
245912012-01-08 Ulrich Drepper <drepper@gmail.com>
24592
24593 * include/sys/cdefs.h: Define __attribute_alloc_size.
24594 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24595 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24596 * elf/pldd.c: Likewise.
24597 * iconv/iconv_charmap.c: Likewise.
24598 * iconv/iconvconfig.c: Likewise.
24599 * iconv/strtab.c: Likewise.
24600 * locale/programs/locale.c: Likewise.
24601 * locale/programs/localedef.h: Likewise.
24602 * locale/programs/simple-hash.c: Likewise.
24603 * nscd/nscd.h: Likewise.
24604 * nss/makedb.c: Likewise.
24605 * sysdeps/generic/ldconfig.h: Likewise.
24606 * locale/programs/localedef.c: Remove xmalloc prototype.
24607 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24608
20b38e03
PP
246092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24610
24611 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24612 appropriate.
24613
a0da5fe1
UD
246142012-01-08 Ulrich Drepper <drepper@gmail.com>
24615
1d5a644a 24616 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24617 * math/tst-CMPLX.c: New file.
1d5a644a 24618
8784a6db
UD
24619 * math/complex.h (CMPLXL): Fix typo.
24620
d9a216c0
UD
24621 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24622 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24623 GLIBC_2.16.
24624 * debug/tst-chk1.c: Add poll and ppoll tests.
24625 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24626 * include/sys/poll.h: Add hidden proto for ppoll.
24627 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24628 * sysdeps/mach/hurd/ppoll.c: Likewise.
24629 * io/ppoll.c: Likewise.
24630 * debug/poll_chk.c: New file.
24631 * debug/ppoll_chk.c: New file.
24632 * include/bits/poll2.h: New file.
24633 * io/bits/poll2.h: New file.
24634
ac097f5c
UD
24635 [BZ #1350]
24636 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24637
2119dcfa
UD
24638 * configure.in: static is always set to yes. Remove.
24639 * config.make.in: Don't set build-static.
24640 * Makeconfig: Remove use of build-static.
24641 * dlfcn/Makefile: Likewise.
24642 * elf/Makefile: Likewise.
24643 * math/Makefile: Likewise.
24644 * misc/Makefile: Likewise.
24645 * nptl/Makefile: Likewise.
24646 * sysdeps/mach/hurd/Makefile: Likewise.
24647
121766a9
UD
24648 * configure.in: PWD_P is not used anymore.
24649 * config.make.in: Remove PWD_P entry.
24650
51a1d39c 24651 * configure.in: Remove last remnants of RANLIB.
8720d066 24652 No need to check for signed size_t anymore.
215f4bdc
UD
24653 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24654 and IA-64.
3857022a 24655 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24656 * aclocal.m4: Likewise.
24657
d3ed7225
UD
24658 * wcsmbs/mbrtoc16.c: Implement using towc function.
24659 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24660 * wcsmbs/wcsmbsload.c: Likewise.
24661 * iconv/gconv_simple.c: Likewise.
24662 * iconv/gconv_int.h: Likewise.
24663 * iconv/gconv_builtin.h: Likewise.
24664 * iconv/iconv_prog.c: Remove CHAR16 handling.
24665
24666 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24667
24668 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24669
a0da5fe1
UD
24670 * configure.in: Remove --with-elf and --enable-bounded options.
24671 Dont set base_machine for ia64. More non-ELF conditions removed.
24672 Remove testing and setting of leading underscore information.
24673 * config.make.in (build-bounded): Set to no.
24674 * config.h.in: Remove NO_UNDERSCORES entry.
24675 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24676 them.
24677 * csu/start.c: Remove !NO_UNDERSCORE code.
24678 * locale/localeinfo.h: Likewise.
24679 * sysdeps/generic/machine-gmon.h: Likewise.
24680 * sysdeps/generic/sysdep.h: Likewise.
24681 * sysdeps/i386/sysdep.h: Likewise.
24682 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24683 * sysdeps/mach/sysdep.h: Likewise.
24684 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24685 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24686 * sysdeps/sh/sysdep.h: Likewise.
24687 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24688 * sysdeps/unix/i386/sysdep.S: Likewise.
24689 * sysdeps/unix/sparc/start.c: Likewise.
24690 * sysdeps/unix/sparc/sysdep.S: Likewise.
24691 * sysdeps/unix/sparc/sysdep.h: Likewise.
24692 * sysdeps/unix/start.c: Likewise.
24693 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24694 * sysdeps/x86_64/sysdep.h: Likewise.
24695
df78418a
UD
246962012-01-07 Ulrich Drepper <drepper@gmail.com>
24697
a784e502
UD
24698 [BZ #13553]
24699 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24700 for non-gcc.
24701 * argp/argp-fmtstream.h: Use const instead __const.
24702 * argp/argp.h: Likewise.
24703 * assert/assert.h: Likewise.
24704 * bits/fenv.h: Likewise.
24705 * bits/sched.h: Likewise.
24706 * bits/sigset.h: Likewise.
24707 * bits/sigthread.h: Likewise.
24708 * catgets/nl_types.h: Likewise.
24709 * conform/data/pthread.h-data: Likewise.
24710 * crypt/crypt-private.h: Likewise.
24711 * crypt/crypt.h: Likewise.
24712 * crypt/crypt_util.c: Likewise.
24713 * ctype/ctype.h: Likewise.
24714 * debug/execinfo.h: Likewise.
24715 * debug/mbsnrtowcs_chk.c: Likewise.
24716 * debug/mbsrtowcs_chk.c: Likewise.
24717 * debug/wcsnrtombs_chk.c: Likewise.
24718 * debug/wcsrtombs_chk.c: Likewise.
24719 * debug/wcstombs_chk.c: Likewise.
24720 * dirent/dirent.h: Likewise.
24721 * dlfcn/dlfcn.h: Likewise.
24722 * elf/neededtest4.c: Likewise.
24723 * grp/grp.h: Likewise.
24724 * gshadow/gshadow.h: Likewise.
24725 * iconv/gconv.h: Likewise.
24726 * iconv/gconv_int.h: Likewise.
24727 * iconv/gconv_simple.c: Likewise.
24728 * iconv/iconv.h: Likewise.
24729 * iconv/loop.c: Likewise.
24730 * iconv/skeleton.c: Likewise.
24731 * include/aio.h: Likewise.
24732 * include/aliases.h: Likewise.
24733 * include/argz.h: Likewise.
24734 * include/arpa/inet.h: Likewise.
24735 * include/assert.h: Likewise.
24736 * include/dirent.h: Likewise.
24737 * include/dlfcn.h: Likewise.
24738 * include/execinfo.h: Likewise.
24739 * include/fcntl.h: Likewise.
24740 * include/fenv.h: Likewise.
24741 * include/glob.h: Likewise.
24742 * include/grp.h: Likewise.
24743 * include/libintl.h: Likewise.
24744 * include/mntent.h: Likewise.
24745 * include/netdb.h: Likewise.
24746 * include/pwd.h: Likewise.
24747 * include/rpc/netdb.h: Likewise.
24748 * include/sched.h: Likewise.
24749 * include/search.h: Likewise.
24750 * include/shadow.h: Likewise.
24751 * include/signal.h: Likewise.
24752 * include/stdio.h: Likewise.
24753 * include/stdlib.h: Likewise.
24754 * include/string.h: Likewise.
24755 * include/sys/socket.h: Likewise.
24756 * include/sys/stat.h: Likewise.
24757 * include/sys/statfs.h: Likewise.
24758 * include/sys/statvfs.h: Likewise.
24759 * include/sys/syslog.h: Likewise.
24760 * include/sys/time.h: Likewise.
24761 * include/sys/uio.h: Likewise.
24762 * include/time.h: Likewise.
24763 * include/unistd.h: Likewise.
24764 * include/utmp.h: Likewise.
24765 * include/wchar.h: Likewise.
24766 * include/wctype.h: Likewise.
24767 * inet/aliases.h: Likewise.
24768 * inet/arpa/inet.h: Likewise.
24769 * inet/netinet/ether.h: Likewise.
24770 * inet/netinet/in.h: Likewise.
24771 * intl/libintl.h: Likewise.
24772 * io/bits/fcntl2.h: Likewise.
24773 * io/fcntl.h: Likewise.
24774 * io/ftw.h: Likewise.
24775 * io/sys/poll.h: Likewise.
24776 * io/sys/stat.h: Likewise.
24777 * io/sys/statfs.h: Likewise.
24778 * io/sys/statvfs.h: Likewise.
24779 * io/utime.h: Likewise.
24780 * libio/bits/stdio.h: Likewise.
24781 * libio/bits/stdio2.h: Likewise.
24782 * libio/libio.h: Likewise.
24783 * libio/libioP.h: Likewise.
24784 * libio/stdio.h: Likewise.
24785 * locale/lc-ctype.c: Likewise.
24786 * locale/locale.h: Likewise.
24787 * login/utmp.h: Likewise.
24788 * malloc/arena.c: Likewise.
24789 * malloc/malloc.c: Likewise.
24790 * malloc/malloc.h: Likewise.
24791 * malloc/mcheck.c: Likewise.
24792 * malloc/mtrace.c: Likewise.
24793 * math/bits/mathcalls.h: Likewise.
24794 * math/fenv.h: Likewise.
24795 * math/math_private.h: Likewise.
24796 * misc/bits/error.h: Likewise.
24797 * misc/bits/syslog.h: Likewise.
24798 * misc/err.h: Likewise.
24799 * misc/error.h: Likewise.
24800 * misc/fstab.h: Likewise.
24801 * misc/mntent.h: Likewise.
24802 * misc/regexp.h: Likewise.
24803 * misc/search.h: Likewise.
24804 * misc/sgtty.h: Likewise.
24805 * misc/sys/mman.h: Likewise.
24806 * misc/sys/syslog.h: Likewise.
24807 * misc/sys/uio.h: Likewise.
24808 * misc/sys/xattr.h: Likewise.
24809 * misc/ttyent.h: Likewise.
24810 * nis/rpcsvc/ypclnt.h: Likewise.
24811 * nss/nss.h: Likewise.
24812 * posix/bits/unistd.h: Likewise.
24813 * posix/fnmatch.h: Likewise.
24814 * posix/glob.h: Likewise.
24815 * posix/sched.h: Likewise.
24816 * posix/spawn.h: Likewise.
24817 * posix/sys/wait.h: Likewise.
24818 * posix/unistd.h: Likewise.
24819 * posix/wordexp.h: Likewise.
24820 * pwd/pwd.h: Likewise.
24821 * resolv/netdb.h: Likewise.
24822 * resource/sys/resource.h: Likewise.
24823 * rt/aio.h: Likewise.
24824 * rt/bits/mqueue2.h: Likewise.
24825 * rt/mqueue.h: Likewise.
24826 * shadow/shadow.h: Likewise.
24827 * signal/signal.h: Likewise.
24828 * socket/send.c: Likewise.
24829 * socket/sendto.c: Likewise.
24830 * socket/sys/socket.h: Likewise.
24831 * stdio-common/printf.h: Likewise.
24832 * stdlib/bits/stdlib.h: Likewise.
24833 * stdlib/fmtmsg.h: Likewise.
24834 * stdlib/monetary.h: Likewise.
24835 * stdlib/stdlib.h: Likewise.
24836 * stdlib/ucontext.h: Likewise.
24837 * streams/stropts.h: Likewise.
24838 * string/argz.h: Likewise.
24839 * string/bits/string2.h: Likewise.
24840 * string/string.h: Likewise.
24841 * string/strings.h: Likewise.
24842 * sunrpc/rpc/auth.h: Likewise.
24843 * sunrpc/rpc/auth_des.h: Likewise.
24844 * sunrpc/rpc/clnt.h: Likewise.
24845 * sunrpc/rpc/netdb.h: Likewise.
24846 * sunrpc/rpc/pmap_clnt.h: Likewise.
24847 * sunrpc/rpc/xdr.h: Likewise.
24848 * sysdeps/generic/inttypes.h: Likewise.
24849 * sysdeps/generic/net/if.h: Likewise.
24850 * sysdeps/generic/sys/swap.h: Likewise.
24851 * sysdeps/gnu/net/if.h: Likewise.
24852 * sysdeps/gnu/utmpx.h: Likewise.
24853 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24854 * sysdeps/i386/i486/bits/string.h: Likewise.
24855 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24856 * sysdeps/s390/bits/string.h: Likewise.
24857 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24858 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24859 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24860 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24861 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24862 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24863 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24864 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24865 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24866 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24867 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24868 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24869 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24870 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24871 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24872 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24873 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24875 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24877 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24878 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24879 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24880 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24881 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24882 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24883 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24885 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24886 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24887 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24888 * sysvipc/sys/ipc.h: Likewise.
24889 * sysvipc/sys/msg.h: Likewise.
24890 * sysvipc/sys/sem.h: Likewise.
24891 * sysvipc/sys/shm.h: Likewise.
24892 * termios/termios.h: Likewise.
24893 * time/sys/time.h: Likewise.
24894 * time/time.h: Likewise.
24895 * wcsmbs/bits/wchar2.h: Likewise.
24896 * wcsmbs/uchar.h: Likewise.
24897 * wcsmbs/wchar.h: Likewise.
24898 * wctype/wctype.h: Likewise.
24899
0269750c
UD
24900 [BZ #13551]
24901 * Makeconfig: Remove all but ELF support including AIX support.
24902 * Makerules: Likewise.
24903 * config.h.in: Likewise.
24904 * config.make.in: Likewise.
24905 * configure: Likewise.
24906 * configure.in: Likewise.
24907 * csu/Makefile: Likewise.
24908 * csu/version.c: Likewise.
24909 * debug/Makefile: Likewise.
24910 * dlfcn/Makefile: Likewise.
24911 * elf/Makefile: Likewise.
24912 * extra-lib.mk: Likewise.
24913 * iconv/Makefile: Likewise.
24914 * include/libc-symbols.h: Likewise.
24915 * include/shlib-compat.h: Likewise.
24916 * resolv/Makefile: Likewise.
24917 * resolv/res_libc.c: Likewise.
24918 * rt/Makefile: Likewise.
24919 * sysdeps/i386/asm-syntax.h: Likewise.
24920 * sysdeps/i386/sysdep.h: Likewise.
24921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24922 * sysdeps/mach/sysdep.h: Likewise.
24923 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24924 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24925 * sysdeps/s390/asm-syntax.h: Likewise.
24926 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24927 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24928 * sysdeps/sh/sysdep.h: Likewise.
24929 * sysdeps/unix/sparc/sysdep.h: Likewise.
24930 * sysdeps/wordsize-32/divdi3.c: Likewise.
24931 * sysdeps/x86_64/sysdep.h: Likewise.
24932
00bbd29b
UD
24933 * argp/Versions: Remove _argp_unlock_xxx.
24934
24935 [BZ #13559]
24936 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24937 * abilist/libBrokenLocale.abilist: Likewise.
24938 * abilist/libanl.abilist: Likewise.
24939 * abilist/libc.abilist: Likewise.
24940 * abilist/libcrypt.abilist: Likewise.
24941 * abilist/libdl.abilist: Likewise.
24942 * abilist/libm.abilist: Likewise.
24943 * abilist/libnsl.abilist: Likewise.
24944 * abilist/libpthread.abilist: Likewise.
24945 * abilist/libresolv.abilist: Likewise.
24946 * abilist/librt.abilist: Likewise.
24947 * abilist/libthread_db.abilist: Likewise.
24948 * abilist/libutil.abilist: Likewise.
24949 * abilist/libnss_db.abilist: New file.
24950
24951 * scripts/abilist.awk: Add support for indirect functions.
24952
a2693a0e
UD
24953 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24954
3f05895f
UD
24955 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24956
ecb6fb48
UD
24957 * shlib-versions: Remove entries for ports architectures.
24958
664f8cb9
UD
24959 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24960 files in ports.
24961 * elf/stackguard-macros.h: Remove support for IA-64.
24962 * elf/tst-auditmod1.c: Likewise.
24963 * sysdeps/generic/ldsodefs.h: Likewise.
24964
7ae81d88
UD
24965 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24966 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24967 configure files.
24968
bdeba135
UD
24969 [BZ #13552]
24970 * configure.in: Remove --enable-omitfp support.
24971 * FAQ.in: Adjust.
24972 * config.make.in: Likewise.
24973 * Makeconfig: Likewise.
24974 * manual/install.texi: Likewise.
24975
d75a0a62
UD
24976 In case anyone cares, the IA-64 architecture could move to ports.
24977 * sysdeps/ia64/*: Removed.
24978 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24979 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24980
dcc9756b
UD
24981 [BZ #13555]
24982 * configure.in: Remove entries for unsupported architectures.
24983
d3761ebc 24984 [BZ #13533]
9954432e
UD
24985 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24986 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24987 routines.
24988 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24989 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24990 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24991 fall back to using wcrtomb.
24992 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24993 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24994 renaming.
24995 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24996 * wcsmbs/tst-c16c32-1.c: New file.
24997
24998 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24999 local variable.
25000
c3a87236
UD
25001 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25002
28926a1b
UD
25003 * elf/tst-unique3.cc: Add explicit declaration of gets.
25004 * elf/tst-unique3lib.cc: Likewise.
25005 * elf/tst-unique3lib2.cc: Likewise.
25006 * elf/tst-unique4.cc: Likewise.
25007
df78418a
UD
25008 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25009
8ecd6b2a
JM
250102012-01-06 Joseph Myers <joseph@codesourcery.com>
25011
25012 [BZ #13566]
25013 * assert/assert.h (static_assert): Don't define for C++.
25014 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25015 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25016
9f115170
UD
250172012-01-03 Ulrich Drepper <drepper@gmail.com>
25018
5e0d0300
UD
25019 * iconv/loop.c (single loop): Fix assertion in storing of
25020 remaining bytes.
25021
9f115170
UD
25022 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25023
81fb02b0
UD
250242012-01-01 Ulrich Drepper <drepper@gmail.com>
25025
25026 * posix/getconf.c: Update copyright year.
25027 * nss/getent.c: Likewise.
a316c1f6 25028 * nss/makedb.c: Likewise.
81fb02b0
UD
25029 * iconv/iconvconfig.c: Likewise.
25030 * iconv/iconv_prog.c: Likewise.
25031 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25032 * elf/pldd.c: Likewise.
25033 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25034 * catgets/gencat.c: Likewise.
25035 * csu/version.c: Likewise.
25036 * elf/ldd.bash.in: Likewise.
25037 * elf/sprof.c (print_version): Likewise.
25038 * locale/programs/locale.c: Likewise.
25039 * locale/programs/localedef.c: Likewise.
a316c1f6 25040 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25041 * nscd/nscd.c (print_version): Likewise.
25042 * debug/xtrace.sh: Likewise.
25043 * malloc/memusage.sh: Likewise.
25044 * malloc/mtrace.pl: Likewise.
25045 * debug/catchsegv.sh: Likewise.
25046
2ba92745
JJ
250472011-12-30 Jakub Jelinek <jakub@redhat.com>
25048
25049 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25050 pure attribute.
25051
dadebdae
UD
250522011-12-24 Ulrich Drepper <drepper@gmail.com>
25053
d3761ebc 25054 [BZ #13533]
db6af3eb
UD
25055 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25056 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25057 transformations.
25058 * iconv/gconv_int.h: Likewise.
25059 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25060 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25061 from libc for GLIBC_2.16.
25062 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25063 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25064 * wcsmbs/uchar.h: Really define mbstate_t.
25065 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25066 * wcsmbs/c16rtomb.c: New file.
25067 * wcsmbs/mbrtoc16.c: New file.
25068 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25069 for C/POSIX locale.
25070 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25071 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25072
dadebdae
UD
25073 * wcsmbs/wchar.h: Add missing __restrict.
25074
67371b56
UD
250752011-12-23 Ulrich Drepper <drepper@gmail.com>
25076
74033a25
UD
25077 [BZ #13532]
25078 * time/Makefile (routines): Add timespec_get.
25079 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25080 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25081 timespec for ISO C11.
25082 * time/timespec_get.c: New file.
25083 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25084 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25085
380d7e87
UD
25086 [BZ #13531]
25087 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25088 * stdlib/stdlib.h: Declare aligned_alloc.
25089 * Versions.def: Add GLIBC_2.16 for libc.
25090 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25091
4e9e7a35
UD
25092 [BZ 13527]
25093 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25094 ISO C11.
25095
380d7e87 25096 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25097 code.
25098
03a71829
UD
25099 [BZ #13528]
25100 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25101
839e283e
UD
25102 [BZ #13529]
25103 * assert/assert.h (static_assert): Define.
25104
ce5294e2 25105 * version.h: Update for 2.16 development version.
90fa7312 25106
8d44e150 25107 [BZ #13526]
d7809905
UD
25108 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25109 _ISOC11_SOURCE.
25110
c0da14cd
UD
25111 * version.h (RELEASE): Bump for 2.15 release.
25112 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25113
530a3249
MP
25114 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25115 Patch by Marek Polacek <mpolacek@redhat.com>.
25116
67371b56
UD
25117 * bits/byteswap.h: Protect long long constants with __extension__.
25118 * sysdeps/i386/bits/byteswap.h: Likewise.
25119 * sysdeps/ia64/bits/byteswap.h: Likewise.
25120 * sysdeps/s390/bits/byteswap.h: Likewise.
25121 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25122
15db4de1
LD
251232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25124
25125 [BZ #13540]
bbe315ea
LD
25126 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25127 destination buffer.
15db4de1
LD
25128 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25129
2b2596b1
MP
251302011-12-23 Marek Polacek <polacek@redhat.com>
25131
25132 * elf/dl-addr.c (determine_info): Add inline keyword.
25133 * elf/tst-auditmod4b.c (check_avx): Likewise.
25134 * elf/tst-auditmod6b.c (check_avx): Likewise.
25135 * elf/tst-auditmod6c.c (check_avx): Likewise.
25136 * elf/tst-auditmod7b.c (check_avx): Likewise.
25137
70c6c246
UD
251382011-12-23 Ulrich Drepper <drepper@gmail.com>
25139
25140 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25141 !__SSE_MATH__.
25142
c044cf14
LD
251432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25144
15db4de1 25145 [BZ #13540]
c044cf14
LD
25146 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25147 processing for last bytes.
25148
6b13d9d9
BH
251492011-08-06 Bruno Haible <bruno@clisp.org>
25150
d455f537
BH
25151 [BZ #13061]
25152 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25153 U+0385, not to U+1FEE.
25154
6b13d9d9
BH
25155 [BZ #13062]
25156 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25157 entry for U+00A5 U+0301.
25158
db910efd
UD
251592011-12-22 Ulrich Drepper <drepper@gmail.com>
25160
27deeafc
UD
25161 [BZ #13166]
25162 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25163 buffer for the output is too small.
25164
aed9d171
UD
25165 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25166 optimization.
25167
db910efd
UD
25168 [BZ #13185]
25169 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25170 SSE flags if possible.
25171
2bd779ae
LD
251722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25173
e7f9dac3 25174 [BZ #13540]
2bd779ae
LD
25175 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25176 processing for last bytes.
25177
154bfc16
JM
251782011-12-22 Joseph Myers <joseph@codesourcery.com>
25179
25180 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25181 (syscall-list-default-options, syscall-list-default-condition)
25182 (syscall-list-includes): Define.
25183 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25184 list of ABIs and options and #if conditions for each ABI. Do not
25185 handle common syscalls between ABIs specially.
25186 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25187 Remove.
25188 (syscall-list-variants, syscall-list-32bit-options)
25189 (syscall-list-32bit-condition, syscall-list-64bit-options)
25190 (syscall-list-64bit-condition): Define.
25191 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25192 (syscall-list-variants, syscall-list-32bit-options)
25193 (syscall-list-32bit-condition, syscall-list-64bit-options)
25194 (syscall-list-64bit-condition): Define.
25195 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25196 Remove.
25197 (syscall-list-variants, syscall-list-32bit-options)
25198 (syscall-list-32bit-condition, syscall-list-64bit-options)
25199 (syscall-list-64bit-condition): Define.
25200 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25201 Remove.
25202 (syscall-list-variants, syscall-list-32bit-options)
25203 (syscall-list-32bit-condition, syscall-list-64bit-options)
25204 (syscall-list-64bit-condition): Define.
25205
21eaf3a5
UD
252062011-12-22 Ulrich Drepper <drepper@gmail.com>
25207
16c6f992
UD
25208 * locale/iso-639.def: Add brx entry.
25209
41043168
UD
25210 [BZ #13328]
25211 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25212 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25213
21eaf3a5
UD
25214 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25215 __feraiseexcept_renamed.
25216
e3a851a2
UD
252172011-12-21 Ulrich Drepper <drepper@gmail.com>
25218
4920765e
UD
25219 [BZ #13538]
25220 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25221 EPOLLET with unsigned values.
25222 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25223 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25224
e3a851a2
UD
25225 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25226 to large cancellation.
25227 * math/s_cacoshf.c: Likewise.
25228 * math/s_cacoshl.c: Likewise.
25229
b27e24b8
RK
252302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25231
25232 [BZ #13305]
aebefeee 25233 [BZ #12786]
b27e24b8
RK
25234 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25235 * math/s_cacoshf.c: Likewise.
25236 * math/s_cacoshl.c: Likewise.
25237
ee190f67
UD
252382011-12-21 Ulrich Drepper <drepper@gmail.com>
25239
25240 [BZ #13439]
25241 * iconv/gconv.h: Define __GCONV_SWAP.
25242 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25243 * iconvdata/utf-16.c: Likewise.
25244 * iconvdata/utf-32.c: Likewise.
25245
707f25df
AS
252462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25247
25248 [BZ #13524]
25249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25250 numerator after shifting it by one limb.
25251
d2daaa1e
RÁE
252522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25253
25254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25255 under [__USE_EXTERN_INLINES].
25256
a4647e72
UD
252572011-12-17 Ulrich Drepper <drepper@gmail.com>
25258
25259 [BZ #13446]
25260 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25261
f0b264f1
AZ
252622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25263
25264 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25265 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25266 optimized code.
25267 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25268 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25269 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25270 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25271 for strncasecmp/strncasecmp_l compilation.
25272 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25273 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25274
8ef4f244
MP
252752011-12-08 Marek Polacek <mpolacek@redhat.com>
25276
25277 [BZ #13484]
25278 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25279 of __asm__.
25280
97ac2654
UD
252812011-12-17 Ulrich Drepper <drepper@gmail.com>
25282
25283 [BZ #13506]
25284 * time/tzfile.c (__tzfile_read): Check values from file header.
25285
91d2a845
WS
252862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25287
25288 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25289 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25290 * powerpc/powerpc32/dl-start.S: Likewise.
25291 * powerpc/powerpc32/elf/start.S: Likewise.
25292 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25293 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25294 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25295 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25296 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25297 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25298 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25299 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25300 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25301 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25302 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25303 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25304 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25305 * powerpc/powerpc32/memset.S: Likewise.
25306 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25307 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25308 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25309 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25310 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25311 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25312 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25313 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25314 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25315 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25316 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25317 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25318 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25319
a1267ba1
AZ
253202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25321
25322 * math/libm-test.inc: Added more nearbyint tests.
25323 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25327
ad8ac1bd
RL
253282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25329
25330 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25331 FD_CLOEXEC.
25332
1d3e4b61
UD
253332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25334
25335 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25336 Add wcscpy-ssse3 wcscpy-c.
25337 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25338 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25339 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25340 * sysdeps/x86_64/wcschr.S: New file.
25341 * sysdeps/x86_64/wcsrchr.S: New file.
25342 * string/test-strcmp.c: Remove checking of wcscmp function for
25343 wrong alignments.
25344 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25345 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25346 wcsrchr-sse2 wcsrchr-c.
25347 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25348 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25349 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25350 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25351 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25352 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25353 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25354 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25355 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25356 * wcsmbc/wcschr.c (WCSCHR): New macro.
25357
5b330a2d
UD
253582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25359
25360 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25361 * wcsmbs/test-wcsrchr.c: New file.
25362 * string/test-strrchr.c: Add wcsrchr support.
25363 (WIDE): New macro.
25364 * wcsmbs/test-wcscpy.c: New file.
25365 * string/test-strcpy.c: Add wcscpy support.
25366 (WIDE): New macro.
26428b7c 25367
f039c043
UD
253682011-12-10 Ulrich Drepper <drepper@gmail.com>
25369
25370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25371 the inner loop.
25372
850fb039
AS
253732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25374
25375 [BZ #13472]
25376 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25377
4efbd5cb
UD
253782011-12-04 Ulrich Drepper <drepper@gmail.com>
25379
52ff5dd0 25380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25381 Minor optimizations.
52ff5dd0 25382
4efbd5cb
UD
25383 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25384 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25385 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25386
8a426e12
UD
253872011-12-03 Ulrich Drepper <drepper@gmail.com>
25388
aff2453d
UD
25389 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25390 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25391 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25392 for gcc to avoid warnings.
25393 * inet/Makefile (tests): Add tst-checks.
25394 * inet/tst-checks.c: New file.
25395
25396 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25397 warning.
25398
25399 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25400 __wmemcmp_sse2.
25401
25402 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25403 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25404
8a426e12
UD
25405 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25406
9bea3473
UD
254072011-12-02 Ulrich Drepper <drepper@gmail.com>
25408
3a965496
UD
25409 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25410 problem.
25411
9bea3473
UD
25412 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25413
f101631b
UD
254142011-11-29 Joseph Myers <joseph@codesourcery.com>
25415
25416 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25417 conditional on GCC version.
25418 (__arch_compare_and_exchange_val_8_acq)
25419 (__arch_compare_and_exchange_val_16_acq)
25420 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25421 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25422 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25423
a98275aa
UD
254242011-12-02 Joseph Myers <joseph@codesourcery.com>
25425
25426 * sysdeps/sh/backtrace.c: New file.
25427
d4cc29a2
AS
254282011-12-02 Andreas Schwab <schwab@redhat.com>
25429
25430 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25431 parenthesis.
25432
6257af2d
AS
254332011-12-01 Andreas Schwab <schwab@redhat.com>
25434
25435 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25436 falling back to utime.
25437
b5f44c1a
AS
254382011-11-30 Andreas Schwab <schwab@redhat.com>
25439
25440 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25441 expectations for float.
25442
f3a6cc0a
AS
254432011-11-29 Andreas Schwab <schwab@redhat.com>
25444
25445 * locale/weight.h (findidx): Add parameter len.
25446 * locale/weightwc.h (findidx): Likewise.
25447 * posix/fnmatch_loop.c (FCT): Adjust caller.
25448 * posix/regcomp.c (build_equiv_class): Likewise.
25449 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25450 * posix/regexec.c (check_node_accept_bytes): Likewise.
25451 * string/strcoll_l.c (STRCOLL): Likewise.
25452 * string/strxfrm_l.c (STRXFRM): Likewise.
25453
9d65ea3a
UD
254542011-11-17 Ulrich Drepper <drepper@gmail.com>
25455
25456 * Makefile.in: Remove CVSOPT handling.
25457 * configure.in: Remove use of AC_REVISION.
25458 * iconvdata/Makefile (distribute): No need to filter out CVS.
25459 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25460 handling.
25461
5583a086
AS
254622011-11-16 Andreas Schwab <schwab@redhat.com>
25463
25464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25465 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25466 [USE_AS_STRNCASECMP_L]: Likewise.
25467 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25468 NO_TLS_DIRECT_SEG_REFS.
25469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25470 Fix argument offsets for non-PIC.
25471 [USE_AS_STRNCASECMP_L]: Likewise.
25472 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25473 NO_TLS_DIRECT_SEG_REFS.
25474
d62a8200
UD
254752011-11-15 Ulrich Drepper <drepper@gmail.com>
25476
9d65ea3a 25477 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25478 O_CLOEXEC.
25479 * locale/loadlocale.c (_nl_load_locale): Likewise.
25480
09f93bd3
AS
254812011-11-15 Andreas Schwab <schwab@redhat.com>
25482
446514f9
AS
25483 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25484 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25485 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25486 (SYSCALL_GETTIME): Set errno on error.
25487
09f93bd3
AS
25488 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25489 count references to noai6ai_cached.
25490
312be3f9
UD
254912011-11-15 Ulrich Drepper <drepper@gmail.com>
25492
25493 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25494
25495 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25496 FD_CLOEXEC for /proc/self/maps.
25497
25498 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25499 FD_CLOEXEC for /proc/meminfo.
25500
25501 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25502 gai.conf.
25503
25504 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25505 FD_CLOEXEC for given file.
25506
25507 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25508
25509 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25510 FD_CLOEXEC for /etc/hosts.
25511 (_gethtent): Likewise.
25512
25513 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25514
25515 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25516 cancellation and set FD_CLOEXEC for /etc/netgroup.
25517
25518 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25519 reading /etc/publickey.
25520
25521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25522 allow cancellation when reading /etc/group.
25523
25524 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25525 cancellation.
25526 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25527
25528 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25529 when using data file.
25530
25531 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25532
25533 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25534 (write_nis_obj): Use "c" and "e" in fopen.
25535
25536 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25537
25538 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25539
25540 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25541
25542 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25543
25544 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25545 locale.alias.
25546
25547 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25548
25549 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25550
25551 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25552
25553 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25554 file parsing and set FD_CLOEXEC.
25555
82af0fa8
UD
255562011-11-14 Ulrich Drepper <drepper@gmail.com>
25557
25558 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25559
a5fb313c
AS
255602011-11-14 Andreas Schwab <schwab@redhat.com>
25561
25562 * malloc/arena.c (arena_get2): Don't call reused_arena when
25563 _int_new_arena failed.
25564
6abf3465
UD
255652011-11-14 Ulrich Drepper <drepper@gmail.com>
25566
25567 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25568 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25570 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25571 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25572 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25573 to compile strcasecmp and strncasecmp.
25574 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25575 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25576
25577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25578
76e3966e
UD
255792011-11-13 Ulrich Drepper <drepper@gmail.com>
25580
25581 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25582 locale-defines.sym to gen-as-const-headers.
25583 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25584 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25585 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25586 to compile strcasecmp and strncasecmp.
25587 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25588 strcasecmp_l and strncasecmp_l.
25589 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25590 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25591 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25592 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25593 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25594 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25595 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25596 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25597 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25598 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25599 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25600
ab26144e
UD
256012011-11-12 Ulrich Drepper <drepper@gmail.com>
25602
7edb22ef
UD
25603 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25604 result of SYSDEP_GETTIME_CPU to retval.
25605 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25606 parameter list to macro. Remove trailing semicolon. Adjust users.
25607
9694fc44
UD
25608 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25609 variable.
25610
8ad89ef8
UD
25611 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25612 mantissa words.
25613 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25614
0c822ef9
UD
25615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25616 from unused variable.
25617
874e0564
UD
25618 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25619 DWARF definitions.
25620 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25621 for assembling.
25622
3a2edc79
UD
25623 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25624 over namespaces.
25625
f3c2577f
UD
25626 * sunrpc/rpc_prot.c (rejected): Fix case value.
25627
294ce126
UD
25628 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25629 unsigned long long int to avoid warnings in shift.
25630
5e2b63c6
UD
25631 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25632 of use of trans.
25633 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25634 variable tmp.
25635
e7f4b08e
UD
25636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25637 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25638 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25639
ab26144e
UD
25640 * nis/nis_table.c (nis_list): Use variable of correct type for
25641 result of __follow_path call.
25642
8a6d5255
AZ
256432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25644
25645 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25646 of math functions ceil, trunc, floor, round, and sqrt, when
25647 avaliable on the platform.
25648 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25649 name clash.
25650 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25651 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25652 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25653
aaddc98c
MP
256542011-10-30 Marek Polacek <mpolacek@redhat.com>
25655
25656 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25657 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25658
95b7042b
RM
256592011-11-11 Roland McGrath <roland@hack.frob.com>
25660
25661 * include/unistd.h: Fix __readlink return type.
25662 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25663
57769839
UD
256642011-11-11 Ulrich Drepper <drepper@gmail.com>
25665
25666 * stdlib/ucontext.h: Undo last change for makecontext.
25667
edc5984d
AS
256682011-11-11 Andreas Schwab <schwab@redhat.com>
25669
98591e58
AS
25670 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25671
edc5984d
AS
25672 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25673 * setjmp/setjmp.h: Mark functions as non-leaf.
25674 * setjmp/bits/setjmp2.h: Likewise.
25675 * stdlib/ucontext.h: Likewise.
25676
77cdc054
AS
256772011-11-10 Andreas Schwab <schwab@redhat.com>
25678
25679 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25680 (reused_arena): Don't check arena limit.
25681 (arena_get2): Atomically check arena limit.
25682
fe72eebd
UD
256832011-11-08 Ulrich Drepper <drepper@gmail.com>
25684
5f078c32
UD
25685 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25686 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25687
fe72eebd
UD
25688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25689 instructions.
25690
ae1bc2fa
AS
256912011-11-07 Andreas Schwab <schwab@redhat.com>
25692
7583a88d
AS
25693 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25694 handler when locking.
25695
ae1bc2fa
AS
25696 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25697 Fix size of allocated buffer.
25698
10fb0bfa
AS
256992011-11-04 Andreas Schwab <schwab@redhat.com>
25700
998832a4
AS
25701 [BZ #10103]
25702 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25703 declarations for long double functions.
25704 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25705
10fb0bfa
AS
25706 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25707
3d7ba52b
AS
257082011-11-03 Andreas Schwab <schwab@redhat.com>
25709
a9ae54a1
AS
25710 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25711 installed.
25712
3d7ba52b
AS
25713 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25714 is disabled.
25715
bc8db248
ST
257162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25717
25718 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25719
45b96dd6
AS
257202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25721
647776f6
AS
25722 * include/alloca.h (stackinfo_alloca_round): Define.
25723 (extend_alloca): Use it.
25724 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25725 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25726 here.
25727
d91a8b93
AS
25728 * scripts/check-local-headers.sh: Ignore libaudit.h.
25729
45b96dd6
AS
25730 * nscd/Makefile (extra-objs): Make recursively expanded.
25731
432d41ce
UD
257322011-11-01 Ulrich Drepper <drepper@gmail.com>
25733
34372fc6
UD
25734 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25736
fadb59f8
UD
25737 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25738 * posix/tst-rfc3484-2.c: Likewise.
25739 * posix/tst-rfc3484-3.c: Likewise.
25740
78239589
UD
25741 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25742 process_vm_writev.
25743 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25744 process_vm_writev.
25745 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25746 process_vm_writev from libc using GLIBC_2.15 version.
25747
432d41ce
UD
25748 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25749
02f9c6cf
PP
257502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25751
25752 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25753 stack usage.
25754
3a2c0242
UD
257552011-10-31 Ulrich Drepper <drepper@gmail.com>
25756
f4ec4833
UD
25757 [BZ #13367]
25758 * nss/getent.c (initgroups_keys): Show error message in case no group
25759 names are given.
25760
3a2c0242
UD
25761 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25762 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25763 __bump_nl_timestamp.
25764 * nscd/connections (nscd_init): When host database is served open
25765 netlink socket and request notification about configuration changes.
25766 (main_loop_poll): Track netlink file descriptor and bump timestamp
25767 in case data becomes available.
25768 (main_loop_epoll): Likewise.
25769 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25770 (database_pers_head): Add extra_data fileds.
25771 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25772 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25773 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25774 Adjust caller.
25775 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25776 in6ai data, call __free_in6ai.
25777 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25778 Add -DHAVE_NETLINK.
25779 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25780 interface information. Reuse previous data if netlink timestamp
25781 is not changed.
25782 (__bump_nl_timestamp): New function.
25783 (__free_in6ai): New function.
25784
636064eb
UD
257852011-10-30 Ulrich Drepper <drepper@gmail.com>
25786
25787 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25788 close_not_cancel_no_status here.
25789 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25790
9beb2334
UD
257912011-10-29 Ulrich Drepper <drepper@gmail.com>
25792
6ef76f3b
UD
25793 [BZ #13276]
25794 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25795 return value.
25796
0ffc4f3e 25797 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25798 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25799 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25800
cb95113e
UD
258012011-07-03 Andreas Jaeger <aj@suse.de>
25802
25803 [BZ #10709]
25804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25805 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25806 * math/libm-test.inc (sin_test): Add test case.
25807
a1b560ff
UD
258082011-10-29 Ulrich Drepper <drepper@gmail.com>
25809
c9aaface
UD
25810 [BZ #13337]
25811 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25812 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25813
d272e7f1
UD
25814 * elf/chroot_canon.c (chroot_canon): Cleanups.
25815
1bc33071
UD
25816 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25817
1760874d
TJ
25818 [BZ #13335]
25819 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25820 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25821
51d91b18
UD
25822 * string/test-strchr.c: Make usable for strchrnul testing.
25823 * string/test-strchrnul.c: New file.
25824 * string/Makefile (strop-tests): Add strchrnul.
25825
a1b560ff 25826 * po/it.po: Update from translation team.
b611fb81 25827 * po/es.po: Likewise.
a1b560ff 25828
a5b81e1f
UD
258292011-10-28 Ulrich Drepper <drepper@gmail.com>
25830
fd52bc6d
UD
25831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25832 the three constants needed as parameters. Drop the others.
25833 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25834 __m128i_strloadu_tolower.
52e4b9eb
UD
25835 Create and initialize variable zero and use it in all the places
25836 where _mm_setzero_si128 was used.
fd52bc6d 25837
a5b81e1f
UD
25838 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25839 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25840 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25841 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25842 anymore.
25843 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25844 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25845 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25846 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25847 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25848 __mpranred, __mptan.
25849 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25850 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25851 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25852 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25853 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25854 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25855 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25856 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25857 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25858
b4343346
AS
258592011-10-28 Andreas Schwab <schwab@redhat.com>
25860
0c92d8a8
AS
25861 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25862 redefine if SHARED.
25863 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25864
b4343346
AS
25865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25866 wide char related routines to wcsmbs subdir.
25867
3871f58f
AS
258682011-10-27 Andreas Schwab <schwab@redhat.com>
25869
25870 [BZ #13344]
25871 * misc/sys/cdefs.h (__THROWNL): Define.
25872 * posix/unistd.h: Use __THREADNL instead of __THREAD
25873 for memory synchronization functions.
25874
94d44d9f
RM
258752011-10-26 Roland McGrath <roland@hack.frob.com>
25876
21b64b15 25877 [BZ #13349]
94d44d9f
RM
25878 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25879 doesn't exist.
25880 * manual/stdio.texi (Obstack Streams): Node removed.
25881
f6ce9294
AS
258822011-10-26 Andreas Schwab <schwab@redhat.com>
25883
80479147
AS
25884 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25885 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25886 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25887
f6ce9294
AS
25888 * math/math_private.h (math_force_eval): Allow non-addressable
25889 arguments.
25890 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25891
618280a1
UD
258922011-10-25 Ulrich Drepper <drepper@gmail.com>
25893
e0016b11
UD
25894 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25895 file is not needed.
25896
25897 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25898 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25899 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25900 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25903 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25904 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25905 Add AVX variants.
25906 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25907 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25908 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25909 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25910 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25911 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25912 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25913 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25914 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25915 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25916 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25917 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25919 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25920 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25921 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25922 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25923 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25924 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25925
25926 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25927 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25928
618280a1
UD
25929 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25930 place. Use VEX encoding when compiling for AVX.
25931
37822576
AS
259322011-10-25 Andreas Schwab <schwab@redhat.com>
25933
1f1e1947
AS
25934 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25935 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25936
37822576
AS
25937 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25938
31ea014d
UD
259392011-10-25 Ulrich Drepper <drepper@gmail.com>
25940
d7826aa1 25941 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25942 useless if() expression.
d7826aa1
UD
25943 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25944 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25945 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25946 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25947 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25951 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25954 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25955 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25956 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25957 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25958 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25959 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25960 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25961 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25962
31ea014d
UD
25963 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25964
16437fec
AS
259652011-10-25 Andreas Schwab <schwab@redhat.com>
25966
25967 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25968 condition.
25969 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25970
31d3cc00
UD
259712011-10-25 Ulrich Drepper <drepper@gmail.com>
25972
25973 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25974 .text section. Avoid duplicate constants.
25975 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25976 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25977 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25983 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25984 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25985 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25986 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25987 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25988 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25989 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25990 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25991 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25992 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25995 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25996 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25997 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25998 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25999 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26000 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26001 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26002 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26004 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26005 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26006 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26007 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26008 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26009 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26010 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26011 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26012 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26013 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26014 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26015 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26016 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26017 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26018 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26019 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26020
58985aa9
UD
260212011-10-24 Ulrich Drepper <drepper@gmail.com>
26022
202c9deb
UD
26023 * sysdeps/x86_64/dla.h: Move to ...
26024 * sysdeps/x86_64/fpu/dla.h: ...here.
26025 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26026 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26027
af968f62
UD
26028 * config.make.in: Add have-mfma4 entry.
26029 * configure.in: Substitute libc_cv_cc_fma4.
26030 * math/Makefile (dbl-only-routines): Add sincostab.
26031 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26032 Use __sincostab not sincos.
26033 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26034 name is a macro.
26035 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26039 using __copysign.
26040 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26041 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26042 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26043 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26044 and __inv.
26045 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26046 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26047 __copysign.
26048 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26049 define aliases when function name is a macro.
26050 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26051 sysdeps/ieee754/dbl-64/sincos.tbl.
26052 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26053 fma4-enabled routines.
26054 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26055 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26056 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26057 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26058 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26059 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26060 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26061 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26063 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26064 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26065 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26066 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26067 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26068 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26069 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26070 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26071 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26072 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26073 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26074 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26075 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26077 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26078 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26079 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26080 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26081 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26082 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26083 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26084
58985aa9
UD
26085 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26086 rename.
26087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26095
a201fbcf
AS
260962011-10-24 Andreas Schwab <schwab@redhat.com>
26097
26098 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26099
fc2ee42a
LD
261002011-10-23 Ulrich Drepper <drepper@gmail.com>
26101
bb3129bd
UD
26102 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26103
0275fff8
UD
26104 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26105 prediction.
26106 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26107
2fa2ae85
UD
26108 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26109 Remove unused variable magic_bits.
26110 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26111
fc2ee42a
LD
26112 * string/strnlen.c: Define and use STRNLEN macro.
26113 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26114 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26115 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26116 * wcsmbs/wcslen.c: Define and use WCSLEN.
26117 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26118 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26119 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26120 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26121 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26122 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26123 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26124
ce7dd29f
LD
261252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26126
26127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26128 strnlen-sse2-no-bsf.
26129 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26130 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26131 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26132 Add strnlen support.
26133 (USE_AS_STRNLEN): New macro.
26134 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26135 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26136 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26137 * sysdeps/x86_64/wcslen.S: New file.
26138
979c70a3
MZ
261392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26140
26141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26142 XMM-moves are used for copying on small sizes.
26143
2d09f82f
LD
261442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26145
26146 * wcsmbs/Makefile (strop-tests): Add wcschr.
26147 * wcsmbs/test-wcschr.c: New file.
26148 * string/test-strchr.c: Update.
26149 Add wcschr support.
26150 (WIDE): New macro.
26151
619fccca
LD
261522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26153
2d09f82f 26154 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26155 * wcsmbs/test-wcslen.c: New file.
26156 * string/test-strlen.c: Update.
26157 Add wcslen support.
26158 (WIDE): New macro.
26159
09f699ea
UD
261602011-10-23 Ulrich Drepper <drepper@gmail.com>
26161
26162 * po/it.po: Update from translation team.
26163
95584d3b
LD
261642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26165
26166 * sysdeps/x86_64/wcscmp.S: Update.
26167 Fix wrong comparison semantics.
26168 wcscmp shall use signed comparison not unsigned.
26169 Don't use substraction to avoid overflow bug.
26170 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26171 * wcsmbc/wcscmp.c: Likewise.
26172 * string/test-strcmp.c: Likewise.
26173 Add new tests to check cases with negative values.
26174
c8b3296b
UD
261752011-10-23 Ulrich Drepper <drepper@gmail.com>
26176
26177 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26178 * sysdeps/x86_64/dla.h: ...here. New file.
26179 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26186 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26187 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26188
246ad57a
AS
261892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26190
26191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26192 __ynl_finite aliases.
26193
a1a87169
UD
261942011-10-22 Ulrich Drepper <drepper@gmail.com>
26195
0d355eb7
UD
26196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26197
a1a87169
UD
26198 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26199 define DLA_FMA.
26200 [DLA_FMA] (EMULV): Use DLA_FMA.
26201 [DLA_FMA] (MUL12): Use EMULV.
26202 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26203 that are not needed.
26204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26211
ee2aafe0
AS
262122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26213
26214 * math/s_nan.c: Undef __nan.
26215 * math/s_nanf.c: Undef __nanf.
26216 * math/s_nanl.c: Undef __nanl.
26217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26218 "math_private.h".
26219
bc62c2fb
UD
262202011-10-22 Ulrich Drepper <drepper@gmail.com>
26221
77425c63
UD
26222 * math/s_catan.c: Add branch predictions.
26223 * math/s_catanf.c: Likewise.
26224 * math/s_catanh.c: Likewise.
26225 * math/s_catanhf.c: Likewise.
26226 * math/s_catanhl.c: Likewise.
26227 * math/s_catanl.c: Likewise.
26228 * math/s_cexp.c: Likewise.
26229 * math/s_cexpf.c: Likewise.
26230 * math/s_cexpl.c: Likewise.
26231 * math/s_clog.c: Likewise.
26232 * math/s_clog10.c: Likewise.
26233 * math/s_clog10f.c: Likewise.
26234 * math/s_clog10l.c: Likewise.
26235 * math/s_clogf.c: Likewise.
26236 * math/s_clogl.c: Likewise.
26237 * math/s_csqrt.c: Likewise.
26238 * math/s_csqrtf.c: Likewise.
26239 * math/s_csqrtl.c: Likewise.
26240 * math/s_ctanf.c: Likewise.
26241 * math/s_ctanh.c: Likewise.
26242 * math/s_ctanhf.c: Likewise.
26243 * math/s_ctanhl.c: Likewise.
26244 * math/s_ctanl.c: Likewise.
26245
bc62c2fb
UD
26246 * math/math_private.h: Define __nan, __nanf, __nanl.
26247 * math/s_cacosh.c: Include <math_private.h>.
26248 * math/s_cacoshl.c: Likewise.
26249 * math/s_casinh.c: Likewise.
26250 * math/s_casinhf.c: Likewise.
26251 * math/s_casinhl.c: Likewise.
26252 * math/s_ccos.c: Rely entire on ccosh.
26253 * math/s_ccosf.c: Rely entire on ccoshf.
26254 * math/s_ccosl.c: Rely entirely on ccoshl.
26255 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26256 Remove tests for FE_INVALID.
26257 * math/s_ccoshf.c: Likewise.
26258 * math/s_ccoshl.c: Likewise.
26259 * math/s_csin.c: Likewise.
26260 * math/s_csinf.c: Likewise.
26261 * math/s_csinh.c Likewise.
26262 * math/s_csinhf.c: Likewise.
26263 * math/s_csinhl.c: Likewise.
26264 * math/s_csinl.c: Likewise.
26265 * math/s_ctan.c: Likewise.
26266 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26267 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26268 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26269
8ec250a4
UD
262702011-10-21 Ulrich Drepper <drepper@gmail.com>
26271
c196fed8
UD
26272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26273 compilation problems.
26274
8ec250a4
UD
26275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26276 __builtin_expect.
26277
8d4f46c6
UD
262782011-10-20 Ulrich Drepper <drepper@gmail.com>
26279
ed72b654
UD
26280 * sysdeps/i386/configure.in: Test for -mfma4 option.
26281 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26282 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26283 COMMON_CPUID_INDEX_80000001.
26284 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26285 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26286 use it if FMA3 is not supported.
26287 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26288
8d4f46c6
UD
26289 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26290 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26291
d45c60c2
AS
262922011-10-20 Andreas Schwab <schwab@redhat.com>
26293
26294 [BZ #12892]
26295 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26296 it would create a cycle with a link time dependency.
26297
d9a4d2ab
UD
262982011-10-19 Ulrich Drepper <drepper@gmail.com>
26299
855d1560
UD
26300 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26301 instruction.
26302 * string/Makefile (strop-tests): Add rawmemchr.
26303 * string/test-rawmemchr.c: New file.
26304
d9a4d2ab
UD
26305 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26306 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26307 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26308 when compiling str{,n}casecmp and when AVX is available. Hook up
26309 new optimized code in initializers.
26310
8f3b1ffe
AS
263112011-10-19 Andreas Schwab <schwab@redhat.com>
26312
26313 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26314 __feraiseexcept instead of feraiseexcept.
26315
d38f1dba
UD
263162011-10-18 Ulrich Drepper <drepper@gmail.com>
26317
d9a8d0ab
UD
26318 * math/math_private.h: Define defaults for libc_fetestexcept and
26319 libc_feupdateenv.
26320 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26321 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26322 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26323 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26324 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26325 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26326 libc_fetestexcept and libc_feupdateenv.
26327
4855e3dd
UD
26328 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26329 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26330 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26331 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26332 libc_feholdexcept_setround.
26333
581d30e3
UD
26334 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26335 Add s_nearbyint-c and s_nearbyintf-c.
26336 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26337 nearbyintf inlines.
26338 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26339 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26340 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26341 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26342
d38f1dba
UD
26343 * math/math_private.h: Define defaults for libc_fegetround,
26344 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26345 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26346 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26347 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26348 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26349 standard functions.
26350 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26351 Remove comments and hacks for old compiler versions.
26352 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26353 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26354 libc_feholdexceptl.
26355
caa6c9d8
AS
263562011-10-18 Andreas Schwab <schwab@redhat.com>
26357
26358 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26359 (__feraiseexcept_renamed): Add __NTH.
26360 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26361 namespace violations.
26362
97c066e6
UD
263632011-10-17 Ulrich Drepper <drepper@gmail.com>
26364
99ce7b04
UD
26365 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26366
1004d182
UD
26367 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26368
228a984d
UD
26369 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26370 recently added interfaces.
26371 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26372
c8553a6a
UD
26373 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26374 about macro parameter expansion.
26375
ed22dcf6
UD
26376 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26377 __NO_MATH_INLINES is defined. Cleanups.
26378
26379 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26380 and __floorf is target has SSE4.1.
26381 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26382 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26383 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26384 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26385
b171c137
UD
26386 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26387 name.
26388 (floorf): Likewise.
26389
97c066e6
UD
26390 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26391
629f62ef
AS
263922011-10-17 Andreas Schwab <schwab@redhat.com>
26393
49a43d80
AS
26394 * misc/sys/cdefs.h: Fix last change.
26395
629f62ef
AS
26396 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26397 database lookup.
26398
e453f6cd
UD
263992011-10-16 Ulrich Drepper <drepper@gmail.com>
26400
aa78043a
UD
26401 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26402
ad0f5cad
UD
26403 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26408 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26409 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26410 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26411 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26412 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26413 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26414 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26415 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26416 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26417 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26418 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26419 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26420 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26421 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26422 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26423 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26424 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26425
26426 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26427 ceil, ceilf, floor, floorf.
26428
26429 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26430 Perform IRELATIVE relocations last.
26431
e453f6cd
UD
26432 * elf/do-rel.h: Add another parameter nrelative, replacing the
26433 local variable with the same name. Change name of the function
26434 to end in Rel or Rela (uppercase).
26435 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26436 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26437 elf_dynamic_do_##reloc function.
26438
fd5bdc09
UD
264392011-10-15 Ulrich Drepper <drepper@gmail.com>
26440
79b195b5
UD
26441 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26442 is sufficient, at least on modern CPUs.
26443
d4a28569
UD
26444 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26445
b61099b5
UD
26446 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26447 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26448
bcf01e6d
UD
26449 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26450 __expl_finite.
26451 * math/bits/math-finite.h: Add entries for exp.
26452 * math/e_expl.c: Add __*_finite alias.
26453 * sysdeps/i386/fpu/e_exp.S: Likewise.
26454 * sysdeps/i386/fpu/e_expf.S: Likewise.
26455 * sysdeps/i386/fpu/e_expl.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26457 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26458 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26460 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26461 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26462 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26463
ba1a0d59
UD
26464 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26465 is sufficient, at least on modern CPUs.
26466
fd5bdc09
UD
26467 * ctype/ctype-info.c (__ctype_init): Define.
26468 * include/ctype.h (__ctype_init): Declare.
26469 (__ctype_b_loc): The variable is always initialized.
26470 (__ctype_toupper_loc): Likewise.
26471 (__ctype_tolower_loc): Likewise.
26472 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26473 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26474
7872cfb0
AS
264752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26476
b468825a
AS
26477 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26478
7872cfb0
AS
26479 * configure.in: Also look in $cxxmachine/include for C++ system
26480 headers.
26481
be13f7bf
LD
264822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26483
26484 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26485 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26486 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26487 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26488 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26489 (USE_AS_WMEMCMP): New macro.
26490 Fixing indents.
26491 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26492 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26493 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26494 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26496 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26497 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26498 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26499 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26500 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26501 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26502 (USE_AS_WMEMCMP): New macro.
26503 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26504 * sysdeps/string/test-memcmp.c: Update.
26505 Fix simple_wmemcmp.
26506 Add new tests.
26507 * wcsmbs/wmemcmp.c: Update.
26508 (WMEMCMP): New macro.
26509 Fix overflow bug.
26510
556a2007
AJ
265112011-10-12 Andreas Jaeger <aj@suse.de>
26512
26513 [BZ #13268]
26514 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26515
538faaa7
UD
265162011-10-15 Ulrich Drepper <drepper@gmail.com>
26517
ab6737ff
UD
26518 * libio/iofwide.c (do_length): Avoid warning.
26519
538faaa7
UD
26520 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26521
396a21b1
UD
265222011-10-14 Ulrich Drepper <drepper@gmail.com>
26523
cdf2901f
UD
26524 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26525
38ad40ce
UD
26526 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26527 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26528 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26529 * sysdeps/i386/i686/fpu/e_log.S: New file.
26530 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26531 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26532
396a21b1
UD
26533 * ctype/ctype.h: Add support for inlined isXXX functions when
26534 compiling C++ code.
26535
6b1f68c9
AS
265362011-10-14 Andreas Schwab <schwab@redhat.com>
26537
349290c0
AS
26538 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26539
6b1f68c9
AS
26540 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26541
f2282d42
RM
265422011-10-13 Roland McGrath <roland@hack.frob.com>
26543
26544 [BZ #13291]
26545 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26546
5298ffa8
AS
265472011-10-13 Andreas Schwab <schwab@redhat.com>
26548
714fad23
AS
26549 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26550 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26551 feraiseexcept.
26552
81dcc7fb
AS
26553 * sysdeps/x86_64/memrchr.S: Check for zero size.
26554
5298ffa8
AS
26555 * string/stratcliff.c: Add memrchr tests.
26556
951fbcec
LD
265572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26558
26559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26560 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26561 rawmemchr-sse2 rawmemchr-sse2-bsf.
26562 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26563 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26564 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26565 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26566 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26567 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26568 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26569 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26570 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26571 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26572 * string/memrchr.c (MEMRCHR): New macro.
26573
0ac5ae23
UD
265742011-10-12 Ulrich Drepper <drepper@gmail.com>
26575
26576 Add integration with gcc's -ffinite-math-only and optimize wrapper
26577 functions in libm.
26578 * Versions.def: Define GLIBC_2.15 version for libm.
26579 * math/Makefile (headers): Add bits/math-finite.h.
26580 * math/bits/math-finite.h: New file.
26581 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26582 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26583 * math/e_acoshl.c: Add __*_finite alias.
26584 * math/e_acosl.c: Likewise.
26585 * math/e_asinl.c: Likewise.
26586 * math/e_atan2l.c: Likewise.
26587 * math/e_atanhl.c: Likewise.
26588 * math/e_coshl.c: Likewise.
26589 * math/e_exp10.c: Likewise.
26590 * math/e_exp10f.c: Likewise.
26591 * math/e_exp10l.c: Likewise.
26592 * math/e_exp2l.c: Likewise.
26593 * math/e_fmodl.c: Likewise.
26594 * math/e_gammal_r.c: Likewise.
26595 * math/e_hypotl.c: Likewise.
26596 * math/e_j0l.c: Likewise.
26597 * math/e_j1l.c: Likewise.
26598 * math/e_jnl.c: Likewise.
26599 * math/e_lgammal_r.c: Likewise.
26600 * math/e_log10l.c: Likewise.
26601 * math/e_log2l.c: Likewise.
26602 * math/e_logl.c: Likewise.
26603 * math/e_powl.c: Likewise.
26604 * math/e_sinhl.c: Likewise.
26605 * math/e_sqrtl.c: Likewise.
26606 * math/e_scalb.c: Completely rewritten and optimized.
26607 * math/e_scalbf.c: Likewise.
26608 * math/e_scalbl.c: Likewise.
26609 * math/w_acos.c: Likewise.
26610 * math/w_acosf.c: Likewise.
26611 * math/w_acosl.c: Likewise.
26612 * math/w_acosh.c: Likewise.
26613 * math/w_acoshf.c: Likewise.
26614 * math/w_acoshl.c: Likewise.
26615 * math/w_asin.c: Likewise.
26616 * math/w_asinf.c: Likewise.
26617 * math/w_asinl.c: Likewise.
26618 * math/w_atan2.c: Likewise.
26619 * math/w_atan2f.c: Likewise.
26620 * math/w_atan2l.c: Likewise.
26621 * math/w_atanh.c: Likewise.
26622 * math/w_atanhf.c: Likewise.
26623 * math/w_atanhl.c: Likewise.
26624 * math/w_exp10.c: Likewise.
26625 * math/w_exp10f.c: Likewise.
26626 * math/w_exp10l.c: Likewise.
26627 * math/w_fmod.c: Likewise.
26628 * math/w_fmodf.c: Likewise.
26629 * math/w_fmodl.c: Likewise.
26630 * math/w_j0.c: Likewise.
26631 * math/w_j0f.c: Likewise.
26632 * math/w_j0l.c: Likewise.
26633 * math/w_j1.c: Likewise.
26634 * math/w_j1f.c: Likewise.
26635 * math/w_j1l.c: Likewise.
26636 * math/w_jn.c: Likewise.
26637 * math/w_jnf.c: Likewise.
26638 * math/w_log.c: Likewise.
26639 * math/w_logf.c: Likewise.
26640 * math/w_logl.c: Likewise.
26641 * math/w_log10.c: Likewise.
26642 * math/w_log10f.c: Likewise.
26643 * math/w_log10l.c: Likewise.
26644 * math/w_log2.c: Likewise.
26645 * math/w_log2f.c: Likewise.
26646 * math/w_log2l.c: Likewise.
26647 * math/w_pow.c: Likewise.
26648 * math/w_powf.c: Likewise.
26649 * math/w_powl.c: Likewise.
26650 * math/w_remainder.c: Likewise.
26651 * math/w_remainderf.c: Likewise.
26652 * math/w_remainderl.c: Likewise.
26653 * math/w_scalb.c: Likewise.
26654 * math/w_scalbf.c: Likewise.
26655 * math/w_scalbl.c: Likewise.
26656 * math/w_sqrt.c: Likewise.
26657 * math/w_sqrtf.c: Likewise.
26658 * math/w_sqrtl.c: Likewise.
26659 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26660 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26661 used.
26662 * math/math_private.h: Declare __kernel_standard_f.
26663 * math/w_cosh.c: Remove cruft and optimize a bit.
26664 * math/w_coshf.c: Likewise.
26665 * math/w_coshl.c: Likewise.
26666 * math/w_exp2.c: Likewise.
26667 * math/w_exp2f.c: Likewise.
26668 * math/w_exp2l.c: Likewise.
26669 * math/w_hypot.c: Likewise.
26670 * math/w_hypotf.c: Likewise.
26671 * math/w_hypotl.c: Likewise.
26672 * math/w_lgamma.c: Likewise.
26673 * math/w_lgamma_r.c: Likewise.
26674 * math/w_lgammaf.c: Likewise.
26675 * math/w_lgammaf_r.c: Likewise.
26676 * math/w_lgammal.c: Likewise.
26677 * math/w_lgammal_r.c: Likewise.
26678 * math/w_sinh.c: Likewise.
26679 * math/w_sinhf.c: Likewise.
26680 * math/w_sinhl.c: Likewise.
26681 * math/w_tgamma.c: Likewise.
26682 * math/w_tgammaf.c: Likewise.
26683 * math/w_tgammal.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26686 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26687 Minor optimizations. Pretty printing. Remove cruft.
26688 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26689 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26690 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26692 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26693 * sysdeps/i386/fpu/e_asin.S: Likewise.
26694 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26695 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26696 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26697 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26698 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26699 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26700 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26701 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26702 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26703 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26704 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26705 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26706 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26707 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26708 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26709 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26710 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26711 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26712 * sysdeps/i386/fpu/e_log.S: Likewise.
26713 * sysdeps/i386/fpu/e_log10.S: Likewise.
26714 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26715 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26716 * sysdeps/i386/fpu/e_log2.S: Likewise.
26717 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26718 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26719 * sysdeps/i386/fpu/e_logf.S: Likewise.
26720 * sysdeps/i386/fpu/e_logl.S: Likewise.
26721 * sysdeps/i386/fpu/e_pow.S: Likewise.
26722 * sysdeps/i386/fpu/e_powf.S: Likewise.
26723 * sysdeps/i386/fpu/e_powl.S: Likewise.
26724 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26725 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26726 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26727 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26728 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26729 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26730 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26731 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26732 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26733 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26736 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26737 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26738 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26739 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26740 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26741 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26742 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26743 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26744 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26746 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26747 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26749 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26750 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26753 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26754 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26755 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26756 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26757 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26758 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26759 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26760 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26761 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26762 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26763 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26764 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26765 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26766 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26767 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26768 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26769 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26770 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26771 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26772 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26773 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26774 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26793 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26798 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26802 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26804 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26805 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26809 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26810 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26813 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26816 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26818 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26819 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26821 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26824 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26826 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26827 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26828 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26829 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26830 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26831 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26832 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26833 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26834 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26835 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26836 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26837 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26838 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26839 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26841 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26842 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26843 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26844 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26845 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26846 (__isnanf): Likewise.
26847 (__isinf_ns): Likewise.
26848 (__isinf_nsf): Likewise.
26849 (__finite): Likewise.
26850 (__finitef): Likewise.
26851 (__ieee754_sqrt): Define as macro.
26852 (__ieee754_sqrtf): Define as macro.
26853 (__ieee754_sqrtl): Define as macro.
26854 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26855 inlined copy.
26856 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26857 __FINITE_MATH_ONLY__ consistent.
26858 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26859
12cc2fcd
AS
268602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26861
a843a204
AS
26862 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26863 of rawmemchr.
26864
12cc2fcd
AS
26865 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26866
c853acd5
UD
268672011-10-09 Ulrich Drepper <drepper@gmail.com>
26868
26869 * po/ja.po: Update from translation team.
26870
c658d255
RM
268712011-10-08 Roland McGrath <roland@hack.frob.com>
26872
110946e4
RM
26873 * locale/programs/locarchive.c (prepare_address_space): New function.
26874 (create_archive, enlarge_archive, open_archive): Use it.
26875
50604220
RM
26876 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26877 inside [SHARED], where it is used.
26878
c658d255
RM
26879 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26880
26881 * nss/getent.c (netgroup_keys): Remove unused variable.
26882 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26883
6a621eb7
UD
268842011-10-08 Ulrich Drepper <drepper@gmail.com>
26885
7edb55ce
UD
26886 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26887 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26889 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26890 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26891 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26892 * math/Makefile (libm-calls): Add s_isinf_ns.
26893 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26894 * math/multc3.c: Likewise.
26895 * math/s_casin.c: Likewise.
26896 * math/s_casinf.c: Likewise.
26897 * math/s_casinl.c: Likewise.
26898 * math/s_ccos.c: Likewise.
26899 * math/s_ccosf.c: Likewise.
26900 * math/s_ccosl.c: Likewise.
26901 * math/s_ctan.c: Likewise.
26902 * math/s_ctanf.c: Likewise.
26903 * math/s_ctanh.c: Likewise.
26904 * math/s_ctanhf.c: Likewise.
26905 * math/s_ctanhl.c: Likewise.
26906 * math/s_ctanl.c: Likewise.
26907 * math/w_fmod.c: Likewise.
26908 * math/w_fmodf.c: Likewise.
26909 * math/w_fmodl.c: Likewise.
26910 * math/w_remainder.c: Likewise.
26911 * math/w_remainderf.c: Likewise.
26912 * math/w_remainderl.c: Likewise.
26913 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26914 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26915 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26917 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26918 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26919 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26920 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26921
187da0ae
UD
26922 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26923 of the number.
26924 * stdio-common/printf_fphex.c: Likewise.
26925 * stdio-common/printf_size.c: Likewise.
26926
9277c064
UD
26927 * math/e_exp10.c: Include math_private.h using <...> not "...".
26928 * math/e_exp10f.c: Likewise.
26929 * math/e_exp10l.c: Likewise.
26930 * math/e_exp2l.c: Likewise.
26931 * math/e_j0l.c: Likewise.
26932 * math/e_j1l.c: Likewise.
26933 * math/e_jnl.c: Likewise.
26934 * math/e_lgammal_r.c: Likewise.
26935 * math/e_rem_pio2l.c: Likewise.
26936 * math/e_scalb.c: Likewise.
26937 * math/e_scalbf.c: Likewise.
26938 * math/e_scalbl.c: Likewise.
26939 * math/k_cosl.c: Likewise.
26940 * math/k_sinl.c: Likewise.
26941 * math/k_tanl.c: Likewise.
26942 * math/s_cacoshf.c: Likewise.
26943 * math/s_catan.c: Likewise.
26944 * math/s_catanf.c: Likewise.
26945 * math/s_catanh.c: Likewise.
26946 * math/s_catanhf.c: Likewise.
26947 * math/s_catanhl.c: Likewise.
26948 * math/s_catanl.c: Likewise.
26949 * math/s_ccosh.c: Likewise.
26950 * math/s_ccoshf.c: Likewise.
26951 * math/s_ccoshl.c: Likewise.
26952 * math/s_cexp.c: Likewise.
26953 * math/s_cexpf.c: Likewise.
26954 * math/s_cexpl.c: Likewise.
26955 * math/s_clog.c: Likewise.
26956 * math/s_clog10.c: Likewise.
26957 * math/s_clog10f.c: Likewise.
26958 * math/s_clog10l.c: Likewise.
26959 * math/s_clogf.c: Likewise.
26960 * math/s_clogl.c: Likewise.
26961 * math/s_csin.c: Likewise.
26962 * math/s_csinf.c: Likewise.
26963 * math/s_csinh.c: Likewise.
26964 * math/s_csinhf.c: Likewise.
26965 * math/s_csinhl.c: Likewise.
26966 * math/s_csinl.c: Likewise.
26967 * math/s_csqrt.c: Likewise.
26968 * math/s_csqrtf.c: Likewise.
26969 * math/s_csqrtl.c: Likewise.
26970 * math/s_ctan.c: Likewise.
26971 * math/s_ctanf.c: Likewise.
26972 * math/s_ctanh.c: Likewise.
26973 * math/s_ctanhf.c: Likewise.
26974 * math/s_ctanhl.c: Likewise.
26975 * math/s_ctanl.c: Likewise.
26976 * math/s_ldexp.c: Likewise.
26977 * math/s_ldexpf.c: Likewise.
26978 * math/s_ldexpl.c: Likewise.
26979 * math/s_significand.c: Likewise.
26980 * math/s_significandf.c: Likewise.
26981 * math/s_significandl.c: Likewise.
26982 * math/w_acos.c: Likewise.
26983 * math/w_acosf.c: Likewise.
26984 * math/w_acosh.c: Likewise.
26985 * math/w_acoshf.c: Likewise.
26986 * math/w_acoshl.c: Likewise.
26987 * math/w_acosl.c: Likewise.
26988 * math/w_asin.c: Likewise.
26989 * math/w_asinf.c: Likewise.
26990 * math/w_asinl.c: Likewise.
26991 * math/w_atan2.c: Likewise.
26992 * math/w_atan2f.c: Likewise.
26993 * math/w_atan2l.c: Likewise.
26994 * math/w_atanh.c: Likewise.
26995 * math/w_atanhf.c: Likewise.
26996 * math/w_atanhl.c: Likewise.
26997 * math/w_cosh.c: Likewise.
26998 * math/w_coshf.c: Likewise.
26999 * math/w_coshl.c: Likewise.
27000 * math/w_dremf.c: Likewise.
27001 * math/w_exp10.c: Likewise.
27002 * math/w_exp10f.c: Likewise.
27003 * math/w_exp10l.c: Likewise.
27004 * math/w_exp2.c: Likewise.
27005 * math/w_exp2f.c: Likewise.
27006 * math/w_fmod.c: Likewise.
27007 * math/w_fmodf.c: Likewise.
27008 * math/w_fmodl.c: Likewise.
27009 * math/w_hypot.c: Likewise.
27010 * math/w_hypotf.c: Likewise.
27011 * math/w_hypotl.c: Likewise.
27012 * math/w_j0.c: Likewise.
27013 * math/w_j0f.c: Likewise.
27014 * math/w_j0l.c: Likewise.
27015 * math/w_j1.c: Likewise.
27016 * math/w_j1f.c: Likewise.
27017 * math/w_j1l.c: Likewise.
27018 * math/w_jn.c: Likewise.
27019 * math/w_jnf.c: Likewise.
27020 * math/w_jnl.c: Likewise.
27021 * math/w_lgamma.c: Likewise.
27022 * math/w_lgamma_r.c: Likewise.
27023 * math/w_lgammaf.c: Likewise.
27024 * math/w_lgammaf_r.c: Likewise.
27025 * math/w_lgammal.c: Likewise.
27026 * math/w_lgammal_r.c: Likewise.
27027 * math/w_log.c: Likewise.
27028 * math/w_log10.c: Likewise.
27029 * math/w_log10f.c: Likewise.
27030 * math/w_log10l.c: Likewise.
27031 * math/w_log2.c: Likewise.
27032 * math/w_log2f.c: Likewise.
27033 * math/w_log2l.c: Likewise.
27034 * math/w_logf.c: Likewise.
27035 * math/w_logl.c: Likewise.
27036 * math/w_pow.c: Likewise.
27037 * math/w_powf.c: Likewise.
27038 * math/w_powl.c: Likewise.
27039 * math/w_remainder.c: Likewise.
27040 * math/w_remainderf.c: Likewise.
27041 * math/w_remainderl.c: Likewise.
27042 * math/w_scalb.c: Likewise.
27043 * math/w_scalbf.c: Likewise.
27044 * math/w_scalbl.c: Likewise.
27045 * math/w_sinh.c: Likewise.
27046 * math/w_sinhf.c: Likewise.
27047 * math/w_sinhl.c: Likewise.
27048 * math/w_sqrt.c: Likewise.
27049 * math/w_sqrtf.c: Likewise.
27050 * math/w_sqrtl.c: Likewise.
27051 * math/w_tgamma.c: Likewise.
27052 * math/w_tgammaf.c: Likewise.
27053 * math/w_tgammal.c: Likewise.
27054
6a621eb7
UD
27055 * po/ja.po: Update from translation team.
27056
bf582445
AJ
270572011-09-29 Andreas Jaeger <aj@suse.de>
27058
f9efbf3a
AJ
27059 [BZ #13179]
27060 * sunrpc/netname.c (netname2host): Fix logic.
27061
bf582445
AJ
27062 [BZ #6779]
27063 [BZ #6783]
27064 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27065 correctly.
27066 * math/w_remainder.c (__remainder): Likewise.
27067 * math/w_remainderf.c (__remainderf): Likewise.
27068 * math/libm-test.inc (remainder_test): Add test cases.
27069
48693bea
AK
270702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27071
27072 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27073 sdiv_qrnnd.
27074
42622229
LD
270752011-10-07 Ulrich Drepper <drepper@gmail.com>
27076
27077 * string/test-memcmp.c: Avoid unncessary #defines.
27078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27079
093ecf92
LD
270802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27081
27082 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27083 Use new sse2 version for core i3 - i7 as it's faster
27084 than sse42 version.
27085 (bit_Prefer_PMINUB_for_stringop): New.
27086 * sysdeps/x86_64/rawmemchr.S: Update.
27087 Replace with faster SSE2 version.
27088 * sysdeps/x86_64/memrchr.S: New file.
27089 * sysdeps/x86_64/memchr.S: Update.
27090 Replace with faster SSE2 version.
27091
fde56e5c
MP
270922011-09-12 Marek Polacek <mpolacek@redhat.com>
27093
27094 * elf/dl-load.c (lose): Add cast to avoid warning.
27095
21fd49a9
UD
270962011-10-07 Ulrich Drepper <drepper@gmail.com>
27097
5a06e643
UD
27098 * po/ca.po: Update from translation team.
27099
684ae515
UD
27100 * inet/getnetgrent_r.c: Hook up nscd.
27101 * nscd/Makefile (routines): Add nscd_netgroup.
27102 (nscd-modules): Add netgroupcache.
27103 (CFLAGS-netgroupcache.c): Define.
27104 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27105 (cache_search): Add const to second parameter.
27106 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27107 INNETGR.
27108 (dbs): Add netgrdb entry.
27109 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27110 (verify_persistent_db): Handle netgrdb.
27111 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27112 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27113 GETFDNETGR.
27114 (netgroup_response_header): Define.
27115 (innetgroup_response_header): Define.
27116 (datahead): Add netgroup_response_header and innetgroup_response_header
27117 elements.
27118 * nscd/nscd.conf: Add entries for netgroup cache.
27119 * nscd/nscd.h (dbtype): Add netgrdb.
27120 (_PATH_NSCD_NETGROUP_DB): Define.
27121 (netgroup_iov_disabled): Declare.
27122 (xmalloc, xcalloc, xrealloc): Move declarations here.
27123 (cache_search): Adjust prototype.
27124 Add netgroup-related prototypes.
27125 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27126 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27127 (__nscd_innetgr): Declare.
27128 * nscd/selinux.c (perms): Use access_vector_t as element type and
27129 add netgroup-related initializers.
27130 * nscd/netgroupcache.c: New file.
27131 * nscd/nscd_netgroup.c: New file.
27132 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27133 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27134 For four parameters use innetgr.
27135 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27136 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27137 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27138 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27139
21fd49a9
UD
27140 * nscd/connections.c (register_traced_file): Don't register file
27141 for disabled databases.
27142
054c0457
UD
271432011-10-06 Ulrich Drepper <drepper@gmail.com>
27144
32b63198
UD
27145 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27146
054c0457
UD
27147 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27148 from tree and freeing node.
27149
64031225
JO
271502011-09-25 Jiri Olsa <jolsa@redhat.com>
27151
27152 * nss/nsswitch.c (__nss_database_lookup): Handle
27153 nss_parse_service_list out of memory case.
27154
0490345c
JO
271552011-09-15 Jiri Olsa <jolsa@redhat.com>
27156
27157 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27158 out of memory case.
27159
3a62d00d
AS
271602011-10-04 Andreas Schwab <schwab@redhat.com>
27161
27162 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27163 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27164 pass it down.
27165 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27166 elf_machine_rela, elf_machine_lazy_rel.
27167 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27168 (ELF_DYNAMIC_DO_REL): Likewise.
27169 (ELF_DYNAMIC_DO_RELA): Likewise.
27170 (ELF_DYNAMIC_RELOCATE): Likewise.
27171 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27172 to ELF_DYNAMIC_DO_REL.
27173 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27174 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27175 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27176 elf_machine_rela.
27177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27178 skip_ifunc, don't call ifunc function if non-zero.
27179 (elf_machine_rela): Likewise.
27180 (elf_machine_lazy_rel): Likewise.
27181 (elf_machine_lazy_rela): Likewise.
27182 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27183 (elf_machine_lazy_rel): Likewise.
27184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27185 Likewise.
27186 (elf_machine_lazy_rel): Likewise.
27187 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27188 Likewise.
27189 (elf_machine_lazy_rel): Likewise.
27190 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27191 (elf_machine_lazy_rel): Likewise.
27192 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27193 (elf_machine_lazy_rel): Likewise.
27194 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27195 (elf_machine_lazy_rel): Likewise.
27196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27197 (elf_machine_lazy_rel): Likewise.
27198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27199 (elf_machine_lazy_rel): Likewise.
27200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27201 (elf_machine_lazy_rel): Likewise.
27202
68577918
UD
272032011-09-28 Ulrich Drepper <drepper@gmail.com>
27204
27205 * nss/nss_files/files-init.c (_nss_files_init): Use static
27206 initialization for all the *_traced_file variables.
27207
68822d74
AS
272082011-09-28 Andreas Schwab <schwab@redhat.com>
27209
27210 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27211
2056100b
RM
272122011-09-27 Roland McGrath <roland@hack.frob.com>
27213
27214 [BZ #13226]
27215 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27216
32c76b63
AS
272172011-09-27 Andreas Schwab <schwab@redhat.com>
27218
27219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27220 Reread the line before reparsing it.
27221
bf972c9d
AS
272222011-09-26 Andreas Schwab <schwab@redhat.com>
27223
27224 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27225
e057a1b5
JM
272262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27227 Maxim Kuvyrkov <maxim@codesourcery.com>
27228 Joseph Myers <joseph@codesourcery.com>
27229
27230 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27231 if needed for __stack_chk_guard.
27232
bc7e1c36
RM
272332011-09-19 Roland McGrath <roland@hack.frob.com>
27234
ecb1482f
RM
27235 * sysdeps/posix/spawni.c (script_execute): Always define it.
27236 It will be optimized away if unused.
27237 (maybe_script_execute): New function.
27238 (__spawni): Call it.
27239
bc7e1c36
RM
27240 * Makerules: Don't include tls.make.
27241 (config-tls): Always set to thread.
27242 * tls.make.c: File removed.
27243
1c3b002b
MF
272442011-09-19 Mike Frysinger <vapier@gentoo.org>
27245
27246 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27247 * config.make.in (CPPFLAGS-config): New substituted variable.
27248
2840865d
UD
272492011-09-15 Ulrich Drepper <drepper@gmail.com>
27250
88738eb6
UD
27251 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27252
cbf645a6 27253 [BZ #13192]
2840865d
UD
27254 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27255 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27256
b402e91a
RM
272572011-09-15 Roland McGrath <roland@hack.frob.com>
27258
27259 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27260 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27262 (CALL_FAIL): Likewise.
27263 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27264 (CALL_FAIL): Macro removed.
27265 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27266
4c1a1f71
UD
272672011-09-15 Ulrich Drepper <drepper@gmail.com>
27268
27269 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27270 for __FINITE_MATH_ONLY__ == 1.
27271
edc121be
AS
272722011-09-15 Andreas Schwab <schwab@redhat.com>
27273
27274 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27275 __ieee754_sqrt instead of sqrt.
27276 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27277 __ieee754_sqrtf instead of sqrtf.
27278 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27279 __floorf instead of floorf.
27280 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27281 __floorf, __truncf instead of floorf, truncf.
27282
cd205654
UD
272832011-09-14 Ulrich Drepper <drepper@gmail.com>
27284
ee4d0315
UD
27285 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27286
cd205654
UD
27287 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27288 __extern_always_inline.
27289 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27290 32-bit.
27291
48b67d71
AS
272922011-09-14 Andreas Schwab <schwab@redhat.com>
27293
27294 * elf/rtld.c (dl_main): Also relocate in dependency order when
27295 doing symbol dependency testing.
27296
1ae12c75
AS
272972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27298
27299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27300 Always define `refsym'.
27301
995a80df
AS
273022011-09-13 Andreas Schwab <schwab@redhat.com>
27303
e529793b
AS
27304 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27305 (__FD_ELT): Renamed from __FDELT.
27306 * misc/bits/select2.h (__FD_ELT): Likewise.
27307 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27308 __FD_MASK instead of __FDELT, __FDMASK.
27309 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27310 Likewise.
27311 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27312 Likewise.
27313
52d4fef8
AS
27314 * elf/Makefile (gen-ldd): Fix pattern.
27315
995a80df
AS
27316 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27317 (init_tls): Likewise.
27318
8682f8b0
UD
273192011-09-12 Ulrich Drepper <drepper@gmail.com>
27320
27321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27322
de82006d
AS
273232011-09-12 Andreas Schwab <schwab@redhat.com>
27324
a7c8e6a1
AS
27325 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27326 `struct cmsghdr *' instead of `void *'.
27327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27328 Likewise.
27329
0f31fe77
AS
273302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27331
27332 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27333 if non-absolute.
27334 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27335 ldd_rewrite_script.
0f31fe77 27336
32b4c839
UD
273372011-09-11 Ulrich Drepper <drepper@gmail.com>
27338
83cd1420
UD
27339 * configure.in: Remove --with-tls option.
27340 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27341 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27342 out in case it is missing.
27343 * sysdeps/ia64/elf/configure.in: Likewise.
27344 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27345 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27346 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27347 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27348 * sysdeps/sh/elf/configure.in: Likewise.
27349 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27350 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27351 * sysdeps/x86_64/elf/configure.in: Likewise.
27352 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27353 * sysdeps/mach/hurd/tls.h: Likewise.
27354
633f745d
UD
27355 [BZ #13067]
27356 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27357
f318beb8
UD
27358 [BZ #13090]
27359 * configure.in: Fix use of AC_INIT.
27360
32b4c839
UD
27361 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27362
3ce1f295
UD
273632011-09-10 Ulrich Drepper <drepper@gmail.com>
27364
bb016596
UD
27365 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27366 __set_errno.
8e58439c
UD
27367 * malloc/hooks.c: Likewise.
27368
aebae053 27369 [BZ #11929]
02d46fc4
UD
27370 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27371 variables statically.
27372 (narenas): Initialize.
27373 (list_lock): Initialize.
bb016596
UD
27374 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27375 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27376 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27377 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27378 Add initializers to main_arena and mp_.
27379 (malloc_state): Remove pagesize member. Change all users to use
27380 GLRO(dl_pagesize).
27381
27382 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27383 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27384 is always initialized.
27385
22a89187
UD
27386 * malloc/malloc.c: Removed unused configurations and dead code.
27387 * malloc/arena.c: Likewise.
27388 * malloc/hooks.c: Likewise.
02d46fc4 27389 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27390
d063d164
UD
27391 * include/tls.h: Removed. USE___THREAD must always be defined.
27392 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27393 * elf/dl-libc.c: Likewise.
27394 * elf/dl-tsd.c: Likewise.
27395 * include/errno.h: Likewise.
27396 * include/netdb.h: Likewise.
27397 * include/resolv.h: Likewise.
27398 * inet/herrno-loc.c: Likewise.
27399 * inet/herrno.c: Likewise.
27400 * malloc/arena.c: Likewise.
27401 * malloc/hooks.c: Likewise.
27402 * malloc/malloc.c: Likewise.
27403 * resolv/res-state.c: Likewise.
27404 * resolv/res_libc.c: Likewise.
27405 * sysdeps/i386/dl-machine.h: Likewise.
27406 * sysdeps/ia64/dl-machine.h: Likewise.
27407 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27408 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27409 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27410 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27411 * sysdeps/sh/dl-machine.h: Likewise.
27412 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27413 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27414 * sysdeps/unix/i386/sysdep.S: Likewise.
27415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27416 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27417 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27418 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27419 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27420 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27421 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27425 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27426 * sysdeps/x86_64/dl-machine.h: Likewise.
27427 * tls.make.c: Likewise.
27428
3ce1f295
UD
27429 * configure.in: Remove --with-__thread option. Make tests for
27430 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27431 tls_model attribute fail if no support is available. Remove
27432 USE_IN_LIBIO.
27433 * Makeconfig: Adjust for dropped configure option. All features are
27434 now mandatory.
27435 * Makerules: Likewise.
27436 * Versions.def: Likewise.
27437 * argp/argp-fmtstream.c: Likewise.
27438 * argp/argp-fmtstream.h: Likewise.
27439 * argp/argp-help.c: Likewise.
27440 * assert/assert.c: Likewise.
27441 * config.h.in: Likewise.
27442 * config.make.in: Likewise.
27443 * configure: Likewise.
27444 * configure.in: Likewise.
27445 * csu/Versions: Likewise.
27446 * csu/init.c: Likewise.
27447 * elf/tst-audit2.c: Likewise.
27448 * elf/tst-tls10.c: Likewise.
27449 * elf/tst-tls10.h: Likewise.
27450 * elf/tst-tls11.c: Likewise.
27451 * elf/tst-tls12.c: Likewise.
27452 * elf/tst-tls14.c: Likewise.
27453 * elf/tst-tlsmod11.c: Likewise.
27454 * elf/tst-tlsmod12.c: Likewise.
27455 * elf/tst-tlsmod13.c: Likewise.
27456 * elf/tst-tlsmod13a.c: Likewise.
27457 * elf/tst-tlsmod14a.c: Likewise.
27458 * elf/tst-tlsmod15b.c: Likewise.
27459 * elf/tst-tlsmod16a.c: Likewise.
27460 * elf/tst-tlsmod16b.c: Likewise.
27461 * elf/tst-tlsmod7.c: Likewise.
27462 * elf/tst-tlsmod8.c: Likewise.
27463 * elf/tst-tlsmod9.c: Likewise.
27464 * gmon/gmon.c: Likewise.
27465 * grp/fgetgrent_r.c: Likewise.
27466 * grp/putgrent.c: Likewise.
27467 * hurd/fopenport.c: Likewise.
27468 * include/libc-symbols.h: Likewise.
27469 * include/tls.h: Likewise.
27470 * intl/gettextP.h: Likewise.
27471 * intl/loadinfo.h: Likewise.
27472 * locale/global-locale.c: Likewise.
27473 * locale/localeinfo.h: Likewise.
27474 * mach/devstream.c: Likewise.
27475 * malloc/arena.c: Likewise.
27476 * malloc/set-freeres.c: Likewise.
27477 * misc/err.c: Likewise.
27478 * misc/getttyent.c: Likewise.
27479 * misc/mntent_r.c: Likewise.
27480 * posix/getopt.c: Likewise.
27481 * posix/wordexp.c: Likewise.
27482 * pwd/fgetpwent_r.c: Likewise.
27483 * resolv/Versions: Likewise.
27484 * resolv/res_hconf.c: Likewise.
27485 * shadow/fgetspent_r.c: Likewise.
27486 * shadow/putspent.c: Likewise.
27487 * stdio-common/printf_fphex.c: Likewise.
27488 * stdio-common/tmpfile.c: Likewise.
27489 * stdlib/abort.c: Likewise.
27490 * stdlib/fmtmsg.c: Likewise.
27491 * sunrpc/auth_unix.c: Likewise.
27492 * sunrpc/clnt_perr.c: Likewise.
27493 * sunrpc/clnt_tcp.c: Likewise.
27494 * sunrpc/clnt_udp.c: Likewise.
27495 * sunrpc/clnt_unix.c: Likewise.
27496 * sunrpc/openchild.c: Likewise.
27497 * sunrpc/svc_simple.c: Likewise.
27498 * sunrpc/svc_tcp.c: Likewise.
27499 * sunrpc/svc_udp.c: Likewise.
27500 * sunrpc/svc_unix.c: Likewise.
27501 * sunrpc/xdr.c: Likewise.
27502 * sunrpc/xdr_array.c: Likewise.
27503 * sunrpc/xdr_rec.c: Likewise.
27504 * sunrpc/xdr_ref.c: Likewise.
27505 * sunrpc/xdr_stdio.c: Likewise.
27506
1248c1c4
PB
275072011-09-09 Ulrich Drepper <drepper@gmail.com>
27508
27509 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27510
275112011-07-03 Andreas Jaeger <aj@suse.de>
27512
27513 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27514 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27515 regenerate with gen-libm-tests.pl.
27516
275172010-05-12 Petr Baudis <pasky@suse.cz>
27518
27519 [BZ #11589]
27520 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27521 around j0() zero points by switching to j1().
27522 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27526
f22e1074
UD
275272011-09-09 Ulrich Drepper <drepper@gmail.com>
27528
f19009c1
UD
27529 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27530 instead of 0.
27531 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27532 instead of 0.
f19009c1
UD
27533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27534 Patch in part by Pavel Roskin <proski@gnu.org>.
27535
3f8cc204
UD
27536 [BZ #13138]
27537 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27538 realloc.
27539 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27540 Free memory block if necessary.
27541
f22e1074
UD
27542 [BZ #12847]
27543 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27544 be NULL. Don't lock in this case.
27545
0a2349f9
RM
275462011-09-09 Roland McGrath <roland@hack.frob.com>
27547
27548 * elf/elf.h (ELFOSABI_GNU): New macro.
27549 (ELFOSABI_LINUX): Define to that.
27550
f3cdd467
DZ
275512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27552
27553 * string/strncat.c (strncat): Undef the symbol in case it has been
27554 defined in bits/string.h.
27555
74718d13
UD
275562011-09-09 Ulrich Drepper <drepper@gmail.com>
27557
633e9e0f
UD
27558 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27559
0a2349f9 27560 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27561 link map.
27562
f9924780
AJ
275632011-08-17 Andreas Jaeger <aj@suse.de>
27564
27565 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27566
7f5517aa
PP
275672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27568 Ian Lance Taylor <iant@google.com>
27569
27570 * math/libm-test.inc (lround_test): New testcase.
27571 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27572
762011fe
UD
275732011-09-08 Ulrich Drepper <drepper@gmail.com>
27574
92963737
UD
27575 * Makefile: Remove support for automatic cvs check-ins.
27576 * Makerules: Likewise.
27577 * config.make.in: Likewise.
27578 * configure.in: Likewise.
27579 * intl/Makefile: Likewise.
27580 * locale/Makefile: Likewise.
27581 * po/Makefile: Likewise.
27582 * posix/Makefile: Likewise.
27583 * sysdeps/gnu/Makefile: Likewise.
27584 * sysdeps/mach/hurd/Makefile: Likewise.
27585 * sysdeps/sparc/sparc32/Makefile: Likewise.
27586
b0727fd8
JS
27587 [BZ #13118]
27588 * posix/Makefile (bug-regex32-ENV): Define.
27589 Patch by John Stanley <jpsinthemix@verizon.net>.
27590
a0f33f99
UD
27591 * misc/Makefile (headers): Add bits/select2.h.
27592 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27593 * misc/bits/select2.h: New file.
27594 * include/bits/select2.h: New file.
27595 * debug/Makefile (routines): Add fdelt_chk.
27596 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27597 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27598 FD_ISSET.
27599 * debug/fdelt_chk.c: New file.
27600
762011fe
UD
27601 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27602 * wcsmbs/test-wmemcmp.c: Likewise.
27603 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27604 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27605
276062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27607
27608 * string/Makefile (strop-tests): Add memcmp.
27609 * string/test-wmemcmp.c: New file.
27610 * string/test-memcmp.c: Add wmemcmp support.
27611
7f513ec8
RM
276122011-09-08 Roland McGrath <roland@hack.frob.com>
27613
0442afb4
RM
27614 [BZ #13153]
27615 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27616 2011-07-19 change.
27617
7f513ec8
RM
27618 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27619 garbage value in a __mach_port_mod_refs call in the cases of the
27620 task-self and thread-self ports.
27621
a12b2239
ST
276222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27623
27624 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27625
610f9ab4
AS
276262011-09-08 Andreas Schwab <schwab@redhat.com>
27627
7f513ec8 27628 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27629
48882a1a
LD
276302011-09-07 Ulrich Drepper <drepper@gmail.com>
27631
b49865be
UD
27632 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27633
fdc86bc9
UD
27634 * elf/dl-libc.c (dlerror_run): Pass back error code from
27635 dl_catch_error.
27636
c966526a
UD
27637 [BZ #13123]
27638 * elf/dl-load.c (lose): Free l_origin if it is valid.
27639
48882a1a
LD
27640 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27641 names.
27642 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27643 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27645 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27646 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27647 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27648
77a2a8b4
AZ
276492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27650
27651 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27652 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27653 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27654 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27655 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27656 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27657 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27658 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27659 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27660 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27661
24f579d8
AM
276622011-08-15 Alan Modra <amodra@gmail.com>
27663
27664 [BZ #13092]
27665 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27666 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27667 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27668 ppc_mcount to static-only-routines.
27669 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27670 __mcount_internal.
27671 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27672 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27673
3d4837df
UD
276742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27675
27676 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27677 for finite and infinity parameters.
27678
22700377
WS
276792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27680
27681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27682 and add nop instructions for throughput optimization.
27683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27684
5025581e
WS
276852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27686
27687 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27688 aligned copy for power7 with vector-scalar instructions.
27689 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27690
08a300c9
L
276912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27692
27693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27694 AVX check.
27695
59178ef9
AS
276962011-09-07 Andreas Schwab <schwab@redhat.com>
27697
27698 [BZ #13144]
27699 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27700 last change.
27701
e38ba7ab
UD
277022011-09-07 Ulrich Drepper <drepper@gmail.com>
27703
27704 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27705 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27706 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27707 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27708 clock_gettime.
27709
d53a73ac
UD
277102011-09-06 Ulrich Drepper <drepper@gmail.com>
27711
fc8bffcc
UD
27712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27713 Forgot to demangle the pointer.
27714
ceaa0c5d
UD
27715 * sysdeps/i386/sysdep.h: Define atom_text_section.
27716 * sysdeps/x86_64/sysdep.h: Likewise.
27717 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27718 section with atom_text_section.
27719 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27720 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27721 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27722 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27724
a77d3c17
UD
27725 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27726 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27727 already be defined. Change to take two parameters and don't assign
27728 result to variable. Adjust all users.
27729 Define INTERNAL_GETTIME if not already defined.
27730 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27731 call.
27732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27733 HAVE_CLOCK_GETTIME_VSYSCALL.
27734 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27735
d53a73ac
UD
27736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27737 gettimeofday vsyscall, just use time.
27738
a8f84144
AS
277392011-09-06 Andreas Schwab <schwab@redhat.com>
27740
27741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27742 <errno.h>.
27743
ef606249
UD
277442011-09-06 Ulrich Drepper <drepper@gmail.com>
27745
27746 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27747 syscall on x86-64.
27748 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27749 syscall.
27750 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27751 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27752 syscall if possible.
27753
6585cb60
UD
277542011-09-05 Ulrich Drepper <drepper@gmail.com>
27755
27756 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27757 e_ident. Don't pass to find_mapsXX.
27758 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27759
a5f524e4
LD
277602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27761
27762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27763 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27764 * sysdeps/x86_64/multiarch/strchr.S: Update.
27765 Check bit_slow_BSF bit.
27766 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27767 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27768 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27769
554881ef
UD
277702011-09-05 Ulrich Drepper <drepper@gmail.com>
27771
d96de963
UD
27772 [BZ #13134]
27773 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27774 before glibc 2.15.
27775 (tryshell): Define.
27776 (__spawni): Change last parameter to be flag. Test
27777 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27778 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27779 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27780 * posix/spawni.c: Likewise.
27781 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27782 * posix/spawnp.c: Likewise. Change normal version to use
27783 SPAWN_XFLAGS_USE_PATH.
27784 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27785 SPAWN_XFLAGS_TRY_SHELL.
27786
d48e5868
UD
27787 [BZ #13150]
27788 * posix/glob.h: Remove gcc 1.x support.
27789
554881ef
UD
27790 [BZ #13068]
27791 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27792
693fb948
LD
277932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27794
27795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27796 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27797 strrchr-sse2-bsf
27798 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27799 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27800 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27801 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27802 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27803 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27804
1b48c537
UD
278052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27806
49d42c37
UD
27807 * sysdeps/x86_64/wcscmp.S: New file.
27808
1b48c537
UD
27809 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27810 wcscmp-c wcscmp-sse2
27811 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27812 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27814 * wcsmbs/wcscmp.c: Allow renaming.
27815
15c95c5d
DM
278162011-09-05 David S. Miller <davem@davemloft.net>
27817
27818 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27819 stack slot, rather than the struct return pointer slot.
27820 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27821 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27823 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27824
2f0ad8f3
UD
278252011-09-05 Ulrich Drepper <drepper@gmail.com>
27826
d88ae418
UD
27827 * po/ja.po: Update from translation team.
27828
2f0ad8f3
UD
27829 [BZ #13144]
27830 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27831 kernel in 64-bit binaries.
27832
5f4318d1
DM
278332011-09-01 David S. Miller <davem@davemloft.net>
27834
27835 * elf/elf.h (HWCAP_SPARC_*): Move to..
27836 * sysdeps/sparc/sysdep.h: this new file and add new values.
27837 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27838 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27839 _DL_HWCAP_COUNT to 24.
27840 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27841 entries.
27842 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27843 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27844 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27846 instead of magic constants.
27847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27848
3ba57516
DM
278492011-08-31 David S. Miller <davem@davemloft.net>
27850
27851 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27853 Reimplement to do errno handling inline.
27854 (SYSCALL_ERROR_HANDLER): New macro.
27855 (__SYSCALL_STRING): Do not do errno handling in asm.
27856 (__CLONE_SYSCALL_STRING): Delete.
27857 (__INTERNAL_SYSCALL_STRING): Delete.
27858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27859 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27860 (PSEUDO): Reimplement to do errno handling inline.
27861 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27862 (SYSCALL_ERROR_HANDLER): New macro.
27863 (__SYSCALL_STRING): Do not do errno handling in asm.
27864 (__CLONE_SYSCALL_STRING): Delete.
27865 (__INTERNAL_SYSCALL_STRING): Delete.
27866 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27867 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27868 i386.
27869 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27870 (inline_syscall*): Add 'err' argument.
27871 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27872 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27873 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27874 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27875
27876 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27877 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27878
2bc17433
AS
278792011-08-30 Andreas Schwab <schwab@redhat.com>
27880
27881 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27882
fbeb5f4d
JO
278832011-08-29 Jiri Olsa <jolsa@redhat.com>
27884
27885 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27886 directive.
27887
ad69cc26
DM
278882011-08-24 David S. Miller <davem@davemloft.net>
27889
27890 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27891
39dd69df
AS
278922011-08-24 Andreas Schwab <schwab@redhat.com>
27893
27894 * elf/Makefile: Add rules to build and run unload8 test.
27895 * elf/unload8.c: New file.
27896 * elf/unload8mod1.c: New file.
27897 * elf/unload8mod1x.c: New file.
27898 * elf/unload8mod2.c: New file.
27899 * elf/unload8mod3.c: New file.
27900
27901 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27902 it wasn't used.
27903
2c0b250a
DM
279042011-08-23 David S. Miller <davem@davemloft.net>
27905
27906 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27907 subtract stack bias.
27908 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27909 %sp not %fp in calculations.
27910 (_JMPBUF_UNWINDS_ADJ): Likewise.
27911
22044b48
DM
27912 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27913 (aio_suspend): Call it to force an exception region around the
27914 AIO_MISC_WAIT() invocation.
27915
2cae4995
AS
279162011-08-23 Andreas Schwab <schwab@redhat.com>
27917
27918 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27919 backslash.
27920
873a772e
AJ
279212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27922
27923 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27924 protection macro.
27925 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27926 and <dl-machine.h>.
27927 (Elf64_FuncDesc): Remove.
27928
25ad0df1
DM
279292011-08-22 David S. Miller <davem@davemloft.net>
27930
27931 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27932 sigaltstack check, add missing cfi directives.
27933 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27934 missing cfi directives, and sigaltstack handling.
27935
e888bcbe
AS
279362011-08-16 Andreas Schwab <schwab@redhat.com>
27937
27938 [BZ #11724]
27939 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27940 object is seen twice.
27941 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27942
27943 * elf/Makefile (distribute): Add tst-initorder2.c.
27944 (tests): Add tst-initorder2.
27945 (modules-names): Add tst-initorder2a tst-initorder2b
27946 tst-initorder2c tst-initorder2d. Add rules to build them.
27947 ($(objpfx)tst-initorder2.out): New rule.
27948 * elf/tst-initorder2.c: New file.
27949 * elf/tst-initorder2.exp: New file.
27950
87162f46
AS
279512011-08-22 Andreas Schwab <schwab@redhat.com>
27952
70538b7f
AS
27953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27954
f55ffe58
AS
27955 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27956 dependencies back to end of function.
27957
87162f46
AS
27958 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27959 $(elfobjdir)/ld.so.
27960
91b392a4
UD
279612011-08-21 Ulrich Drepper <drepper@gmail.com>
27962
27963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27964 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27966 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27967 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27968 of __vdso_gettimeofday.
27969 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27970 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27971 attribute_hidden.
27972 (_libc_vdso_platform_setup): Remove initialization of
27973 __vdso_gettimeofday and __vdso_time.
27974
5c43483f
UD
279752011-08-20 Ulrich Drepper <drepper@gmail.com>
27976
775a77e7
UD
27977 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27978 and fgetc_unlocked.
27979 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27980 getc_unlocked.
89f447ed 27981
49c74ba9
UD
27982 * elf/dl-open.c (add_to_global): Report additions to the global scope
27983 for LD_DEBUG=scopes.
27984 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27985 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27986
5c43483f
UD
27987 [BZ #13114]
27988 * stdio-common/Makefile (tests): Add bug24.
27989 * stdio-common/bug24.c: New file.
27990
a101b025
AJ
279912011-08-19 Andreas Jaeger <aj@suse.de>
27992
27993 [BZ #13114]
27994 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27995 non-existant file when using close-on-exec mode.
27996
c88f1766
UD
279972011-08-20 Ulrich Drepper <drepper@gmail.com>
27998
0276a718
UD
27999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28000 the very first instruction.
28001
c88f1766
UD
28002 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28003 the CFI state in the end.
28004 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28005 inclusion of dl-trampoline.h.
28006 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28007
51ccffa0
AS
280082011-08-19 Andreas Schwab <schwab@redhat.com>
28009
94d7165f
AS
28010 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28011 expectations for long double.
28012
51ccffa0
AS
28013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28014 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28015
fd708658 280162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28017
28018 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28019 artificual limit depends upon the system page size.
28020
44f0a71e
UD
280212011-08-17 Ulrich Drepper <drepper@gmail.com>
28022
28023 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28024 * resolv/Makefile: Define CFLAGS-libresolv.
28025
8de79a24
AS
280262011-08-17 Andreas Schwab <schwab@redhat.com>
28027
28028 * nss/makedb.c (compute_tables): Make variables used in nested
28029 function static.
28030
27724598
UD
280312011-08-17 Ulrich Drepper <drepper@gmail.com>
28032
c5305d88
UD
28033 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28034 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28035 if buffer was too small.
28036
27724598
UD
28037 * elf/pldd.c (main): Attach to all threads in the process.
28038 Rewrite /proc handling to use *at functions.
28039
076fe015
UD
280402011-08-16 Ulrich Drepper <drepper@gmail.com>
28041
174baab3
UD
28042 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28043 specifies first scope to show.
28044 (dl_open_worker): Update callers. Move printing scope of new
28045 object to before the relocation.
44f0a71e 28046 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28047 * sysdeps/generic/ldsodefs.h: Update declaration.
28048
076fe015
UD
28049 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28050 string for the scope number.
28051
a60df2c3
UD
280522011-08-14 Ulrich Drepper <drepper@gmail.com>
28053
28054 * nscd/servicescache.c (cache_addserv): Make sure written is always
28055 initialized.
28056
5e4287d1
RM
280572011-08-14 Roland McGrath <roland@hack.frob.com>
28058
85ae0589
RM
28059 * sysdeps/i386/i486/bits/atomic.h
28060 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28061 statement expression, so as to suppress "set but not used" warning.
28062 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28063
69f63097
RM
28064 * string/strncat.c (STRNCAT): Use prototype definition.
28065
675456ef
RM
28066 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28067 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28068 -Iprograms here.
28069 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28070 (localedef-modules): Add localedef.
28071 (locale-modules): Add locale.
28072
5e4287d1
RM
28073 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28074 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28075 to avoid a warning.
28076
9c96ff23
DM
280772011-08-14 David S. Miller <davem@davemloft.net>
28078
28079 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28080 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28081
f9ddf089
UD
280822011-08-13 Ulrich Drepper <drepper@gmail.com>
28083
44f0a71e 28084 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28085 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28086 * elf/rtld.c (dl_main): Set l_name of vDSO.
28087 Call _dl_show_scope when DL_DEBUG_SCOPES.
28088 (process_dl_debug): Recognize scopes flag and also set it for all.
28089 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28090 Declare _dl_show_scope.
28091
1dc27704
UD
28092 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28093 (do_dlopen): Pass caller_dlopen to dl_open.
28094 (__libc_dlopen_mode): Initialize caller_dlopen.
28095
f9ddf089
UD
28096 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28097 of libc. Make tolower call locale-independent. Optimize a bit by
28098 using isdigit instead of isalnum.
28099 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28100
9ac533d3
UD
281012011-08-12 Ulrich Drepper <drepper@gmail.com>
28102
28103 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28104 was a dependency or dynamically loaded.
28105
89edf2e9
UD
281062011-08-11 Ulrich Drepper <drepper@gmail.com>
28107
8e999d29
UD
28108 * intl/l10nflist.c: Allow architecture-specific pop function.
28109 * sysdeps/x86_64/l10nflist.c: New file.
28110
89edf2e9
UD
28111 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28112 classification.
28113
14d96785
AS
281142011-08-10 Andreas Schwab <schwab@redhat.com>
28115
28116 * include/dirent.h: Add libc_hidden_proto for scandirat and
28117 scandirat64. Don't declare __scandirat64.
28118 * dirent/scandirat.c: Add libc_hidden_def.
28119 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28120 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28121
6761ac04
DM
281222011-08-10 David S. Miller <davem@davemloft.net>
28123
28124 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28125 enum.
28126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28127 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28129
c55fbd1e
UD
281302011-08-09 Ulrich Drepper <drepper@gmail.com>
28131
28132 * Versions.def [libc]: Add GLIBC_2.15.
28133 * dirent/Makefile (routines): Add scandirat and scandirat64.
28134 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28135 GLIBC_2.15.
28136 * dirent/dirent.h: Declare scandirat and scandirat64.
28137 * dirent/scandirat.c: New file.
28138 * dirent/scandirat64.c: New file.
28139 * sysdeps/wordsize-64/scandirat.c: New file.
28140 * sysdeps/wordsize-64/scandirat64.c: New file.
28141 * dirent/opendir.c: Define opendirat.
28142 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28143 using scandirat.
28144 * dirent/scandir64.c: Adjust for scandir.c change.
28145 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28146 __scandirat64, and __scandir_cancel_handler.
28147 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28148 additional parameter and use openat instead of open (outside of ld.so).
28149 Add new __opendir as wrapper around __opendirat.
28150 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28151 here without requiring old scandirat implementation.
28152
879165f2
UD
281532011-08-08 Ulrich Drepper <drepper@gmail.com>
28154
28155 * dirent/scandir.c (cancel_handler): Renamed to
28156 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28157 defined. Adjust users.
28158 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28159 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28160
cb7e923b
UD
281612011-08-04 Ulrich Drepper <drepper@gmail.com>
28162
16292edd
UD
28163 * string/test-string.h (IMPL): Use __STRING to expand name and then
28164 stringify it.
28165
cb7e923b
UD
28166 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28167 of cleanups.
28168
cff82933
LD
281692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28170
28171 * string/Makefile: Update.
28172 (strop-tests): Append strncat.
28173 * string/test-wcscmp.c: New file.
28174 New comprehensive test for wcscmp.
28175 * string/test-strcmp.c: Update.
28176 (WIDE): New define.
28177
9be9bfcc
AS
281782011-07-22 Andreas Schwab <schwab@redhat.com>
28179
28180 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28181 line.
28182
2e96f1c7
AS
281832011-07-26 Andreas Schwab <schwab@redhat.com>
28184
28185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28186 encoding to ACE if AI_IDN.
28187
85188888
JJ
281882011-08-01 Jakub Jelinek <jakub@redhat.com>
28189
28190 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28191 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28192
5fa16e9b
LD
281932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28194
28195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28196 Fix overflow bug in strncat.
28197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28198
28199 * string/test-strncat.c: Update.
28200 Add new tests for checking overflow bugs.
28201
282022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28203
28204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28205 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28206 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28207 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28208 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28209 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28210 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28211 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28212 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28213
28214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28215 (USE_AS_STRCAT): Define.
28216 Add strcat and strncat support.
28217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28218
8c1a459f
AS
282192011-07-25 Andreas Schwab <schwab@redhat.com>
28220
28221 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28222 __n bigger than INT_MAX+1.
28223 (__strncmp_g): Likewise.
28224
bba33c28
UD
282252011-07-23 Ulrich Drepper <drepper@gmail.com>
28226
798be72d
UD
28227 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28228 * libio/stido.h: Likewise.
28229
8accd4dc
UD
28230 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28231 (AF_NFC): Define.
28232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28233 (AF_NFC): Define.
28234
cbff0d96
UD
28235 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28236 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28237 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28238 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28240
9191c04a
UD
28241 [BZ #13021]
28242 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28243 installed.
28244
bba33c28
UD
28245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28246 typo.
28247 (_dl_x86_64_save_sse): Likewise.
28248
90f139dd
UD
282492011-07-22 Ulrich Drepper <drepper@gmail.com>
28250
1aae088a
UD
28251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28252 OSXSAVE.
28253 (_dl_x86_64_save_sse): Likewise.
28254
8e2045f5
UD
28255 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28256
90f139dd
UD
28257 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28258
1d002f25
AS
282592011-07-21 Andreas Schwab <schwab@redhat.com>
28260
28261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28262 change.
28263 (_dl_x86_64_save_sse): Use correct AVX check.
28264
21137f89
UD
282652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28266
28267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28268 bug in strncpy/strncat.
28269 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28270
a65c0b7a
UD
282712011-07-21 Ulrich Drepper <drepper@gmail.com>
28272
28273 * string/tester.c (test_strcat): Add tests for different alignments
28274 of source and destination.
28275 (test_strncat): Likewise.
28276
6986b98a
UD
282772011-07-20 Ulrich Drepper <drepper@gmail.com>
28278
90bb2039
UD
28279 [BZ #12852]
28280 * posix/glob.c (glob): Check passed in values before using them in
28281 expressions to avoid some overflows.
28282 (glob_in_dir): Likewise.
28283
5644ef54
UD
28284 [BZ #13007]
28285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28286 check for AVX enablement so that we don't crash with old kernels and
28287 new hardware.
28288 * elf/tst-audit4.c: Add same checks here.
28289 * elf/tst-audit6.c: Likewise.
28290
28291 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28292
bfc9dc9b
AS
282932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28294
28295 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28296
702e64bb
UD
282972011-07-20 Ulrich Drepper <drepper@gmail.com>
28298
28299 * po/cs.po: Update from translation team.
28300 * po/bg.po: Likewise.
28301
295e904f
MP
283022011-07-12 Marek Polacek <mpolacek@redhat.com>
28303
28304 * misc/sys/cdefs.h: Add support for const attribute.
28305 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28306 to gnu_dev_{major,minor,makedev} functions.
28307
3ff94596
MP
283082011-07-20 Marek Polacek <mpolacek@redhat.com>
28309
28310 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28311
28b59fca
AS
283122011-07-20 Andreas Schwab <schwab@redhat.com>
28313
28314 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28315 strlen results.
28316
19df733e
AK
283172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28318
28319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28320 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28321 register in order to avoid conflicts with the soft frame pointer
28322 being held in r11 when necessary.
28323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28324 (INTERNAL_VSYSCALL_NCS): Likewise.
28325
c8835729
MP
283262011-07-14 Marek Polacek <mpolacek@redhat.com>
28327
28328 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28329 * elf/dl-fini.c (_dl_fini): Adjust caller.
28330 * elf/dl-close.c (_dl_close_worker): Likewise.
28331 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28332
b902330c
MP
283332011-07-15 Marek Polacek <mpolacek@redhat.com>
28334
8991e135
MP
28335 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28336 "aux_cache->nlibs < 0".
28337
b902330c
MP
28338 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28339 in the reload-count case.
28340
99710781
LD
283412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28342
28343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28344 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28345 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28346 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28347 * sysdeps/x86_64/multiarch/strcat.S: New file.
28348 * sysdeps/x86_64/multiarch/strncat.S: New file.
28349 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28350 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28351 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28352 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28354 (USE_AS_STRCAT): Define.
28355 Add strcat and strncat support.
28356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28358 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28359 * string/strncat.c: Update.
28360 (USE_AS_STRNCAT): Define.
28361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28362 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28363 and i7.
28364 * sysdeps/x86_64/multiarch/init-arch.h
28365 (bit_Prefer_PMINUB_for_stringop): New.
28366 (index_Prefer_PMINUB_for_stringop): Likewise.
28367 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28368 bit_Prefer_PMINUB_for_stringop.
28369
7dc6bd90
UD
283702011-07-19 Ulrich Drepper <drepper@gmail.com>
28371
28372 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28373 buffer64.
28374 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28375 of casting of buffer.
28376 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28377 buffer32 and buffer64.
28378 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28379 writes instead of casting of buffer.
28380 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28381 buffer32.
28382 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28383 casting of buffer.
28384
e0e72284
AS
283852011-07-19 Andreas Schwab <schwab@redhat.com>
28386
28387 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28388
feb1eb0b
UD
283892011-07-19 Ulrich Drepper <drepper@gmail.com>
28390
28391 * nscd/nscd.c (termination_handler): Don't do anything for a database
28392 if it has not yet been initialized.
28393
298711ff
UD
283942011-07-18 Ulrich Drepper <drepper@gmail.com>
28395
28396 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28397
283982011-07-15 Marek Polacek <mpolacek@redhat.com>
28399
28400 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28401
f9d68389
UD
284022011-07-18 Ulrich Drepper <drepper@gmail.com>
28403
28404 * po/nl.po: Update from translation team.
28405 * po/sv.po: Likewise.
28406
db290cf5
RM
284072011-07-16 Roland McGrath <roland@hack.frob.com>
28408
28409 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28410 now disallowed by GCC.
5c550700 28411
fd5e21c7
RM
28412 * configure.in (use-default-link): Default to yes if a test -shared
28413 link meets our qualifications.
28414 * configure: Regenerated.
28415
5c550700
RM
28416 * config.make.in (output-format): New variable.
28417 * configure.in: Check for ld --print-output-format support.
28418 * configure: Regenerated.
28419 * Makerules ($(common-objpfx)format.lds)
28420 [$(output-format) != unknown]: Just use $(output-format),
28421 instead of the linker-script munging.
28422
9fa2c032
RM
284232011-07-14 Roland McGrath <roland@hack.frob.com>
28424
a6928d51
RM
28425 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28426 of $(common-objpfx)shlib.lds.
28427 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28428
661607b3
RM
28429 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28430 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28431
9fa2c032
RM
28432 * configure.in (-z relro check): Adjust test code to add a large
28433 writable data section after it.
28434 * configure: Regenerated.
28435
defe9061
RM
284362011-07-11 Roland McGrath <roland@hack.frob.com>
28437
28438 * configure.in (-z relro check): Fix test code to make the variable
28439 truly const.
28440 * configure: Regenerated.
28441
319b9ad4
UD
284422011-07-11 Ulrich Drepper <drepper@gmail.com>
28443
28444 * nscd/nscd.h (struct traced_file): Define.
28445 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28446 elements. Add traced_files.
28447 (inotify_fd): Declare.
28448 (register_traced_file): Declare.
28449 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28450 (inotify_fd): Export.
28451 (resolv_conf_descr): Remove.
28452 (nscd_init): Move inotify descriptor creation to main.
28453 Don't register files for notification here.
28454 (register_traced_file): New function.
28455 (invalidate_cache): Don't use reset_res to determine whether to call
28456 res_init, go through the list of registered files.
28457 (main_loop_poll): The inotify descriptors are now stored in the
28458 structures for the traced files.
28459 (main_loop_epoll): Likewise
28460 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28461 to __nss_disable_nscd.
28462 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28463 for a database anymore. Check the records for all the registered
28464 files instead.
28465 * nss/Makefile (libnss_files-routines): Add files-init.
28466 (libnss_db-routines): Add db-init.
28467 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28468 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28469 * nss/nss_db/db-init.c: New file.
28470 * nss/nss_files/files-init.c: New file.
28471 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28472 __nss_lookup_function.
28473 (__nss_lookup_function): Call nss_load_library.
28474 (nss_load_all_libraries): New function.
28475 (__nss_disable_nscd): Take parameter with callback function for files
28476 to register. Set is_nscd. Load all the DSOs for the NSS modules
28477 used for the cached services.
28478 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28479 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28480 options for features to all the files in nscd.
28481
28482 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28483
23bee3e8
RM
284842011-07-10 Roland McGrath <roland@hack.frob.com>
28485
28486 * csu/elf-init.c (__libc_csu_init): Comment typo.
28487
46a5b7f0
UD
284882011-07-09 Ulrich Drepper <drepper@gmail.com>
28489
28490 * po/pl.po: Update from translation team.
28491 * po/ja.po: Likewise.
28492 * po/ru.po: Likewise.
28493 * po/ko.po: Likewise.
28494 * po/fr.po: Likewise.
28495
d30cf5bb
RM
284962011-07-09 Roland McGrath <roland@hack.frob.com>
28497
113ddea4
RM
28498 * configure.in (.ctors/.dtors header and trailer check):
28499 Use an empirical test on a built program.
28500 * configure: Regenerated.
28501
574920b4
RM
28502 * configure.in (-z relro check): Use an empirical test on a built DSO.
28503 Detect, but do not require, on ia64.
28504 * configure: Regenerated.
28505
d30cf5bb
RM
28506 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28507 Update tests that use readelf to use $READELF instead.
28508 * configure: Regenerated.
28509
8538fdb3
UD
285102011-07-08 Ulrich Drepper <drepper@gmail.com>
28511
28512 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28513 if the result is not used.
28514
04d08991
AJ
285152011-07-05 Andreas Jaeger <aj@suse.de>
28516
28517 [BZ#9696]
28518 * stdlib/tst-strtod.c: Add testcase.
28519
de283087
AD
285202011-07-07 Ulrich Drepper <drepper@gmail.com>
28521
4e5f31c8 28522 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28523 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28524 The latter has a higher limit. Take additional parameter to pass to
28525 the new function.
28526 (__pathconf): Pass file to __statfs_link_max.
28527 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28528 __statfs_link_max.
28529 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28530 __statfs_link_max.
28531
de283087
AD
28532 [BZ #12868]
28533 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28534 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28535 Handle Lustre.
28536 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28537 (__statfs_filesize_max): Likewise.
28538 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28539
c75fa153
AJ
285402011-07-05 Andreas Jaeger <aj@suse.de>
28541
28542 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28543
1a544854
UD
285442011-07-06 Marek Polacek <mpolacek@redhat.com>
28545
28546 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28547 `status' variable.
28548 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28549 Likewise.
28550
6f0eec67
UD
285512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28552
28553 * Makefile (strop-tests): Add strncat.
28554 * string/test-strncat.c: New file.
28555
aae30307
UD
285562011-06-30 Marek Polacek <mpolacek@redhat.com>
28557
28558 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28559
c0cfb5eb
UD
285602011-06-21 Andreas Jaeger <aj@suse.de>
28561
28562 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28563 Copy rule from iconvdata/Makefile.
28564
01636b21
UD
285652011-07-06 Ulrich Drepper <drepper@gmail.com>
28566
28567 [BZ #12922]
28568 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28569 but no long options are defined, just return 'W'.
28570
9895c8bc
UD
285712011-06-22 Marek Polacek <mpolacek@redhat.com>
28572
28573 [BZ #9696]
28574 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28575
5d4cf042
UD
285762011-07-06 Ulrich Drepper <drepper@gmail.com>
28577
28578 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28579 netgroups to read.
960e5535 28580 (innetgr): Likewise.
5d4cf042 28581
751eb97e
RM
285822011-07-05 Roland McGrath <roland@hack.frob.com>
28583
28584 * config.make.in (install_root): Default to $(DESTDIR).
28585
f15f1e45
UD
285862011-07-05 Ulrich Drepper <drepper@gmail.com>
28587
28588 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28589
4e34ac6a
RM
285902011-07-02 Roland McGrath <roland@hack.frob.com>
28591
5e9b6af4
RM
28592 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28593
84f9ea0f
RM
28594 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28595 containing directory rather than embedding absolute directory names.
28596
ea5ee9f7
RM
28597 * scripts/check-local-headers.sh: Rewritten using awk.
28598 Match by word, not by line. Print error messages for matches.
28599 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28600
1b74661a
RM
28601 * Makerules [shlib-lds-flags empty]:
28602 ($(common-objpfx)libc_pic.opts): New target.
28603 ($(common-objpfx)libc_pic.os.clean): New target.
28604 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28605
28606 * config.make.in (OBJCOPY): New variable.
28607 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28608 * configure: Regenerated.
28609
f781ef40
RM
28610 * config.make.in (use-default-link): New variable.
28611 * configure.in (use_default_link): Grok --with-default-link to set it.
28612 * configure: Regenerated.
28613 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28614 (shlib-lds, shlib-lds-flags): Define to empty.
28615
2d4fa81e
RM
28616 * Makerules (shlib-lds): New variable.
28617 (shlib-lds-flags): New variable.
28618 (build-shlib, build-moduile, build-module-asneeded): Use it.
28619 ($(common-objpfx)libc.so): Use $(shlib-lds).
28620 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28621 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28622
31fffa6b
RM
28623 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28624 DT_FLAGS/DT_FLAGS_1 with zero flags.
28625
4e34ac6a
RM
28626 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28627 linker script munging.
28628
fcfc776b
UD
286292011-07-02 Ulrich Drepper <drepper@gmail.com>
28630
28631 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28632 as 128-bit value.
28633 * crypt/sha512.c (sha512_process_block): Perform total addition using
28634 128-bit if possible.
28635 (__sha512_finish_ctx): Likewise.
28636 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28637 as 64-bit value.
28638 * crypt/sha256.c (SWAP64): Define.
28639 (sha256_process_block): Perform total addition using 64-bit if
28640 possible.
28641 (__sha256_finish_ctx): Likewise.
28642
99231d9a
UD
286432011-07-01 Ulrich Drepper <drepper@gmail.com>
28644
28645 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28647 * nscd/hstcache.c (cache_addhst): Likewise.
28648 * nscd/grpcache.c (cache_addgr): Likewise.
28649 * nscd/aicache.c (addhstaiX): Likewise
28650 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28651
445b4a53
TK
286522011-07-01 Thorsten Kukuk <kukuk@suse.de>
28653
28654 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28656 * nscd/hstcache.c (cache_addhst): Likewise.
28657 * nscd/grpcache.c (cache_addgr): Likewise.
28658 * nscd/aicache.c (addhstaiX): Likewise
28659
6d4d8e8e
AS
286602011-07-01 Andreas Schwab <schwab@redhat.com>
28661
28662 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28663 domain only when needed.
28664
89f654c5
AS
286652011-06-30 Andreas Schwab <schwab@redhat.com>
28666
28667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28668 is always restored.
28669
cf3b23ff
UD
286702011-06-29 Ulrich Drepper <drepper@gmail.com>
28671
28672 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28673 are re-adding the entry.
28674 * nscd/servicescache.c (cache_addserv): Likewise.
28675
751626f9
AJ
286762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28677
28678 * sysdeps/generic/dl-irel.h: fix protection against multiple
28679 inclusions.
28680 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28681
9113ea1f
UD
286822011-06-28 Ulrich Drepper <drepper@gmail.com>
28683
5c0b8d90
UD
28684 [BZ #12935]
28685 * malloc/memusage.sh: Fix quoting in message.
28686 * debug/xtrace.sh: Likewise.
28687
9113ea1f
UD
28688 * configure.in: Remove support for --experimental-malloc option, make
28689 it the default.
28690 * config.make.in: Likewise.
28691 * malloc/Makefile: Likewise.
28692
a4172181
AS
286932011-06-27 Andreas Schwab <schwab@redhat.com>
28694
28695 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28696 two-byte characters.
28697
78a7eee7
RM
286982011-06-27 Roland McGrath <roland@hack.frob.com>
28699
62bede13
RM
28700 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28701 AC_CACHE_CHECK invocation.
28702 * configure: Regenerated.
28703
78a7eee7
RM
28704 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28705
5ce33a62
UD
287062011-06-27 Ulrich Drepper <drepper@gmail.com>
28707
034807a9
UD
28708 [BZ #12350]
28709 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28710 bit from old_res_options.
28711
4902da17
UD
28712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28713
5ce33a62
UD
28714 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28715 value type for setfct.
28716
c2344f56
L
287172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28718
28719 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28720 __gettimeofday instead of gettimeofday.
28721
68468076
UD
287222011-06-26 Ulrich Drepper <drepper@gmail.com>
28723
28724 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28725
acb0d739
L
287262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28727
28728 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28729
28730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28731 info.
28732
8912479f
L
287332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28736 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28737 strcpy-sse2-unaligned strncpy-sse2-unaligned
28738 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28739 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28740 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28741 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28742 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28745 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28746 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28747 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28748 (STRCPY): Support SSE2 and SSSE3 versions.
28749
d5495a11
UD
287502011-06-24 Ulrich Drepper <drepper@gmail.com>
28751
28752 [BZ #12874]
28753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28754 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28755 kernels which artificially limit size of requests.
28756
0b1cbaae
L
287572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28758
28759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28760 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28761 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28762 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28763 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28764 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28765 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28766 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28769 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28770 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28771 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28772 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28773 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28775 Enable unaligned load optimization for Intel Core i3, i5 and i7
28776 processors.
28777 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28778 Define.
28779 (index_Fast_Unaligned_Load): Define.
28780 (HAS_FAST_UNALIGNED_LOAD): Define.
28781
07f494a0
MP
287822011-06-23 Marek Polacek <mpolacek@redhat.com>
28783
28784 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28785
fa3fc0fe
UD
287862011-06-22 Ulrich Drepper <drepper@gmail.com>
28787
28788 [BZ #12907]
28789 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28790 until it is clear that the information is realy needed.
28791 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28792
e12df166
AS
287932011-06-22 Andreas Schwab <schwab@redhat.com>
28794
28795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28796
852eb34d
UD
287972011-06-22 Ulrich Drepper <drepper@gmail.com>
28798
84e2a551
UD
28799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28800 /sys/devices/system/cpu/online if it is usable.
28801
852eb34d
UD
28802 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28803 reading the information from the /proc filesystem to once a second.
28804
6e502e19
UD
288052011-06-21 Andreas Jaeger <aj@suse.de>
28806
28807 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28808 NULL after inclusion of kernel headers.
28809
75d39ff2
UD
288102011-06-21 Ulrich Drepper <drepper@gmail.com>
28811
51f9aa6a
UD
28812 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28813 calls to internal_setent.
28814
c0244a9d
UD
28815 [BZ #12885]
28816 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28817 addresses using gethostbyname4_r ignore IPv4 addresses.
28818
c5e3c2ae
UD
28819 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28820 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28821
75d39ff2
UD
28822 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28823
42675c6f
DM
288242011-06-20 David S. Miller <davem@davemloft.net>
28825
28826 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28827 inclusions.
28828 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28829
28830 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28831 (elf_irel): Use it.
28832 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28833 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28834 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28835 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28836 * sysdeps/x86_64/dl-irel.h: Likewise.
28837
28838 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28839 * elf/dl-sym.c: Likewise.
28840
57912a71
UD
288412011-06-15 Ulrich Drepper <drepper@gmail.com>
28842
28843 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28844 need to dereference resplen2.
28845
ee22793d
AS
288462011-06-14 Andreas Schwab <schwab@redhat.com>
28847
28848 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28849
a9e836b0
UD
288502011-06-15 Ulrich Drepper <drepper@gmail.com>
28851
77fb9117
UD
28852 * Makeconfig: Define vardbdir and inst_vardbdir.
28853 * nss/Makefile: Add rules to install db-Makefile.
28854
40c1b22c
UD
28855 * nss/nss_db/db-XXX.c: Cleanup.
28856
9f2da732
UD
28857 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28858 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28859 GLIBC_PRIVATE.
28860 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28861 * nss/makedb.c: Implement -g option to specify that value strings
28862 are generated and should not be added to table iterated over for
28863 get*ent calls.
28864 * nss/nss_db/db-initgroups.c: New file.
28865
82e9a1f7
UD
28866 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28867 interface.
28868
c41af17e
UD
28869 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28870 (internal_getgrouplist): Adjust to name change.
28871 Update use_initgroups_entry if this is not the first call.
28872 * nss/databases.def: Add initgroups entry.
28873
a9e836b0
UD
28874 * nss/makedb.c (compute_tables): Check result of multiple hash table
28875 sizes to minimize maximum chain length.
28876
2666d441
UD
288772011-06-14 Ulrich Drepper <drepper@gmail.com>
28878
28879 * Versions.def: Add entry for libnss_db.
28880 * shlib-versions: Likewise.
28881 * nss/Makefile: Add rules to build libnss_db.
28882 * nss/Versions: Add libnss_db information. Organize libnss_files
28883 entries better.
28884 * nss/db-Makefile: Add gshadow support. Change rules for the new
28885 makedb progra. Some minor improvements to generate smaller files.
28886 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28887 here from...
28888 * nss/makedb.c: ...here.
28889 Improve database format to be smaller and require less memory at
28890 runtime.
28891 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28892 db anymore.
28893 * nss/nss_db/db-netgrp.c: Likewise.
28894 * nss/nss_db/db-open.c: Likewise.
28895 * nss/nss_files/flies-XXX.x: Adjust comments.
28896 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28897 * nss/nss_files/files-grp.c: Likewise.
28898 * nss/nss_files/files-hosts.c: Likewise.
28899 * nss/nss_files/files-network.c: Likewise.
28900 * nss/nss_files/files-proto.c: Likewise.
28901 * nss/nss_files/files-pwd.c: Likewise.
28902 * nss/nss_files/files-rpc.c: Likewise.
28903 * nss/nss_files/files-service.c: Likewise.
28904 * nss/nss_files/files-sgrp.c: Likewise.
28905 * nss/nss_files/files-spwd.c: Likewise.
28906 * nss/nss_db/db-alias.c: Removed.
28907 * nss/nss_db/dummy-db.h: Removed.
28908
9ee76b5a
UD
289092011-06-02 Ulrich Drepper <drepper@gmail.com>
28910
28911 * nss/makedb.c: Rewritten to not use database library.
28912 * nss/Makefile: Update to build new makedb program.
28913
c71ca1f8
AJ
289142011-06-14 Andreas Jaeger <aj@suse.de>
28915
28916 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28917 memset declaration.
28918
3154bfb8
UD
289192011-06-10 Andreas Schwab <schwab@redhat.com>
28920
28921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28922 tmpbuf.
28923
b350afab
RM
289242011-06-10 Roland McGrath <roland@hack.frob.com>
28925
decd4e50
RM
28926 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28927 * elf/Makefile ($(objpfx)ld.so): Likewise.
28928
5615eaf2
RM
28929 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28930 Don't list ld.so twice in dependencies.
28931
28932 * posix/bug-regex31.c: Include <stdlib.h>.
28933
28934 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28935
28936 * nis/nss_compat/compat-spwd.c
28937 (getspent_next_nss_netgr): Remove unused variable.
28938 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28939
28940 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28941 nonmembers" output to use the right array.
28942
28943 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28944
28945 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28946
28947 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28948 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28949 * catgets/gencat.c (read_input_file): Likewise.
28950 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28951
28952 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28953 variable definition inside #if's controlling its use.
28954
28955 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28956
28957 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28958
28959 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28960
28961 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28962 unreachable code.
28963
28964 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28965
b68e08db
RM
28966 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28967 * configure: Regenerated.
28968
b350afab
RM
28969 * Makerules: Revert last change.
28970 * elf/Makefile: Likewise.
28971
28368601
RM
289722011-06-09 Roland McGrath <roland@hack.frob.com>
28973
28974 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28975 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28976 (reloc-link): Likewise.
28977
11988f8f
UD
289782011-06-09 Ulrich Drepper <drepper@gmail.com>
28979
28980 * elf/Makefile: Add rules to build pldd.
28981 * elf/pldd.c: New file.
28982 * elf/pldd-xx.c: New file.
28983
e80fab37
UD
289842011-06-07 Ulrich Drepper <drepper@gmail.com>
28985
28986 * version.h: Update for 2.15 development version.
28987
9b849836
DM
289882011-06-07 David S. Miller <davem@davemloft.net>
28989
28990 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28991 ifuncs.
28992 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28993 elf_machine_lazy_rel): Likewise.
28994 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28995 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28996 elf_machine_lazy_rel): Likewise.
28997 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28998 dl_hwcap via passed in argument.
28999 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29000 Likewise.
29001
5a31b283
AK
290022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29003
29004 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29005
069e52f8
RM
290062011-06-06 Roland McGrath <roland@hack.frob.com>
29007
29008 [BZ #12849]
29009 * manual/fdl-1.1.texi: New file, verbatim from:
29010 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29011 * manual/lgpl-2.1.texi: New file, verbatim from:
29012 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29013 * manual/Makefile (licenses): New variable, list those new file names.
29014 (texis): Use it.
29015 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29016
29017 * manual/fdl.texi: File removed.
29018 * manual/lesser.texi: File removed.
29019 * manual/libc.texinfo (Copying, Documentation License):
29020 Use new @include file names, put @appendix directive before @include.
29021
f16846a5
JJ
290222011-06-04 Jakub Jelinek <jakub@redhat.com>
29023
29024 [BZ #12841]
29025 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29026 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29027 (mq_open): Add __NTH.
29028
3d29045b
L
290292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29030
29031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29032 Assume Intel Core i3/i5/i7 processor if AVX is available.
29033
8c297311
UD
290342011-05-31 Ulrich Drepper <drepper@gmail.com>
29035
29036 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29037 typo.
29038
c8fc0c91
UD
290392011-05-31 Andreas Schwab <schwab@redhat.com>
29040
29041 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29042 memory. Use alloca_account. Fix memory leak when retrying.
29043
5b27a807
UD
290442011-05-31 Ulrich Drepper <drepper@gmail.com>
29045
356f8bc6
UD
29046 * version.h (RELEASE): Bump for 2.14 release.
29047 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29048
5b27a807
UD
29049 * config.make.in (RANLIB): Remove entry.
29050
01f16ab0
UD
290512011-05-30 Ulrich Drepper <drepper@gmail.com>
29052
41fce8bd
UD
29053 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29054 (libc.pot): Work around missing support for .ksh extension in xgettext.
29055
4769ae77
UD
29056 [BZ #12684]
29057 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29058 if both request failed.
29059 (send_dg): In case of server errors clear resplen or *resplen2.
29060
6b1e7d19
UD
29061 [BZ #12454]
29062 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29063 when there are multiple maps.
29064 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29065 (_dl_fini): Remove test here.
29066
01f16ab0
UD
29067 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29068
b1ebd700
UD
290692011-05-29 Ulrich Drepper <drepper@gmail.com>
29070
7ae22829
UD
29071 [BZ #12350]
29072 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29073 bit from old_res_options.
29074 (gaih_inet): Likewise.
29075
553149f6 29076 [BZ #11099]
18a84741 29077 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29078 as signed.
29079
652ffab1
UD
29080 * resolv/res_init.c (res_setoptions): Make the code more compact.
29081
16985fd0
UD
29082 [BZ #11558]
29083 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29084 set RES_USEVC.
29085
0464f746
UD
29086 [BZ #11634]
29087 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29088
7d17596c
UD
29089 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29090
cf6bbbd7
UD
29091 [BZ #11781]
29092 * malloc/malloc.h: Declare malloc hook variables as volatile.
29093
13f1ab36
UD
29094 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29095 in last patch.
29096
b1ebd700
UD
29097 [BZ #11799]
29098 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29099 raise in the comment.
80e2212d
UD
29100 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29101 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29102 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29103
ce67228d
UD
291042011-05-28 Ulrich Drepper <drepper@gmail.com>
29105
8887a920
UD
29106 [BZ #12811]
29107 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29108 grow the buffers more if it already has to be sufficient.
29109 (build_wcs_upper_buffer): Likewise.
29110 * posix/regexec.c (check_matching): Likewise.
29111 (clean_state_log_if_needed): Likewise.
29112 (extend_buffers): Don't enlarge buffers beyond size of the input
29113 buffer.
29114 Patches mostly by Emil Wojak <emil@wojak.eu>.
29115 * posix/bug-regex32.c: New file.
29116 * posix/Makefile (tests): Add bug-regex32.
29117
4f031072
UD
29118 * locale/findlocale.c (_nl_find_locale): Return right away if
29119 _nl_explode_name failed.
29120 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29121
d0478f0c
UD
29122 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29123
de81b246
UD
29124 * debug/xtrace.sh: Unify messages.
29125 * malloc/memusage.sh: Likewise.
29126
c738465a
UD
29127 [BZ #12813]
29128 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29129 time symbol from vDSO. Substitute with vsyscall if not available.
29130 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29131 __vdso_time.
29132
f1f929d7
UD
29133 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29134 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29135 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29136 Add sendmmsg and internal_sendmmsg.
29137 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29138 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29140
ce67228d
UD
29141 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29142 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29143 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29144
e57420c6
UD
291452011-05-27 Ulrich Drepper <drepper@gmail.com>
29146
a8509ca5
UD
29147 [BZ #12813]
29148 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29149 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29150 available.
29151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29152 __vdso_getcpu.
29153
e57420c6
UD
29154 [BZ #12814]
29155 * iconvdata/Makefile (tests): Add bug-iconv9.
29156 * iconvdata/bug-iconv9.c: New file.
29157
4d07db15
AS
291582011-05-27 Andreas Schwab <schwab@redhat.com>
29159
29160 [BZ #12814]
29161 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29162
ea486f69
JJ
291632011-05-25 Jakub Jelinek <jakub@redhat.com>
29164
29165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29166 (struct user_regs_struct): Change intcs field back to cs.
29167
6f038433
UD
291682011-05-25 Ulrich Drepper <drepper@gmail.com>
29169
29170 * po/ja.po: Update from translation team.
29171
67f86a25
UD
291722011-05-23 Ulrich Drepper <drepper@gmail.com>
29173
29174 [BZ #12795]
29175 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29176 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29177
def7fbd6
AS
291782011-05-20 Andreas Schwab <schwab@redhat.com>
29179
29180 * stdlib/longlong.h: Update from GCC.
29181
f50ef8f1
AS
291822011-05-23 Andreas Schwab <schwab@redhat.com>
29183
29184 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29185 parameter name.
29186 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29187 Add parameter name.
29188 (__sysconf): Pass it down.
29189
de7ce8f1
UD
291902011-05-22 Ulrich Drepper <drepper@gmail.com>
29191
f2962a71
UD
29192 [BZ #12671]
29193 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29194 some situations.
29195 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29196 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29197 add in in __libc_use_alloca calls. Adjust callers.
29198 (glob): Use malloc in some situations.
29199
de7ce8f1
UD
29200 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29201 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29202 pltexit.
29203
aec84f53
UD
292042011-05-21 Ulrich Drepper <drepper@gmail.com>
29205
05bb4a68
UD
29206 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29207 and CLOCK_BOOTTIME_ALARM.
29208
7ea72f99
UD
29209 [BZ #12782]
29210 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29211 is returned.
29212
7e4afad5
UD
29213 * string/_strerror.c (__strerror_r): Print negative errors as signed
29214 numbers.
29215
8e211fec
UD
29216 [BZ #12777]
29217 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29218 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29219 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29220
f7d82dc9
UD
29221 * configure.in: Fix typo in redirection and correct removal of test
29222 files in two cases.
29223
cc9e536d
UD
29224 [BZ #12788]
29225 * locale/setlocale.c (new_composite_name): Fix test to check for
29226 identical name of all categories.
29227
aec84f53
UD
29228 [BZ #12792]
29229 * libio/filedoalloc.c (local_isatty): New function.
29230 (_IO_file_doallocate): Use local_isatty.
29231 * stdio-common/perror.c (perror): In case a new stream is used
29232 forward the stream error.
29233 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29234 error flag.
29235
78e64fdc
RT
292362011-05-20 Ulrich Drepper <drepper@gmail.com>
29237
34a9094f
UD
29238 [BZ #11869]
29239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29240 alloca.
29241 * include/alloca.h (extend_alloca_account): Define.
29242
78e64fdc
RT
29243 [BZ #11857]
29244 * posix/regex.h: Fix comments with documentation of user-accessible
29245 fields after compilation and describe correct free'ing of pattern
29246 after re_compile_pattern.
29247 Patch by Reuben Thomas <rrt@sc3d.org>.
29248
457bddfc
RA
292492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29250
29251 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29252 and -mno-altivec to prevent the compiler from using Altivec and/or
29253 VSX instructions when the corresponding registers are not available.
29254
a4527b51
AS
292552011-05-19 Andreas Schwab <schwab@redhat.com>
29256
29257 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29258
ed690b2f
UD
292592011-05-19 Ulrich Drepper <drepper@gmail.com>
29260
29261 * libio/freopen.c (freopen): Use __dup2, not dup2.
29262 * libio/freopen64.c (freopen64): Likewise.
29263
8db73634
L
292642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29265
29266 [BZ #12775]
29267 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29268 * math/Makefile (tests): Add test-powl.
29269 (CFLAGS-test-powl.c): Define.
29270 * math/test-powl.c: New file.
29271
0a197a9d
L
292722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29273
29274 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29275
ee30c380
UD
292762011-05-17 Ulrich Drepper <drepper@gmail.com>
29277
29278 [BZ #11837]
29279 * iconvdata/gb18030.c: Update to GB18020-2005.
29280
6ce75379
UD
292812011-05-16 Ulrich Drepper <drepper@gmail.com>
29282
a4b89fd8
AR
29283 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29284 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29285 Patch by Aharon Robbins <arnold@skeeve.com>.
29286
ea389b12
UD
29287 [BZ #11892]
29288 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29289 on the stack.
29290
68a3f91f
UD
29291 [BZ #11895]
29292 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29293 through underflows.
29294
15cc7dd1
UD
29295 [BZ #12766]
29296 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29297 point to strings before performing equality test for error_one_per_line
29298 mode.
29299
f3799213
UD
29300 [BZ #11697]
29301 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29302
d79a9c94
UD
29303 [BZ #11820]
29304 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29305 (struct user_fpregs_struct): Avoid __uint*_t types.
29306
56e5eb46
UD
29307 [BZ #6420]
29308 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29309 symbol info. Use it instead of calling _dl_addr locally.
29310 (lock_and_info): New function.
29311 (tr_freehook): Call lock_and_info and pass symbol info as additional
29312 parameter to tr_where.
29313 (tr_mallochook): Likewise.
29314 (tr_reallochook): Likewise.
29315 (tr_memalignhook): Likewise.
29316
6ce75379
UD
29317 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29318 used and couldn't be at all thread-safe.
29319
f8a3b5bf
UD
293202011-05-15 Ulrich Drepper <drepper@gmail.com>
29321
94b7cc37
UD
29322 * libio/freopen.c (freopen): Don't close old file descriptor
29323 before the new one is opened. Instead dup the new file descriptor
29324 to the old one after the new stream is created.
29325 * libio/freopen64.c (freopen64): Likewise.
29326 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29327 * libio/fileops.c (_IO_new_file_close_it): Handle new
29328 _IO_FLAGS2_NOCLOSE flag.
29329 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29330 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29331 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29332 _IO_FLAGS2_NOCLOSE flag.
29333 * include/unistd.h: Add hidden_proto for dup3.
29334 Define __have_dup3.
29335 * io/dup3.c: Define hidden symbol.
29336 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29337
bd25564e
UD
29338 [BZ #7101]
29339 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29340 when an incomplete long option is used.
29341 * posix/tst-getopt_long1.c: New file.
29342 * posix/Makefile (tests): Add tst-getopt_long1.
29343
c84cfef4
UD
29344 [BZ #10138]
29345 * scripts/config.guess: Update from autoconf-2.68.
29346 * scripts/config.sub: Likewise.
29347
3b85df27
UD
29348 [BZ #10157]
29349 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29350 tests into ...
29351 (has_cpuclock): ...this. New function.
29352 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29353 macro here based on has_cpuclock code.
29354
15a856b1
UD
29355 [BZ #10149]
29356 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29357 First byte (not low byte) is now always NUL.
29358 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29359
05f399e6
UD
29360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29361 Use non-cancelable interfaces.
29362
10a52685 29363 [BZ #9809]
94ecc67d
UD
29364 * locale/iso-639.def: Add entry for Sorani.
29365
f8a3b5bf
UD
29366 [BZ #11901]
29367 * include/stdlib.h: Move include protection to the right place.
29368 Define abort_msg_s. Declare __abort_msg with it.
29369 * stdlib/abort.c (__abort_msg): Adjust type.
29370 * assert/assert.c (__assert_fail_base): New function. Majority
29371 of code from __assert_fail. Allocate memory for __abort_msg with
29372 mmap.
29373 (__assert_fail): Now call __assert_fail_base.
29374 * assert/assert-perr.c: Remove bulk of implementation. Use
29375 __assert_fail_base.
29376 * include/assert.hL Declare __assert_fail_base.
29377 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29378 mmap.
29379 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29380
1af4e298
UD
293812011-05-14 Ulrich Drepper <drepper@gmail.com>
29382
f8a3b5bf 29383 [BZ #11952]
d26dfc60
MG
29384 [BZ #12453]
29385 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29386 until all modules are registered in the DTV.
29387 * elf/Makefile: Add rules to build and run tst-tls19.
29388 * elf/tst-tls19.c: New file.
29389 * elf/tst-tls19mod1.c: New file.
29390 * elf/tst-tls19mod2.c: New file.
29391 * elf/tst-tls19mod3.c: New file.
29392 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29393
2fc54d6f
UD
29394 [BZ #12083]
29395 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29396 correctly.
29397
98d76b46
UD
29398 [BZ #12601]
29399 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29400 two-byte sequence errors.
29401 * iconvdata/Makefile (tests): Add bug-iconv8.
29402 * iconvdata/bug-iconv8.c: New file.
29403
da3c19ef
UD
29404 [BZ #12626]
29405 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29406 buf2 definition.
29407
ca408c15
UD
29408 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29409
d6f67f7d
UD
29410 [BZ #12432]
29411 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29412 (dummy_getcfa): New function.
29413 (init): Get _Unwind_GetCFA address, use dummy if not found.
29414 (backtrace_helper): In recursion check, also check whether CFA changes.
29415 (__backtrace): Completely initialize arg.
29416
1af4e298 29417 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29418 storing incomplete byte sequence in state object. Avoid testing for
29419 guaranteed too small input if we know there is enough data available.
1af4e298 29420
da62f81b
AS
294212011-05-11 Andreas Schwab <schwab@redhat.com>
29422
29423 * Makeconfig (+link-pie): Indent.
29424 * Rules (binaries-pie): Define if $(have-fpie) and
29425 $(build-shared).
29426 (binaries-shared): Also filter out $(binaries-pie).
29427 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29428 * nscd/Makefile (others-pie): Add nscd.
29429 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29430 ($(objpfx)nscd): Remove command override.
29431 * login/Makefile (others-pie): Add pt_chown.
29432 ($(objpfx)pt_chown): Remove command override.
29433 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29434 remove command overrides.
29435
fcabc0f8
UD
294362011-05-13 Ulrich Drepper <drepper@gmail.com>
29437
20030ae6
UD
29438 * libio/tst_putwc.c: Fix error messages.
29439
fcabc0f8
UD
29440 [BZ #12724]
29441 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29442 currently writing and seek to current position when not.
29443 * libio/Makefile (tests): Add bug-fclose1.
29444 * libio/bug-fclose1.c: New file.
29445
320a5dc0
PB
294462011-05-12 Ulrich Drepper <drepper@gmail.com>
29447
29448 [BZ #12511]
29449 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29450 don't set DF_1_NODELETE here.
29451 (do_lookup_x): When entering new entry test for copy relocation
29452 and if necessary set DF_1_NODELETE flag.
29453 * elf/tst-unique4.cc: New file.
29454 * elf/tst-unique4.h: New file.
29455 * elf/tst-unique4lib.cc: New file.
29456 * elf/Makefile: Add rules to build and run tst-unique4.
29457 Patch by Piotr Bury <pbury@goahead.com>.
29458
22836f52
UD
294592011-05-11 Ulrich Drepper <drepper@gmail.com>
29460
f574184a
UD
29461 [BZ #12052]
29462 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29463
e1fb097f
UD
29464 [BZ #12625]
29465 * misc/mntent_r.c (addmntent): Flush the stream after the output
29466
22836f52
UD
29467 [BZ #12393]
29468 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29469 (is_trusted_path_normalize): Skip initial colon. Append slash
29470 to empty buffer. Duplicate is_trusted_path code but allow
29471 constructed patch to be prefix.
29472 (is_dst): Allow $ORIGIN followed by /.
29473 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29474 Correct testing of result of is_trusted_path_normalize
29475 (decompose_rpath): Fix warning.
29476
7b3b0b2a
UD
294772011-05-10 Ulrich Drepper <drepper@gmail.com>
29478
29479 [BZ #11257]
29480 * grp/initgroups.c (internal_getgrouplist): When we found the service
29481 list through the initgroups entry in nsswitch.conf do not always
29482 continue on a successful lookup. Don't always use the
eac80ce2 29483 __nss_group_database value if it is set.
7b3b0b2a
UD
29484 * nss/nsswitch.conf (initgroups): Change action for successful db
29485 lookup to continue for compatibility.
29486
2a81eaa5
UD
294872011-05-09 Ulrich Drepper <drepper@gmail.com>
29488
be97a69e
UD
29489 [BZ #11532]
29490 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29491 and CP774 modules.
29492 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29493 and CP774 modules.
29494 * iconvdata/tst-tables.sh: Likewise.
29495 * iconvdata/cp770.c: New file.
29496 * iconvdata/cp771.c: New file.
29497 * iconvdata/cp772.c: New file.
29498 * iconvdata/cp773.c: New file.
29499 * iconvdata/cp774.c: New file.
29500 * iconvdata/testdata/CP770: New file.
29501 * iconvdata/testdata/CP770..UTF8: New file.
29502 * iconvdata/testdata/CP771: New file.
29503 * iconvdata/testdata/CP771..UTF8: New file.
29504 * iconvdata/testdata/CP772: New file.
29505 * iconvdata/testdata/CP772..UTF8: New file.
29506 * iconvdata/testdata/CP773: New file.
29507 * iconvdata/testdata/CP773..UTF8: New file.
29508 * iconvdata/testdata/CP774: New file.
29509 * iconvdata/testdata/CP774..UTF8: New file.
29510
29511 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29512 END CHARMAP line.
29513 * iconvdata/gen-8bit-gap.sh: Likewise.
29514 * iconvdata/gen-8bit.sh: Likewise.
29515
c1e9e399
UD
29516 * locale/iso-639.def: Add ary entry.
29517
24c55fb3 29518 [BZ #11258]
96b4b1b0
UD
29519 * locale/C-translit.h.in: Add U20A1 transliteration.
29520
bdc2f971
KB
29521 [BZ #12178]
29522 * locale/iso-639.def: Add wae entry.
29523 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29524
2952b117
UD
29525 [BZ #12545]
29526 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29527 for n.
29528
2a81eaa5
UD
29529 [BZ #12711]
29530 * locale/C-translit.h.in: Add entry for U20B9.
29531 Patch by pravin.d.s@gmail.com.
29532
28377d1b
UD
295332011-05-08 Ulrich Drepper <drepper@gmail.com>
29534
7fb90fb8
UD
29535 [BZ #12713]
29536 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29537 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29538 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29539 in rtld. Use *stat64.
7fb90fb8 29540 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29541 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29542 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29543 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29544 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29545 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29546 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29547 __fstatat64 macros.
7fb90fb8
UD
29548 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29549 * dirent/rewinddir.c: Add libc_hidden_def.
29550 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29551 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29552
28377d1b
UD
29553 * include/dirent.h (__alloc_dir): Add flags parameter.
29554 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29555 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29556 __alloc_dir.
29557 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29558 from fdopendir if O_CLOEXEC is already set.
29559
66bdbaa4
AM
295602011-03-15 Alan Modra <amodra@gmail.com>
29561
29562 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29563 l_tls_firstbyte_offset non-zero. Save padding offset in
29564 l_tls_firstbyte_offset for later use.
29565 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29566 freeing static tls block.
29567
95721191
JN
295682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29569
29570 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29571 where #ifdef was intended. The intent is to prevent ARG_MAX from
29572 being defined by the kernel headers.
29573
f87dfb1f
UD
295742011-05-07 Ulrich Drepper <drepper@gmail.com>
29575
29576 [BZ #12734]
29577 * resolv/resolv.h: Define RES_NOTLDQUERY.
29578 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29579 no-tld-query and set RES_NOTLDQUERY.
29580 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29581 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29582 modern BIND to search name as TLD unless forbidden.
29583
47c3cd7a
UD
295842011-05-07 Petr Baudis <pasky@suse.cz>
29585 Ulrich Drepper <drepper@gmail.com>
29586
29587 [BZ #12393]
29588 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29589 (is_trusted_path): ...to here.
c1e9ea35 29590 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29591 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29592 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29593
8a35c912
PP
295942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29595
29596 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29597 __BEGIN/__END_DECLS.
29598
acd41f47
UD
295992011-05-06 Ulrich Drepper <drepper@gmail.com>
29600
29601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29602 NSS_STATUS_NOTFOUND if no record was found.
29603
597df647
AS
296042011-05-05 Andreas Schwab <schwab@redhat.com>
29605
29606 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29607 (headers-not-in-tirpc): Remove rpc/netdb.h
29608 * resolv/netdb.h: Revert last change.
29609
b9af1301
PP
296102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29611
29612 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29613 circular dependency between libgcc.a and libc.a.
29614
4e34d5f5
AS
296152011-05-05 Andreas Schwab <schwab@redhat.com>
29616
29617 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29618 * nis/Makefile: Don't install rpcsvc/*.
29619 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29620 instead of <rpc/types.h>.
29621 (MAXHOSTNAMELEN): Define.
29622
00ee369c
AS
296232011-05-03 Andreas Schwab <schwab@redhat.com>
29624
29625 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29626
0b592a30
MB
296272011-04-28 Maciej Babinski <mbabinski@google.com>
29628
29629 [BZ #12714]
29630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29631 gethostbyname4_r when IPv6 results are possible.
29632
6e04cbbe
UD
296332011-05-02 Ulrich Drepper <drepper@gmail.com>
29634
29635 [BZ #12723]
29636 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29637 _PC_PIPE_BUF handling.
29638
e4ecafe0
BH
296392011-04-30 Bruno Haible <bruno@clisp.org>
29640
29641 [BZ #12717]
29642 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29643 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29644 to 'int'.
29645 * inet/getnameinfo.c (getnameinfo): Likewise.
29646
125ee683
UD
296472011-04-29 Ulrich Drepper <drepper@gmail.com>
29648
29649 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29650 to groups setting in database lookup.
29651 * nss/nsswitch.conf: Add initgroups entry.
29652
b722481a
EB
296532011-04-22 Ulrich Drepper <drepper@gmail.com>
29654
29655 [BZ #12685]
29656 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29657 mode string.
29658 Patch by Eric Blake <eblake@redhat.com>.
29659
4df46dbd
L
296602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29661
29662 * sunrpc/Makefile (need-export-routines): Add svc_run.
29663 (routines): Remove svc_run.
29664 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29665 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29666 * sunrpc/svc_run.c (svc_run): Likewise.
29667 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29668
e84142d2
UD
296692011-04-21 Ulrich Drepper <drepper@gmail.com>
29670
29671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29672 problem in reallocation in last patch.
29673
877175d8
UD
296742011-04-20 Ulrich Drepper <drepper@gmail.com>
29675
29676 * sunrpc/Makefile: Move inclusion of Rules.
29677
ab8eed78
UD
296782011-04-19 Ulrich Drepper <drepper@gmail.com>
29679
29680 * nss/nss_files/files-initgroups.c: New file.
29681 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29682 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29683 _nss_files_initgroups_dyn.
29684
e3d8f584
RS
296852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29686
29687 * elf/elf.h (R_ARM_IRELATIVE): Define.
29688
af190f45
UD
296892011-04-19 Ulrich Drepper <drepper@gmail.com>
29690
29691 * po/ru.po: Update from translation team.
29692
53cf59ef
UD
296932011-04-17 Ulrich Drepper <drepper@gmail.com>
29694
29695 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29696 dependencies.
29697
4c559bcd
MF
296982011-02-06 Mike Frysinger <vapier@gentoo.org>
29699
29700 [BZ #12653]
29701 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29702 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29703 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29704 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29705 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29706
4420675c
AS
297072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29708
29709 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29710 differing bytes.
29711 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29712 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29713 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29714
75ea32ab
UD
297152011-04-17 Ulrich Drepper <drepper@gmail.com>
29716
29717 [BZ #12420]
29718 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29719 storing it.
29720 * stdlib/bug-getcontext.c: New file.
29721 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29722
27390476
AK
297232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29724
29725 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29726 instructions into .machine "z9-109".
29727 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29728 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29729
10442705
AK
297302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29731
29732 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29733 between environment variables and auxiliary vector.
29734
7b57bfe5
UD
297352011-04-16 Ulrich Drepper <drepper@gmail.com>
29736
29737 * Makefile: Add rules to build linkobj/libc.so.
29738 * include/libc-symbols.h: Define libc_hidden_nolink.
29739 * include/rpc/auth.h: Mark functions which are to be hidden.
29740 * include/rpc/auth_des.h: Likewise.
29741 * include/rpc/auth_unix.h: Likewise.
29742 * include/rpc/clnt.h: Likewise.
29743 * include/rpc/des_crypt.h: Likewise.
29744 * include/rpc/key_prot.h: Likewise.
29745 * include/rpc/pmap_clnt.h: Likewise.
29746 * include/rpc/pmap_prot.h: Likewise.
29747 * include/rpc/pmap_rmt.h: Likewise.
29748 * include/rpc/rpc_msg.h: Likewise.
29749 * include/rpc/svc.h: Likewise.
29750 * include/rpc/svc_auth.h: Likewise.
29751 * include/rpc/xdr.h: Likewise.
29752 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29753 * nss/Makefile: Likewise.
29754 * sunrpc/Makefile: Don't install headers. Build library with normal
29755 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29756 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29757 for the compat linking library. Remove use of INTDEF/INTUSE.
29758 * sunrpc/auth_none.c: Likewise.
29759 * sunrpc/auth_unix.c: Likewise.
29760 * sunrpc/authdes_prot.c: Likewise.
29761 * sunrpc/authuxprot.c: Likewise.
29762 * sunrpc/clnt_gen.c: Likewise.
29763 * sunrpc/clnt_perr.c: Likewise.
29764 * sunrpc/clnt_raw.c: Likewise.
29765 * sunrpc/clnt_simp.c: Likewise.
29766 * sunrpc/clnt_tcp.c: Likewise.
29767 * sunrpc/clnt_udp.c: Likewise.
29768 * sunrpc/clnt_unix.c: Likewise.
29769 * sunrpc/des_crypt.c: Likewise.
29770 * sunrpc/des_soft.c: Likewise.
29771 * sunrpc/get_myaddr.c: Likewise.
29772 * sunrpc/key_call.c: Likewise.
29773 * sunrpc/key_prot.c: Likewise.
29774 * sunrpc/netname.c: Likewise.
29775 * sunrpc/pm_getmaps.c: Likewise.
29776 * sunrpc/pm_getport.c: Likewise.
29777 * sunrpc/pmap_clnt.c: Likewise.
29778 * sunrpc/pmap_prot.c: Likewise.
29779 * sunrpc/pmap_prot2.c: Likewise.
29780 * sunrpc/pmap_rmt.c: Likewise.
29781 * sunrpc/publickey.c: Likewise.
29782 * sunrpc/rpc_cmsg.c: Likewise.
29783 * sunrpc/rpc_common.c: Likewise.
29784 * sunrpc/rpc_dtable.c: Likewise.
29785 * sunrpc/rpc_prot.c: Likewise.
29786 * sunrpc/rpc_thread.c: Likewise.
29787 * sunrpc/rtime.c: Likewise.
29788 * sunrpc/svc.c: Likewise.
29789 * sunrpc/svc_auth.c: Likewise.
29790 * sunrpc/svc_authux.c: Likewise.
29791 * sunrpc/svc_raw.c: Likewise.
29792 * sunrpc/svc_run.c: Likewise.
29793 * sunrpc/svc_simple.c: Likewise.
29794 * sunrpc/svc_tcp.c: Likewise.
29795 * sunrpc/svc_udp.c: Likewise.
29796 * sunrpc/svc_unix.c: Likewise.
29797 * sunrpc/svcauth_des.c: Likewise.
29798 * sunrpc/xcrypt.c: Likewise.
29799 * sunrpc/xdr.c: Likewise.
29800 * sunrpc/xdr_array.c: Likewise.
29801 * sunrpc/xdr_float.c: Likewise.
29802 * sunrpc/xdr_intXX_t.c: Likewise.
29803 * sunrpc/xdr_mem.c: Likewise.
29804 * sunrpc/xdr_rec.c: Likewise.
29805 * sunrpc/xdr_ref.c: Likewise.
29806 * sunrpc/xdr_sizeof.c: Likewise.
29807 * sunrpc/xdr_stdio.c: Likewise.
29808
e6c61494
UD
298092011-04-10 Ulrich Drepper <drepper@gmail.com>
29810
29811 [BZ #12650]
29812 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29813 * sysdeps/ia64/dl-tls.h: Likewise.
29814 * sysdeps/powerpc/dl-tls.h: Likewise.
29815 * sysdeps/s390/dl-tls.h: Likewise.
29816 * sysdeps/sh/dl-tls.h: Likewise.
29817 * sysdeps/sparc/dl-tls.h: Likewise.
29818 * sysdeps/x86_64/dl-tls.h: Likewise.
29819 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29820
34fe483e
AS
298212011-03-14 Andreas Schwab <schwab@redhat.com>
29822
29823 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29824 rpath element also skip the following colon.
29825 (expand_dynamic_string_token): Add is_path parameter and pass
29826 down to DL_DST_REQUIRED and _dl_dst_substitute.
29827 (decompose_rpath): Call expand_dynamic_string_token with
29828 non-zero is_path. Ignore empty rpaths.
29829 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29830 with zero is_path.
29831
f12a32e6
AS
298322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29833
29834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29835 Make cancelable.
29836
38a7d692
UD
298372011-04-09 Ulrich Drepper <drepper@gmail.com>
29838
29839 [BZ #12655]
29840 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29841 Patch by Filipe David Manana <fdmanana@apache.org>.
29842
e451d22b
AS
298432011-04-07 Andreas Schwab <schwab@redhat.com>
29844
29845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29846 Maintain aligned stack.
29847 (CHECK_RSP): Remove unused macro.
29848
dedc7c7b
UD
298492011-04-03 Ulrich Drepper <drepper@gmail.com>
29850
29851 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29852 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29853
94521213
UD
298542011-04-02 Ulrich Drepper <drepper@gmail.com>
29855
29856 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29857
8cb700c0 29858 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29859
0354e355
L
298602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29861
29862 [BZ #12518]
29863 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29864 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29865 * sysdeps/x86_64/memmove.c: New file.
29866 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29867 (memcpy): Renamed to ...
29868 (__new_memcpy): This.
29869 (memcpy): Provide GLIBC_2_14 memcpy.
29870 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29871 (memcpy): Provide GLIBC_2_2_5 memcpy.
29872
8593482f
UD
298732011-04-01 Ulrich Drepper <drepper@gmail.com>
29874
29875 [BZ #12631]
29876 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29877
81a5726b
AS
298782011-03-30 Andreas Schwab <schwab@redhat.com>
29879
29880 * misc/syncfs.c: New file.
29881 * misc/Makefile (routines): Add syncfs.
29882 * posix/unistd.h: Declare syncfs.
29883 * sysdeps/unix/syscalls.list: Add syncfs.
29884
00e5419f
AS
298852011-04-01 Andreas Schwab <schwab@redhat.com>
29886
29887 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29888 open_by_handle_at.
29889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29890 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29892 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29894 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29896
748876bf
UD
298972011-04-01 Ulrich Drepper <drepper@gmail.com>
29898
658e451d
UD
29899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29901 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29906
748876bf
UD
29907 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29908 sync_file_range.c with -fexceptions.
29909 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29910 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29911 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29912 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29913 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29914 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29915 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29916 sync_file_range as cancellation point
29917 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29918 now a wrapper around __call_sync_file_range with cancellation handling.
29919 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29920 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29921 function name to __call_sync_file_range.
29922 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29923 Add call_sync_file_range.
748876bf 29924
6e63d5e1
AS
299252011-04-01 Andreas Schwab <schwab@redhat.com>
29926
29927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29928 bits/timex.h.
6e63d5e1 29929
46998f74
UD
299302011-04-01 Ulrich Drepper <drepper@gmail.com>
29931
4c1423ed
UD
29932 * iconv/iconv.h: Fix typo in comment.
29933 * io/fcntl.h: Likewise.
29934 * libio/stdio.h: Likewise.
29935 * posix/spawn.h: Likewise.
29936 * posix/unistd.h: Likewise.
29937 * stdlib/stdlib.h: Likewise.
29938 * time/time.h: Likewise.
29939 * wcsmbs/wchar.h: Likewise.
29940
158648c0
UD
29941 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29942 open_by_handle): Add.
29943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29944 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29945 Augment a few comments.
29946 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29948 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29950 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29951 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29952 open_by_handle.
29953
46998f74
UD
29954 * io/fcntl.h (AT_EMPTY_PATH): Define.
29955
83fe108b
UD
299562011-03-30 Ulrich Drepper <drepper@gmail.com>
29957
29958 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29959 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29960 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29961 to...
29962 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29963 * Versions.def: Add GLIBC_2.14.
29964 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29965 Export.
83fe108b 29966
bb242059
UD
299672011-03-22 Ulrich Drepper <drepper@gmail.com>
29968
29969 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29970 round counter.
29971 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29972
c97a1282
L
299732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29974
29975 [BZ #12597]
29976 * string/test-strncmp.c (do_page_test): New function.
29977 (check2): Likewise.
29978 (test_main): Call check2.
29979 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29980
2a115601
UD
299812011-03-20 Ulrich Drepper <drepper@gmail.com>
29982
29983 [BZ #12587]
29984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29985 Handle cache information in CPU leaf 4.
29986 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29987
8126d904
UD
299882011-03-18 Ulrich Drepper <drepper@gmail.com>
29989
042c49c6 29990 [BZ #12583]
8126d904
UD
29991 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29992 character representation.
29993 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29994
ccfe366e
RA
299952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29996
29997 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29998 END(__isnan) to END(__isnanf) to match function entry point/label
29999 EALIGN(__isnanf,...).
30000
c6e13027
JJ
300012011-03-10 Jakub Jelinek <jakub@redhat.com>
30002
30003 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30004
33f85a3f
UD
300052011-03-10 Ulrich Drepper <drepper@gmail.com>
30006
028478fa
UD
30007 [BZ #12510]
30008 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30009 copy from the symbol referenced in the relocation to initialize the
30010 used variable.
30011 Patch by Piotr Bury <pbury@goahead.com>.
30012 * elf/Makefile: Add rules to build and tst-unique3.
30013 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30014 * elf/tst-unique3.cc: New file.
30015 * elf/tst-unique3.h: New file.
30016 * elf/tst-unique3lib.cc: New file.
30017 * elf/tst-unique3lib2.cc: New file.
30018
33f85a3f
UD
30019 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30020
03592fc7
MF
300212011-03-10 Mike Frysinger <vapier@gentoo.org>
30022
30023 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30024 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30025 to _start.
03592fc7 30026
6a5ee102
UD
300272011-03-06 Ulrich Drepper <drepper@gmail.com>
30028
30029 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30030 to-be-loaded object along a path to loader is ld.so.
30031
7e4ba49c
HJ
300322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30033 Ulrich Drepper <drepper@gmail.com>
30034
30035 * sysdeps/x86_64/memset.S: After aligning destination, code
30036 branches to different locations depending on the value of
30037 misalignment, when multiarch is enabled. Fix this.
30038
300392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30040
30041 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30042 Set _x86_64_preferred_memory_instruction for AMD processsors.
30043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30044 Set bit_Prefer_SSE_for_memop for AMD processors.
30045
13a804de
UD
300462011-03-04 Ulrich Drepper <drepper@gmail.com>
30047
30048 * libio/fmemopen.c (fmemopen): Optimize a bit.
30049
9d25c392
AS
300502011-03-03 Andreas Schwab <schwab@redhat.com>
30051
30052 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30053
a5543c6a
RM
300542011-03-03 Roland McGrath <roland@redhat.com>
30055
30056 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30057
012d35f7
DM
300582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30059
7e4ba49c 30060 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30061 __bzero_ultra1 instead of __memset_ultra1.
30062
4bff6e01
AS
300632011-02-23 Andreas Schwab <schwab@redhat.com>
30064 Ulrich Drepper <drepper@gmail.com>
30065
30066 [BZ #12509]
30067 * include/link.h (struct link_map): Add l_orig_initfini.
30068 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30069 returning unsuccessfully.
30070 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30071 close of a file loaded at startup, restore the original l_initfini
30072 list.
30073 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30074 list, store the pointer.
30075 * elf/Makefile ($(objpfx)noload-mem): New rule.
30076 (noload-ENV): Define.
30077 (tests): Add $(objpfx)noload-mem.
30078 * elf/noload.c: Include <memcheck.h>.
30079 (main): Call mtrace. Close all opened handles.
30080
f2092faf
AS
300812011-02-17 Andreas Schwab <schwab@redhat.com>
30082
30083 [BZ #12454]
30084 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30085 dependencies are missing.
30086
6c8a2e88
ST
300872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30088
f2092faf 30089 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30090 Hurd needs munmap.
30091 * sysdeps/mach/hurd/ifreq.h: New file.
30092
84a42118
PB
300932011-01-27 Petr Baudis <pasky@suse.cz>
30094 Ulrich Drepper <drepper@gmail.com>
30095
071f805e 30096 [BZ 12445]#
84a42118
PB
30097 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30098 to extend_alloca().
30099 * stdio-common/bug23.c: New file.
30100 * stdio-common/Makefile (tests): Add bug23.
30101
e23fe25b
AS
301022010-09-28 Andreas Schwab <schwab@redhat.com>
30103 Ulrich Drepper <drepper@gmail.com>
30104
30105 [BZ #12489]
30106 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30107 before performing relro protection. At old place add assertion
30108 to make sure nothing changed.
30109
d3f02e10
NS
301102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30111 Glauber de Oliveira Costa <glommer@gmail.com>
30112
30113 * elf/elf.h: Add new ARM TLS relocs.
30114
d55fd7a5
RA
301152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30116
30117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30118 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30119 cast from r3.
30120 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30121 'tests' variable.
30122 * sysdeps/wordsize-64/tst-writev.c: New file.
30123
2206397e
RA
301242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30125
30126 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30127 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30128 insns in _dl_start to prevent a TOC reference before relocs are
30129 resolved.
30130
e9433893
UD
301312011-02-15 Ulrich Drepper <drepper@gmail.com>
30132
30133 [BZ #12469]
30134 * Makeconfig: Remove RANLIB definition.
30135 * Makerules: Don't use RANLIB.
30136 * aclocal.m4: Remove ranlib test.
30137 * configure.in: No need to check for ranlib.
30138 * elf/rtld-Rules: Don't use RANLIB.
30139
f75286c6
ST
301402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30141
8e31c82d
ST
30142 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30143 protection macro.
30144 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30145 inclusion protection macro.
30146
f75286c6
ST
30147 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30148 SIGRTMIN and SIGRTMAX and print information in that case only when
30149 SIGRTMIN is defined.
30150
c1d0e639
JJ
301512011-02-11 Jakub Jelinek <jakub@redhat.com>
30152
30153 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30154 arginfo fn returning -1.
30155
30156 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30157 and thousands string is zero terminated.
30158
edf9294e
AS
301592011-02-03 Andreas Schwab <schwab@redhat.com>
30160
30161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30162 sysdeps/unix/sysv/linux/bits/socket.h.
30163
2b7e92df
ST
301642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30165
edf9294e
AS
30166 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30167 (__CPU_COUNT): Remove old macros.
30168 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30169 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30170 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30171 (__sched_cpualloc, __sched_cpufree): Add declarations.
30172
a4c7ea7b
UD
301732011-02-05 Ulrich Drepper <drepper@gmail.com>
30174
30175 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30176 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30177 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30178 (readdhstai): Return value of addhstaiX call.
30179 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30180 (addgrbyX): Return value returned by cache_addgr.
30181 (readdgrbyname): Return value returned by addgrbyX.
30182 (readdgrbygid): Likewise.
30183 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30184 (addpwbyX): Return value returned by cache_addpw.
30185 (readdpwbyname): Return value returned by addhstbyX.
30186 (readdpwbyuid): Likewise.
30187 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30188 (addservbyX): Return value returned by cache_addserv.
30189 (readdservbyname): Return value returned by addservbyX:
30190 (readdservbyport): Likewise.
30191 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30192 (addhstbyX): Return value returned by cache_addhst.
30193 (readdhstbyname): Return value returned by addhstbyX.
30194 (readdhstbyaddr): Likewise.
30195 (readdhstbynamev6): Likewise.
30196 (readdhstbyaddrv6): Likewise.
30197 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30198 (readdinitgroups): Return value returned by addinitgroupsX.
30199 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30200 (prune_cache): Keep track of timeout value of re-added entries.
30201 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30202 * nscd/nscd.h: Adjust prototypes of readd* functions.
30203
a0bf67cc
RM
302042011-02-04 Roland McGrath <roland@redhat.com>
30205
30206 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30207 (nis_stats): Likewise.
30208 * nis/nis_modify.c (nis_modify): Likewise.
30209 * nis/nis_remove.c (nis_remove): Likewise.
30210 * nis/nis_add.c (nis_add): Likewise.
30211
30212 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30213
30214 * posix/fnmatch_loop.c: Add some consts.
30215
30216 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30217
435b95eb
L
302182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30219
30220 [BZ #12460]
30221 * config.make.in (config-cflags-novzeroupper): Define.
30222 * configure.in: Substitute libc_cv_cc_novzeroupper.
30223 * elf/Makefile (AVX-CFLAGS): Define.
30224 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30225 (CFLAGS-tst-auditmod4a.c): Likewise.
30226 (CFLAGS-tst-auditmod4b.c): Likewise.
30227 (CFLAGS-tst-auditmod6b.c): Likewise.
30228 (CFLAGS-tst-auditmod6c.c): Likewise.
30229 (CFLAGS-tst-auditmod7b.c): Likewise.
30230 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30231
8517b15e
UD
302322011-02-02 Ulrich Drepper <drepper@gmail.com>
30233
30234 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30235 function to the callback.
30236 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30237
10a656fe
AS
302382011-02-02 Andreas Schwab <schwab@redhat.com>
30239
30240 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30241 of errno.
30242
968dad0a
UD
302432011-01-19 Ulrich Drepper <drepper@gmail.com>
30244
9f94d2ea 30245 [BZ #11724]
968dad0a
UD
30246 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30247 of constructors.
30248 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30249 of destructors.
30250 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30251
30252 [BZ #11724]
30253 * elf/Makefile: Add rules to build and run new test.
30254 * elf/tst-initorder.c: New file.
30255 * elf/tst-initorder.exp: New file.
30256 * elf/tst-initordera1.c: New file.
30257 * elf/tst-initordera2.c: New file.
30258 * elf/tst-initordera3.c: New file.
30259 * elf/tst-initordera4.c: New file.
30260 * elf/tst-initorderb1.c: New file.
30261 * elf/tst-initorderb2.c: New file.
30262 * elf/tst-order-a1.c: New file.
30263 * elf/tst-order-a2.c: New file.
30264 * elf/tst-order-a3.c: New file.
30265 * elf/tst-order-a4.c: New file.
30266 * elf/tst-order-b1.c: New file.
30267 * elf/tst-order-b2.c: New file.
30268 * elf/tst-order-main.c: New file.
30269 New test case by George Gensure <werkt0@gmail.com>.
30270
86e92359
UD
302712010-10-01 Andreas Schwab <schwab@redhat.com>
30272
30273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30274 decoding ACE if AI_CANONIDN.
30275
5d5732b0
UD
302762011-01-18 Ulrich Drepper <drepper@gmail.com>
30277
30278 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30279
a77e8cbc
UD
302802011-01-17 Ulrich Drepper <drepper@gmail.com>
30281
6392473f
UD
30282 * version.h (RELEASE): Bump for 2.13 release.
30283 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30284
620a0529
UD
30285 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30286
18ba70a5
UD
30287 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30288 MADV_NOHUGEPAGE.
32465c3e
UD
30289 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30290 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30292 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30294 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30295
c0dafcf1
UD
30296 * posix/getconf.c: Update copyright year.
30297 * catgets/gencat.c: Likewise.
30298 * csu/version.c: Likewise.
30299 * debug/catchsegv.sh: Likewise.
30300 * debug/xtrace.sh: Likewise.
30301 * elf/ldconfig.c: Likewise.
30302 * elf/ldd.bash.in: Likewise.
30303 * elf/sprof.c (print_version): Likewise.
30304 * iconv/iconv_prog.c: Likewise.
30305 * iconv/iconvconfig.c: Likewise.
30306 * locale/programs/locale.c: Likewise.
30307 * locale/programs/localedef.c: Likewise.
30308 * malloc/memusage.sh: Likewise.
30309 * malloc/mtrace.pl: Likewise.
30310 * nscd/nscd.c (print_version): Likewise.
30311 * nss/getent.c: Likewise.
30312
a77e8cbc
UD
30313 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30314 PF_CAIF, and PF_ALG.
30315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30316
77e8bddf
AS
303172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30318
1f20b93a
AS
30319 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30320 (modules-names): Use them.
30321 (ifunc-test-modules, ifunc-pie-tests): Define.
30322 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30323 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30324 (test-extras): Likewise.
30325 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30326 $(compile-command.c).
30327 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30328 (all-built-dso): Define.
30329 (check-textrel.out, check-execstack.out): Depend on it.
30330
77e8bddf
AS
30331 * configure.in: Don't override --enable-multi-arch.
30332
bc425b33
UD
303332011-01-15 Ulrich Drepper <drepper@gmail.com>
30334
30335 [BZ #6812]
30336 * nscd/hstcache.c (tryagain): Define.
30337 (cache_addhst): Return tryagain not notfound for temporary errors.
30338 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30339 failed.
30340
794c3ad3
UD
303412011-01-14 Ulrich Drepper <drepper@gmail.com>
30342
70181fdd
UD
30343 [BZ #10563]
30344 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30345 to make the syscall.
30346 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30347
794c3ad3
UD
30348 [BZ #12378]
30349 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30350 and fall back to matching as normal character if the string ends before
30351 the matching ']' is found. This is what POSIX requires.
30352 * posix/testfnm.c: Adjust test result.
30353 * posix/globtest.sh: Adjust test result. Add new test.
30354 * posix/tst-fnmatch.input: Likewise.
30355 * posix/tst-fnmatch2.c: Add new test.
30356
68dc9497
AS
303572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30358
30359 * elf/Makefile (check-execstack): Revert last change. Depend on
30360 check-execstack.h.
30361 (check-execstack.h): New target.
30362 (generated): Add check-execstack.h.
30363 * elf/check-execstack.c: Include "check-execstack.h".
30364 (main): Revert last change.
30365 (handle_file): Return zero if GNU_STACK is absent and
30366 DEFAULT_STACK_PERMS doesn't include PF_X.
30367
451f001b
UD
303682011-01-13 Ulrich Drepper <drepper@gmail.com>
30369
cfa28e56
UD
30370 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30371 in child fails because the descriptor is already closed.
8cf8ce17
UD
30372 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30373 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30374 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30375
1086d70d
UD
30376 [BZ #12397]
30377 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30378 syscall.
30379
451f001b
UD
30380 [BZ #10484]
30381 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30382 temporary buffer used to handle multi lookups locally.
a85b5cb4 30383 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30384
08769175
UD
303852011-01-12 Ulrich Drepper <drepper@gmail.com>
30386
30387 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30388 loader is ld.so.
30389
5e49c52e
UD
303902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30391
30392 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30393 alignment for SSE2.
30394
60522a5f
UD
303952011-01-12 Ulrich Drepper <drepper@gmail.com>
30396
30397 [BZ #12394]
30398 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30399 characters. When rounding increased number of integer digits recompute
30400 number of groups.
30401 * stdio-common/tst-grouping.c: New file.
30402 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30403
f257bbd7
UD
304042011-01-09 Ulrich Drepper <drepper@gmail.com>
30405
30406 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30407 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30408
30409 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30410 void.
30411 * bits/select.h: Likewise.
30412
fa9c15cb
UD
304132011-01-08 Ulrich Drepper <drepper@gmail.com>
30414
30415 * po/ja.po: Update from translation team.
30416
16c2895f
DM
304172011-01-04 David S. Miller <davem@sunset.davemloft.net>
30418
30419 [BZ #11155]
30420 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30421 implementation just like for lxstat, fxstatat, et al.
30422
2543fef2
JM
304232010-12-27 Jim Meyering <meyering@redhat.com>
30424
30425 [BZ #12348]
30426 * posix/regexec.c (build_trtable): Return failure indication upon
30427 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30428
98727dbe
UD
304292010-12-25 Ulrich Drepper <drepper@gmail.com>
30430
5bd6dc5c
UD
30431 [BZ #12201]
30432 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30433 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30434 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30435 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30436
97983464
UD
30437 [BZ #12207]
30438 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30439
98727dbe
UD
30440 [BZ #12204]
30441 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30442 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30443
4a531bb0
L
304442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30445
30446 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30447 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30448 script has SORT_BY_INIT_PRIORITY.
30449 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30450 NO_CTORS_DTORS_SECTIONS is defined.
30451 * elf/soinit.c: Likewise.
30452 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30453 NO_CTORS_DTORS_SECTIONS is defined.
30454 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30455 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30456 * sysdeps/sh/init-first.c: Likewise.
30457 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30458
07eb4b71
UD
304592010-12-24 Ulrich Drepper <drepper@gmail.com>
30460
30461 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30462 always use the slow path.
30463
30950a5f
RA
304642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30465
30466 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30467 similar rule which adds the sysdep directories to the header search in
30468 order to pick up the correct platform stackinfo.h.
30469 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30470 perform test if it is, otherwise return successfully without testing.
30471 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30472 DEFAULT_STACK_PERMS define in stackinfo.h.
30473 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30474 defined in stackinfo.h.
30475 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30476 DEFAULT_STACK_PERMS defined in stackinfo.h.
30477 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30478 * sysdeps/ia64/stackinfo.h: Likewise.
30479 * sysdeps/s390/stackinfo.h: Likewise.
30480 * sysdeps/sh/stackinfo.h: Likewise.
30481 * sysdeps/sparc/stackinfo.h: Likewise.
30482 * sysdeps/x86_64/stackinfo.h: Likewise.
30483 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30484 PF_X for powerpc64. Retain PF_X for powerpc32.
30485
db753e2c
UD
304862010-12-19 Ulrich Drepper <drepper@gmail.com>
30487
14b697f7
UD
30488 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30489 accurately.
db753e2c
UD
30490 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30491 GETDENTS_64BIT_ALIGNED.
30492
28300719
UD
304932010-12-14 Ulrich Drepper <dreper@gmail.com>
30494
14b697f7 30495 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30496
4f197237
AS
304972010-12-10 Andreas Schwab <schwab@redhat.com>
30498
dbb0472f
AS
30499 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30500 _GNU_SOURCE.
30501
4f197237
AS
30502 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30503 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30504 Remove __restrict.
30505 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30506 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30507
fb88ac72
UD
305082010-12-09 Ulrich Drepper <drepper@gmail.com>
30509
30510 [BZ #11655]
30511 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30512 are initialized.
30513
42acbb92
JJ
305142010-12-09 Jakub Jelinek <jakub@redhat.com>
30515
30516 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30517
c038d98d
UD
305182010-12-03 Ulrich Drepper <drepper@gmail.com>
30519
30520 * po/it.po: Update from translation team.
30521
3a4a2499
L
305222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30523
30524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30525 unused codes.
30526
1e24cf6e
UD
305272010-11-30 Ulrich Drepper <drepper@gmail.com>
30528
30529 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30530
a7690819
AS
305312010-11-24 Andreas Schwab <schwab@redhat.com>
30532
30533 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30534 specially.
30535 (gaih_getanswer_slice): Likewise.
30536
3bf8d1b1
JJ
305372010-10-20 Jakub Jelinek <jakub@redhat.com>
30538
30539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30540
6db52fbb
PB
305412010-05-31 Petr Baudis <pasky@suse.cz>
30542
30543 [BZ #11149]
30544 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30545 silently even in the chroot mode.
30546
eaca7569
UD
305472010-11-22 Ulrich Drepper <drepper@gmail.com>
30548
30549 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30550 last patch a bit. Pretty printing
30551
3056dcdb
UD
305522010-05-31 Petr Baudis <pasky@suse.cz>
30553
30554 [BZ #10085]
30555 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30556 initialization of skip_initgroups_dyn.
30557
cf7c9078
UD
305582010-11-19 Ulrich Drepper <drepper@gmail.com>
30559
30560 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30561 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30562
a1fb5e3e
UD
305632010-11-16 Ulrich Drepper <drepper@gmail.com>
30564
30565 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30566
3540d66b
AS
305672010-11-11 Andreas Schwab <schwab@redhat.com>
30568
30569 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30570 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30571 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30572 ($(objpfx)tst-fnmatch-mem): New rule.
30573 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30574 * posix/tst-fnmatch.c (main): Call mtrace.
30575
13b69574
L
305762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30577
30578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30579 Support Intel processor model 6 and model 0x2c.
30580
da93d214
LM
305812010-11-10 Luis Machado <luisgpm@br.ibm.com>
30582
30583 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30584 signed comparison.
30585
8ca52c6e
L
305862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30587
30588 [BZ #12205]
30589 * string/test-strncasecmp.c (check_result): New function.
30590 (do_one_test): Use it.
30591 (check1): New function.
30592 (test_main): Use it.
30593 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30594 Support strcasecmp and strncasecmp.
30595
69da074d
UD
305962010-11-08 Ulrich Drepper <drepper@gmail.com>
30597
30598 [BZ #12194]
30599 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30600 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30601
ff02d528
L
306022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30603
30604 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30605 IFUNC support.
30606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30607 memset-x86-64.
30608 * sysdeps/x86_64/multiarch/bzero.S: New file.
30609 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30610 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30611 * sysdeps/x86_64/multiarch/memset.S: New file.
30612 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30614 Set bit_Prefer_SSE_for_memop for Intel processors.
30615 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30616 Define.
30617 (index_Prefer_SSE_for_memop): Define.
30618 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30619
344d0b54
LM
306202010-11-04 Luis Machado <luisgpm@br.ibm.com>
30621
30622 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30623 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30624
c0dde15b
UD
306252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30626
30627 [BZ #12191]
30628 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30629 (__x86_64_raw_data_cache_size_half): Likewise.
30630 (__x86_64_raw_shared_cache_size): Likewise.
30631 (__x86_64_raw_shared_cache_size_half): Likewise.
30632
30633 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30634 (__x86_64_raw_data_cache_size_half): Likewise.
30635 (__x86_64_raw_shared_cache_size): Likewise.
30636 (__x86_64_raw_shared_cache_size_half): Likewise.
30637 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30638 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30639 and __x86_64_raw_shared_cache_size_half. Round
30640 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30641 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30642 to multiple of 256 bytes.
30643
0e516e0e
MS
306442010-11-03 Ulrich Drepper <drepper@gmail.com>
30645
30646 [BZ #12167]
30647 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30648 of inacessible symlinks. Verify result of symlink before returning it.
30649 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30650 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30651
0e012e87
ER
306522010-10-28 Erich Ritz <erichritz@gmail.com>
30653
30654 * math/math.h (isinf): Fix typo in comment.
30655
de0ff7bc
UD
306562010-11-01 Ulrich Drepper <drepper@gmail.com>
30657
30658 * po/da.po: Update from translation team.
30659
fa41c84d
UD
306602010-10-26 Ulrich Drepper <drepper@gmail.com>
30661
30662 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30663 is added to the list.
30664
f0967738
AK
306652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30666 Ulrich Drepper <drepper@gmail.com>
30667
30668 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30669 the global list here. Move code to...
30670 (_dl_add_to_namespace_list): ...here. New function.
30671 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30672 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30673 * elf/dl-load.c (lose): Don't remove the element from the list.
30674 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30675 (_dl_map_object): Likewise.
30676
306772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30678
30679 [BZ #12159]
30680 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30681 into all bytes of SSE register.
30682 Patch by Richard Li <richardpku@gmail.com>.
30683
f0967738 306842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30685
30686 [BZ #12140]
30687 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30688 perturbing.
30689
d0b9e94f
MB
306902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30691
30692 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30693 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30694 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30695 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30697 submachine.
30698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30699
8e9f92e9
AS
307002010-10-22 Andreas Schwab <schwab@redhat.com>
30701
30702 * include/dlfcn.h (__RTLD_SECURE): Define.
30703 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30704 mode & __RTLD_SECURE instead.
30705 (open_path): Rename preloaded parameter to secure.
30706 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30707 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30708 * elf/dl-deps.c (openaux): Likewise.
30709 * elf/rtld.c (struct map_args): Remove is_preloaded.
30710 (map_doit): Don't use it.
30711 (dl_main): Likewise.
30712 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30713 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30714
bc96fbda
AS
307152010-09-09 Andreas Schwab <schwab@redhat.com>
30716
30717 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30718 (sysd-rules-targets): Remove duplicates.
30719 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30720 rtld-%.$o dependency.
30721
22cd1c9b
AS
307222010-10-18 Andreas Schwab <schwab@redhat.com>
30723
30724 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30725 _dl_map_object do it.
30726
18edac48
UD
307272010-10-19 Ulrich Drepper <drepper@gmail.com>
30728
30729 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30730 fast fma builtins, define the macros in the C99 standard.
30731 (FP_FAST_FMAF): Likewise.
30732 (FP_FAST_FMAL): Likewise.
30733 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30734
30735 * bits/mathdef.h: Update copyright year.
30736 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30737
d2050124
MM
307382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30739
30740 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30741 builtins, define the macros in the C99 standard.
30742 (FP_FAST_FMAF): Likewise.
30743 (FP_FAST_FMAL): Likewise.
30744 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30745 multiply/add.
30746 (FP_FAST_FMAF): Likewise.
30747
475facd1
JJ
307482010-10-15 Jakub Jelinek <jakub@redhat.com>
30749
30750 [BZ #3268]
30751 * math/libm-test.inc (fma_test): Some new testcases.
30752 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30753 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30754 y and infinite z. Do multiplication by C already in long double.
30755 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30757 y and infinite z. Do bitwise or of inexact bit into u.d.
30758 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30759 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30760 * sysdeps/i386/fpu/s_fma.S: Removed.
30761 * sysdeps/i386/fpu/s_fmal.S: Removed.
30762
7c08a05c
JJ
307632010-10-16 Jakub Jelinek <jakub@redhat.com>
30764
30765 [BZ #3268]
30766 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30768 computation is not scheduled after fetestexcept. Fix value
30769 of minimum denormal long double.
30770
f3f7372d
JJ
307712010-10-14 Jakub Jelinek <jakub@redhat.com>
30772
30773 [BZ #3268]
30774 * math/libm-test.inc (fma_test): Add some more tests.
30775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30776 correctly.
30777
14d43591
AS
307782010-10-15 Andreas Schwab <schwab@redhat.com>
30779
30780 * scripts/data/localplt-s390-linux-gnu.data: New file.
30781 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30782
5e908464
JJ
307832010-10-13 Jakub Jelinek <jakub@redhat.com>
30784
30785 [BZ #3268]
30786 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30787 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30788 instead of dbl-64.
30789 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30790 inlines.
30791 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30793 if one of x and y is very large and the other is subnormal.
30794 * sysdeps/s390/fpu/s_fmaf.c: New file.
30795 * sysdeps/s390/fpu/s_fma.c: New file.
30796 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30797 * sysdeps/powerpc/fpu/s_fma.S: New file.
30798 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30799 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30800 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30801
308022010-10-12 Jakub Jelinek <jakub@redhat.com>
30803
30804 [BZ #3268]
30805 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30806 fma tests.
30807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30808 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30809 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30810 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30811 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30812 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30814
b833d51f
UD
308152010-10-12 Ulrich Drepper <drepper@redhat.com>
30816
30817 [BZ #12078]
30818 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30819 * posix/bug-regex31.input: Add test case.
30820
1751705d
UD
308212010-10-11 Ulrich Drepper <drepper@gmail.com>
30822
e9b9cbf5
UD
30823 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30824 * posix/bug-regex31.input: New file.
30825
30826 [BZ #12078]
30827 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30828 (parse_sub_exp): Fix last change, use postorder.
30829
ef06edbe
UD
30830 * posix/bug-regex31.c: New file.
30831 * posix/Makefile: Add rules to build and run bug-regex31.
30832
a129c80d
UD
30833 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30834
30835 [BZ #12078]
30836 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30837
b76b818e
UD
30838 [BZ #12108]
30839 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30840 to have entries in sys_siglist.
30841
1751705d
UD
30842 [BZ #12093]
30843 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30844 be NULL.
30845
9ff8d36f
JJ
308462010-10-07 Jakub Jelinek <jakub@redhat.com>
30847
30848 [BZ #3268]
30849 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30850 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30851 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30852 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30853 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30854 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30855 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30856 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30857 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30858 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30859 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30860 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30861 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30862 * math/ftestexcept.c (fetestexcept): Likewise.
30863 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30864 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30865 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30866 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30867 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30868 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30869 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30870
af325969
UD
308712010-10-11 Ulrich Drepper <drepper@gmail.com>
30872
c579b202 30873 [BZ #12107]
af325969
UD
30874 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30875 newline.
30876
67a67b95
UD
308772010-10-06 Ulrich Drepper <drepper@gmail.com>
30878
30879 * string/bug-strstr1.c: New file.
30880 * string/Makefile: Add rules to build and run bug-strstr1.
30881
5fb308bc
EB
308822010-10-05 Eric Blake <eblake@redhat.com>
30883
30884 [BZ #12092]
30885 * string/str-two-way.h (two_way_long_needle): Always clear memory
30886 when skipping input due to the shift table.
30887
45db99c7
UD
308882010-10-03 Ulrich Drepper <drepper@gmail.com>
30889
3b111893
UD
30890 [BZ #12005]
30891 * malloc/mcheck.c: Handle large requests.
30892
45db99c7
UD
30893 [BZ #12077]
30894 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30895 for strncmp and strncasecmp.
30896 * string/stratcliff.c: Add tests for strcmp and strncmp.
30897 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30898
cf7a1eb8
NI
308992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30900
30901 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30902 __set_fpscr.
30903
6484ba5e
AJ
309042010-09-30 Andreas Jaeger <aj@suse.de>
30905
30906 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30907 (CGROUP_SUPER_MAGIC): Define.
30908 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30909 Handle btrfs and cgroup file systems.
30910 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30911 Likewise.
30912
91c42559
LM
309132010-09-27 Luis Machado <luisgpm@br.ibm.com>
30914
30915 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30916 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30917
87a97932
AK
309182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30919
30920 [BZ #12067]
30921 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30922 trying to locate the ELF header.
30923
c21cc9bc
AS
309242010-09-27 Andreas Schwab <schwab@redhat.com>
30925
30926 [BZ #11611]
30927 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30928 Mask out sign-bit copies when constructing f_fsid.
30929
315970f6
PB
309302010-09-24 Petr Baudis <pasky@suse.cz>
30931
30932 * debug/stack_chk_fail_local.c: Add missing licence exception.
30933 * debug/warning-nop.c: Likewise.
30934
1ac7a2c7
JM
309352010-09-15 Joseph Myers <joseph@codesourcery.com>
30936
30937 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30938 implementing getdents64 using getdents syscall, set d_type if
30939 __ASSUME_GETDENTS32_D_TYPE.
30940
56801c50
AS
309412010-09-16 Andreas Schwab <schwab@redhat.com>
30942
30943 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30944 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30945
dda51327
UD
309462010-09-21 Ulrich Drepper <drepper@redhat.com>
30947
30948 [BZ #12037]
30949 * posix/unistd.h: Undo change of feature selection for ftruncate from
30950 2010-01-11.
30951
8ffcee4a
UD
309522010-09-20 Ulrich Drepper <drepper@redhat.com>
30953
a545ecd9 30954 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30955 detection.
30956
e24f0a8b
AS
309572010-09-20 Andreas Schwab <schwab@redhat.com>
30958
30959 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30960 fanotify_mark.
30961 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30962
7291c56f
AS
309632010-09-14 Andreas Schwab <schwab@redhat.com>
30964
30965 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30966 variables after CHECK_SP call.
30967 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30968
bc5fb037
AS
309692010-09-13 Andreas Schwab <schwab@redhat.com>
30970 Ulrich Drepper <drepper@redhat.com>
30971
30972 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30973 re-relocationg ld.so.
30974 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30975 _dl_init_paths call.
30976 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30977 here anymore.
30978
e66e7419
UD
309792010-09-14 Ulrich Drepper <drepper@redhat.com>
30980
30981 * resolv/res_init.c (__res_vinit): Count the default server we added.
30982
c044aa75
CLT
309832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30984 Ulrich Drepper <drepper@redhat.com>
30985
30986 [BZ #11968]
30987 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30988 (____longjmp_chk): Use %ebx for saving value across system call.
30989 Add unwind info.
30990
32cf4069
AS
309912010-09-06 Andreas Schwab <schwab@redhat.com>
30992
30993 * manual/Makefile: Don't mix pattern rules with normal rules.
30994
817328ee
AS
309952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30996
30997 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30998 operation.
30999 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31000 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31001 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31002 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31004 Likewise.
31005
29fddf61
UD
310062010-09-04 Ulrich Drepper <drepper@redhat.com>
31007
31008 [BZ #11979]
31009 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31010 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31011
0959ffc9
UD
310122010-09-02 Ulrich Drepper <drepper@redhat.com>
31013
31014 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31015 * sysdeps/x86_64/addmul_1.S: Likewise.
31016 * sysdeps/x86_64/lshift.S: Likewise.
31017 * sysdeps/x86_64/mul_1.S: Likewise.
31018 * sysdeps/x86_64/rshift.S: Likewise.
31019 * sysdeps/x86_64/sub_n.S: Likewise.
31020 * sysdeps/x86_64/submul_1.S: Likewise.
31021
ece29840
ST
310222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31023
0959ffc9
UD
31024 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31025 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31026 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31027 * bits/sched.h [__need_schedparam]
ece29840 31028 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31029 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31030 (__defined_schedparam): Define to 1.
ece29840
ST
31031 (__sched_param): New structure, identical to sched_param.
31032 (__need_schedparam): Undefine.
31033
e53a31fe
MF
310342010-08-31 Mike Frysinger <vapier@gentoo.org>
31035
fdc0c10d
MF
31036 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31037 (epoll_create1): Declare.
31038
e53a31fe
MF
31039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31040
a726d796
AS
310412010-08-31 Andreas Schwab <schwab@redhat.com>
31042
31043 [BZ #7066]
31044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31045 shifting retval into place.
31046
2f3e3dc7
UD
310472010-09-01 Ulrich Drepper <drepper@redhat.com>
31048
f2933da9
UD
31049 * nis/rpcsvc/nis.h: Update copyright notice.
31050 * nis/rpcsvc/nis.x: Likewise.
31051 * nis/rpcsvc/nis_callback.h: Likewise.
31052 * nis/rpcsvc/nis_callback.x: Likewise.
31053 * nis/rpcsvc/nis_object.x: Likewise.
31054 * nis/rpcsvc/nis_tags.h: Likewise.
31055 * nis/rpcsvc/yp.h: Likewise.
31056 * nis/rpcsvc/yp.x: Likewise.
31057 * nis/rpcsvc/ypupd.h: Likewise.
31058 * nis/yp_xdr.c: Likewise.
31059 * nis/ypupdate_xdr.c: Likewise.
31060
2f3e3dc7
UD
31061 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31062 mainly the body of pmap_getport. Add parameters to specify timeouts.
31063 (pmap_getport): Use __libc_rpc_getport.
31064 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31065 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31066 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31067
f3dcc2f9
AS
310682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31069
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31071 fanotify_mark.
31072
6d34eb5b
RM
310732010-08-27 Roland McGrath <roland@redhat.com>
31074
31075 * sysdeps/i386/i686/multiarch/Makefile
31076 (CFLAGS-varshift.c): New variable.
31077
9ea3de11
UD
310782010-08-27 Ulrich Drepper <drepper@redhat.com>
31079
c96d23fc
UD
31080 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31081 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31082
9ea3de11
UD
31083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31084
31085 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31086
623aac7f
L
310872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31088
31089 * sysdeps/x86_64/strlen.S: Unroll the loop.
31090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31091 strlen-sse2 strlen-sse2-bsf.
31092 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31093 __strlen_no_bsf if bit_Slow_BSF is set.
31094 (__strlen_sse42): Removed.
31095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31096 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31097
8b2b7715
RM
310982010-08-25 Roland McGrath <roland@redhat.com>
31099
31100 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31101 * sysdeps/x86_64/multiarch/varshift.c: New file.
31102 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31103 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31104 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31105 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31106
e73015f2
L
311072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31108
31109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31110 strlen-sse2 strlen-sse2-bsf.
31111 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31112 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31113 (__strlen_sse2): Removed.
31114 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31115 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31117 bit_Slow_BSF for Atom.
31118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31119 (index_Slow_BSF): Define.
31120 (HAS_SLOW_BSF): Define.
31121
df24a73e
UD
311222010-08-25 Ulrich Drepper <drepper@redhat.com>
31123
31124 [BZ #10851]
31125 * resolv/res_init.c (__res_vinit): When no server address at all
31126 is given default to loopback.
31127
f2ac4868
RM
311282010-08-24 Roland McGrath <roland@redhat.com>
31129
09055553
RM
31130 * configure.in: Remove config-name.h generation.
31131 * configure: Regenerated.
31132 * config-name.in: File removed.
31133 * scripts/config-uname.sh: New file.
31134 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31135 ($(objdir)config-name.h): New target.
31136
f2ac4868
RM
31137 * sunrpc/rpc_parse.h: Avoid nested comment.
31138
73f27d5e
RH
311392010-08-24 Richard Henderson <rth@redhat.com>
31140 Ulrich Drepper <drepper@redhat.com>
31141 H.J. Lu <hongjiu.lu@intel.com>
31142
31143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31145 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31146 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31147 _mm_alignr_epi8 with _mm_loadu_si128.
31148 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31149 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31150 (__m128i_shift_right): Removed.
31151 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31152 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31153 * sysdeps/x86_64/multiarch/varshift.h: New file.
31154 * sysdeps/x86_64/multiarch/varshift.S: New file.
31155
84b9230c
MF
311562010-08-21 Mike Frysinger <vapier@gentoo.org>
31157
31158 * configure.in: Move assembler checks to before sysdep dir checking.
31159
9bbd0ddc
PB
311602010-08-20 Petr Baudis <pasky@suse.cz>
31161
31162 * LICENSES: Sync the sunrpc license.
31163
9da4bb31
UD
311642010-08-19 Ulrich Drepper <drepper@redhat.com>
31165
a7ab6ec8
UD
31166 * sunrpc/auth_des.c: Update copyright notice once again.
31167 * sunrpc/auth_none.c: Likewise.
31168 * sunrpc/auth_unix.c: Likewise.
31169 * sunrpc/authdes_prot.c: Likewise.
31170 * sunrpc/authuxprot.c: Likewise.
31171 * sunrpc/bindrsvprt.c: Likewise.
31172 * sunrpc/clnt_gen.c: Likewise.
31173 * sunrpc/clnt_perr.c: Likewise.
31174 * sunrpc/clnt_raw.c: Likewise.
31175 * sunrpc/clnt_simp.c: Likewise.
31176 * sunrpc/clnt_tcp.c: Likewise.
31177 * sunrpc/clnt_udp.c: Likewise.
31178 * sunrpc/clnt_unix.c: Likewise.
31179 * sunrpc/des_crypt.c: Likewise.
31180 * sunrpc/des_soft.c: Likewise.
31181 * sunrpc/get_myaddr.c: Likewise.
31182 * sunrpc/getrpcport.c: Likewise.
31183 * sunrpc/key_call.c: Likewise.
31184 * sunrpc/key_prot.c: Likewise.
31185 * sunrpc/openchild.c: Likewise.
31186 * sunrpc/pm_getmaps.c: Likewise.
31187 * sunrpc/pm_getport.c: Likewise.
31188 * sunrpc/pmap_clnt.c: Likewise.
31189 * sunrpc/pmap_prot.c: Likewise.
31190 * sunrpc/pmap_prot2.c: Likewise.
31191 * sunrpc/pmap_rmt.c: Likewise.
31192 * sunrpc/rpc/auth.h: Likewise.
31193 * sunrpc/rpc/auth_unix.h: Likewise.
31194 * sunrpc/rpc/clnt.h: Likewise.
31195 * sunrpc/rpc/des_crypt.h: Likewise.
31196 * sunrpc/rpc/key_prot.h: Likewise.
31197 * sunrpc/rpc/netdb.h: Likewise.
31198 * sunrpc/rpc/pmap_clnt.h: Likewise.
31199 * sunrpc/rpc/pmap_prot.h: Likewise.
31200 * sunrpc/rpc/pmap_rmt.h: Likewise.
31201 * sunrpc/rpc/rpc.h: Likewise.
31202 * sunrpc/rpc/rpc_des.h: Likewise.
31203 * sunrpc/rpc/rpc_msg.h: Likewise.
31204 * sunrpc/rpc/svc.h: Likewise.
31205 * sunrpc/rpc/svc_auth.h: Likewise.
31206 * sunrpc/rpc/types.h: Likewise.
31207 * sunrpc/rpc/xdr.h: Likewise.
31208 * sunrpc/rpc_clntout.c: Likewise.
31209 * sunrpc/rpc_cmsg.c: Likewise.
31210 * sunrpc/rpc_common.c: Likewise.
31211 * sunrpc/rpc_cout.c: Likewise.
31212 * sunrpc/rpc_dtable.c: Likewise.
31213 * sunrpc/rpc_hout.c: Likewise.
31214 * sunrpc/rpc_main.c: Likewise.
31215 * sunrpc/rpc_parse.c: Likewise.
31216 * sunrpc/rpc_parse.h: Likewise.
31217 * sunrpc/rpc_prot.c: Likewise.
31218 * sunrpc/rpc_sample.c: Likewise.
31219 * sunrpc/rpc_scan.c: Likewise.
31220 * sunrpc/rpc_scan.h: Likewise.
31221 * sunrpc/rpc_svcout.c: Likewise.
31222 * sunrpc/rpc_tblout.c: Likewise.
31223 * sunrpc/rpc_util.c: Likewise.
31224 * sunrpc/rpc_util.h: Likewise.
31225 * sunrpc/rpcinfo.c: Likewise.
31226 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31227 * sunrpc/rpcsvc/key_prot.x: Likewise.
31228 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31229 * sunrpc/rpcsvc/mount.x: Likewise.
31230 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31231 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31232 * sunrpc/rpcsvc/rex.x: Likewise.
31233 * sunrpc/rpcsvc/rstat.x: Likewise.
31234 * sunrpc/rpcsvc/rusers.x: Likewise.
31235 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31236 * sunrpc/rpcsvc/spray.x: Likewise.
31237 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31238 * sunrpc/rtime.c: Likewise.
31239 * sunrpc/svc.c: Likewise.
31240 * sunrpc/svc_auth.c: Likewise.
31241 * sunrpc/svc_authux.c: Likewise.
31242 * sunrpc/svc_raw.c: Likewise.
31243 * sunrpc/svc_run.c: Likewise.
31244 * sunrpc/svc_simple.c: Likewise.
31245 * sunrpc/svc_tcp.c: Likewise.
31246 * sunrpc/svc_udp.c: Likewise.
31247 * sunrpc/svc_unix.c: Likewise.
31248 * sunrpc/svcauth_des.c: Likewise.
31249 * sunrpc/xcrypt.c: Likewise.
31250 * sunrpc/xdr.c: Likewise.
31251 * sunrpc/xdr_array.c: Likewise.
31252 * sunrpc/xdr_float.c: Likewise.
31253 * sunrpc/xdr_mem.c: Likewise.
31254 * sunrpc/xdr_rec.c: Likewise.
31255 * sunrpc/xdr_ref.c: Likewise.
31256 * sunrpc/xdr_sizeof.c: Likewise.
31257 * sunrpc/xdr_stdio.c: Likewise.
31258
9da4bb31
UD
31259 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31260 handling.
31261
bdaa77bc
AS
312622010-08-19 Andreas Schwab <schwab@redhat.com>
31263
31264 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31265
fe2f79db
LM
312662010-08-19 Luis Machado <luisgpm@br.ibm.com>
31267
31268 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31269 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31270 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31271 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31272 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31273 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31274 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31275 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31276 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31277 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31278 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31279 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31280 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31281 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31282
b9b42ee0
AB
312832010-07-26 Anton Blanchard <anton@samba.org>
31284
31285 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31286 * malloc/arena.c (heap_trim): Likewise.
31287
1c06ba31
UD
312882010-08-16 Ulrich Drepper <drepper@redhat.com>
31289
31290 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31291 here. Not...
31292 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31293 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31294
f8392f40
L
312952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31296
31297 * sysdeps/i386/elf/Makefile: New file.
31298
3162f12e
AS
312992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31300
31301 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31302 from fanotify_init.
31303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31305
28c90b2c
UD
313062010-08-15 Ulrich Drepper <drepper@redhat.com>
31307
31308 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31309 of strncasecmp_l.
1feccb6c 31310 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31311
ca6bb004
UD
313122010-08-14 Ulrich Drepper <drepper@redhat.com>
31313
e9f82e0d
UD
31314 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31315 strncase_l-nonascii.
31316 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31317 Add strncase_l-ssse3.
31318 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31319 * sysdeps/x86_64/strcmp.S: Likewise.
31320 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31321 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31322 * sysdeps/x86_64/strncase.S: New file.
31323 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31324 * sysdeps/x86_64/strncase_l.S: New file.
31325 * string/Makefile (strop-tests): Add strncasecmp.
31326 * string/test-strncasecmp.c: New file.
31327
31328 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31329 warning.
31330
ca6bb004
UD
31331 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31332 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31333
052fa7b3
AS
313342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31335
31336 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31337
962dba78
UD
313382010-08-12 Ulrich Drepper <drepper@redhat.com>
31339
31340 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31341 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31342 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31343
bebff237
AM
313442010-05-01 Alan Modra <amodra@gmail.com>
31345
31346 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31347 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31348 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31349 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31350 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31351 tidying. Don't tail-call __sigjmp_save for static lib.
31352 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31353 save location.
31354 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31355 (CALL_MCOUNT): Add eh info, and nop after bl.
31356 (TAIL_CALL_SYSCALL_ERROR): New macro.
31357 (PSEUDO_RET): Use it.
31358 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31359 Correct save location of integer regs and cr.
31360 (_dl_profile_resolve): Correct cr save location. Delete nops
31361 after bl when SHARED. Reduce cfi size a little by better
31362 placement of cfi directives.
31363 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31364 make a stack frame. Instead use parm save area as a temp.
31365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31366 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31368 Don't make a stack frame for parent, use parm save area.
31369 Increase child stack frame to 112 bytes. Don't save unused reg,
31370 and adjust reg usage. Set up cfi on error recovery and
31371 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31373 (__makecontext): Add dummy nop after jump to exit.
31374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31375 Use correct parm save area and cr save, reduce stack frame.
31376 Correct cfi for possible PSEUDO_RET frame setup.
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31378 Branch to local label emitted by PSEUDO_RET rather than
31379 __syscall_error.
31380
02637374
AS
313812010-08-12 Andreas Schwab <schwab@redhat.com>
31382
31383 [BZ #11904]
31384 * locale/programs/locale.c (print_assignment): New function.
31385 (show_locale_vars): Use it.
31386
c3e2f19b
UD
313872010-08-11 Ulrich Drepper <drepper@redhat.com>
31388
3cdaa6ad
UD
31389 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31390 field.
31391 (struct statfs64): Likewise.
31392 (_STATFS_F_FLAGS): Define.
31393 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31394 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31395 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31396 (ST_VALID): Define locally.
31397 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31398 __statvfs_getflags, use the provided value.
31399 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31400 __ASSUME_STATFS_F_FLAGS.
31401
754f7da3
UD
31402 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31403
10b3bedc
UD
31404 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31405 Add sys/fanotify.h.
31406 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31407 fanotify_mask for GLIBC_2.13.
31408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31409 fanotify_init and fanotify_mark.
31410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31411 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31412
c08fb0d7
UD
31413 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31414 Add prlimit.
31415 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31416 prlimit64 for GLIBC_2.13.
31417 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31418 prlimit64.
31419 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31420 syscall.
31421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31422 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31423 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31424 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31426 add prlimit alias.
31427 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31428
15bac72b
UD
31429 [BZ #11903]
31430 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31431 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31432
c3e2f19b
UD
31433 * nss/Makefile: Add rules to build and run tst-nss-test1.
31434 * shlib-versions: Add entry for libnss_test1.
31435 * nss/nss_test1.c: New file.
31436 * nss/tst-nss-test1.c: New file.
31437
31438 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31439 (__nss_configure_lookup): Set appropriate entry in
31440 __nss_configure_lookup to true.
31441 * nss/nsswitch.h: Define enum with indeces of databases in
31442 databases and __nss_database_custom arrays. Declare
31443 __nss_database_custom.
31444 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31445 to avoid using nscd when custom rules are installed.
31446 * nss/getXXbyYY_r.c: Likewise.
31447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31448
31449 * nss/nss_files/files-parse.c: Whitespace fixes.
31450
f15ce4d8
UD
314512010-08-09 Ulrich Drepper <drepper@redhat.com>
31452
31453 [BZ #11883]
31454 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31455 * posix/fnmatch_loop.c: Likewise.
31456
d22e4cc9
AK
314572010-07-17 Andi Kleen <ak@linux.intel.com>
31458
31459 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31460 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31461 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31462 * Versions.def [GLIBC_2.13]: Add.
31463
805bc17d
UD
314642010-08-06 Ulrich Drepper <drepper@redhat.com>
31465
31466 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31467 Also fail if tpwd after pwuid call is NULL.
31468
5a42321d
ST
314692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31470
31471 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31472 when converting to ms.
31473
fd3ebeda
ST
314742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31475
31476 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31477 EOPNOTSUPP errors with ENOTTY.
31478 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31479 EOPNOTSUPP errors with ENOTTY.
31480
73507d3a
UD
314812010-07-31 Ulrich Drepper <drepper@redhat.com>
31482
31483 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31484 Add strcasecmp_l-ssse3.
31485 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31486 strcasecmp.
31487 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31488 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31489 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31490
fe36dd02
UD
314912010-07-30 Ulrich Drepper <drepper@redhat.com>
31492
66f6765a
UD
31493 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31494
42e08a54
UD
31495 * string/Makefile (strop-tests): Add strcasecmp.
31496 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31497 strcasecmp_l-nonascii.
31498 (gen-as-const-headers): Add locale-defines.sym.
31499 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31500 * sysdeps/x86_64/strcasecmp.S: New file.
31501 * sysdeps/x86_64/strcasecmp_l.S: New file.
31502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31503 * sysdeps/x86_64/locale-defines.sym: New file.
31504 * string/test-strcasecmp.c: New file.
31505
fe36dd02
UD
31506 * string/test-strcasestr.c: Test both ends of the range of characters.
31507 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31508
48cbc0d6
RM
315092010-07-29 Roland McGrath <roland@redhat.com>
31510
76e6d6bc 31511 [BZ #11856]
48cbc0d6
RM
31512 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31513
880113d9
UD
315142010-07-27 Ulrich Drepper <drepper@redhat.com>
31515
31516 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31517 for ld.so.
31518
deb9cabb
AS
315192010-07-27 Andreas Schwab <schwab@redhat.com>
31520
31521 * manual/memory.texi (Malloc Tunable Parameters): Document
31522 M_PERTURB.
31523
1c7570ff
RM
315242010-07-26 Roland McGrath <roland@redhat.com>
31525
31526 [BZ #11840]
31527 * configure.in (-fgnu89-inline check): Set and substitute
31528 gnu89_inline, not libc_cv_gnu89_inline.
31529 * configure: Regenerated.
31530 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31531
24fb0f88
UD
315322010-07-26 Ulrich Drepper <drepper@redhat.com>
31533
31534 * string/test-strnlen.c: New file.
31535 * string/Makefile (strop-tests): Add strnlen.
31536 * string/tester.c (test_strnlen): Add a few more test cases.
31537 * string/tst-strlen.c: Better error reporting.
31538
31539 * sysdeps/x86_64/strnlen.S: New file.
31540
8e96b93a
UD
315412010-07-24 Ulrich Drepper <drepper@redhat.com>
31542
31543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31544 lower-latency instructions.
31545
dbc676d4
UD
315462010-07-23 Ulrich Drepper <drepper@redhat.com>
31547
31548 * string/test-strcasestr.c: New file.
31549 * string/test-strstr.c: New file.
31550 * string/Makefile (strop-tests): Add strstr and strcasestr.
31551 * string/str-two-way.h: Don't undefine MAX.
31552 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31553
f6a31e0e
AS
315542010-07-21 Andreas Schwab <schwab@redhat.com>
31555
31556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31557 strcasestr-nonascii.
31558 (CFLAGS-strcasestr-nonascii.c): Define.
31559 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31560 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31561 Remove unused attribute.
31562
5dbc3b6c
RM
315632010-07-20 Roland McGrath <roland@redhat.com>
31564
31565 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31566 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31567 ld.so.cache was broken. With it, there is no way to disable dsocaps
31568 like LD_HWCAP_MASK can disable hwcaps.
31569
23d101d8
EPM
315702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31571
31572 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31573
cc9f2e47
UD
315742010-07-16 Ulrich Drepper <drepper@redhat.com>
31575
31576 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31577 call in strcasestr.
31578 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31579 __strcasestr_sse42_nonascii.
31580 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31581 strcasestr-nonascii.c.
31582 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31583
77c1b069
LM
315842010-06-15 Luis Machado <luisgpm@br.ibm.com>
31585
31586 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31587 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31588 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31589 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31590
440566c3
UD
315912010-07-09 Ulrich Drepper <drepper@redhat.com>
31592
31593 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31594 fcntl.
31595
5be9d05d
AS
315962010-07-06 Andreas Schwab <schwab@redhat.com>
31597
c30b7ee2 31598 [BZ #11577]
5be9d05d
AS
31599 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31600 dl_signal_cerror.
31601
8a492a67
UD
316022010-07-06 Ulrich Drepper <drepper@redhat.com>
31603
31604 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31605 _PC_PIPE_BUF using F_GETPIPE_SZ.
31606
713df3d5
RM
316072010-07-05 Roland McGrath <roland@redhat.com>
31608
31609 * manual/arith.texi (Rounding Functions): Fix rint description
31610 implicit in round description.
31611
702e8f14
UD
316122010-07-02 Ulrich Drepper <drepper@redhat.com>
31613
31614 * elf/Makefile: Fix linking for a few tests to make recent linker
31615 happy.
31616
52ed8be9
AS
316172010-06-30 Andreas Schwab <schwab@redhat.com>
31618
31619 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31620 $(common-objpfx)libc_nonshared.a.
31621
f47c9a11
LM
316222010-06-21 Luis Machado <luisgpm@br.ibm.com>
31623
31624 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31625 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31626 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31627 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31628 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31629 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31630 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31631 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31646 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31647 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31648 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31649 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31650 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31651 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31652 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31653 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31654 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31655 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31656 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31657 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31672
6fb8cbcb
L
316732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31674
31675 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31676 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31677 * string/memmove.c (memmove): Renamed to ...
31678 (MEMMOVE): ...this. Default to memmove.
31679 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31680 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31681 (END_CHK): Define.
31682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31683 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31684 mempcpy-ssse3-back memmove-ssse3-back.
31685 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31686 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31687 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31688 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31689 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31690 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31691 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31692 * sysdeps/x86_64/multiarch/memmove.c: New file.
31693 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31694 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31695 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31696 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31697 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31699 Define.
31700 (index_Fast_Copy_Backward): Define.
31701 (HAS_ARCH_FEATURE): Define.
31702 (HAS_FAST_REP_STRING): Define.
31703 (HAS_FAST_COPY_BACKWARD): Define.
31704
4e733bac 317052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31706
31707 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31708 Restore proper fallback handling.
31709
63c4ed22
UD
317102010-06-19 Ulrich Drepper <drepper@redhat.com>
31711
ac2b484c
UD
31712 [BZ #11701]
31713 * posix/group_member.c (__group_member): Correct checking loop.
31714
63c4ed22
UD
31715 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31716 OOM in getpwuid_r correctly. Return error number when the caller
31717 should return, otherwise -1.
31718 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31719 call returning > 0 value.
31720 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31721
765ade4b
AS
317222010-06-07 Andreas Schwab <schwab@redhat.com>
31723
31724 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31725 libc_nonshared.a from targets in modules-names.
31726
80da2e09
KS
317272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31728
31729 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31730 requires it.
31731
158db122
LM
317322010-06-10 Luis Machado <luisgpm@br.ibm.com>
31733
31734 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31735 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31738
caa78cf8
AS
317392010-06-02 Andreas Schwab <schwab@redhat.com>
31740
31741 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31742
b2ef2c01
UD
317432010-06-14 Ulrich Drepper <drepper@redhat.com>
31744
31745 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31746 and F_GETPIPE_SZ.
31747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31753
fbd643b6
RM
317542010-06-14 Roland McGrath <roland@redhat.com>
31755
31756 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31757
f32f2869
JJ
317582010-06-07 Jakub Jelinek <jakub@redhat.com>
31759
31760 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31761 __REDIRECT followed by __THROW.
31762 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31763 * posix/getopt.h (getopt): Likewise.
31764
2a50c078
EPM
317652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31766
31767 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31768 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31769 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31770 in AT_FLAGS.
31771 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31772 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31773
eb5ad2eb
LM
317742010-05-28 Luis Machado <luisgpm@br.ibm.com>
31775
31776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31777
3c88fe1e
L
317782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31779
31780 [BZ #11640]
31781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31782 Properly check family and model.
31783
d2f73151
TY
317842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31785
31786 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31787
ebd2e13d
LM
317882010-05-24 Luis Machado <luisgpm@br.ibm.com>
31789
31790 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31791
b32b8b45
UD
317922010-05-21 Ulrich Drepper <drepper@redhat.com>
31793
31794 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31795 symbol reference.
31796
9acbe24d
AS
317972010-05-19 Andreas Schwab <schwab@redhat.com>
31798
31799 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31800 symbol reference.
31801
f0ccf6ea
AS
318022010-05-21 Andreas Schwab <schwab@redhat.com>
31803
3d04ff3a
AS
31804 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31805 and internal_recvmmsg.
31806 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31807 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31809 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31810
f0ccf6ea
AS
31811 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31812 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31813 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31814
5b08ac57
AS
318152010-05-20 Andreas Schwab <schwab@redhat.com>
31816
31817 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31818
4828935d
LM
318192010-05-17 Luis Machado <luisgpm@br.ibm.com>
31820
31821 POWER7 optimizations.
31822 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31823 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31824
373d545e
UD
318252010-05-19 Ulrich Drepper <drepper@redhat.com>
31826
31827 * version.h: Update for 2.13 development version.
31828
21a2b1ae
AS
318292010-05-12 Andrew Stubbs <ams@codesourcery.com>
31830
31831 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31832 exceptions. Return 0.
31833
3f7dcb2b
RM
318342010-05-07 Roland McGrath <roland@redhat.com>
31835
31836 * elf/ldconfig.c (main): Add a const.
31837
5f24d53a 318382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31839
a160f8d8
UD
31840 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31841 (args_options): Add no-idn option.
31842 (ahosts_keys_int): Add idn_flags to ai_flags.
31843 (parse_option): Handle 'i' option to clear idn_flags.
31844
5f24d53a
UD
31845 * malloc/malloc.c (_int_free): Possible race in the most recently
31846 added check. Only act on the data if no current modification
31847 happened.
265bb1ce
UD
31848
31849See ChangeLog.17 for earlier changes.