]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix x86/x86_64 expm1 inaccuracy near 0 in directed rounding modes (bug 16293).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c688b419
JM
12013-12-19 Joseph Myers <joseph@codesourcery.com>
2
f88acd39
JM
3 [BZ #16293]
4 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5 round-to-nearest mode when using frndint.
6 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9 Likewise.
10 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11 sinh test to fail.
12 * math/auto-libm-test-out: Regenerated.
13 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14 (TEST_COND_x86): Likewise.
15 (expm1_tonearest_test_data): New array.
16 (expm1_test_tonearest): New function.
17 (expm1_towardzero_test_data): New array.
18 (expm1_test_towardzero): New function.
19 (expm1_downward_test_data): New array.
20 (expm1_test_downward): New function.
21 (expm1_upward_test_data): New array.
22 (expm1_test_upward): New function.
23 (main): Run the new test functions.
24 * sysdeps/i386/fpu/libm-test-ulps: Update.
25 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26
c688b419
JM
27 * include/features.h: Update comment documenting feature test
28 macros. Mention _DEFAULT_SOURCE in comment.
29 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
30 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31 _BSD_SOURCE and _SVID_SOURCE.
32 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34 !_SVID_SOURCE]: Likewise.
35 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36 (__USE_POSIX_IMPLICITLY): Define.
37 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38 (_POSIX_SOURCE): Undefine and redefine.
39 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40 (_POSIX_C_SOURCE): Likewise.
41 * manual/creature.texi (_DEFAULT_SOURCE): Document.
42 (Feature Test Macros): Update documentation of default features.
43
9f6e964c
RS
442013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45
46 * benchtests/Makefile: Add bench-strtok.
47 * benchtests/bench-strtok.c: New file: strtok benchtest.
48
ee0a148a
AM
492013-12-19 Allan McRae <allan@archlinux.org>
50
51 * manual/install.texi: Suppress menu for plain text output.
52 * INSTALL: Regenerated.
53
1f33d36a
PP
542013-12-18 Andrew Hunter <ahh@google.com>
55
56 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
57 (__signal_safe_malloc, __signal_safe_free): Likewise.
58 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
59 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
60 (__signal_safe_memalign, __signal_safe_malloc): New function.
61 (__signal_safe_free, __signal_safe_realloc): Likewise.
62 (__signal_safe_calloc): Likewise.
63 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
64 functions.
65 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
66
35e8f7ab
PP
672013-12-18 Andrew Hunter <ahh@google.com>
68
69 * elf/Versions (ld): Add _dl_clear_dtv.
70 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
71 * elf/dl-tls.c (_dl_clear_dtv): New function.
72 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
73
69a17d9d
PP
742013-12-18 Andrew Hunter <ahh@google.com>
75
76 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
77 (_dl_unmask_signals): Likewise.
78 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
79 (_dl_unmask_all_signals): Likewise.
80 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
81 (_dl_unmask_all_signals): Likewise.
82 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
83 (_dl_unmask_signals): Likewise.
84
b9ab448f
BM
852013-12-18 Brooks Moses <bmoses@google.com>
86
87 [BZ #15846]
88 * misc/getauxval.c: Include errno.h.
89 (__getauxval): Set errno to ENOENT if the requested type is not
90 found.
91 * misc/sys/auxv.h (getauxval): Document that it may set errno;
92 don't declare with __attribute_const__.
93 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
94 * manual/startup.texi: Document that getauxval sets errno.
95
23776487
JM
962013-12-18 Joseph Myers <joseph@codesourcery.com>
97
f889953b
JM
98 * math/auto-libm-test-in: Add tests of jn and yn.
99 * math/auto-libm-test-out: Regenerated.
100 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
101 (yn_test_data): Likewise.
102 * math/gen-auto-libm-tests.c (func_calc_method): Add value
103 mpfr_if_f.
104 (func_calc_desc): Add mpfr_if_f union field.
105 (FUNC_mpfr_if_f): New macro.
106 (test_functions): Add jn and yn.
107 (calc_generic_results): Assert type of second input for
108 mpfr_ff_f. Handle mpfr_if_f.
109 (output_for_one_input_case): Disable all checking for arguments
110 fitting floating-point types in case of an integer argument.
111 * sysdeps/i386/fpu/libm-test-ulps: Update.
112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
113
23776487
JM
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
115 Don't expect fegetround reference in libm.so.
116
cb756c6d
MS
1172013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
118
119 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
120 $(config-cflags-nofma).
121
2dec468f
JM
1222013-12-18 Joseph Myers <joseph@codesourcery.com>
123
5953eb3a
JM
124 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
125 * math/auto-libm-test-out: Regenerated.
126
2dec468f
JM
127 [BZ #16338]
128 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
129 to determine exponent and adjust argument to have exponent of -1.
130 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
131 log2.
132 * math/auto-libm-test-out: Regenerated.
133 * sysdeps/i386/fpu/libm-test-ulps: Update.
134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
135
4d84e6ad
OB
1362013-12-18 Ondřej Bílka <neleai@seznam.cz>
137
138 * manual/probes.texi: Remove cases when per-thread arenas are
139 disabled.
140
1818483b
AS
1412013-12-18 Andreas Schwab <schwab@suse.de>
142
143 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
144 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
145 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
146 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
147 * sysdeps/i386/i686/multiarch/Makefile: Update.
148 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
149
25de95bf
JM
1502013-12-17 Joseph Myers <joseph@codesourcery.com>
151
152 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
153 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
154
674762d9
PE
1552013-12-17 Paul Eggert <eggert@cs.ucla.edu>
156
0748546f
PE
157 Support TZ transition times < 00:00:00.
158 This is needed for version-3 tz-format files; it supports time
159 stamps past 2037 for America/Godthab (the only entry in the tz
160 database for which this change is relevant).
161 * manual/time.texi (TZ Variable): Document transition times
162 from -167:59:59 through -00:00:01.
163 * time/tzset.c (tz_rule): Time of day is now signed.
164 (__tzset_parse_tz): Parse negative time of day.
165
4480e934
PE
166 Document TZ transition times >= 25:00:00.
167 * manual/time.texi (TZ Variable): Document transition times from
168 25:00:00 through 167:59:59. These are already supported, and this
169 support will help with version-3 tz-format files.
170
69947401
PE
171 * manual/time.texi (TZ Variable): Modernize North America example
172 to reflect current (i.e., 2007-and-later) daylight saving rules.
173
674762d9
PE
174 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
175
7011c262
JM
1762013-12-17 Joseph Myers <joseph@codesourcery.com>
177
2fc6557e
JM
178 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
179 * sysdeps/unix/bsd/bits/stat.h: Likewise.
180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
182 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
183 * sysdeps/unix/bsd/bsdstat.h: Likewise.
184 * sysdeps/unix/bsd/clock.c: Likewise.
185 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
186 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
187 * sysdeps/unix/bsd/init-posix.c: Likewise.
188 * sysdeps/unix/bsd/poll.c: Likewise.
189 * sysdeps/unix/bsd/ptsname.c: Likewise.
190 * sysdeps/unix/bsd/seekdir.c: Likewise.
191 * sysdeps/unix/bsd/setegid.c: Likewise.
192 * sysdeps/unix/bsd/seteuid.c: Likewise.
193 * sysdeps/unix/bsd/setgid.c: Likewise.
194 * sysdeps/unix/bsd/setrgid.c: Likewise.
195 * sysdeps/unix/bsd/setruid.c: Likewise.
196 * sysdeps/unix/bsd/setsid.c: Likewise.
197 * sysdeps/unix/bsd/setuid.c: Likewise.
198 * sysdeps/unix/bsd/sigaction.c: Likewise.
199 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
200 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
201 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
202 * sysdeps/unix/bsd/telldir.c: Likewise.
203 * sysdeps/unix/bsd/times.c: Likewise.
204 * sysdeps/unix/bsd/usleep.c: Likewise.
205
029c7b25
JM
206 * misc/Makefile (install-lib): Remove libbsd-compat.a.
207 ($(objpfx)libbsd-compat.a): Remove rule.
208
7011c262
JM
209 * include/features.h (__FAVOR_BSD): Do not define.
210 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
211 features conflicting with POSIX.
212 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
213 (_BSD_SOURCE): Remove description of not being a subset of other
214 feature test macros.
215 * manual/job.texi (getpgrp): Do not document BSD version.
216 (getpgid): Do not document by reference to BSD getpgrp.
217 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
218 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
219 * signal/signal.h [__FAVOR_BSD]: Likewise.
220 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
221 instead of making contents conditional on [__FAVOR_BSD].
222 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
223
affb6f78
AZ
2242013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
225
226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
227
c88769dd
JM
2282013-12-17 Joseph Myers <joseph@codesourcery.com>
229
6432a540
JM
230 [BZ #16314]
231 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
232 values below 2**-450, not 2**-500.
233 * math/auto-libm-test-in: Don't allow spurious underflow from
234 hypot.
235 * math/auto-libm-test-out: Regenerated.
236
c88769dd
JM
237 [BZ #16316]
238 [BZ #16330]
239 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
240 values of ha and hb and sort them after adjusting subnormal
241 arguments.
242 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
243 Likewise.
244 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
245 values of ea and eb and sort them after adjusting subnormal
246 arguments.
247 * math/auto-libm-test-in: Do not expect some hypot tests of
248 subnormals to fail. Add more hypot tests.
249 * math/auto-libm-test-out: Regenerated.
250
29618f6b
KK
2512013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
252
253 [BZ #13304]
254 * sysdeps/sh/s_fma.c: New file.
255 * sysdeps/sh/s_fmaf.c: New file.
256 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
257 version.
258 * sysdeps/sh/Implies: Add sh/soft-fp.
259
eacfdfbf
RM
2602013-12-16 Roland McGrath <roland@hack.frob.com>
261
262 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
263 level of indirection to members `objname', `errstring', `malloced'.
264 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
265 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
266 it as the __longjmp argument (just pass 1 instead).
267 (_dl_catch_error): Initialize C with argument pointers and address of
268 volatile local ERRCODE rather than copying values out of C at return.
269
ff362e5b
JM
2702013-12-16 Joseph Myers <joseph@codesourcery.com>
271
272 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
273 * math/auto-libm-test-out: Regenerated.
274 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
275 (hypot_test_data): Likewise.
276 (pow_test_data): Likewise.
277 (pow_tonearest_test_data): Likewise.
278 * math/gen-auto-libm-tests.c (func_calc_method): Add value
279 mpfr_ff_f.
280 (func_calc_desc): Add mpfr_ff_f union field.
281 (FUNC_mpfr_ff_f): New macro.
282 (test_functions): Add atan2, hypot and pow.
283 (special_fill_min): New function.
284 (special_fill_minus_min): Likewise.
285 (special_fill_min_subnorm): Likewise.
286 (special_fill_minus_min_subnorm): Likewise.
287 (special_real_inputs): Add min, -min, min_subnorm and
288 -min_subnorm.
289 (calc_generic_results): Handle mpfr_ff_f.
290 * sysdeps/i386/fpu/libm-test-ulps: Update.
291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
292
5764c27f
WN
2932013-12-16 Will Newton <will.newton@linaro.org>
294
295 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
296 (Aligned Memory Blocks): Add documentation for aligned_alloc
297 and suggest it as an alternative to posix_memalign.
298 (Hooks for Malloc): Document __memalign_hook is also called
299 for aligned_alloc. (Summary of Malloc): Add summary for
300 aligned alloc. Document __memalign_hook is also called
301 for aligned_alloc.
302
0a096e44
WN
3032013-12-16 Will Newton <will.newton@linaro.org>
304
305 * manual/memory.texi (Malloc Examples): Clarify default
306 alignment documentation. Suggest posix_memalign rather
307 than memalign or valloc.
308 (Aligned Memory Blocks): Remove suggestion to use memalign
309 or valloc. Remove obsolete comment about BSD.
310 Document memalign errno values and mark the function obsolete.
311 Document posix_memalign returned error codes. Mark valloc
312 as obsolete. (Hooks for Malloc): __memalign_hook is also
313 called for posix_memalign and valloc.
314 (Summary of Malloc): Add posix_memalign to function summary.
315 __memalign_hook is also called for posix_memalign and valloc.
316
8d561986
SP
3172013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
318
319 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
320 TAYLOR_SIN.
321 (__sin): Adjust.
322 (__cos): Likewise.
323 (sloww): Use mynumber union. Expand ternary operator into
324 if-else statements.
325 (cslow): use mynumber union.
326
73616a74
AM
3272013-12-16 Allan McRae <allan@archlinux.org>
328
9e8ac24b
AM
329 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
330 * configure: Regenerated.
331
6f8e37eb
AM
332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
333
8894bad3
AM
334 [BZ #14120]
335 * configure.ac: Added --enable-maintainer-mode. Check for
336 autoconf when enabled.
337 * configure: Regenerated.
338
73616a74
AM
339 * nscd/nscd.service: New file.
340 * nscd/nscd.tmpfiles: New file.
341
584b18eb
OB
3422013-12-14 Ondřej Bílka <neleai@seznam.cz>
343
344 [BZ #12100]
345 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
346 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
347 * sysdeps/x86_64/multiarch/strstr.c: ... here.
348 (strstr): Add __strstr_sse2_unaligned ifunc.
349 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
350 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
351 (strcasestr): Remove __strcasestr_sse42 ifunc.
352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
353 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
355
8a5c7897
KK
3562013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
357
358 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
359 * sysdeps/sh/bits/fenv.h: ... here.
360 * sysdeps/sh/sh4/fpu/bits: Remove directory.
361
fd712ef3
AZ
3622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
363
364 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
365
42fcb46c
AZ
3662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
367
368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
369 hypotf multiarch implementations.
370 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
371 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
372 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
373 multiarch hypot for PPC64.
374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
377 multiarch hypotf for PPC64.
378
83efded4
AZ
3792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
380
381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
382 modff multiarch implementations.
383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
386 multiarch modf for PPC64.
387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
390 multiarch modff for PPC64.
391
43e246d2
AZ
3922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
393
394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
395 and logl multiarch implementations.
396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
399 multiarch logb for PPC64.
400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
403 multiarch logb for PPC64.
404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
407 multiarch logb for PPC64.
408
8fdad123
AZ
4092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
410
411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
412 isinff multiarch implementation.
413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
414 file.
415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
417 multiarch isinf for PPC64.
418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
419 file.
420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
421 multiarch isinff for PPC64.
422
1481d706
AZ
4232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424
425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
426 finitef multiarch implementation.
427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
428 file.
429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
431 multiarch finite for PPC64.
432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
433 file.
434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
435 multiarch finitef for PPC64.
436
5ccd5fc8
AZ
4372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
438
439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
440 lrint multiarch implementation.
441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
442 file.
443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
445 multiarch llrint for PPC64.
446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
447 multiarch lrint for PPC64.
448
2568f3fa
AZ
4492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450
451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
452 copysignf multiarch implementation.
453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
454 file.
455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
456 file.
457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
458 multiarch copysign for PPC64.
459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
460 multiarch copysignf for PPC64.
461
1cb341fd
AZ
4622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463
464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
465 multiarch implementation.
466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
467 file.
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
469 file.
470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
471 file.
472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
473 file.
474 multiarch llround for PPC64.
475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
476 multiarch trunc for PPC64.
477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
478 multiarch truncf for PPC64.
479
59a3e194
AZ
4802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
481
482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
483 multiarch implementation.
484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
485 file.
486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
487 file.
488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
489 file.
490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
491 file.
492 multiarch llround for PPC64.
493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
494 multiarch round for PPC64.
495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
496 multiarch roundf for PPC64.
497
357fd3b4
AZ
4982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499
500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
501 multiarch implementation.
502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
503 file.
504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
505 file.
506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
507 file.
508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
509 file.
510 multiarch llround for PPC64.
511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
512 multiarch floor for PPC64.
513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
514 multiarch floorf for PPC64.
515
96770f12
AZ
5162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
517
518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
519 multiarch implementation.
520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
521 file.
522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
523 file.
524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
525 file.
526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
527 file.
528 multiarch llround for PPC64.
529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
530 multiarch ceil for PPC64.
531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
532 multiarch ceilf for PPC64.
533
c3627f6e
AZ
5342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535
536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
537 multiarch implementation.
538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
539 file.
540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
541 file.
542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
543 file.
544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
545 multiarch llround for PPC64.
546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
547 multiarch lround for PPC64.
548
b2284ad7
AZ
5492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
550
551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
552 multiarch implementation.
553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
556 file.
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
560 multiarch isnan for PPC64.
561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
562 multiarch isnanf for PPC64.
563
69bbc63d
AZ
5642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565
566 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
567 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
568 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
569 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
570 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
572
c24517c9
AZ
5732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
574
575 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
576 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
577 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
578 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
579
a52374e8
AZ
5802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
581
582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
583 multiarch implementations.
584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
585 (__libc_ifunc_impl_list): Likewise.
586 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
588 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
589 multiarch stpcpy for PPC64.
590
7f5ec113
AZ
5912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
592
593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
594 multiarch implementations.
595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
596 (__libc_ifunc_impl_list): Likewise.
597 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
598 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
599 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
600 multiarch strcpy for PPC64.
601
e28bcd42
AZ
6022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
603
604 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
605 redefine function name.
606 (_wordcopy_fwd_dest_aligned): Likewise.
607 (_wordcopy_bwd_aligned): Likewise.
608 (_wordcopy_bwd_dest_aligned): Likewise.
609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
610 multiarch implementations.
611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
612 (__libc_ifunc_impl_list): Likewise.
613 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
614 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
615 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
616 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
617 multiarch wcscpy for PPC64.
618
92cacfce
AZ
6192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
620
621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
622 multiarch implementations.
623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
624 (__libc_ifunc_impl_list): Likewise.
625 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
626 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
627 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
628 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
629 multiarch wcscpy for PPC64.
630
7b714620
AZ
6312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632
633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
634 multiarch implementations.
635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
636 (__libc_ifunc_impl_list): Likewise.
637 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
638 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
639 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
640 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
641 multiarch wcsrchr for PPC64.
642
16fd2ae3
AZ
6432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
644
645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
646 multiarch implementations.
647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
648 (__libc_ifunc_impl_list): Likewise.
649 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
650 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
651 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
652 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
653 multiarch wcschr for PPC64.
654
9ee2969b
AZ
6552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
656
657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
658 multiarch implementations.
659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
660 (__libc_ifunc_impl_list): Likewise.
661 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
662 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
663 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
664 multiarch strchrnul for PPC64.
665
372dc060
AZ
6662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
667
668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
669 implementations.
670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
671 (__libc_ifunc_impl_list): Likewise.
672 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
673 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
674 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
675 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
676 strchr for PPC64.
677
24c2c3b9
AZ
6782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
679
680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
681 implementations.
682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
683 (__libc_ifunc_impl_list): Likewise.
684 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
685 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
686 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
687 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
688 strncmp for PPC64.
689
1c92d9a0
AZ
6902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
691
692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
693 multiarch implementations.
694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
695 (__libc_ifunc_impl_list): Likewise.
696 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
697 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
698 strncasecmp for PPC64.
699 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
700 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
701 multiarch strncasecmp_l for PPC64.
702
17de3ee3
AZ
7032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
704
705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
706 multiarch implementations.
707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
708 (__libc_ifunc_impl_list): Likewise.
709 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
710 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
711 multiarch strcasecmp for PPC64.
712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
713 file.
714 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
715 multiarch strcasecmp_l for PPC64.
716
62982bf9
AZ
7172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718
719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
720 implementations.
721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
722 (__libc_ifunc_impl_list): Likewise.
723 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
725 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
726 strnlen for PPC64.
727
a65f4904
AZ
7282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
729
730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
731 implementations.
732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
733 (__libc_ifunc_impl_list): Likewise.
734 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
735 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
736 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
737 strlen for PPC64.
738
1fd005ad
AZ
7392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
740
741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
742 implementations.
743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
744 (__libc_ifunc_impl_list): Likewise.
745 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
746 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
747 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
748 rawmemrchr for PPC64.
749
cd05ba91
AZ
7502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
751
752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
753 implementation.
754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
755 (__libc_ifunc_impl_list): Likewise.
756 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
757 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
758 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
759 memrchr for PPC64.
760
870f8676
AZ
7612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762
763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
764 implementation.
765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
766 (__libc_ifunc_impl_list): Likewise.
767 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
768 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
769 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
770 memchr for PPC64.
771
f00be62b
AZ
7722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
773
774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
775 implementation.
776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
777 (__libc_ifunc_impl_list): Likewise.
778 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
779 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
780 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
781 mempcpy for PPC64.
782
8a29a3d0
AZ
7832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
784
785 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
786 avoid cretion of __bzero symbol.
787 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
788 Likewise.
789 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
790 Likewise.
791 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
792 Likewise.
793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
794 multiarch implementations.
795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
796 (__libc_ifunc_impl_list): Likewise.
797 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
798 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
799 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
800 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
801 bzero for PPC32.
802 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
803 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
804 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
805 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
806 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
807 memset for PPC64.
808 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
809
07253fcf
AZ
8102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811
812 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
814 implementations.
815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
816 (__libc_ifunc_impl_list): Likewise.
817 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
818 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
819 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
820 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
821 memcmp for PPC64.
822
b5beafbc
AZ
8232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
824
825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
826 multiarch for POWER/PPC64.
827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
828 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
829 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
830 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
831 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
832 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
835 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
836 memcpy for PPC64.
837
5e6a4d4b
AZ
8382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
839
840 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
841 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
842 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
843 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
844 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
845 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
846 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
847 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
848 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
849 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
850 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
851 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
852 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
853 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
854 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
862
ddfab6dc
KK
8632013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
864
865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
866
19b5525e
SP
8672013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
868
869 * benchtests/Makefile (bench): Add exp2 and log2.
870 (LDLIBS-bench-exp2): Add -lm.
871 (LDLIBS-bench-log2): Likewise.
872 * benchtests/exp2-inputs: New inputs file.
873 * benchtests/log2-inputs: New inputs file.
874 * benchtests/log-inputs: Add new inputs.
875 * benchtests/tan-inputs: Likewise.
876
196f7f5d
SP
8772013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
878
7a74607f
SP
879 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
880 definition...
881 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
882 csloww1, csloww2): ... from here.
883
196f7f5d
SP
884 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
885 instead of structures.
886 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
887 (POLYNOMIAL): Likewise.
888 (TAYLOR_SLOW): Likewise.
889 (__sin): Likewise.
890 (__cos): Likewise.
891 (slow1): Likewise.
892 (slow2): Likewise.
893 (sloww): Likewise.
894 (sloww1); Likewise.
895 (sloww2): Likewise.
896 (bsloww1): Likewise.
897 (bsloww2): Likewise.
898 (cslow2): Likewise.
899 (csloww): Likewise.
900 (csloww1): Likewise.
901 (csloww2): Likewise.
902
0dfa665c
OB
9032013-12-10 Ondřej Bílka <neleai@seznam.cz>
904
905 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
906 (__malloc_assert, __libc_realloc, __libc_calloc,
907 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
908 memcpy and memset.
909 * malloc/hooks.c (realloc_check): Likewise.
910
5782a80f
OB
9112013-12-10 Ondřej Bílka <neleai@seznam.cz>
912
913 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
914 * malloc/arena.c: Remove PER_THREAD conditional.
915 [!PER_THREAD]: Remove code.
916 (ptmalloc_unlock_all2): Likewise.
917 (ptmalloc_init): Likewise.
918 (_int_new_arena): Likewise.
919 (arena_get2): Likewise.
920 * malloc/hooks.c (__malloc_get_state): Likewise.
921 (__malloc_set_state): Likewise.
922 * malloc/malloc.c: Likewise.
923 (struct malloc_state): Likewise.
924 (struct malloc_par): Likewise.
925 (__libc_realloc): Likewise.
926 (__libc_mallopt): Likewise.
927
aeb95445
AZ
9282013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
929
930 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
931
e8349efd
OB
9322013-12-09 Ondřej Bílka <neleai@seznam.cz>
933
934 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
935 macro to a function. Check for zero perturb_byte.
936 (_int_malloc, _int_free): Remove zero perturb_byte checks.
937
f3eeb3fc
OB
9382013-12-09 Ondřej Bílka <neleai@seznam.cz>
939
940 * malloc/malloc.c: (force_reg): Remove.
941 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
942 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
943 force_reg by atomic_forced_read.
944 * malloc/arena.c (ptmalloc_init): Likewise.
945 * malloc/hooks.c (top_check): Likewise.
946
be2f9009
AZ
9472013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
948
949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
950
e7b914bd
MT
9512013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
952
953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
954
9f0be4f8
JM
9552013-12-08 Joseph Myers <joseph@codesourcery.com>
956
957 * math/auto-libm-test-in: Add tests of lgamma.
958 * math/auto-libm-test-out: Regenerated.
959 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
960 (M_LOG_2_SQRT_PIl): Likewise.
961 (lgamma_test_data): Use AUTO_TESTS_f_f1.
962 * math/gen-auto-libm-tests.c (func_calc_method): Add value
963 mpfr_f_f1.
964 (func_calc_desc): Add mpfr_f_f1 union field.
965 (ARGS1): New macro.
966 (ARGS2): Likewise.
967 (ARGS3): Likewise.
968 (ARGS4): Likewise.
969 (RET1): Likewise.
970 (RET2): Likewise.
971 (CALC): Likewise.
972 (FUNC): Likewise.
973 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
974 (test_functions): Add lgamma.
975 (calc_generic_results): Handle mpfr_f_f1.
976 * sysdeps/i386/fpu/libm-test-ulps: Update.
977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
978
24eeafdb
AZ
9792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
980
981 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
982 __mpn_add_n for PowerPC64/POWER7.
983 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
984 __mpn_sub_n for PowerPC64/POWER7.
985
4a2c0fd4
AZ
9862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987
988 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
989 __mpn_addmul_1 for PowerPC64.
990 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
991 __mpn_submul_1 for PowerPC64.
992 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
993 for PowerPC64.
994 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
995 for PowerPC64.
996
4b5b548c
FS
9972013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
998
999 [BZ #15089]
1000 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1001
0a3ac0aa
AZ
10022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003
1004 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1005
ccdc8438
AZ
10062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1007
1008 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1009 add multiarch folders.
1010 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1011 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1012 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1013 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1014 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1015 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1016 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1017 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1018 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1019 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1020 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1027
2e973d99
AZ
10282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029
1030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1031 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1033 New file.
1034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1035 New file.
1036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1037 multiarch __ieee754_hypot for PowerPC32.
1038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1039 New file.
1040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1041 New file.
1042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1043 multiarch __ieee754_hypotf for PowerPC32.
1044
2d9470b2
AZ
10452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1046
1047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1048 long_double_symbol only if __logbl is defined.
1049 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1050 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1052 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1054 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1055 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1056 path for implementation.
1057 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1058 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1060 logb, and logbl multiarch implementations for PowerPC32.
1061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1062 file.
1063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1064 file.
1065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1066 multiarch logb for PowerPC32.
1067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1068 file.
1069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1070 file.
1071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1072 multiarch logbf for PowerPC32.
1073 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1075 file.
1076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1077 multiarch logbl implementation for PowerPC32.
1078
5212ffce
AZ
10792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1080
1081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1082 and modff multiarch implementations.
1083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1084 New file.
1085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1086 New file.
1087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1088 multiarch modf for PowerPC32.
1089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1090 New file.
1091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1092 New file.
1093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1094 multiarch modff for PowerPC32.
1095
79dccf31
AZ
10962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097
1098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1099 and lrintf multiarch implementations.
1100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1101 New file.
1102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1103 New file.
1104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1105 multiarch lrint for PowerPC32.
1106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1107 file: multiarch lrintf for PowerPC32.
1108
deb66480
AZ
11092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1112 and lroundf multiarch implementations.
1113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1114 New file.
1115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1116 New file.
1117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1118 New file.
1119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1120 multiarch lround for PowerPC32.
1121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1122 file: multiarch lroundf for PowerPC32.
1123
264b036b
AZ
11242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1125
1126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1127 copysign and copysignf multiarch implementations.
1128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1129 New file.
1130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1131 New file.
1132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1133 file: multiarch copysign for PowerPC32.
1134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1135 file: multiarch copysignf for PowerPC32.
1136
d47db6c9
AZ
11372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1140 and truncf multiarch implementations.
1141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1142 New file.
1143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1144 file.
1145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1146 multiarch trunc for PowerPC32.
1147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1148 New file.
1149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1150 New file.
1151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1152 multiarch truncf for PowerPC32.
1153
ddb60b5a
AZ
11542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1155
1156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1157 and roundf multiarch implementations.
1158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1159 New file.
1160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1161 file.
1162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1163 multiarch round for PowerPC32.
1164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1165 New file.
1166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1167 New file.
1168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1169 multiarch roundf for PowerPC32.
1170
bedcf49b
AZ
11712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1174 and floorf multiarch implementations.
1175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1176 New file.
1177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1178 file.
1179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1180 multiarch floor for PowerPC32.
1181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1182 New file.
1183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1184 New file.
1185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1186 multiarch floorf for PowerPC32.
1187
35ae5b40
AZ
11882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1189
1190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1191 and ceilf multiarch implementations.
1192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1193 New file.
1194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1195 file.
1196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1197 multiarch ceil for PowerPC32.
1198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1199 New file.
1200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1201 file.
1202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1203 multiarch ceilf for PowerPC32.
1204
ae1a4cd9
AZ
12052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1206
1207 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1208 is defined.
1209 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1210 FINITEF is defined.
1211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1212 and finitef multiarch implementations.
1213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1214 New file.
1215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1216 file.
1217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1218 multiarch finite for PowerPC32.
1219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1220 New file.
1221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1222 file: multiarch finitef for PowerPC32.
1223
64fffd65
AZ
12242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1225
1226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1227 and isinff multiarch implementations.
1228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1229 file.
1230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1231 file.
1232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1233 multiarch isinf for PowerPC32.
1234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1235 New file.
1236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1237 multiarch isinff for PowerPC32.
1238
8e4e7ba2
AZ
12392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240
1241 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1242 alias when __isnan is defined.
1243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1244 and isnanf multiarch implementations.
1245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1246 file.
1247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1248 file.
1249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1250 file.
1251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1252 file.
1253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1254 multiarch isnan for PowerPC32.
1255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1256 New file.
1257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1258 New file.
1259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1260 multiarch isnanf for PowerPC32.
1261
ddba588e
AZ
12622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1263
1264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1265 and sqrtf multiarch implementations.
1266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1267 file.
1268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1269 file.
1270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1271 multiarch sqrt for PowerPC32.
1272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1273 file.
1274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1275 file.
1276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1277 multiarch sqrtf for PowerPC32.
1278
0f96a2f0
AZ
12792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1280
1281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1282 and llroundf multiarch implementations.
1283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1284 New file.
1285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1286 New file.
1287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1288 New file.
1289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1290 file: multiarch llround for PowerPC32.
1291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1292 file: multiarch llroundf for PowerPC32.
1293
c9b5d79e
AZ
12942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1297 multiarch PowerPC32 fpu implementations.
1298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1299 New file.
1300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1301 New file.
1302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1303 multiarch llrint for PowerPC32.
1304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1305 New file.
1306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1307 New file.
1308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1309 file.
1310
9cbb3aab
AZ
13112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1312
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1314
ea5a72f8
AZ
13152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
1317 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1318 file.
1319 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1320 file.
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1322 file.
1323 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1324 multiarch wordcopy for PPC32.
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1326 wordcopy objects.
1327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1328 (__libc_ifunc_impl_list): Likewise.
1329 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1330 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1331 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1332 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1333 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1334 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1335
93be09e7
AZ
13362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1337
1338 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1340 file.
1341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1342 file.
1343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1344 file.
1345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1346 multiarch wcscpy for PPC32.
1347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1348 multiarch objects.
1349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1350 (__libc_ifunc_impl_list): Likewise.
1351 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1352 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1353 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1354 sysdeps/powerpc/power6/wcscpy.c.
1355
bb04e529
AZ
13562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357
1358 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1359 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1360 file.
1361 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1362 file.
1363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1364 file.
1365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1366 multiarch wcsrchr for PPC32.
1367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1368 multiarch objects.
1369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1370 (__libc_ifunc_impl_list): Likewise.
1371 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1372 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1373 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1374 sysdeps/powerpc/power6/wcsrchr.c.
1375
05b5cd1c
AZ
13762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377
1378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1379 file.
1380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1381 file.
1382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1384 multiarch wcschr for PPc32.
1385 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1386 multiarch objects.
1387 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1388 (__libc_ifunc_impl_list): Likewise.
1389 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1390 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1391 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1392 sysdeps/powerpc/power6/wcschr.c.
1393
ba964147
AZ
13942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395
1396 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1397 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1398 file.
1399 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1400 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1401 file: multiarch strchr for PPC32.
1402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1403 multiarch objects.
1404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1405 (__libc_ifunc_impl_list): Likewise.
1406
31c81aaa
AZ
14072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1408
1409 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1410 name.
1411 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1412 file.
1413 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1414 file.
1415 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1416 multiarch strchrnul for PPC32.
1417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1418 multiarch objects.
1419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1420 (__libc_ifunc_impl_list): Likewise.
1421
0d0607d9
AZ
14222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423
1424 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1425 file.
1426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1427 multiarch strncasecmp for PPC32.
1428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1429 file.
1430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1431 multiarch strncasecmp_l for PPC32.
1432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1433 strncasecmp multiarch objects.
1434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1435 (__libc_ifunc_impl_list): Likewise.
1436
4dfd5c86
AZ
14372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1438
1439 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1440 file.
1441 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1442 multiarch strncasecmp for PPC32.
1443 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1444 New file.
1445 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1446 multiarch strcasecmp_l for PPC32.
1447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1448 multiarch objects.
1449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1450 (__libc_ifunc_impl_list): Likewise.
1451
a19e01a3
AZ
14522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1455 file.
1456 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1457 file.
1458 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1459 multiarch strncmp for PPC32.
1460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1461 multiarch objects.
1462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1463 (__libc_ifunc_impl_list): Likewise.
1464
ae9cf7a2
AZ
14652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466
1467 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1468 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1469 file.
1470 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1471 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1473 multiarch objects.
1474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1475 (__libc_ifunc_impl_list): Likewise.
1476
3148bb7d
AZ
14772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1478
1479 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1480 file.
1481 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1482 file.
1483 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1485 multiarch objects.
1486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1487 (__libc_ifunc_impl_list): Likewise.
1488
7af8b946
AZ
14892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1490
1491 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1492 file.
1493 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1494 file.
1495 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1496 multiarch rawmemchr for PPC32.
1497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1498 multiarch objects.
1499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1500 (__libc_ifunc_impl_list): Likewise.
1501
03a6aa6a
AZ
15022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1503
1504 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1505 file.
1506 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1507 file.
1508 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1509 file: memrchr multiarch for PPC32.
1510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1511 multiarch objects.
1512 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1513 (__libc_ifunc_impl_list): Likewise.
1514
1c62e6d9
AZ
15152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1516
1517 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1518 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1519 file.
1520 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1521 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1522 multiarch memchr for PPC32.
1523 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1524 multiarch objects.
1525 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1526 (__libc_ifunc_impl_list): Likewise.
1527
87da8bdb
AZ
15282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1529
1530 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1531 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1532 file.
1533 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1534 file.
1535 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1536 file: multiarch mempcpy for PPC32.
1537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1538 multiarch objects.
1539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1540 (__libc_ifunc_impl_list): Likewise.
1541
20ed4714
AZ
15422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543
1544 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1545 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1546 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1547 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1548 multiarch bzero for PPC32.
1549 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1550 file.
1551 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1552 file.
1553 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1554 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1555 file: multiarch memset for PPC32.
1556 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1558 memset multiarch objects.
1559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1560 (__libc_ifunc_impl_list): Likewise.
1561
ab3e3a46
AZ
15622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563
1564 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1565 file.
1566 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1568 memcmp for PPC32.
1569 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1571 multiarch objects.
1572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1573 (__libc_ifunc_impl_list): Likewise.
1574
930de6f0
AZ
15752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1576
1577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1579 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1580 file.
1581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1582 file.
1583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1584 file.
1585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1586 multiarch memcpy for PPC32.
1587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1588 multiarch objects.
1589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1590 (__libc_ifunc_impl_list): Likewise.
1591
4c628e00
AZ
15922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1593
1594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1595 support multiarch for POWER/PPC32.
1596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1597 Likewise.
1598 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1600 Implies file to make multiarch folder appers before the fpu and
1601 default folder for power4 configuration.
1602
f4479220
SP
16032013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1604
1605 * scripts/bench.pl: Append volatile keyword to type.
1606
8517800f
KK
16072013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1608
1609 * sysdeps/sh/sotruss-lib.c: New file.
1610 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1611
180138f1
AZ
16122013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1613
1614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1615
bbf37bdc
JM
16162013-12-05 Joseph Myers <joseph@codesourcery.com>
1617
e47cc4e0
JM
1618 [BZ #6810]
1619 * math/w_tgamma.c: Include <errno.h>.
1620 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1621 * math/w_tgammaf.c: Include <errno.h>.
1622 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1623 * math/w_tgammal.c: Include <errno.h>.
1624 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1625 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1626 underflow. Add more tgamma tests.
1627 * math/auto-libm-test-out: Regenerated.
1628 * sysdeps/i386/fpu/libm-test-ulps: Update.
1629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1630
bbf37bdc
JM
1631 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1632 sin, sinh, tan, tanh, tgamma, y0 and y1.
1633 * math/auto-libm-test-out: Regenerated.
1634 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1635 (TEST_COND_x86): Likewise.
1636 (M_E2l): Remove macro.
1637 (M_E3l): Likewise.
1638 (M_2_SQRT_PIl): Likewise.
1639 (M_SQRT_PIl): Likewise.
1640 (M_1_DIV_El): Likewise.
1641 (log_test_data): Use AUTO_TESTS_f_f.
1642 (log10_test_data): Likewise.
1643 (log1p_test_data): Likewise.
1644 (log2_test_data): Likewise.
1645 (sin_test_data): Likewise.
1646 (sin_tonearest_test_data): Likewise.
1647 (sin_towardzero_test_data): Likewise.
1648 (sin_downward_test_data): Likewise.
1649 (sin_upward_test_data): Likewise.
1650 (sinh_test_data): Likewise.
1651 (sinh_tonearest_test_data): Likewise.
1652 (sinh_towardzero_test_data): Likewise.
1653 (sinh_downward_test_data): Likewise.
1654 (sinh_upward_test_data): Likewise.
1655 (tan_test_data): Likewise.
1656 (tan_tonearest_test_data): Likewise.
1657 (tan_towardzero_test_data): Likewise.
1658 (tan_downward_test_data): Likewise.
1659 (tan_upward_test_data): Likewise.
1660 (tanh_test_data): Likewise.
1661 (tgamma_test_data): Likewise.
1662 (y0_test_data): Likewise.
1663 (y1_test_data): Likewise.
1664 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1665 (special_real_inputs): Add pi/4.
1666 * sysdeps/i386/fpu/libm-test-ulps: Update.
1667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1668
eb5ad6b9
AZ
16692013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1670
1671 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1672 "longjmp_target" static probes.
1673 (__longjmp): Rename to __longjmp_symbol.
1674 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1675 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1676 on which longjmp to generate.
1677 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1678 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1679 probe.
1680 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1681 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1682 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1683 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1684 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1685 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1687 __longjmp_symbol based on which __longjmp to generate.
1688 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1689 probe.
1690 (setjmp): Rename to setjmp_symbol.
1691 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1692 (_setjmp): Rename to _setjmp_symbol.
1693 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1694 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1695 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1696 which setjmp to generate.
1697 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1698 "longjmp_target" static probes.
1699
d136c6dc
SP
17002013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1701
9298ecba
SP
1702 * benchtests/README: Add note about output arguments.
1703 * benchtests/bench-sincos.c: Remove file.
1704 * benchtests/sincos-inputs: New file.
1705 * scripts/bench.pl: Identify output arguments and define
1706 static variables for them.
1707
232983e9
SP
1708 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1709
d136c6dc
SP
1710 [BZ #15941]
1711 * Makefile (INSTALL): Add install-plain.texi as the primary
1712 dependency.
1713 * manual/install-plain.texi: New file.
1714 * manual/install.texi: Include node directive only for
1715 non-plaintext output.
1716
699ff837
JM
17172013-12-04 Joseph Myers <joseph@codesourcery.com>
1718
ab07cea8
JM
1719 * stdlib/longlong.h: Update from GCC.
1720
699ff837
JM
1721 [BZ #6807]
1722 [BZ #15901]
1723 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1724 * math/w_j0f.c (y0f): Likewise.
1725 * math/w_j0l.c (__y0l): Likewise.
1726 * math/w_j1.c (y1): Likewise.
1727 * math/w_j1f.c (y1f): Likewise.
1728 * math/w_j1l.c (__y1l): Likewise
1729 * math/w_jn.c (yn): Likewise.
1730 * math/w_jnf.c (ynf): Likewise.
1731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1732 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1733 value for Bessel function domain errors outside _SVID_ mode.
1734 Adjust sign of return value for yn (negative integer, 0).
1735 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1736 by zero in return for negative x and set sign appropriately for
1737 negative n.
1738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1739 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1740 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1741 expectations in error cases.
1742 (y1_test_data): Likewise.
1743 (yn_test_data): Likewise.
1744 * sysdeps/i386/fpu/libm-test-ulps: Update.
1745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1746
5b118558
UW
17472013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1748
1749 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1750 "64" to "64-v1". Add "64-v2".
1751 (abi-64-options): Rename to ...
1752 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1753 (abi-64-condition): Rename to ...
1754 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1755 (abi-64-ld-soname): Rename to ...
1756 (abi-64-v1-ld-soname): ... this.
1757 (abi-64-v2-options): Define.
1758 (abi-64-v2-condition): Likewise.
1759 (abi-64-v2-ld-soname): Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1761 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1765
61cd8fe4
UW
17662013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1767 Alan Modra <amodra@gmail.com>
1768
1769 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1770 New versions for use with the ELFv2 ABI.
1771 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1772 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1773 declaration.
1774 (struct La_ppc64v2_retval): Likewise.
1775 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1776 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1777 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1778 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1779 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1780 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1781 Do not save or restore CR.
1782 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1783 (_dl_profile_resolve): Do no save or restore CR. Support extended
1784 return values for ELFv2 ABI. Fix location of FPR return registers.
1785 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1786 updated values for _CALL_ELF == 2.
1787 (La_regs, La_retval, int_retval): Likewise.
1788
8b8a692c
UW
17892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1790
1791 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1792 (FRAME_MIN_SIZE_PARM): Likewise.
1793 (FRAME_BACKCHAIN): Likewise.
1794 (FRAME_CR_SAVE): Likewise.
1795 (FRAME_LR_SAVE): Likewise.
1796 (FRAME_TOC_SAVE): Likewise.
1797 (FRAME_PARM_SAVE): Likewise.
1798 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1799 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1800 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1801 (call_mcount_parm_offset): New macro.
1802 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1803 (PROF): Use symbolic stack frame offsets.
1804 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1805 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1806 Redefine in terms of FRAME_MIN_SIZE.
1807 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1808 (_dl_profile_resolve): Likewise. Update comment.
1809 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1810 symbols stack frame offsets.
1811 (__sigsetjmp): Likewise.
1812 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1813 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1814 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1815 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1816
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1818 (FRAME_BACKCHAIN): Remove.
1819 (FRAME_CR_SAVE): Likewise.
1820 (FRAME_LR_SAVE): Likewise.
1821 (FRAME_COMPILER_DW): Likewise.
1822 (FRAME_LINKER_DW): Likewise.
1823 (FRAME_TOC_SAVE): Likewise.
1824 (FRAME_PARM_SAVE): Likewise.
1825 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1826 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1827 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1829 (CHECK_SP): Use symbolic stack frame offsets.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1831 zone" instead of caller's parameter save area for temp storage.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1833 Likewise. Also, use symbolic stack frame offsets.
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1835 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1836 our own stack frame instead of the caller's.
1837 (__socket): Use symbolic stack frame offsets.
1838
122b66de
UW
18392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1840 Alan Modra <amodra@gmail.com>
1841
1842 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1843 Define.
1844 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1845 PPC64_LOCAL_ENTRY_OFFSET): Define.
1846 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1847 New function.
1848 (elf_machine_fixup_plt): Call it.
1849 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1850 reloc arguments.
1851 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1852 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1853 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1854 r2 before calling target.
1855
696caf1d
UW
18562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1857 Alan Modra <amodra@gmail.com>
1858
1859 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1860 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1861 versions of macros to support ELFv2 ABI.
1862 (LOCALENTRY): New macro.
1863 (ENTRY, EALIGN): Use it.
1864 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1865 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1866 fall through into ENTRY entry point.
1867 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1868 Only define if _CALL_ELF != 2.
1869
1870 (elf_machine_matches_host): Verify ABI version matches.
1871 (RTLD_START): Use LOCALENTRY.
1872 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1873 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1874 (PLT_ENTRY_WORDS): New macro.
1875 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1876 (elf_machine_runtime_setup): Support ELFv2 ABI.
1877 (elf_machine_fixup_plt): Likewise.
1878 (elf_machine_plt_conflict): Likewise.
1879 (resolve_ifunc): Likewise.
1880 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1881 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1882 Likewise.
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1884 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1886 (makecontext): Support ELFv2 ABI.
1887 * elf/elf.h (EF_PPC64_ABI): Define.
1888
d31beafa
UW
18892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1890
1891 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1892 New assembler macro.
1893 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1894 [ASSEMBLER] (ENTRY): ... but instead here ...
1895 [ASSEMBLER] (EALIGN): ... and here.
1896 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1897 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1898 [!ASSEMBLER] (ENTRY_2): Use it.
1899 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1900 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1901 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1902 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1903 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1905 Use PPC64_LOAD_FUNCPTR.
1906
b525166b
UW
19072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1908
1909 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1910
7ec07d9a
AM
19112013-12-04 Alan Modra <amodra@gmail.com>
1912
1913 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1914 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1915 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1916 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1917
1918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1919 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1920 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1921 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1922 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1923 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1924
5162e7dd
UW
19252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1926
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1928 (__makecontext): Fix incorrect CFI when backtracing out of
1929 context created via makecontext.
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1931 (__setcontext): Fix incorrect CFI during switch to new context.
1932 (__novec_setcontext): Likewise.
1933
19e3372b
OB
19342013-12-04 Ondřej Bílka <neleai@seznam.cz>
1935
1936 [BZ #4772]
1937 * time/strptime_l.c (__strptime_internal): Allow modifiers
1938 in strptime.
1939 * time/tst-strptime.c (day_tests): Add testcase.
1940
1941
ecaf142d
SP
19422013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1943
1944 * scripts/bench.pl: Skip over blank lines.
1945
fbf964ae
PE
19462013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1947
1948 [BZ #926]
1949 * manual/time.texi (Calendar Time): Clarify what timezone functions
1950 use.
1951
fa60a674
AZ
19522013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1953
1954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1955
d674f0ef
OB
19562013-12-04 Ondřej Bílka <neleai@seznam.cz>
1957
1958 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1959 implementation.
1960 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1961 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1962 * debug/memset_chk.c (__memset_chk): Likewise.
1963 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1964 * debug/strncpy_chk.c: Likewise.
1965
17dea188
JM
19662013-12-03 Joseph Myers <joseph@codesourcery.com>
1967
749008ff
JM
1968 [BZ #15268]
1969 [BZ #15425]
1970 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1971 (__ieee754_exp): For possibly underflowing results, check size of
1972 result and force underflow exception if required.
1973 * math/auto-libm-test-in: Add more tests of exp.
1974 * math/auto-libm-test-out: Regenerated.
1975 * sysdeps/i386/fpu/libm-test-ulps: Update.
1976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1977
17dea188
JM
1978 [BZ #16283]
1979 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1980 * math/w_exp2f.c (__exp2f): Likewise.
1981 * math/w_exp2l.c (__exp2l): Likewise.
1982 * math/auto-libm-test-in: Do not allow missing errno on exp2
1983 underflow.
1984 * math/auto-libm-test-out: Regenerated.
1985
b20de2c3
OB
19862013-12-03 Ondřej Bílka <neleai@seznam.cz>
1987
1988 [BZ #16274]
1989 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1990 handle filename validation.
1991 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1992 (do_open): Delete.
1993
d8e2dbe3
JM
19942013-12-03 Joseph Myers <joseph@codesourcery.com>
1995
34e16df5
JM
1996 [BZ #6786]
1997 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1998 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1999 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2000 <float.h>.
2001 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2002 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2003 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2004 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2005 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2006 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2007 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2008 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2009 Add more erfc tests.
2010 * math/auto-libm-test-out: Regenerated.
2011 * sysdeps/i386/fpu/libm-test-ulps: Update.
2012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2013
d8e2dbe3
JM
2014 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2015 exp2, expm1, j0 and j1.
2016 * math/auto-libm-test-out: Regenerated.
2017 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2018 (erfc_test_data): Likewise.
2019 (exp_test_data): Likewise.
2020 (exp_tonearest_test_data): Likewise.
2021 (exp_towardzero_test_data): Likewise.
2022 (exp_downward_test_data): Likewise.
2023 (exp_upward_test_data): Likewise.
2024 (exp10_test_data): Likewise.
2025 (exp2_test_data): Likewise.
2026 (expm1_test_data): Likewise.
2027 (j0_test_data): Likewise.
2028 (j1_test_data): Likewise.
2029 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2030 (input_flag_type): Add flag_xfail_rounding.
2031 (input_flags): Add xfail-rounding.
2032 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2033 (output_for_one_input_case): Handle flag_xfail_rounding.
2034 * sysdeps/i386/fpu/libm-test-ulps: Update.
2035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2036
18d14251
AJ
20372013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2038
3d2e6075 2039 [BZ #16289]
18d14251
AJ
2040 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2041 division by 0.
2042
520d437b
SP
20432013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2044
2045 [BZ #16195]
2046 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2047 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2048 (STAP_PROBE0): New macro.
2049 (STAP_PROBE1): Likewise.
2050 (STAP_PROBE2): Likewise.
2051 (STAP_PROBE3): Likewise.
2052 (STAP_PROBE4): Likewise.
2053
416e0145
OB
20542013-12-02 Ondřej Bílka <neleai@seznam.cz>
2055
2056 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2057
9d17796a
SE
20582013-12-02 Steve Ellcey <sellcey@mips.com>
2059
2060 * benchtests/Makefile (bench): Add sqrt.
2061 (LDLIBS-bench-sqrt): New.
2062 * benchtests/sqrt-input: New.
2063
f524d6a8
PS
20642013-12-02 Pavel Simerda <psimerda@redhat.com>
2065
639a0ef8
PS
2066 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2067 (GAIH_EAI): Likewise.
2068 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2069 (gaih_inet): Likewise.
2070 (getaddrinfo): Don't use GAIH_EAI.
2071
f524d6a8
PS
2072 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2073 (struct gaih): Remove definition.
2074
df3aedaf
SP
20752013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2076
2077 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2078 Use HERRNOP directly.
2079
1ab19dec
AZ
20802013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081
b42ad38d 2082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2083
176b0c79
JM
20842013-11-30 Joseph Myers <joseph@codesourcery.com>
2085
2086 * math/gen-auto-libm-tests.c (test_functions): Add more
2087 single-argument functions.
2088 (special_fill_pi_2): New function.
2089 (special_fill_minus_pi_2): Likewise.
2090 (special_fill_pi_6): Likewise.
2091 (special_fill_minus_pi_6): Likewise.
2092 (special_fill_pi_3): Likewise.
2093 (special_fill_2pi_3): Likewise.
2094 (special_fill_e): Likewise.
2095 (special_fill_1_e): Likewise.
2096 (special_fill_e_minus_1): Likewise.
2097 (special_real_inputs): Add more special inputs.
2098 (output_for_one_input_case): Do not require ERANGE on underflow to
2099 zero if round-to-nearest result does not underflow to zero, unless
2100 exact results required.
2101 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2102 atan, atanh, cbrt, cos and cosh.
2103 * math/auto-libm-test-out: Regenerated.
2104 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2105 (acos_tonearest_test_data): Likewise.
2106 (acos_towardzero_test_data): Likewise.
2107 (acos_downward_test_data): Likewise.
2108 (acos_upward_test_data): Likewise.
2109 (acosh_test_data): Likewise.
2110 (asin_test_data): Likewise.
2111 (asin_tonearest_test_data): Likewise.
2112 (asin_towardzero_test_data): Likewise.
2113 (asin_upward_test_data): Likewise.
2114 (asinh_test_data): Likewise.
2115 (atan_test_data): Likewise.
2116 (atanh_test_data): Likewise.
2117 (cbrt_test_data): Likewise.
2118 (cos_test_data): Likewise.
2119 (cos_tonearest_test_data): Likewise.
2120 (cos_towardzero_test_data): Likewise.
2121 (cos_downward_test_data): Likewise.
2122 (cos_upward_test_data): Likewise.
2123 (cosh_test_data): Likewise.
2124 (cosh_tonearest_test_data): Likewise.
2125 (cosh_towardzero_test_data): Likewise.
2126 (cosh_downward_test_data): Likewise.
2127 (cosh_upward_test_data): Likewise.
2128 * sysdeps/i386/fpu/libm-test-ulps: Update.
2129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2130
ffb536d0
JM
21312013-11-29 Joseph Myers <joseph@codesourcery.com>
2132
2a77a467
JM
2133 [BZ #6787]
2134 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2135 * math/w_exp10f.c (__exp10f): Likewise.
2136 * math/w_exp10l.c (__exp10l): Likewise.
2137 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2138 errno settings in existing tests.
2139
ea3bc4e8
JM
2140 [BZ #14032]
2141 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2142 precision control set to double precision.
2143 * sysdeps/i386/fpu/w_sqrt.c: New file.
2144 * math/auto-libm-test-in: Add more tests.
2145 * math/auto-libm-test-out: Update.
2146
0712c9d8
JM
2147 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2148 (sqrt_test_tonearest): New function.
2149 (sqrt_towardzero_test_data): New variable.
2150 (sqrt_test_towardzero): New function.
2151 (sqrt_downward_test_data): New variable.
2152 (sqrt_test_downward): New function.
2153 (sqrt_upward_test_data): New variable.
2154 (sqrt_test_upward): New function.
2155 (main): Call the new functions.
2156
ffb536d0
JM
2157 * math/gen-auto-libm-tests.c: New file.
2158 * math/auto-libm-test-in: Likewise.
2159 * math/auto-libm-test-out: New generated file.
2160 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2161 variables.
2162 (%beautify): Add generated representations of zero.
2163 (top level): Set $auto_input and call parse_auto_input.
2164 (beautify): Remove trailing "f" from hex float constants.
2165 (parse_args): Handle XFAIL_TEST.
2166 (convert_condition): New function.
2167 (or_value): Likewise.
2168 (or_cond_value): Likewise.
2169 (generate_testfile): Handle AUTO_TESTS_* lines.
2170 (parse_auto_input): New function.
2171 * math/libm-test.inc (XFAIL_TEST): New macro.
2172 (ERRNO_UNCHANGED): Update value.
2173 (ERRNO_EDOM): Likewise.
2174 (ERRNO_ERANGE): Likewise.
2175 (IGNORE_RESULT): Likewise.
2176 (TEST_COND_flt_32): New macro.
2177 (TEST_COND_dbl_64): Likewise.
2178 (TEST_COND_ldbl_96_intel): Likewise.
2179 (TEST_COND_ldbl_96_m68k): Likewise.
2180 (TEST_COND_ldbl_128): Likewise.
2181 (TEST_COND_ldbl_128ibm): Likewise.
2182 (TEST_COND_long32): Likewise.
2183 (TEST_COND_long64): Likewise.
2184 (TEST_COND_before_rounding): Likewise.
2185 (TEST_COND_after_rounding): Likewise.
2186 (enable_test): Handle XFAIL_TEST flag.
2187 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2188 with finite results.
2189 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2190 auto-libm-test-out.
2191
acd98a8e
AK
21922013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2193 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2194
2195 [BZ #16214]
2196 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2197 __tls_get_addr_internal instead of __tls_get_offset in order to
2198 avoid GOT pointer dependency. Make rtld export
2199 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2200 __tls_get_addr since we are a __tls_get_offset platform.
2201 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2202 GOT pointer being set up before.
2203 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2204
3c1c46a6
JM
22052013-11-28 Joseph Myers <joseph@codesourcery.com>
2206
7475aef5
JM
2207 * manual/math.texi (Errors in Math Functions): Document accuracy
2208 goals.
2209
8bca7cd8
JM
2210 [BZ #15004]
2211 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2212 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2219 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2227
91a1f3fe
JM
2228 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2229 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2230 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2231 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2232 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2233 Likewise.
2234 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2235 Likewise.
2236 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2237 Likewise.
2238 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2239 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2240 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2241 atomic-feupdateenv and flt-rounds.
2242 * sysdeps/powerpc/nofpu/Versions (libc): Add
2243 __atomic_feholdexcept, __atomic_feclearexcept,
2244 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2245 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2246 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2247 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2248 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2249 here.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2251 Update.
2252
c5df7609
JM
2253 * manual/arith.texi (FP Exceptions): Document that exceptions may
2254 not be raised when matherr is used.
2255 (Math Error Reporting): Document overflow in directed rounding
2256 modes. Document that errno may not be set when finite values are
2257 returned on overflow. Document intent to set errno on underflow
2258 only for underflow to zero.
2259
3c1c46a6
JM
2260 [BZ #16271]
2261 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2262 round-to-nearest then adjust result for other rounding modes.
2263 * include/fenv.h (fegetround): Use libm_hidden_proto.
2264 * math/fegetround.c (fegetround): Use libm_hidden_def.
2265 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2266 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2267 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2268 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2269 Likewise.
2270 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2271 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2272 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2273 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2274
5a4c6d53
SP
22752013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2276
2277 [BZ #16077]
2278 * nss/Versions (libnss_files): Add
2279 _nss_files_gethostbyname3_r.
2280 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2281 New function.
2282 (HOST_DB_LOOKUP): Remove macro.
2283 (_nss_files_gethostbyname_r): Implement function without the
2284 HOST_DB_LOOKUP macro.
2285 (_nss_files_gethostbyname2_r): Likewise.
2286
897b98ba
OB
22872013-11-28 Ondřej Bílka <neleai@seznam.cz>
2288
2289 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2290
6f476861
UB
22912013-11-26 Uros Bizjak <ubizjak@gmail.com>
2292
2293 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2294 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2295 warning.
2296
bd12ab55
AZ
22972013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2298
2299 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2300 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2301 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2302 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2303 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2304 __fe_nomask_env_priv and attribute_hidden.
2305 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2306 (libc_feupdateenv_test_ppc): Likewise.
2307 (libc_feresetround_ppc): Likewise.
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2309 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2310 compat_symbol macro.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2312 (__fe_nomask_env): Likewise.
2313 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2314
52bb6543
OB
23152013-11-26 Ondřej Bílka <neleai@seznam.cz>
2316
2317 * string/Makefile: Remove ifunc tests.
2318 * string/test-string.h: Define TEST_IFUNC.
2319 * string/test-bcopy-ifunc.c: Remove.
2320 * string/test-bzero-ifunc.c: Likewise.
2321 * string/test-memccpy-ifunc.c: Likewise.
2322 * string/test-memchr-ifunc.c: Likewise.
2323 * string/test-memcmp-ifunc.c: Likewise.
2324 * string/test-memcpy-ifunc.c: Likewise.
2325 * string/test-memmem-ifunc.c: Likewise.
2326 * string/test-memmove-ifunc.c: Likewise.
2327 * string/test-mempcpy-ifunc.c: Likewise.
2328 * string/test-memrchr-ifunc.c: Likewise.
2329 * string/test-memset-ifunc.c: Likewise.
2330 * string/test-rawmemchr-ifunc.c: Likewise.
2331 * string/test-stpcpy-ifunc.c: Likewise.
2332 * string/test-stpncpy-ifunc.c: Likewise.
2333 * string/test-strcasecmp-ifunc.c: Likewise.
2334 * string/test-strcasestr-ifunc.c: Likewise.
2335 * string/test-strcat-ifunc.c: Likewise.
2336 * string/test-strchr-ifunc.c: Likewise.
2337 * string/test-strchrnul-ifunc.c: Likewise.
2338 * string/test-strcmp-ifunc.c: Likewise.
2339 * string/test-strcpy-ifunc.c: Likewise.
2340 * string/test-strcspn-ifunc.c: Likewise.
2341 * string/test-strlen-ifunc.c: Likewise.
2342 * string/test-strncasecmp-ifunc.c: Likewise.
2343 * string/test-strncat-ifunc.c: Likewise.
2344 * string/test-strncmp-ifunc.c: Likewise.
2345 * string/test-strncpy-ifunc.c: Likewise.
2346 * string/test-strnlen-ifunc.c: Likewise.
2347 * string/test-strpbrk-ifunc.c: Likewise.
2348 * string/test-strrchr-ifunc.c: Likewise.
2349 * string/test-strspn-ifunc.c: Likewise.
2350 * string/test-strstr-ifunc.c: Likewise.
2351
ab260039 23522013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2353
2354 * benchtests/Makefile: Remove ifunc tests.
2355 * benchtests/bench-string.h: Define TEST_IFUNC.
2356 * benchtests/bench-bcopy-ifunc.c: Remove.
2357 * benchtests/bench-bzero-ifunc.c: Likewise.
2358 * benchtests/bench-memccpy-ifunc.c: Likewise.
2359 * benchtests/bench-memchr-ifunc.c: Likewise.
2360 * benchtests/bench-memcmp-ifunc.c: Likewise.
2361 * benchtests/bench-memcpy-ifunc.c: Likewise.
2362 * benchtests/bench-memmem-ifunc.c: Likewise.
2363 * benchtests/bench-memmove-ifunc.c: Likewise.
2364 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2365 * benchtests/bench-memrchr-ifunc.c: Likewise.
2366 * benchtests/bench-memset-ifunc.c: Likewise.
2367 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2368 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2369 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2370 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2371 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2372 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2373 * benchtests/bench-strcat-ifunc.c: Likewise.
2374 * benchtests/bench-strchr-ifunc.c: Likewise.
2375 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2376 * benchtests/bench-strcmp-ifunc.c: Likewise.
2377 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2378 * benchtests/bench-strcpy-ifunc.c: Likewise.
2379 * benchtests/bench-strcspn-ifunc.c: Likewise.
2380 * benchtests/bench-strlen-ifunc.c: Likewise.
2381 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2382 * benchtests/bench-strncat-ifunc.c: Likewise.
2383 * benchtests/bench-strncmp-ifunc.c: Likewise.
2384 * benchtests/bench-strncpy-ifunc.c: Likewise.
2385 * benchtests/bench-strnlen-ifunc.c: Likewise.
2386 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2387 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2388 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2389 * benchtests/bench-strspn-ifunc.c: Likewise.
2390 * benchtests/bench-strstr-ifunc.c: Likewise.
2391
23922013-11-26 Ondřej Bílka <neleai@seznam.cz>
2393
ab260039
OB
2394 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2395
d1d9eaf4 23962013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2397
d1d9eaf4
OB
2398 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2399 * rt/aio.h: Likewise.
2400 * sysdeps/gnu/bits/utmp.h: Likewise.
2401 * sysdeps/gnu/bits/utmpx.h: Likewise.
2402 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2403 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2404 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2405 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2406 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2407 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2408 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2409 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2410 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2412 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2414 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2417 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2418 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2419 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2420 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2421 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2422 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2423 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2424 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2425 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2426 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2428 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2430 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2433 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2436 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2438 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2439 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2440 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2441 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2442 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2443 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2444
a7624ed9
CD
24452013-11-25 Carlos O'Donell <carlos@redhat.com>
2446
2447 [BZ #16245]
2448 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2449 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2450
63cfe52b
JM
24512013-11-25 Joseph Myers <joseph@codesourcery.com>
2452
2453 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2454 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2455 Likewise.
2456
41e8926a
AZ
24572013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458
2459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2460 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2461 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2462 (__fesetround): Remove define.
2463 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2464 rounding and exceptions handling.
2465 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2466 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2467 (__fe_nomask_env): Likewise.
2468 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2469 __fegetround instead of fegetround.
2470 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2471 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2472
6851bd4d
RM
24732013-11-21 Roland McGrath <roland@hack.frob.com>
2474
070906ff
RM
2475 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2476 it's there.
2477
6851bd4d
RM
2478 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2479
84ae135d
MI
24802013-11-21 Meador Inge <meadori@codesourcery.com>
2481
2482 [BZ #11157]
2483 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2484 (encrypt_r): Likewise.
2485 * malloc/obstack.h (obstack_free): Likewise.
2486 * posix/unistd.h (encrypt): Likewise.
2487
daf75146
GM
24882013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2489
2490 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2491 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2492 DL_CALL_DT_FINI() that call the functions directly.
2493 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2494 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2495 * elf/dl-fini.c: Likewise.
2496
10ad46bc
OB
24972013-11-20 Ondřej Bílka <neleai@seznam.cz>
2498
2499 * malloc/hooks.c (memalign_check): Add alignment rounding.
2500 * malloc/malloc.c (_mid_memalign): New function.
2501 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2502 Implement by calling _mid_memalign.
2503 * manual/probes.texi (Memory Allocation Probes): Remove
2504 memory_valloc_retry and memory_pvalloc_retry.
2505
f3fd2628
SP
25062013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2507
4712799f
SP
2508 * locale/programs/locarchive.c (open_archive): Add const
2509 qualifier to ARCHIVEFNAME and copy default fname to
2510 DEFAULT_FNAME.
2511
0417b20f
SP
2512 [BZ #15601]
2513 * libio/tst-widetext.input: Rename Oriya to Odia.
2514 * locale/iso-639.def: Likewise.
2515
f3fd2628
SP
2516 * manual/probes.texi (Mathematical Function Probes): Add
2517 documentation for sin, cos, asin and acos probes.
2518 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2519 (__sin32): Add slowasin probe.
2520 (__cos32): Add slowacos probe.
2521 (__mpsin): Add slowsin probe.
2522 (__mpcos): Add slowcos probe.
2523
73c1ce4f
JM
25242013-11-19 Joseph Myers <joseph@codesourcery.com>
2525
2526 [BZ #15483]
2527 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2528 thread-local __sim_exceptions_thread and global
2529 __sim_exceptions_global.
2530 (__sim_disabled_exceptions): Change to thread-local
2531 __sim_disabled_exceptions_thread and global
2532 __sim_disabled_exceptions_global.
2533 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2534 and global __sim_round_mode_global.
2535 (__simulate_exceptions): Use thread-local floating-point state and
2536 set global state from it as needed.
2537 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2538 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2539 __sim_round_mode_thread.
2540 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2541 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2542 and global __sim_exceptions_global.
2543 (__sim_disabled_exceptions): Change to thread-local
2544 __sim_disabled_exceptions_thread and global
2545 __sim_disabled_exceptions_global.
2546 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2547 and global __sim_round_mode_global.
2548 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2549 (SIM_SET_GLOBAL): Likewise.
2550 * sysdeps/powerpc/soft-fp/sfp-machine.h
2551 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2552 __sim_round_mode_thread.
2553 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2554 __sim_disabled_exceptions_thread.
2555 (__sim_exceptions): Change to __sim_exceptions_thread.
2556 (__sim_disabled_exceptions): Change to
2557 __sim_disabled_exceptions_thread.
2558 (__sim_round_mode): Change to __sim_round_mode_thread.
2559 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2560 thread-local floating-point state and set global state from it as
2561 needed.
2562 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2563 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2564 (__sim_disabled_exceptions): Remove extern declaration.
2565 (feenableexcept): Use thread-local floating-point state and set
2566 global state from it as needed.
2567 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2568 extern declaration.
2569 (__sim_disabled_exceptions): Likewise.
2570 (__sim_round_mode): Likewise.
2571 (__fegetenv): Use thread-local floating-point state.
2572 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2573 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2574 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2575 floating-point state and set global state from it as needed.
2576 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2577 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2578 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2579 Likewise.
2580 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2581 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2582 Likewise.
2583 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2584 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2585 Use __sim_round_mode_thread.
2586 * math/test-fenv-tls.c: New file.
2587 * math/Makefile (tests): Add test-fenv-tls.
2588 ($(objpfx)test-fenv-tls): Depend on
2589 $(common-objpfx)nptl/libpthread.so.
2590
b5449b12
AS
25912013-11-19 Andreas Schwab <schwab@suse.de>
2592
2593 * locale/programs/locale.c (show_info): Decode wordarray elements.
2594 * locale/categories.def (LC_MONETARY): Add element for
2595 _NL_MONETARY_CRNCYSTR.
2596 * locale/C-monetary.c (conversion_rate): New variable.
2597 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2598 element.
2599
e186536b
CM
26002013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2601
2602 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2603 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2604
5c349950
PP
26052013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2606
2607 * elf/Makefile (tst-auxv): New test.
2608 * elf/tst-auxv.c: New
2609 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2610
699df45b
JM
26112013-11-18 Joseph Myers <joseph@codesourcery.com>
2612
2613 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2614 (hidden_proto): Caller changed.
2615 (hidden_tls_proto): New macro.
2616 (libc_hidden_tls_proto): Likewise.
2617 (rtld_hidden_tls_proto): Likewise.
2618 (libm_hidden_tls_proto): Likewise.
2619 (libresolv_hidden_tls_proto): Likewise.
2620 (librt_hidden_tls_proto): Likewise.
2621 (libdl_hidden_tls_proto): Likewise.
2622 (libnss_files_hidden_tls_proto): Likewise.
2623 (libnsl_hidden_tls_proto): Likewise.
2624 (libnss_nisplus_hidden_tls_proto): Likewise.
2625 (libutil_hidden_tls_proto): Likewise.
2626
b7589107
OB
26272013-11-18 Ondřej Bílka <neleai@seznam.cz>
2628
2629 [BZ #10253]
2630 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2631 (decompose_rpath): Defer expansion to fillin_rpath.
2632 (_dl_init_paths): Pass linkmap to fillin_rpath.
2633
250c23bd
RS
26342013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2635
2636 * benchtests/Makefile: Add strsep.
2637 * benchtests/bench-strsep.c: New file: strsep benchtest.
2638 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2639
a7931fcf
AS
26402013-11-18 Andreas Schwab <schwab@suse.de>
2641
2642 * locale/programs/locale.c (show_info) [case byte]: Check for
2643 '\377' instead of '\177'.
2644 * locale/C-monetary.c (not_available): Always use "\377".
2645 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2646 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2647 detect unavailable sign_posn locale elements.
2648 * locale/localeconv.c (__localeconv): For grouping and
2649 mon_grouping handle "\177" and "\377" like no grouping.
2650 (INT_ELEM): New macro. Use it to set all numeric members.
2651 * locale/programs/ld-monetary.c (monetary_read)
2652 <tok_mon_grouping>: Normalize single -1 to the empty string.
2653 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2654 Likewise.
2655
728dab0e
OB
26562013-11-07 Ondřej Bílka <neleai@seznam.cz>
2657
2658 [BZ #16055]
2659 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2660 when we match (nil).
2661 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2662
66294491
JM
26632013-11-16 Joseph Myers <joseph@codesourcery.com>
2664
ce665817
JM
2665 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2666 (NO_TEST_INLINE): Update value.
2667 (ERRNO_UNCHANGED): Likewise.
2668 (ERRNO_EDOM): Likewise.
2669 (ERRNO_ERANGE): Likewise.
2670 (IGNORE_RESULT): Likewise.
2671 (check_float_internal): Check signs of NaN results if
2672 TEST_NAN_SIGN used.
2673 (check_complex): Pass TEST_NAN_SIGN flag through to second
2674 check_float_internal call.
2675 (copysign_test_data): Add tests with quiet NaNs as second
2676 argument. Use TEST_NAN_SIGN.
2677 (fabs_test_data): Add test of negative quiet NaN argument. Use
2678 TEST_NAN_SIGN.
2679 (signbit_test_data): Add tests of quiet NaN argument.
2680 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2681
ee1466a9
JM
2682 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2683 $ignore_result.
2684 (parse_args): Handle function results specified as IGNORE.
2685 * math/libm-test.inc (IGNORE_RESULT): New macro.
2686 (check_float_internal): Do not check numerical result if flag
2687 IGNORE_RESULT set.
2688 (check_complex): Pass through IGNORE_RESULT to second
2689 check_float_internal call.
2690 (check_int): Do not check numerical result if flag IGNORE_RESULT
2691 set.
2692 (check_long): Likewise.
2693 (check_bool): Likewise.
2694 (check_longlong): Likewise.
2695 (lrint_test_data): Add tests of infinite and NaN arguments.
2696 (lrint_tonearest_test_data): Likewise.
2697 (lrint_towardzero_test_data): Likewise.
2698 (lrint_downward_test_data): Likewise.
2699 (lrint_upward_test_data): Likewise.
2700 (llrint_test_data): Likewise.
2701 (llrint_tonearest_test_data): Likewise.
2702 (llrint_towardzero_test_data): Likewise.
2703 (llrint_downward_test_data): Likewise.
2704 (llrint_upward_test_data): Likewise.
2705 (lround_test_data): Likewise.
2706 (llround_test_data): Likewise.
2707
14407b7e
JM
2708 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2709 (ERRNO_UNCHANGED): Update value.
2710 (ERRNO_EDOM): Likewise.
2711 (ERRNO_ERANGE): Likewise.
2712 (NO_TEST_INLINE_FLOAT): New macro.
2713 (NO_TEST_INLINE_DOUBLE): Likewise.
2714 (enable_test): New function.
2715 (RUN_TEST_f_f): Check enable_test before running test.
2716 (RUN_TEST_2_f): Likewise.
2717 (RUN_TEST_fff_f): Likewise.
2718 (RUN_TEST_c_f): Likewise.
2719 (RUN_TEST_f_f1): Likewise.
2720 (RUN_TEST_fF_f1): Likewise.
2721 (RUN_TEST_fI_f1): Likewise.
2722 (RUN_TEST_ffI_f1): Likewise.
2723 (RUN_TEST_c_c): Likewise.
2724 (RUN_TEST_cc_c): Likewise.
2725 (RUN_TEST_f_i): Likewise.
2726 (RUN_TEST_f_i_tg): Likewise.
2727 (RUN_TEST_ff_i_tg): Likewise.
2728 (RUN_TEST_f_b): Likewise.
2729 (RUN_TEST_f_b_tg): Likewise.
2730 (RUN_TEST_f_l): Likewise.
2731 (RUN_TEST_f_L): Likewise.
2732 (RUN_TEST_fFF_11): Likewise.
2733 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2734 conditionals.
2735 (cosh_test_data): Likewise.
2736 (exp_test_data): Likewise.
2737 (expm1_test_data): Likewise.
2738 (hypot_test_data): Likewise.
2739 (pow_test_data): Likewise.
2740 (sinh_test_data): Likewise.
2741 (tanh_test_data): Likewise.
2742 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2743 flags argument.
2744
ca07f197
JM
2745 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2746 tests with quiet NaN input and output.
2747 (acosh_test_data): Likewise.
2748 (asin_test_data): Likewise.
2749 (asinh_test_data): Likewise.
2750 (atan_test_data): Likewise.
2751 (atanh_test_data): Likewise.
2752 (atan2_test_data): Likewise.
2753 (cbrt_test_data): Likewise.
2754 (cos_test_data): Likewise.
2755 (cosh_test_data): Likewise.
2756 (erf_test_data): Likewise.
2757 (erfc_test_data): Likewise.
2758 (exp_test_data): Likewise.
2759 (exp10_test_data): Likewise.
2760 (exp2_test_data): Likewise.
2761 (expm1_test_data): Likewise.
2762 (hypot_test_data): Likewise.
2763 (j0_test_data): Likewise.
2764 (j1_test_data): Likewise.
2765 (jn_test_data): Likewise.
2766 (lgamma_test_data): Likewise.
2767 (log_test_data): Likewise.
2768 (log10_test_data): Likewise.
2769 (log1p_test_data): Likewise.
2770 (log2_test_data): Likewise.
2771 (pow_test_data): Likewise.
2772 (scalb_test_data): Likewise.
2773 (sin_test_data): Likewise.
2774 (sincos_test_data): Likewise.
2775 (sinh_test_data): Likewise.
2776 (tan_test_data): Likewise.
2777 (tanh_test_data): Likewise.
2778 (tgamma_test_data): Likewise.
2779 (y0_test_data): Likewise.
2780 (y1_test_data): Likewise.
2781 (yn_test_data): Likewise.
2782
66294491
JM
2783 [BZ #16167]
2784 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2785 argument being NaN and avoid computations with second argument in
2786 that case.
2787 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2788 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2789 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2790
1820b143
CL
27912013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2792
2793 * locale/iso-639.def: Add Chitwani Tharu (the).
2794
714bd261
AS
27952013-11-14 Andreas Schwab <schwab@suse.de>
2796
2797 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2798 word instead of empty string.
2799
7ab44563
AZ
28002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2801
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2803 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2805 (__fe_nomask_env): Likewise.
2806
e8470ea2
SE
28072013-11-13 Steve Ellcey <sellcey@mips.com>
2808
2809 * benchtests/bench-timing.h: Include time.h.
2810
17c1d9f0
L
28112013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2812
2813 [BZ #15997]
2814 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2815 to 3.4.0 for x32.
2816 * sysdeps/unix/sysv/linux/configure: Regenerated.
2817
9310c284
JM
28182013-11-13 Joseph Myers <joseph@codesourcery.com>
2819
2820 [BZ #16151]
2821 * stdlib/strtod_l.c (round_and_return): Do not consider
2822 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2823 exponent one less than half the least subnormal exponent.
2824 * stdlib/test-strtod-round-data: Add more tests.
2825 * stdlib/tst-strtod-round.c (tests): Regenerated.
2826
7a2ad8cf
AZ
28272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2828
2829 [BZ #14143]
2830 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2831 (__fe_mask_env): Likewise.
2832 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2833 libm_hidden_proto and add function prototype.
2834 (__fe_mask_env): Add function prototype.
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2836 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2838 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2840 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2841
50727aa7
MS
28422013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2843
b2f386c1 2844 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2845 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2846
a615be46
MS
28472013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2848
2849 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2850 of htab_find_slot().
2851
7ddace62
DM
28522013-11-11 David S. Miller <davem@davemloft.net>
2853
2854 [BZ #16150]
2855 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2856 symbol in the non-vis3 case in static builds.
2857 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2858 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2859 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2860 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2861
9182aa67
JK
28622013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2863
2864 [BZ #387]
2865 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2866 it is empty.
2867
450a2e2d
AZ
28682013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869
b2f386c1
SP
2870 * benchtests/Makefile: Add bench-strtod.
2871 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2872
8ec3f656
AS
28732013-11-11 Andreas Schwab <schwab@suse.de>
2874
2875 [BZ #16153]
2876 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2877 terminating NUL in key length.
2878
76a9b998
AZ
28792013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2880
2881 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2882 Add artificial ODP entry for vDSO symbol for PPC64.
2883 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2884 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2885
e4368156
OB
28862013-11-07 Ondřej Bílka <neleai@seznam.cz>
2887
2888 [BZ #15374]
2889 * nss/getent.c (services_keys): Recognize services starting with digit.
2890
8d6bb57c
DM
28912013-11-06 David S. Miller <davem@davemloft.net>
2892
2893 [BZ #15985]
2894 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2895 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2896
e256c421
WN
28972013-11-06 Will Newton <will.newton@linaro.org>
2898
2899 * manual/memory.texi (Malloc Examples): Remove register
2900 keyword from examples.
2901
f6e12daa 29022013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2903
f6e12daa 2904 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2905
9d880655
AS
29062013-11-04 Joseph Myers <joseph@codesourcery.com>
2907
2908 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2909 depending on [__GCC_IEC_559 > 0].
2910 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2911 depending on [__GCC_IEC_559_COMPLEX > 0].
2912
ae129d3c
CL
29132013-11-03 Chris Leonard <cjl@sugarlabs.org>
2914
2915 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2916 to iso-639.def.
2917
4a15c2a4 29182013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2919
2920 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2921
8b35e35d
OB
29222013-11-01 Ondřej Bílka <neleai@seznam.cz>
2923
2924 [BZ #16112]
2925 * malloc/malloc (malloc_info): Do not handle first bin as
2926 special case.
2927
1d70fd6c
CL
29282013-11-01 Chris Leonard <cjl@sugarlabs.org>
2929
2930 * locale/iso-639.def: Add Central Nahuatl (nhn).
2931
8c5c2600
BH
29322013-11-01 Bruno Haible <bruno@clisp.org>
2933
2934 [BZ #7003]
2935 * manual/math.texi (BSD Random): Specify range upper bound as
2936 in POSIX.
2937
da5579c2
CL
29382013-10-31 Chris Leonard <cjl@sugarlabs.org>
2939
2940 * locale/iso-639.def: Add Meadow Mari (mhr).
2941
5d30d853
OB
29422013-10-31 Ondřej Bílka <neleai@seznam.cz>
2943
2944 [BZ #14752], [BZ #15763]
2945 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2946 Validate name.
2947 * rt/tst_shm.c: Add test for escaping directory.
2948
a4966c61
AS
29492013-10-31 Andreas Schwab <schwab@suse.de>
2950
8a43e768 2951 [BZ #15917]
a4966c61
AS
2952 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2953 followed by 'x' as part of digit sequence.
2954 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2955
28d708c4
MAP
29562013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2957
2958 [BZ #16037]
2959 * configure.ac: allow GNU Make 4.0 and greater.
2960 * configure: Regenerated.
2961
a56ee40b
WN
29622013-10-30 Will Newton <will.newton@linaro.org>
2963
2964 [BZ #16038]
2965 * malloc/hooks.c (memalign_check): Limit alignment to the
2966 maximum representable power of two.
2967 * malloc/malloc.c (__libc_memalign): Likewise.
2968 * malloc/tst-memalign.c (do_test): Add test for very
2969 large alignment values.
2970 * malloc/tst-posix_memalign.c (do_test): Likewise.
2971
c6e4925d
OB
29722013-10-30 Ondřej Bílka <neleai@seznam.cz>
2973
2974 [BZ #11087]
2975 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2976 (munmap_chunk): Likewise.
2977 (mremap_chunk): Likewise.
2978
29792013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2980
8a43e768 2981 [BZ #15799]
bbea82f7
OB
2982 * stdlib/div.c (div): Remove obsolete code.
2983 * stdlib/ldiv.c (ldiv): Likewise.
2984 * stdlib/lldiv.c (lldiv): Likewise.
2985
977f4b31
SP
29862013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2987
2988 [BZ #16071]
2989 * nss/nss_files/files-XXX.c (get_contents_ret): New
2990 enumerator.
2991 (get_contents): New function.
2992 (internal_getent): Use it. Expand size of LINEBUFLEN.
2993
cb8a6dbd
MF
29942013-10-30 Mike Frysinger <vapier@gentoo.org>
2995
2996 * configure.in: Moved to ...
2997 * configure.ac: ... here. Change reference to configure.in
2998 to configure.ac.
2999 * sysdeps/arm/preconfigure.ac: ... here.
3000 configure.in to configure.ac.
3001 * sysdeps/gnu/configure.in: Moved to ...
3002 * sysdeps/gnu/configure.ac: ... here.
3003 * sysdeps/i386/configure.in: Moved to ...
3004 * sysdeps/i386/configure.ac: ... here.
3005 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3006 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3007 * sysdeps/mach/configure.in: Moved to ...
3008 * sysdeps/mach/configure.ac: ... here.
3009 * sysdeps/mach/hurd/configure.in: Moved to ...
3010 * sysdeps/mach/hurd/configure.ac: ... here.
3011 * sysdeps/powerpc/configure.in: Moved to ...
3012 * sysdeps/powerpc/configure.ac: ... here.
3013 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3014 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3015 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3016 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3017 * sysdeps/s390/s390-32/configure.in: Moved to ...
3018 * sysdeps/s390/s390-32/configure.ac: ... here.
3019 * sysdeps/s390/s390-64/configure.in: Moved to ...
3020 * sysdeps/s390/s390-64/configure.ac: ... here.
3021 * sysdeps/sh/configure.in: Moved to ...
3022 * sysdeps/sh/configure.ac: ... here.
3023 * sysdeps/sparc/configure.in: Moved to ...
3024 * sysdeps/sparc/configure.ac: ... here.
3025 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3026 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3027 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3028 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3029 * sysdeps/x86_64/configure.in: Moved to ...
3030 * sysdeps/x86_64/configure.ac: ... here.
3031 * sysdeps/x86_64/preconfigure.in: Moved to ...
3032 * sysdeps/x86_64/preconfigure.ac: ... here.
3033 * aclocal.m4: Change reference to configure.in to configure.ac.
3034 * config.h.in: Likewise.
3035 * manual/install.texi: Likewise.
3036 * manual/maint.texi: Likewise.
3037 * Makefile: Likewise.
3038 * malloc/Makefile: Likewise.
3039 * nscd/Makefile: Likewise.
3040 * Makeconfig: Change reference to configure.in and
3041 preconfigure.in to configure.ac and preconfigure.ac
3042 respectively.
3043 * INSTALL: Regenerated.
3044 * configure: Likewise.
3045 * sysdeps/gnu/configure: Likewise.
3046 * sysdeps/i386/configure: Likewise.
3047 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3048 * sysdeps/mach/configure: Likewise.
3049 * sysdeps/mach/hurd/configure: Likewise.
3050 * sysdeps/powerpc/configure: Likewise.
3051 * sysdeps/powerpc/powerpc32/configure: Likewise.
3052 * sysdeps/powerpc/powerpc64/configure: Likewise.
3053 * sysdeps/s390/s390-32/configure: Likewise.
3054 * sysdeps/s390/s390-64/configure: Likewise.
3055 * sysdeps/sh/configure: Likewise.
3056 * sysdeps/sparc/configure: Likewise.
3057 * sysdeps/unix/sysv/linux/configure: Likewise.
3058 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3059 * sysdeps/x86_64/configure: Likewise.
3060 * sysdeps/x86_64/preconfigure: Likewise.
3061
36a4953a
AS
30622013-10-29 Andreas Schwab <schwab@suse.de>
3063
3064 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3065
c79a1204
SP
30662013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3067
dfa1b402
SP
3068 * benchtests/pow-inputs: Add new inputs.
3069
54f73d9c
SP
3070 * benchtests/exp-inputs: Add new inputs.
3071
c79a1204
SP
3072 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3073 conditional check for return value.
3074 (__cos32): Likewise.
3075
67beb545 30762013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3077
3078 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3079 to provide a boost for large inputs with word alignment.
3080 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3081 implementation based on optimized PPC64 strcpy.
3082 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3083 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3084 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3085 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3086
151659f6
OB
30872013-10-25 Ondřej Bílka <neleai@seznam.cz>
3088
482a077e 3089 [BZ #2801]
151659f6
OB
3090 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3091
10b0f26b
OB
30922013-10-25 Ondřej Bílka <neleai@seznam.cz>
3093
3094 [BZ #14876]
3095 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3096 * time/tst-strptime.c (day_tests): Add testcase.
3097
ca42d35e
OB
30982013-10-25 Ondřej Bílka <neleai@seznam.cz>
3099
482a077e 3100 [BZ #14029]
ca42d35e
OB
3101 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3102
52e6d801
FB
31032013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3104
3105 [BZ #16074]
3106 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3107 MAP_FAILED on error.
3108
7cbcdb36
SP
31092013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3110
3111 [BZ #16072]
3112 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3113 heap for large requests.
3114
894f3f10
AM
31152013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3116
3117 [BZ #9954]
3118 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3119 result if the result has no associated interface.
3120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3121 interface for all 127.X.Y.Z addresses.
3122
b85545a6
CL
31232013-10-24 Chris Leonard <cjl@sugarlabs.org>
3124
3125 * locale/iso-639.def: Add Ligurian (lij)
3126
d1f23d46
OB
31272013-10-21 Ondřej Bílka <neleai@seznam.cz>
3128
3129 [BZ #15825]
3130 * sunrpc/rpc_main.c: Document rpcgen -5.
3131
4db5b08f
MS
31322013-10-19 Michael Stahl <mstahl@redhat.com>
3133
3134 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3135
a471e96a
OB
31362013-10-19 Ondřej Bílka <neleai@seznam.cz>
3137
d1f23d46 3138 [BZ #10278]
a471e96a
OB
3139 * posix/glob.c: Match only directories when trailing slash is present.
3140 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3141 (main): Add testcase.
3142
45c30c61
OB
31432013-10-19 Ondřej Bílka <neleai@seznam.cz>
3144
3145 [BZ #15670]
3146 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3147
484c12fb
CD
31482013-10-18 Carlos O'Donell <carlos@redhat.com>
3149
3d7dc513
CD
3150 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3151 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3152 AUTH_DES and cindex for FIPS 140-2.
3153 (DES Encryption): Add cindex FIPS 46-3.
3154
484c12fb
CD
3155 * locale/locarchive.h (struct locarhandle): Add fname.
3156 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3157 if an optional argument was specified to --list-archive,
3158 otherwise NULL.
3159 * locale/programs/locarchive.c (show_archive_content): Take new
3160 argument fname and pass it via ah.fname to open_archive.
3161 * locale/programs/localedef.h: Update decl.
3162 (open_archive): If AH->fname is non-null, open that file
3163 rather than the default file name, and don't ignore ENOENT.
3164 (create_archive): Set AH.fname to NULL.
3165 (delete_locales_from_archive): Likewise.
3166 (add_locales_to_archive): Likewise.
3167 * locale/programs/locfile.c (write_all_categories): Likewise.
3168
3c8325fb
JM
31692013-10-18 Joseph Myers <joseph@codesourcery.com>
3170 Aldy Hernandez <aldyh@redhat.com>
3171
3172 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3173 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3174 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3175 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3176 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3177 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3179 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3180 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3181 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3182 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3183 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3184 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3185 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3186 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3187 Likewise.
3188 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3189 Likewise.
3190 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3191 Likewise.
3192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3193 Likewise.
3194 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3195 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3196 Likewise.
3197 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3198 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3199 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3200 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3201 Likewise.
3202 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3203 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3204 * sysdeps/powerpc/preconfigure: Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3206 Likewise.
3207 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3208 Replace contents of file by #include of <fenv_libc.h>.
3209 * sysdeps/powerpc/soft-fp/sfp-machine.h
3210 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3211 and <sys/prctl.h>.
3212 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3214 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3215 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3225 Allow copysignl PLT reference to be missing.
3226
5abe0682
RS
32272013-10-18 Richard Sandiford <richard@codesourcery.com>
3228 Joseph Myers <joseph@codesourcery.com
3229
3230 [BZ #15948]
3231 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3232 single character.
3233 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3234
c7738d08
SP
32352013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3236
3237 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3238 * elf/tst-tls1.c: Likewise.
3239 * elf/tst-tls10.h: Likewise.
3240 * elf/tst-tls14.c: Likewise.
3241 * elf/tst-tls2.c: Likewise.
3242 * elf/tst-tls3.c: Likewise.
3243 * elf/tst-tls4.c: Likewise.
3244 * elf/tst-tls5.c: Likewise.
3245 * elf/tst-tls6.c: Likewise.
3246 * elf/tst-tls7.c: Likewise.
3247 * elf/tst-tls8.c: Likewise.
3248 * elf/tst-tls9.c: Likewise.
3249 * elf/tst-tlsmod1.c: Likewise.
3250 * elf/tst-tlsmod13.c: Likewise.
3251 * elf/tst-tlsmod13a.c: Likewise.
3252 * elf/tst-tlsmod14a.c: Likewise.
3253 * elf/tst-tlsmod16a.c: Likewise.
3254 * elf/tst-tlsmod16b.c: Likewise.
3255 * elf/tst-tlsmod2.c: Likewise.
3256 * elf/tst-tlsmod3.c: Likewise.
3257 * elf/tst-tlsmod4.c: Likewise.
3258 * elf/tst-tlsmod5.c: Likewise.
3259 * elf/tst-tlsmod6.c: Likewise.
3260
0bfcf2c7
OB
32612013-10-18 Ondřej Bílka <neleai@seznam.cz>
3262
3263 [BZ #12486]
3264 * malloc/malloc.c: remove checks for statistics.
3265
264aad1e
OB
32662013-10-17 Ondřej Bílka <neleai@seznam.cz>
3267
3268 [BZ #15277]
3269 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3270 * inet/tst-network.c: Add testcase.
3271
b957ced8
AS
32722013-10-17 Andreas Schwab <schwab@suse.de>
3273
3274 [BZ #15218]
3275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3276 to determine canonical name.
3277
c5d5d574
OB
32782013-10-17 Ondřej Bílka <neleai@seznam.cz>
3279
3280 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3281 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3300 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3303 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3304 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3307 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3308 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3309 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3310 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3312 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3313 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3314 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3324 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3325 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3326 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3327 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3328 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3329 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3330 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3331 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3338
e5c2c2d0
JM
33392013-10-17 Joseph Myers <joseph@codesourcery.com>
3340
3341 [BZ #16041]
3342 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3343 make result into a quiet NaN.
3344
51ca9e29
JM
33452013-10-16 Joseph Myers <joseph@codesourcery.com>
3346
3347 * soft-fp/adddf3.c: Fix horizontal whitespace.
3348 * soft-fp/addsf3.c: Likewise.
3349 * soft-fp/addtf3.c: Likewise.
3350 * soft-fp/divdf3.c: Likewise.
3351 * soft-fp/divsf3.c: Likewise.
3352 * soft-fp/divtf3.c: Likewise.
3353 * soft-fp/double.h: Likewise.
3354 * soft-fp/eqdf2.c: Likewise.
3355 * soft-fp/eqsf2.c: Likewise.
3356 * soft-fp/eqtf2.c: Likewise.
3357 * soft-fp/extenddftf2.c: Likewise.
3358 * soft-fp/extended.h: Likewise.
3359 * soft-fp/extendsfdf2.c: Likewise.
3360 * soft-fp/extendsftf2.c: Likewise.
3361 * soft-fp/extendxftf2.c: Likewise.
3362 * soft-fp/fixdfdi.c: Likewise.
3363 * soft-fp/fixdfsi.c: Likewise.
3364 * soft-fp/fixdfti.c: Likewise.
3365 * soft-fp/fixsfdi.c: Likewise.
3366 * soft-fp/fixsfsi.c: Likewise.
3367 * soft-fp/fixsfti.c: Likewise.
3368 * soft-fp/fixtfdi.c: Likewise.
3369 * soft-fp/fixtfsi.c: Likewise.
3370 * soft-fp/fixtfti.c: Likewise.
3371 * soft-fp/fixunsdfdi.c: Likewise.
3372 * soft-fp/fixunsdfsi.c: Likewise.
3373 * soft-fp/fixunsdfti.c: Likewise.
3374 * soft-fp/fixunssfdi.c: Likewise.
3375 * soft-fp/fixunssfsi.c: Likewise.
3376 * soft-fp/fixunssfti.c: Likewise.
3377 * soft-fp/fixunstfdi.c: Likewise.
3378 * soft-fp/fixunstfsi.c: Likewise.
3379 * soft-fp/fixunstfti.c: Likewise.
3380 * soft-fp/floatdidf.c: Likewise.
3381 * soft-fp/floatdisf.c: Likewise.
3382 * soft-fp/floatditf.c: Likewise.
3383 * soft-fp/floatsidf.c: Likewise.
3384 * soft-fp/floatsisf.c: Likewise.
3385 * soft-fp/floatsitf.c: Likewise.
3386 * soft-fp/floattidf.c: Likewise.
3387 * soft-fp/floattisf.c: Likewise.
3388 * soft-fp/floattitf.c: Likewise.
3389 * soft-fp/floatundidf.c: Likewise.
3390 * soft-fp/floatundisf.c: Likewise.
3391 * soft-fp/floatunditf.c: Likewise.
3392 * soft-fp/floatunsidf.c: Likewise.
3393 * soft-fp/floatunsisf.c: Likewise.
3394 * soft-fp/floatunsitf.c: Likewise.
3395 * soft-fp/floatuntidf.c: Likewise.
3396 * soft-fp/floatuntisf.c: Likewise.
3397 * soft-fp/floatuntitf.c: Likewise.
3398 * soft-fp/fmadf4.c: Likewise.
3399 * soft-fp/fmasf4.c: Likewise.
3400 * soft-fp/fmatf4.c: Likewise.
3401 * soft-fp/gedf2.c: Likewise.
3402 * soft-fp/gesf2.c: Likewise.
3403 * soft-fp/getf2.c: Likewise.
3404 * soft-fp/ledf2.c: Likewise.
3405 * soft-fp/lesf2.c: Likewise.
3406 * soft-fp/letf2.c: Likewise.
3407 * soft-fp/muldf3.c: Likewise.
3408 * soft-fp/mulsf3.c: Likewise.
3409 * soft-fp/multf3.c: Likewise.
3410 * soft-fp/negdf2.c: Likewise.
3411 * soft-fp/negsf2.c: Likewise.
3412 * soft-fp/negtf2.c: Likewise.
3413 * soft-fp/op-1.h: Likewise.
3414 * soft-fp/op-2.h: Likewise.
3415 * soft-fp/op-4.h: Likewise.
3416 * soft-fp/op-8.h: Likewise.
3417 * soft-fp/op-common.h: Likewise.
3418 * soft-fp/quad.h: Likewise.
3419 * soft-fp/single.h: Likewise.
3420 * soft-fp/soft-fp.h: Likewise.
3421 * soft-fp/sqrtdf2.c: Likewise.
3422 * soft-fp/sqrtsf2.c: Likewise.
3423 * soft-fp/sqrttf2.c: Likewise.
3424 * soft-fp/subdf3.c: Likewise.
3425 * soft-fp/subsf3.c: Likewise.
3426 * soft-fp/subtf3.c: Likewise.
3427 * soft-fp/truncdfsf2.c: Likewise.
3428 * soft-fp/trunctfdf2.c: Likewise.
3429 * soft-fp/trunctfsf2.c: Likewise.
3430 * soft-fp/trunctfxf2.c: Likewise.
3431 * soft-fp/unorddf2.c: Likewise.
3432 * soft-fp/unordsf2.c: Likewise.
3433 * soft-fp/unordtf2.c: Likewise.
3434
9ebb0332
JM
34352013-10-15 Joseph Myers <joseph@codesourcery.com>
3436
3437 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3438 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3439
4b1a6d8b
OB
34402013-10-15 Ondřej Bílka <neleai@seznam.cz>
3441
3442 * elf/dl-libc.c: Clear initfini list after freeing.
3443
1e145589
JM
34442013-10-14 Joseph Myers <joseph@codesourcery.com>
3445
3446 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3447 * soft-fp/addsf3.c: Likewise.
3448 * soft-fp/addtf3.c: Likewise.
3449 * soft-fp/divdf3.c: Likewise.
3450 * soft-fp/divsf3.c: Likewise.
3451 * soft-fp/divtf3.c: Likewise.
3452 * soft-fp/double.h: Likewise.
3453 * soft-fp/eqdf2.c: Likewise.
3454 * soft-fp/eqsf2.c: Likewise.
3455 * soft-fp/eqtf2.c: Likewise.
3456 * soft-fp/extenddftf2.c: Likewise.
3457 * soft-fp/extended.h: Likewise.
3458 * soft-fp/extendsfdf2.c: Likewise.
3459 * soft-fp/extendsftf2.c: Likewise.
3460 * soft-fp/extendxftf2.c: Likewise.
3461 * soft-fp/fixdfdi.c: Likewise.
3462 * soft-fp/fixdfsi.c: Likewise.
3463 * soft-fp/fixdfti.c: Likewise.
3464 * soft-fp/fixsfdi.c: Likewise.
3465 * soft-fp/fixsfsi.c: Likewise.
3466 * soft-fp/fixsfti.c: Likewise.
3467 * soft-fp/fixtfdi.c: Likewise.
3468 * soft-fp/fixtfsi.c: Likewise.
3469 * soft-fp/fixtfti.c: Likewise.
3470 * soft-fp/fixunsdfdi.c: Likewise.
3471 * soft-fp/fixunsdfsi.c: Likewise.
3472 * soft-fp/fixunsdfti.c: Likewise.
3473 * soft-fp/fixunssfdi.c: Likewise.
3474 * soft-fp/fixunssfsi.c: Likewise.
3475 * soft-fp/fixunssfti.c: Likewise.
3476 * soft-fp/fixunstfdi.c: Likewise.
3477 * soft-fp/fixunstfsi.c: Likewise.
3478 * soft-fp/fixunstfti.c: Likewise.
3479 * soft-fp/floatdidf.c: Likewise.
3480 * soft-fp/floatdisf.c: Likewise.
3481 * soft-fp/floatditf.c: Likewise.
3482 * soft-fp/floatsidf.c: Likewise.
3483 * soft-fp/floatsisf.c: Likewise.
3484 * soft-fp/floatsitf.c: Likewise.
3485 * soft-fp/floattidf.c: Likewise.
3486 * soft-fp/floattisf.c: Likewise.
3487 * soft-fp/floattitf.c: Likewise.
3488 * soft-fp/floatundidf.c: Likewise.
3489 * soft-fp/floatundisf.c: Likewise.
3490 * soft-fp/floatunsidf.c: Likewise.
3491 * soft-fp/floatunsisf.c: Likewise.
3492 * soft-fp/floatuntidf.c: Likewise.
3493 * soft-fp/floatuntisf.c: Likewise.
3494 * soft-fp/floatuntitf.c: Likewise.
3495 * soft-fp/fmadf4.c: Likewise.
3496 * soft-fp/fmasf4.c: Likewise.
3497 * soft-fp/fmatf4.c: Likewise.
3498 * soft-fp/gedf2.c: Likewise.
3499 * soft-fp/gesf2.c: Likewise.
3500 * soft-fp/getf2.c: Likewise.
3501 * soft-fp/ledf2.c: Likewise.
3502 * soft-fp/lesf2.c: Likewise.
3503 * soft-fp/letf2.c: Likewise.
3504 * soft-fp/muldf3.c: Likewise.
3505 * soft-fp/mulsf3.c: Likewise.
3506 * soft-fp/multf3.c: Likewise.
3507 * soft-fp/negdf2.c: Likewise.
3508 * soft-fp/negsf2.c: Likewise.
3509 * soft-fp/negtf2.c: Likewise.
3510 * soft-fp/op-1.h: Likewise.
3511 * soft-fp/op-2.h: Likewise.
3512 * soft-fp/op-4.h: Likewise.
3513 * soft-fp/op-8.h: Likewise.
3514 * soft-fp/op-common.h: Likewise.
3515 * soft-fp/quad.h: Likewise.
3516 * soft-fp/single.h: Likewise.
3517 * soft-fp/soft-fp.h: Likewise.
3518 * soft-fp/sqrtdf2.c: Likewise.
3519 * soft-fp/sqrtsf2.c: Likewise.
3520 * soft-fp/sqrttf2.c: Likewise.
3521 * soft-fp/subdf3.c: Likewise.
3522 * soft-fp/subsf3.c: Likewise.
3523 * soft-fp/subtf3.c: Likewise.
3524 * soft-fp/truncdfsf2.c: Likewise.
3525 * soft-fp/trunctfdf2.c: Likewise.
3526 * soft-fp/trunctfsf2.c: Likewise.
3527 * soft-fp/trunctfxf2.c: Likewise.
3528 * soft-fp/unorddf2.c: Likewise.
3529 * soft-fp/unordsf2.c: Likewise.
3530 * soft-fp/unordtf2.c: Likewise.
3531
17c48a60
OB
35322013-10-14 Ondřej Bílka <neleai@seznam.cz>
3533
3534 [BZ #15672]
3535 * misc/error.c (error_tail): Fix possible buffer overflow.
3536
cabba934
OB
35372013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3538
3539 [BZ #13028]
3540 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3541 address.
3542
94bf958a
PM
35432013-10-14 P. J. McDermott <pj@pehjota.net>
3544
3545 [BZ #832]
3546 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3547 testing pipefail option.
3548
71b4dea7
JM
35492013-10-12 Joseph Myers <joseph@codesourcery.com>
3550
3551 * soft-fp/double.h: Indent preprocessor directives inside #if.
3552 * soft-fp/extended.h: Likewise.
3553 * soft-fp/op-2.h: Likewise.
3554 * soft-fp/op-4.h: Likewise.
3555 * soft-fp/op-common.h: Likewise.
3556 * soft-fp/quad.h: Likewise.
3557 * soft-fp/single.h: Likewise.
3558 * soft-fp/soft-fp.h: Likewise.
3559
55602758
YC
35602013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3561
3562 * iconv/iconv_prog.c: Fix typos.
3563 * stdio-common/psiginfo-data.h: Likewise.
3564
9cd83302
RT
35652013-10-12 Reuben Thomas <rrt@sc3d.org>
3566
3567 [BZ #15764]
3568 * locale/setlocale.c: Fix typo.
3569
99fd9f47
JM
35702013-10-12 Joseph Myers <joseph@codesourcery.com>
3571
b7ea74f0
JM
3572 [BZ #16036]
3573 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3574 signaling NaN arguments.
3575 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3576 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3577
8a509447
JM
3578 [BZ #14910]
3579 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3580 unordered operands.
3581 * soft-fp/gesf2.c (__gesf2): Likewise.
3582 * soft-fp/getf2.c (__getf2): Likewise.
3583 * soft-fp/ledf2.c (__ledf2): Likewise.
3584 * soft-fp/lesf2.c (__lesf2): Likewise.
3585 * soft-fp/letf2.c (__letf2): Likewise.
3586
98998e9f
JM
3587 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3588 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3589 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3590 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3591 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3592 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3593 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3594 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3595 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3596 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3597 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3598 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3599 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3600 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3601 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3602 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3603 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3604 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3605 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3606 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3607 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3608 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3609 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3610 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3611 * soft-fp/floattidf.c (__floattidf): Likewise.
3612 * soft-fp/floattisf.c (__floattisf): Likewise.
3613 * soft-fp/floattitf.c (__floattitf): Likewise.
3614 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3615 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3616 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3617 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3618 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3619 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3620 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3621 * soft-fp/gesf2.c (__gesf2): Likewise.
3622 * soft-fp/getf2.c (__getf2): Likewise.
3623 * soft-fp/ledf2.c (__ledf2): Likewise.
3624 * soft-fp/lesf2.c (__lesf2): Likewise.
3625 * soft-fp/letf2.c (__letf2): Likewise.
3626
8edc4a11
JM
3627 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3628 Undefine and redefine.
3629 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3630 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3631 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3632 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3633 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3634 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3635 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3636 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3637 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3638 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3639 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3640 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3641 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3642 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3643 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3644
8399acaf
JM
3645 [BZ #16032]
3646 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3647 without decrementing exponent if mantissa >= that for the
3648 denominator, not >.
3649 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3650 denominator, not >. Decrement exponent in < case instead of
3651 incrementing in >= case.
3652 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3653 without decrementing exponent if mantissa >= that for the
3654 denominator, not >.
3655
99fd9f47
JM
3656 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3657 computing saturated result for unsigned overflow.
3658
10e1cf6b
SP
36592013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3660 Jeff Law <law@redhat.com>
3661
3662 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3663 (atan2Mp): Add systemtap probe marker.
3664 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3665 (__ieee754_log): Add systemtap probe marker.
3666 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3667 (atanMp): Add systemtap probe marker.
3668 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3669 (tanMp): Add systemtap probe marker.
3670 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3671 (__slowexp): Add systemtap probe marker.
3672 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3673 (__slowpow): Add systemtap probe marker.
3674 * manual/probes.texi: Document probes.
3675
3d110c7c
EB
36762013-10-11 Eric Biggers <ebiggers3@gmail.com>
3677
3678 [BZ #15362]
3679 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3680 written.
3681 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3682 written.
3683 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3684 written to buffer but not flushed.
3685 * libio/iofwrite_u.c: Likewise.
3686 * libio/iopadn.c: Return bytes returned even if EOF was
3687 encountered.
3688 * libio/iowpadn.c: Likewise.
3689 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3690 if _IO_padn does not write the whole buffer.
3691 [!COMPILE_WPRINTF] (PAD): Likewise.
3692
75b4202a
DM
36932013-10-10 David S. Miller <davem@davemloft.net>
3694
3695 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3696 directory block.
3697
6c6352e6
JM
36982013-10-10 Joseph Myers <joseph@codesourcery.com>
3699
33b853c3
JM
3700 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3701 instead of FSF address.
3702 * soft-fp/fixdfti.c: Likewise.
3703 * soft-fp/fixsfti.c: Likewise.
3704 * soft-fp/fixtfti.c: Likewise.
3705 * soft-fp/fixunsdfti.c: Likewise.
3706 * soft-fp/fixunssfti.c: Likewise.
3707 * soft-fp/fixunstfti.c: Likewise.
3708 * soft-fp/floattidf.c: Likewise.
3709 * soft-fp/floattisf.c: Likewise.
3710 * soft-fp/floattitf.c: Likewise.
3711 * soft-fp/floatuntidf.c: Likewise.
3712 * soft-fp/floatuntisf.c: Likewise.
3713 * soft-fp/floatuntitf.c: Likewise.
3714 * soft-fp/trunctfxf2.c: Likewise.
3715
6c6352e6
JM
3716 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3717 * soft-fp/fixdfti.c: Likewise.
3718 * soft-fp/fixsfti.c: Likewise.
3719 * soft-fp/fixtfti.c: Likewise.
3720 * soft-fp/fixunsdfti.c: Likewise.
3721 * soft-fp/fixunssfti.c: Likewise.
3722 * soft-fp/fixunstfti.c: Likewise.
3723 * soft-fp/floattidf.c: Likewise.
3724 * soft-fp/floattisf.c: Likewise.
3725 * soft-fp/floattitf.c: Likewise.
3726 * soft-fp/floatuntidf.c: Likewise.
3727 * soft-fp/floatuntisf.c: Likewise.
3728 * soft-fp/floatuntitf.c: Likewise.
3729 * soft-fp/trunctfxf2.c: Likewise.
3730
3bf78b71
DM
37312013-10-10 David S. Miller <davem@davemloft.net>
3732
3733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3734
6f10289e
JM
37352013-10-10 Joseph Myers <joseph@codsourcery.com>
3736
bd878fc0
JM
3737 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3738 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3739 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3740 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3741 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3742 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3743 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3744
6f10289e
JM
3745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3746 for NaNs before doing comparisons on argument.
3747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3748 Likewise.
3749
321e2684
WN
37502013-10-10 Will Newton <will.newton@linaro.org>
3751
3752 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3753 passed to _int_memalign does not overflow.
3754
40fefba1
TR
37552013-10-10 Torvald Riegel <triegel@redhat.com>
3756
3757 * scripts/bench.pl: Add include-sources directive.
3758 * benchtests/README: Update documentation.
3759
2ae21ed2
JM
37602013-10-10 Joseph Myers <joseph@codesourcery.com>
3761
dcc2dd3f
JM
3762 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3763 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3764 instead of FP_INIT_ROUNDMODE.
3765 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3766 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3767
2ae21ed2
JM
3768 [BZ #16034]
3769 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3770 copy class of input value.
3771 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3772 not handle exceptions.
3773 * soft-fp/negsf2.c (__negsf2): Likewise.
3774 * soft-fp/negtf2.c (__negtf2): Likewise.
3775 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3776
cb8f9562
JM
37772013-10-09 Joseph Myers <joseph@codesourcery.com>
3778
3779 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3780 semicolon. From Linux kernel.
3781
5b60c59d
AB
37822013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3783
3784 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3785
b86835ca
YC
37862013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3787
3788 [BZ #156]
3789 * manual/socket.texi: Added statement about buffer
3790 for gethostbyname2_r.
3791
e7044ea7
OB
37922013-10-08 Ondřej Bílka <neleai@seznam.cz>
3793
3794 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3795 Use .p2align directive instead, throughout.
3796 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3797 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3798 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3799 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3801 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3802 * sysdeps/x86_64/strchr.S: Likewise.
3803 * sysdeps/x86_64/strrchr.S: Likewise.
3804
09544cbc
SP
38052013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3806
88576635
SP
3807 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3808
e7b2d1dd
SP
3809 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3810
09544cbc
SP
3811 * sysdeps/generic/math_private.h (__mpsin1): Remove
3812 declaration.
3813 (__mpcos1): Likewise.
3814 (__mpsin): New argument __range_reduce.
3815 (__mpcos): Likewise.
3816 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3817 (slow): Use __mpsin and __mpcos.
3818 (slow1): Likewise.
3819 (slow2): Likewise.
3820 (sloww): Likewise.
3821 (sloww1): Likewise.
3822 (sloww2): Likewise.
3823 (bsloww): Likewise.
3824 (bsloww1): Likewise.
3825 (bsloww2): Likewise.
3826 (cslow2): Likewise.
3827 (csloww): Likewise.
3828 (csloww1): Likewise.
3829 (csloww2): Likewise.
3830 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3831 range_reduce. Merge in __mpsin1.
3832 (__mpcos): Likewise.
3833 (__mpsin1): Remove.
3834 (__mpcos1): Likewise.
3835
7602d070
JM
38362013-10-07 Joseph Myers <joseph@codesourcery.com>
3837
3838 * locale/loadlocale.c (_nl_intern_locale_data): Use
3839 LOCFILE_ALIGNED_P.
3840 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3841 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3842 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3843 obstack data is appropriately aligned.
3844 (obstack_int32_grow_fast): Likewise.
3845 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3846 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3847 (add_locale_uint32_array): Likewise.
3848
a357259b
SP
38492013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3850
3851 * benchtests/Makefile: Remove ARGLIST and RET variables.
3852 ($(objpfx)bench-%.c): Pass only function name to the script.
3853 * benchtests/README: Update documentation.
3854 * benchtests/acos-inputs: Add new directives.
3855 * benchtests/acosh-inputs: Likewise.
3856 * benchtests/asin-inputs: Likewise.
3857 * benchtests/asinh-inputs: Likewise.
3858 * benchtests/atan-inputs: Likewise.
3859 * benchtests/atanh-inputs: Likewise.
3860 * benchtests/cos-inputs: Likewise.
3861 * benchtests/cosh-inputs: Likewise.
3862 * benchtests/exp-inputs: Likewise.
3863 * benchtests/log-inputs: Likewise.
3864 * benchtests/pow-inputs: Likewise.
3865 * benchtests/rint-inputs: Likewise.
3866 * benchtests/sin-inputs: Likewise.
3867 * benchtests/sinh-inputs: Likewise.
3868 * benchtests/tan-inputs: Likewise.
3869 * benchtests/tanh-inputs: Likewise.
3870 * scripts/bench.pl: Add support for new directives.
3871
9ec1b13d
AM
38722013-10-07 Alan Modra <amodra@gmail.com>
3873
3874 * README: Fix careless merge.
3875
8b7d57cd
AM
38762013-10-05 Alan Modra <amodra@gmail.com>
3877
3878 * NEWS: Mention powerpc64le support and bugs fixed.
3879 * README: Both big-endian and little-endian powerpc64 supported.
3880
7b7bab13
ST
38812013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3882
3883 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3884 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3885 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3886 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3887
d39baad1
RA
38882013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3889
3890 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3891 match prototype.
3892
cd78f7e7
JM
38932013-10-04 Joseph Myers <joseph@codesourcery.com>
3894
29d73d86
JM
3895 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3896 Move -mhard-float appending from
3897 ports/sysdeps/powerpc/powerpc32/Makefile.
3898 [$(with-fp) = yes] (ASFLAGS): Likewise.
3899 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3900 * sysdeps/powerpc/nofpu: Move directory from
3901 ports/sysdeps/powerpc/nofpu.
3902 * sysdeps/powerpc/soft-fp: Move directory from
3903 ports/sysdeps/powerpc/soft-fp.
3904 * sysdeps/powerpc/powerpc32/405: Move directory from
3905 ports/sysdeps/powerpc/powerpc32/405.
3906 * sysdeps/powerpc/powerpc32/440: Move directory from
3907 ports/sysdeps/powerpc/powerpc32/440.
3908 * sysdeps/powerpc/powerpc32/464: Move directory from
3909 ports/sysdeps/powerpc/powerpc32/464.
3910 * sysdeps/powerpc/powerpc32/476: Move directory from
3911 ports/sysdeps/powerpc/powerpc32/476.
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3913 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3915 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3922 * README: Update for powerpc-*-linux-gnu software floating point
3923 support in libc.
3924
e246b347
JM
3925 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3926 case to powerpc/powerpc32*.
3927 * sysdeps/unix/sysv/linux/configure: Regenerated.
3928
89c2003e
JM
3929 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3930 (_FPU_MASK_OM): Define as 0x04.
3931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3933 0x00c10080.
3934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3935 0x0000003c.
3936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3937
cd78f7e7
JM
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3939 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3940 getcontext_e500.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3942 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3943 setcontext_e500.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3945 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3946 and setcontext_e500.
3947
c755294d
CL
39482013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3949
3950 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3951
e16d221c
SP
39522013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3953
3954 * manual/threads.texi (Default Thread Attributes): Fix typo.
3955
215c7d43
WN
39562013-10-04 Will Newton <will.newton@linaro.org>
3957
3958 * malloc/Makefile: Add tst-memalign.
3959 * malloc/tst-memalign.c: New file.
3960
27d0461b
WN
3961 * malloc/tst-posix_memalign.c: Add comments.
3962 (do_test): Add comments and call free on all potentially
3963 allocated pointers. Add space after cast.
3964
1bc92709
WN
3965 * malloc/tst-pvalloc.c: Add comments.
3966 (do_test): Add comments and call free on all potentially
3967 allocated pointers. Remove duplicate check for NULL pointer.
3968 Add space after cast.
3969
66a9be9d
WN
3970 * malloc/tst-valloc.c: Add comments.
3971 (do_test): Add comments and call free on all potentially
3972 allocated pointers. Remove duplicate check for NULL pointer.
3973 Add space after cast.
3974
4cb81307
AM
39752013-10-04 Alan Modra <amodra@gmail.com>
3976
3977 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3978 Use stdint types in rather than __attribute__((mode())).
3979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3980
f8e3e9f3
AM
39812013-10-04 Alan Modra <amodra@gmail.com>
3982
3983 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3984 Correct handling of unaligned relocs for little-endian.
3985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3986
8f9ebb08
AM
39872013-10-04 Alan Modra <amodra@gmail.com>
3988
3989 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3990 * configure: Regenerate.
3991 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3992 * shlib-versions: Likewise.
3993
0edf96c2
AM
39942013-10-04 Alan Modra <amodra@gmail.com>
3995
3996 * string/tester.c (test_memrchr): Increment reported test cycle.
3997
e0f7a380
AM
39982013-10-04 Alan Modra <amodra@gmail.com>
3999
4000 * string/test-memcpy.c (do_one_test): When reporting errors, print
4001 string address and don't overrun end of string.
4002
466b0393
AM
40032013-10-04 Alan Modra <amodra@gmail.com>
4004
4005 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4006 insrdi. Make better use of reg selection to speed exit slightly.
4007 Schedule entry path a little better. Remove useless "are we done"
4008 checks on entry to main loop. Handle wrapping around zero address.
4009 Correct main loop count. Handle single left-over word from main
4010 loop inline rather than by using loop_small. Remove extra word
4011 case in loop_small caused by wrong loop count. Add little-endian
4012 support.
4013 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4014 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4015 cache hint.
4016 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4018 support. Avoid rlwimi.
4019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4020
3be87c77
AM
40212013-10-04 Alan Modra <amodra@gmail.com>
4022
4023 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4024 insrdi. Formatting.
3be87c77
AM
4025 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4026 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4027 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4028 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4029 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4030 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4031
759cfef3
AM
40322013-10-04 Alan Modra <amodra@gmail.com>
4033
4034 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4035 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4036 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4037 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4038 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4039 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4040 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4043 use of regs. Use power7 mtocrf. Tidy function tails.
4044
fe6e95d7
AM
40452013-10-04 Alan Modra <amodra@gmail.com>
4046
4047 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4048 Formatting. Consistently use rXXX register defines or rN defines.
4049 Use early exit labels that avoid restoring unused non-volatile regs.
4050 Make cr field use more consistent with rWORDn compares. Rename
4051 regs used as shift registers for unaligned loop, using rN defines
4052 for short lifetime/multiple use regs.
4053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4054 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4055 addi 1,1,64 to pop stack frame. Simplify return value code.
4056 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4057
664318c3
AM
40582013-10-04 Alan Modra <amodra@gmail.com>
4059
4060 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4061 support. Correct typos, formatting. Optimize tail. Use insrdi
4062 rather than rlwimi.
4063 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4065 little-endian support. Correct typos.
4066 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4067 rather than rlwimi.
4068 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4069 in loop and entry code to keep "and." results.
4070 (strchr): Add little-endian support. Comment. Move cntlzd
4071 earlier in tail.
4072 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4073
43b84013
AM
40742013-10-04 Alan Modra <amodra@gmail.com>
4075
4076 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4077 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4078 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4079 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4080
8a7413f9
AM
40812013-10-04 Alan Modra <amodra@gmail.com>
4082
4083 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4084 (rTMP): Define as r11.
4085 (strcmp): Add little-endian support. Optimise tail.
4086 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4087 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4088 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4089 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4093
33ee81de
AM
40942013-10-04 Alan Modra <amodra@gmail.com>
4095
4096 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4097 little-endian support. Remove unnecessary "are we done" tests.
4098 Handle "s" wrapping around zero and extremely large "size".
4099 Correct main loop count. Handle single left-over word from main
4100 loop inline rather than by using small_loop. Correct comments.
4101 Delete "zero" tail, use "end_max" instead.
4102 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4103
db9b4570
AM
41042013-10-04 Alan Modra <amodra@gmail.com>
4105
4106 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4107 support. Don't branch over align.
4108 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4109 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4110 support. Rearrange tmp reg use to suit. Comment.
4111 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4112
f7c399cf
AM
41132013-10-04 Alan Modra <amodra@gmail.com>
4114
4115 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4116
0b2c2ace
AM
41172013-10-04 Alan Modra <amodra@gmail.com>
4118
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4120 conditional form of branch and link when obtaining pc.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4122
02f04a6c
AM
41232013-10-04 Alan Modra <amodra@gmail.com>
4124
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4126 HIWORD/LOWORD.
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4129
9b874b2f
AM
41302013-10-04 Alan Modra <amodra@gmail.com>
4131
4132 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4133 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4134 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4135 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4136 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4137 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4138 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4139 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4140 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4141 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4142
be1e5d31
AB
41432013-10-04 Anton Blanchard <anton@au1.ibm.com>
4144 Alistair Popple <alistair@ozlabs.au.ibm.com>
4145 Alan Modra <amodra@gmail.com>
4146
4147 [BZ #15723]
4148 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4149 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4150 _dl_hwcap access for little-endian.
4151 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4152 destroy vmx regs when saving unaligned.
4153 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4154 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4155 destroy vmx regs when saving unaligned.
4156
fef13a78
AM
41572013-10-04 Alan Modra <amodra@gmail.com>
4158
4159 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4160 Don't use a union to pack hi/low value.
4161
76a66d51
AB
41622013-10-04 Anton Blanchard <anton@au1.ibm.com>
4163
4164 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4165 for little-endian.
4166 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4168 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4169 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4170 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4171
6a31fe7f
AM
41722013-10-04 Alan Modra <amodra@gmail.com>
4173
4174 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4175 constants to usual value for .cst8 section, and remove redundant
4176 high address load.
4177 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4178 constant for 0x1p52. Load little-endian words of double from
4179 correct stack offsets.
4180
7b88401f
AM
41812013-10-04 Alan Modra <amodra@gmail.com>
4182
4183 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4184 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4185 words of double from correct stack offsets.
4186 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4187 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4188 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4189 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4190 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4191 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4192 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4193 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4194 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4195 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4196 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4197 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4199 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4200 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4201 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4202 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4203
9c008155
AM
42042013-10-04 Alan Modra <amodra@gmail.com>
4205
4206 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4207 64-bit int/double union.
4208 (_FPU_SETCW): Likewise.
4209 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4210 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4211
da13146d
AM
42122013-10-04 Alan Modra <amodra@gmail.com>
4213
4214 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4215 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4216
603e8410
AM
42172013-10-04 Alan Modra <amodra@gmail.com>
4218
4219 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4220 use vector int constants.
4221 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4222
4a28b3ca
AB
42232013-10-04 Anton Blanchard <anton@au1.ibm.com>
4224
4225 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4226 array with long long.
4227 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4228 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4229 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4230 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4231 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4232 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4233 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4234 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4235 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4236 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4237 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4238 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4239 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4240
2ca85d2b
AB
42412013-10-04 Anton Blanchard <anton@au1.ibm.com>
4242
4243 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4244 (__signbit): Likewise. Correct for little-endian.
4245 (__signbitl): Call __signbit.
4246 (lrint): Correct for little-endian.
4247 (lrintf): Call lrint.
4248
62a728ae
AM
42492013-10-04 Alan Modra <amodra@gmail.com>
4250
4251 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4252 union 32-bit int array member with 64-bit int array.
4253 (t515, tm256): Double rather than long double.
4254 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4255
32c301df
AM
42562013-10-04 Alan Modra <amodra@gmail.com>
4257
4258 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4259 Delete.
4260 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4262 version of math_ldbl.h.
4263
650ef4bd
AM
42642013-10-04 Alan Modra <amodra@gmail.com>
4265
4266 [BZ #15734], [BZ #15735]
4267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4268 all uses of ieee875 long double macros and unions. Simplify test
4269 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4270 ldbl_extract_mantissa value for ix,iy exponents. Properly
4271 normalize after ldbl_extract_mantissa, and don't add hidden bit
4272 already handled. Don't treat low word of ieee854 mantissa like
4273 low word of IBM long double and mask off bit when testing for
4274 zero.
4275 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4276 all uses of ieee875 long double macros and unions. Simplify tests
4277 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4278 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4279 two1022, instead use their values. Recognise that tests for large
4280 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4282 Rewrite all uses of ieee875 long double macros and unions. Simplify
4283 test for 0.0L and nan. Correct negation.
4284 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4285 ieee875 long double macros and unions. Correct output for large
4286 magnitude x. Correct absolute value calculation.
4287 (__erfcl): Likewise.
4288 * math/libm-test.inc: Add tests for errors discovered in IBM long
4289 double versions of fmodl, remainderl, erfl and erfcl.
4290
765714ca
AM
42912013-10-04 Alan Modra <amodra@gmail.com>
4292
4293 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4294 all uses of ieee854 long double macros and unions. Simplify tests
4295 for long doubles that are fully specified by the high double.
4296 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4297 Likewise.
4298 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4299 Remove dead code too.
4300 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4301 (__ieee754_ynl): Likewise.
4302 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4305 Remove dead code too.
4306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4310 Simplify.
4311 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4312 Simplify.
4313 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4316 Comment on variable precision.
4317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4319 Likewise.
4320 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4323 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4324 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4325
4ebd120c
AM
43262013-10-04 Alan Modra <amodra@gmail.com>
4327
4328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4330 all uses of ieee854 long double macros and unions.
4331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4337 Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4342 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4344 Simplify sign and nan test too.
4345 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4349 Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4351 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4352 Likewise.
4353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4355 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4359
1b6adf88
AM
43602013-10-04 Alan Modra <amodra@gmail.com>
4361
4362 * stdio-common/printf_size.c (__printf_size): Don't use
4363 union ieee854_long_double in fpnum union.
4364 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4365 signbit macro to retrieve sign from long double.
4366 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4367 retrieve sign from long double.
4368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4369 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4370 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4371 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4372 * math/test-misc.c (main): Don't use union ieee854_long_double.
4373
4cf69995
AM
43742013-10-04 Alan Modra <amodra@gmail.com>
4375
4376 [BZ #15680]
4377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4378 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4379 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4380 calculation. Remove unnecessary test for denormal exponent.
4381 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4382 Correct handling of denormals. Avoid undefined shift behaviour.
4383 Correct normalisation of low mantissa when low double is denormal.
4384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4385 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4386 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4387 Correct normalisation of low mantissa. Test for overflow of high
4388 mantissa and normalise.
4389 (ldbl_nearbyint): Use more readable constant for two52.
4390 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4391 (__mpn_construct_long_double): Fix test for overflow of high
4392 mantissa and correct normalisation. Avoid undefined shift.
4393
9605ca6c
AM
43942013-10-04 Alan Modra <amodra@gmail.com>
4395
4396 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4397 (union ibm_extended_long_double): Define as an array of ieee754_double.
4398 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4399 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4400 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4401 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4409
975569d0
JM
44102013-10-03 Joseph Myers <joseph@codesourcery.com>
4411
d3d23756
JM
4412 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4413 page size instead of calling getpagesize.
4414
975569d0
JM
4415 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4416 (LOCFILE_ALIGN_MASK): Likewise.
4417 (LOCFILE_ALIGN_UP): Likewise.
4418 (LOCFILE_ALIGNED_P): Likewise.
4419 * locale/programs/ld-collate.c (collate_output): Use the new
4420 macros instead of __alignof__ (int32_t).
4421 * locale/weight.h (findidx): Likewise.
4422
b1fe1f2b
OB
44232013-10-03 Ondřej Bílka <neleai@seznam.cz>
4424
4425 [BZ #431]
4426 * manual/string.texi: Fix strncat and wcsncat.
4427
5f855e35
BM
44282013-10-03 Brooks Moses <bmoses@google.com>
4429
4430 [BZ #15915]
4431 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4432 * Makerules: ...here, and adjust associated comments.
4433
3cef6009
WN
44342013-10-02 Will Newton <will.newton@linaro.org>
4435
4436 * malloc/Makefile: Add tst-pvalloc.
4437 * malloc/tst-pvalloc.c: New file.
4438
7815420b
WN
44392013-10-02 Will Newton <will.newton@linaro.org>
4440
4441 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4442 improve test coverage.
4443
4868b204
WN
44442013-10-02 Will Newton <will.newton@linaro.org>
4445
4446 * malloc/Makefile: Add tst-posix_memalign.
4447 * malloc/tst-posix_memalign.c: New file.
4448
29c793b3
EB
44492013-10-01 Eric Blake <eblake@redhat.com>
4450
4451 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4452 Use __THROWNL rather than __THROW on static functions.
4453
fd967522
PM
44542013-09-30 Petr Machata <pmachata@redhat.com>
4455
4456 * elf/elf.h (R_AARCH64_ABS16): New macro.
4457 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4458 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4459 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4460 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4461 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4462 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4463 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4464 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4465 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4466 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4467 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4468 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4469 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4470 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4471 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4472 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4473 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4474 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4475 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4476 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4477 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4478 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4479 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4480 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4481 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4482 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4483 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4484 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4485 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4486 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4487 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4488 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4489 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4490 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4491 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4492 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4493 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4494 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4495 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4496 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4497 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4498 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4499 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4500 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4501 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4502 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4503 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4504 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4505 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4506 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4507 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4508 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4509 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4510 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4511 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4512 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4513 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4514 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4515 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4516 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4517 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4518 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4519 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4520 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4521 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4522 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4523 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4524 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4525 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4526 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4527 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4528 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4529 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4530 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4531 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4532 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4533 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4534 (R_AARCH64_TLSDESC_LDR): Likewise.
4535 (R_AARCH64_TLSDESC_ADD): Likewise.
4536 (R_AARCH64_TLSDESC_CALL): Likewise.
4537
b2179107
AS
45382013-09-30 Andreas Schwab <schwab@suse.de>
4539
4540 [BZ #15048]
4541 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4542 the nss database lookup.
4543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4545
47f28d0a
MF
45462013-09-28 Mike Frysinger <vapier@gentoo.org>
4547
4548 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4549
45502013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4551
4552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4553 ${Bash-specific parameter/pattern/string} parameter expansion.
4554 * sysdeps/unix/make-syscalls.sh: Likewise.
4555
f4518a17
KK
45562013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4557
4558 * sysdeps/sh/stackguard-macros.h: New file.
4559
dc1a95c7
OB
45602013-09-26 Ondřej Bílka <neleai@seznam.cz>
4561
4562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4564 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4565 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4566 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4567 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4568
5ebbff8f
AZ
45692013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4570
4571 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4572 Fix thread ID register.
4573
4fd2cf9f
JM
45742013-09-25 Joseph Myers <joseph@codesourcery.com>
4575
4576 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4577 [POSIX || UNIX98]: Require rather than permitting all symbols from
4578 <time.h>.
4579 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4580 element of struct sched_param.
4581 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4582 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4583 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4584 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4585 constant.
4586
12c22bc4
OL
45872013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4588
4589 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4590 argument calculation.
4591
a03d8ea7
JM
45922013-09-24 Joseph Myers <joseph@codesourcery.com>
4593
4594 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4595 Expect macro.
4596 [POSIX] (pthread_attr_t): Do not require type.
4597 [POSIX] (pthread_cond_t): Likewise.
4598 [POSIX] (pthread_condattr_t): Likewise.
4599 [POSIX] (pthread_key_t): Likewise.
4600 [POSIX] (pthread_mutex_t): Likewise.
4601 [POSIX] (pthread_mutexattr_t): Likewise.
4602 [POSIX] (pthread_once_t): Likewise.
4603 [POSIX] (pthread_t): Likewise.
4604 [POSIX-based standards] (pthread_atfork): Expect function.
4605
6055173a
JM
46062013-09-24 Joseph Myers <joseph@codesourcery.com>
4607 Richard Sandiford <richard@codesourcery.com>
4608
4609 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4610 (swap_endianness_p): New extern variable.
4611 (set_big_endian): New inline function.
4612 (maybe_swap_uint32): Likewise.
4613 (maybe_swap_uint32_array): Likewise.
4614 (maybe_swap_uint32_obstack): Likewise.
4615 * locale/programs/locfile.c: Include <stdbool.h>.
4616 (swap_endianness_p): New variable.
4617 (add_locale_uint32): Call maybe_swap_uint32.
4618 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4619 (write_locale_data): Call maybe_swap_uint32_array.
4620 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4621 maybe_swap_uint32.
4622 (obstack_int32_grow_fast): Likewise.
4623 (output_weightwc): Call maybe_swap_uint32_obstack.
4624 (collate_output): Likewise.
4625 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4626 (OPT_LITTLE_ENDIAN): Likewise.
4627 (options): Add --little-endian and --big-endian options.
4628 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4629 * locale/programs/locarchive.c: Include "locfile.h".
4630 (GET): New macro.
4631 (SET): Likewise.
4632 (INC): Likewise.
4633 (create_archive): Use the new macros to access fields of
4634 structures directly mapped from or written to locale archives.
4635 (oldlocrecentcmp): Likewise.
4636 (enlarge_archive): Likewise.
4637 (insert_name): Likewise.
4638 (add_alias): Likewise.
4639 (add_locale): Likewise.
4640 (delete_locales_from_archive): Likewise.
4641 (show_archive_content): Likewise.
4642 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4643 locale data.
4644
39bf0bb4
RM
46452013-09-24 Roland McGrath <roland@hack.frob.com>
4646
4647 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4648 http://www.gnu.org/doc/freemanuals.texi.
4649 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4650
f02eed10
WN
46512013-09-24 Will Newton <will.newton@linaro.org>
4652
4653 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4654 macro.
4655
a3a6c312
JM
46562013-09-23 Joseph Myers <joseph@codesourcery.com>
4657
4658 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4659 unsigned char.
4660
107375ac
MR
46612013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4662
4663 * manual/threads.texi (POSIX Threads): Fix a typo.
4664
141f3a77
SP
46652013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4666
303e567a
SP
4667 [BZ #14547]
4668 * string/tst-strcoll-overflow.c: New test case.
4669 * string/Makefile (xtests): Add tst-strcoll-overflow.
4670 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4671 cache if string sizes may cause integer overflow.
4672
141f3a77
SP
4673 [BZ #14547]
4674 * string/strcoll_l.c (coll_seq): New members rule, idx,
4675 save_idx and back_us.
4676 (get_next_seq_nocache): New function.
4677 (do_compare_nocache): New function.
4678 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4679 when malloc fails.
4680
c61b4d41
CD
46812013-09-23 Carlos O'Donell <carlos@redhat.com>
4682
0b1f8e35
CD
4683 [BZ #15754]
4684 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4685 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4686 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4687
c61b4d41
CD
4688 [BZ #15754]
4689 * elf/Makefile (tests): Add tst-ptrguard1.
4690 (tests-static): Add tst-ptrguard1-static.
4691 (tst-ptrguard1-ARGS): Define.
4692 (tst-ptrguard1-static-ARGS): Define.
4693 * elf/tst-ptrguard1.c: New file.
4694 * elf/tst-ptrguard1-static.c: New file.
4695 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4696 * sysdeps/i386/stackguard-macros.h: Likewise.
4697 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4698 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4699 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4700 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4701 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4702 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4703
47042013-09-23 Hector Marco <hecmargi@upv.es>
4705 Ismael Ripoll <iripoll@disca.upv.es>
4706 Carlos O'Donell <carlos@redhat.com>
4707
4708 [BZ #15754]
4709 * sysdeps/generic/stackguard-macros.h: Define
4710 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4711 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4712 Define __pointer_chk_guard_local.
4713 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4714 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4715
f5f4e7b4
VV
47162013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4717
4718 [BZ #15859]
4719 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4720
5bb43a43
AS
47212013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4722
4723 * include/string.h (__ffs): Declare as hidden.
4724 * string/ffs.c (__ffs): Define as hidden.
4725 * sysdeps/i386/ffs.c (__ffs): Likewise.
4726 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4727 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4728 * sysdeps/s390/ffs.c (__ffs): Likewise.
4729 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4730
3ea5be54
AO
47312013-09-20 Alexandre Oliva <aoliva@redhat.com>
4732
ffb89e53
AO
4733 * NEWS: Mention malloc probes.
4734
322dea08
AO
4735 * malloc/arena.c (new_heap): New memory_heap_new probe.
4736 (grow_heap): New memory_heap_more probe.
4737 (shrink_heap): New memory_heap_less probe.
4738 (heap_trim): New memory_heap_free probe.
4739 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4740 (systrim): New memory_sbrk_less probe.
4741 * manual/probes.texi: Document them.
4742
655673f3
AO
4743 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4744 * manual/probes.texi: Document it.
4745
35fed6f1
AO
4746 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4747 (__libc_realloc): Add memory_realloc_retry probe.
4748 (__libc_memalign): Add memory_memalign_retry probe.
4749 (__libc_valloc): Add memory_valloc_retry probe.
4750 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4751 (__libc_calloc): Add memory_calloc_retry probe.
4752 * manual/probes.texi: Document them.
4753
6999d38c
AO
4754 * malloc/arena.c (get_free_list): Add probe
4755 memory_arena_reuse_free_list.
4756 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4757 and memory_arena_reuse.
4758 (arena_get2) [!PER_THREAD]: Likewise.
4759 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4760 memory_arena_reuse_realloc.
4761 * manual/probes.texi: Document them.
4762
0653427f
AO
4763 * malloc/malloc.c (__libc_free): Add
4764 memory_mallopt_free_dyn_thresholds probe.
4765 (__libc_mallopt): Add multiple memory_mallopt probes.
4766 * manual/probes.texi: Document them.
4767
3ea5be54
AO
4768 * malloc/malloc.c: Include stap-probe.h.
4769 (__libc_mallopt): Add memory_mallopt probe.
4770 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4771 * manual/probes.texi: New.
4772 * manual/Makefile (chapters): Add probes.
4773 * manual/threads.texi: Set next node.
4774
e35696c3 47752013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4776
e35696c3
CL
4777 [BZ #15963, #13985]
4778 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4779 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4780 Add `Chinese' to `nan' entry name.
4781
4aafb73c
SP
47822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4783
4784 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4785 (POLYNOMIAL): Likewise.
4786 (TAYLOR_SINCOS): Likewise.
4787 (TAYLOR_SLOW): Likewise.
4788 (__sin): Use TAYLOR_SINCOS.
4789 (__cos): Likewise.
4790 (slow): Use TAYLOR_SLOW.
4791 (sloww): Likewise.
4792 (bsloww): Likewise.
4793 (csloww): Likewise.
4794
d84f25c7
LD
47952013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4796
4797 * stdlib/strtod_l.c: Fix buffer overrun.
4798
5eea0404
SP
47992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4800
7849ff93
SP
4801 * benchtests/Makefile (bench): Add sincos.
4802 * benchtests/bench-sincos.c: New file.
4803
cfa3c886
SP
4804 * math/libm-test.inc (cos_test_data): New test inputs.
4805 (sin_test_data): Likewise.
4806
b348e1e3
SP
4807 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4808 macro.
4809 (__sin): Use it.
4810 (__cos): Likewise.
4811 (slow1): Likewise.
4812 (slow2): Likewise.
4813 (sloww1): Likewise.
4814 (sloww2): Likewise.
4815 (bsloww1): Likewise.
4816 (bsloww2): Likewise.
4817 (cslow2): Likewise.
4818 (csloww1): Likewise.
4819 (csloww2): Likewise.
4820
6cce25f8
SP
4821 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4822 function.
4823 (__sin): Use it.
4824 (__cos): Likewise.
4825
5eea0404
SP
4826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4827 gotos.
4828 (__cos): Likewise.
4829
9c21573c
MR
48302013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4831
4832 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4833 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4834 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4835 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4836 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4837 * elf/cache.c (print_entry): Handle the new cache flags.
4838
24d22e65
JM
48392013-09-18 Joseph Myers <joseph@codesourcery.com>
4840 Aldy Hernandez <aldyh@redhat.com>
4841
4842 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4843 Change condition to [_SOFT_FLOAT].
4844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4856 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4859 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4860 declaration.
4861
d13ef066
JM
48622013-09-18 Joseph Myers <joseph@codesourcery.com>
4863
2e071de0
JM
4864 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4865 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4866 (__longjmp): Use LOAD_GP to load saved GPRs.
4867 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4868 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4869 (__sigsetjmp): Use SAVE_GP to save GPRs.
4870
d13ef066
JM
4871 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4872 Do not append -msoft-float.
4873 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4874
97a0650b
SP
48752013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4876
4877 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4878
11ca09e9
JM
48792013-09-17 Joseph Myers <joseph@codesourcery.com>
4880
4881 [BZ #15966]
4882 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4883 (_FPU_GETCW): Use initial "__" on variable and field names but not
4884 on macro parameter name.
4885 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4886 parentheses around reference to macro parameter.
4887
08ffcf34
RS
48882013-09-13 Richard Sandiford <richard@codesourcery.com>
4889
4890 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4891 prototype.
4892 (ctype_startup): Use uint32_t in cast and sizeof for
4893 ctype->charnames.
4894
ae7080d3
JL
48952013-09-11 Jia Liu <proljc@gmail.com>
4896
4897 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4898 __daddr_t_defined.
4899 [__FreeBSD__]: Likewise.
4900
5905e7b3
OB
49012013-09-11 Ondřej Bílka <neleai@seznam.cz>
4902
4903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4904 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4905 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4906 (strchr): Remove __strchr_sse42 ifunc selection.
4907 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4908 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4909
b987c776
WN
49102013-09-11 Will Newton <will.newton@linaro.org>
4911
4912 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4913 parameter to RES. Remove hardcoded 1000 value.
4914 * benchtests/bench-skeleton.c (main): Pass RES parameter
4915 to TIMING_INIT and multiply result by 1000.
4916
ddf985af
AZ
49172013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4918
4919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4920
ffdd3181
AS
49212013-09-11 Andreas Schwab <schwab@suse.de>
4922
4923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4924 if not defined.
4925 (O_TMPFILE) [__USE_GNU]: Define.
4926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4927 Define.
4928
b73ed247
WN
49292013-09-11 Will Newton <will.newton@linaro.org>
4930
4931 [BZ #15857]
4932 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4933 does not overflow.
4934
55e17aad
WN
49352013-09-11 Will Newton <will.newton@linaro.org>
4936
4937 [BZ #15856]
4938 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4939 does not overflow.
4940
1159a193
WN
49412013-09-11 Will Newton <will.newton@linaro.org>
4942
4943 [BZ #15855]
4944 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4945 does not overflow.
4946
5905e7b3 49472013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4948
4949 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4950 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4954
cdfc721b
AM
49552013-09-10 Allan McRae <allan@archlinux.org>
4956
aa04af00
AM
4957 [BZ #15748]
4958 * manual/arith.texi (Parsing of Floats): Clarify
4959 cross-reference.
4960
cdfc721b
AM
4961 [BZ #15849]
4962 * manual/install.texi (Running make install): Mention
4963 --enable-pt-chown.
4964 * INSTALL: Regenerated.
4965
95e7cf29
MR
49662013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4967
4968 * csu/init-first.c (_init): Remove the !SHARED condition around
4969 FPU control word initialization.
4970 * elf/dl-support.c (_dl_fpu_control): New variable.
4971 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4972 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4973 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4974 * math/test-fpucw-static.c: New file.
4975 * math/test-fpucw-ieee.c: New file.
4976 * math/test-fpucw-ieee-static.c: New file.
4977 * math/Makefile (tests): Add `test-fpucw-ieee' and
4978 `$(tests-static)'.
4979 (tests-static): New variable.
4980 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4981 dependency to...
4982 [($(build-shared),yes)]
4983 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4984 ... this.
4985 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4986 New dependency.
4987
83e43bf0
AM
49882013-09-09 Allan McRae <allan@archlinux.org>
4989
a9f5ce09
AM
4990 [BZ #15939]
4991 * manual/string.texi (Collation Functions): Fix typo in
4992 strcoll example.
4993 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4994
34829bc2
AM
4995 [BZ #15893]
4996 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4997
3932737d
AM
4998 [BZ #15892]
4999 * libio/memstream.c (open_memstream): Fix memory leak.
5000 * libio/wmemstream.c (open_wmemstream): Likewise.
5001
83e43bf0
AM
5002 [BZ #15895]
5003 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5004
0c66b8e9
WN
50052013-09-09 Will Newton <will.newton@linaro.org>
5006
5007 * malloc/Makefile: Add tst-realloc to tests.
5008 * malloc/tst-realloc.c: New file.
5009
f6b00fd1
AM
50102013-09-09 Allan McRae <allan@archlinux.org>
5011
5012 [BZ #15844]
5013 * COPYING: Update from GNU website to fix FSF address.
5014 * COPYING.LIB: Likewise.
5015
eec55e16
DM
50162013-09-06 David S. Miller <davem@davemloft.net>
5017
5018 * po/zh_TW.po: Update Chinese (traditional) translation from
5019 translation project.
5020
1ecbb381
RS
50212013-09-06 Richard Sandiford <richard@codesourcery.com>
5022 Joseph Myers <joseph@codesourcery.com>
5023
5024 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5025 "localeinfo.h".
5026 (obstack_chunk_alloc): New macro.
5027 (obstack_chunk_free): Likewise.
5028 (record_offset): New function.
5029 (init_locale_data): Likewise.
5030 (align_locale_data): Likewise.
5031 (add_locale_empty): Likewise.
5032 (add_locale_raw_data): Likewise.
5033 (add_locale_raw_obstack): Likewise.
5034 (add_locale_string): Likewise.
5035 (add_locale_wstring): Likewise.
5036 (add_locale_uint32): Likewise.
5037 (add_locale_uint32_array): Likewise.
5038 (add_locale_char): Likewise.
5039 (start_locale_structure): Likewise.
5040 (end_locale_structure): Likewise.
5041 (start_locale_prelude): Likewise.
5042 (end_locale_prelude): Likewise.
5043 (write_locale_data): Take locale_file structure rather than an
5044 iovec.
5045 * locale/programs/locfile.h: Include "obstack.h".
5046 (struct locale_file): Change to store locale file contents instead
5047 of header.
5048 (init_locale_data): New prototype.
5049 (align_locale_data): Likewise.
5050 (add_locale_empty): Likewise.
5051 (add_locale_raw_data): Likewise.
5052 (add_locale_raw_obstack): Likewise.
5053 (add_locale_string): Likewise.
5054 (add_locale_wstring): Likewise.
5055 (add_locale_uint32): Likewise.
5056 (add_locale_uint32_array): Likewise.
5057 (add_locale_char): Likewise.
5058 (start_locale_structure): Likewise.
5059 (end_locale_structure): Likewise.
5060 (start_locale_prelude): Likewise.
5061 (end_locale_prelude): Likewise.
5062 (write_locale_data): Update prototype.
5063 * locale/programs/3level.h (struct TABLE): Remove result field.
5064 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5065 Use new locale_file interface.
5066 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5067 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5068 * locale/programs/ld-address.c (address_output): Use new
5069 locale_file interface.
5070 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5071 NO_ADD_LOCALE.
5072 (collate_finish): Don't call collseq_table_finalize.
5073 (collate_output): Use new locale_file interface.
5074 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5075 in file.
5076 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5077 (TABLE): Move defines earlier in file.
5078 (ELEMENT): Likewise.
5079 (DEFAULT): Likewise.
5080 (wctrans_table_add): Move macro and inline function earlier in
5081 file.
5082 (struct wctype_table): Move type earlier in file.
5083 (add_locale_wctype_table): New static prototype.
5084 (struct locale_ctype_t): Use logical types instead of struct iovec
5085 pointers for members.
5086 (ctype_output): Use new locale_file interface.
5087 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5088 new locale_file interface.
5089 (allocate_arrays): Update for use of new locale_file interface.
5090 * locale/programs/ld-identification.c (identification_output): Use
5091 new locale_file interface.
5092 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5093 * locale/programs/ld-messages.c (messages_output): Likewise.
5094 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5095 * locale/programs/ld-name.c (name_output): Likewise.
5096 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5097 * locale/programs/ld-paper.c (paper_output): Likewise.
5098 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5099 * locale/programs/ld-time.c (time_output): Likewise.
5100
e029e2e5
AZ
51012013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5102
5103 * benchtests/Makefile: Add memrchr benchmark.
5104 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5105 benchmark as memrchr.
5106 * benchtests/bench-memrchr-ifunc.c: New file.
5107 * benchtests/bench-memrchr.c: New file.
5108
bbf6e8e4
WN
51092013-09-06 Will Newton <will.newton@linaro.org>
5110
5111 * benchtests/Makefile (string-bench): Add memcpy.
5112
6c82a2f8
CD
51132013-09-05 Carlos O'Donell <carlos@redhat.com>
5114 Cong Wang <amwang@redhat.com>
5115
5116 * sysdeps/unix/sysv/linux/bits/in.h
5117 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5118 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5119 before __USE_KERNEL_IPV6_DEFS uses.
5120 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5121 IPPROTO_BEETPH.
5122 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5123 sockaddr_in6, or ipv6_mreq.
5124
5430fc65
AZ
51252013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126
5127 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5128 memory access for final bytes in some large inputs.
5129 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5130
4660856c
AZ
51312013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5132
5133 * string/test-memrchr.c: New file.
5134 * string/test-memrchr-ifunc.c: New file.
5135 * string/Makefile: Add new memrchr testcase.
5136
bb8ea713
MF
51372013-09-05 Mike Frysinger <vapier@gentoo.org>
5138
5139 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5140 fanotify_init returns EPERM.
5141
b92a20b5
JM
51422013-09-04 Joseph Myers <joseph@codesourcery.com>
5143
5144 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5145 errors.
5146 (top level): Treat second token from macro or constant entries for
5147 allowed headers as allowed.
5148 * include/complex.h: Condition internal declarations on
5149 [!_ISOMAC].
5150 * include/fenv.h: Condition include of <stdbool.h> and internal
5151 declarations on [!_ISOMAC].
7447ccd9
CL
5152
51532013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5154
3e181dda 5155 [BZ #15923]
7447ccd9
CL
5156 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5157
3f2e46a4
JM
51582013-09-04 Joseph Myers <joseph@codesourcery.com>
5159
5160 * configure.in (--enable-versioning): Remove configure option.
5161 (libc_cv_asm_symver_directive): Remove configure test.
5162 (libc_cv_ld_version_script_option): Likewise.
5163 (VERSIONING): Remove variable and AC_SUBST.
5164 (DO_VERSIONING): Remove AC_DEFINE.
5165 * configure: Regenerated.
5166 * config.h.in (DO_VERSIONING): Remove macro.
5167 * Makerules [$(versioning) = yes]: Change conditionals to
5168 [$(build-shared) = yes].
5169 * config.make.in (versioning): Remove variable.
5170 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5171 [$(build-shared) = yes].
5172 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5173 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5174 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5175 [$(build-shared) = yes].
5176 * extra-lib.mk [$(versioning) = yes]: Likewise.
5177 * hurd/Makefile [$(versioning) = yes]: Likewise.
5178 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5179 [SHARED].
5180 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5181 [SHARED].
5182 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5183 [SHARED && !NO_HIDDEN].
5184 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5185 [SHARED].
5186 [SHARED && DO_VERSIONING]: Likewise..
5187 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5188 [$(build-shared) = yes].
5189 * manual/install.texi (--disable-versioning): Remove
5190 documentation.
5191 * INSTALL: Regenerated.
5192 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5193 to [SHARED].
5194 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5195 [$(build-shared) = yes].
5196 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5197 * sysdeps/i386/i686/multiarch/strstr-c.c
5198 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5199 [SHARED && !NO_HIDDEN].
5200 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5201 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5202 * sysdeps/powerpc/powerpc32/dl-machine.c
5203 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5204 * sysdeps/powerpc/powerpc32/sysdep.h
5205 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5206 to [SHARED && PIC && !NO_HIDDEN].
5207 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5208 conditional to [SHARED].
5209
44558701
WN
52102013-09-04 Will Newton <will.newton@linaro.org>
5211
5212 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5213 * benchtests/bench-string.h: Include bench-timing.h instead
5214 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5215 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5216 call to HP_TIMING_DIFF_INIT.
5217 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5218 instead of hp-timing.h macros.
5219 * benchtests/bench-memchr.c: Likewise.
5220 * benchtests/bench-memcmp.c: Likewise.
5221 * benchtests/bench-memcpy.c: Likewise.
5222 * benchtests/bench-memmem.c: Likewise.
5223 * benchtests/bench-memmove.c: Likewise.
5224 * benchtests/bench-memset.c: Likewise.
5225 * benchtests/bench-rawmemchr.c: Likewise.
5226 * benchtests/bench-strcasecmp.c: Likewise.
5227 * benchtests/bench-strcasestr.c: Likewise.
5228 * benchtests/bench-strcat.c: Likewise.
5229 * benchtests/bench-strchr.c: Likewise.
5230 * benchtests/bench-strcmp.c: Likewise.
5231 * benchtests/bench-strcpy.c: Likewise.
5232 * benchtests/bench-strcpy_chk.c: Likewise.
5233 * benchtests/bench-strlen.c: Likewise.
5234 * benchtests/bench-strncasecmp.c: Likewise.
5235 * benchtests/bench-strncat.c: Likewise.
5236 * benchtests/bench-strncmp.c: Likewise.
5237 * benchtests/bench-strncpy.c: Likewise.
5238 * benchtests/bench-strnlen.c: Likewise.
5239 * benchtests/bench-strpbrk.c: Likewise.
5240 * benchtests/bench-strrchr.c: Likewise.
5241 * benchtests/bench-strspn.c: Likewise.
5242 * benchtests/bench-strstr.c: Likewise.
5243
cae16d66
WN
52442013-09-04 Will Newton <will.newton@linaro.org>
5245
5246 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5247
ffa3cd7f
JM
52482013-09-03 Joseph Myers <joseph@codesourcery.com>
5249
5250 [BZ #15427]
5251 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5252 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5253 * math/libm-test.inc (lgamma_test_data): Add more tests.
5254 * sysdeps/i386/fpu/libm-test-ulps: Update.
5255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5256
8f02859f
OB
52572013-09-03 Ondřej Bílka <neleai@seznam.cz>
5258
5259 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5261 Add ifunc.
5262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5263 Add strcmp-sse2-unaligned
5264 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5265
18d43716
MF
52662013-09-02 Mike Frysinger <vapier@gentoo.org>
5267
5268 * Versions.def (libc): Add GLIBC_2.19.
5269
ac444012
MF
52702013-09-02 Mike Frysinger <vapier@gentoo.org>
5271
5272 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5273 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5274
b7835e32
JM
52752013-09-02 Joseph Myers <joseph@codesourcery.com>
5276
5277 [BZ #14155]
5278 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5279 intermediate calculations in recurrence.
5280 (__ieee754_ynf): Likewise.
5281 * math/libm-test.inc (jn_test_data): Do not allow spurious
5282 underflow exception. Add more tests.
5283 (yn_test_data): Add more tests.
5284 * sysdeps/i386/fpu/libm-test-ulps: Update.
5285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5286
8220f4f0
OB
52872013-09-02 Ondřej Bílka <neleai@seznam.cz>
5288
5289 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5290
f24a6d08
OB
52912013-08-30 Ondřej Bílka <neleai@seznam.cz>
5292
5293 * csu/init-first.c: Fix then/than typos.
5294 * locale/programs/ld-collate.c: Likewise.
5295 * locale/programs/linereader.h: Likewise.
5296 * manual/charset.texi: Likewise.
5297 * manual/filesys.texi: Likewise.
5298 * manual/stdio.texi: Likewise.
5299 * manual/string.texi: Likewise.
5300 * stdlib/fmtmsg.c: Likewise.
5301 * sysdeps/i386/stpncpy.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5303 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5304 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5305 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5306
382466e0
OB
53072013-08-30 Ondřej Bílka <neleai@seznam.cz>
5308
5309 * elf/dl-open.c: Fix typos.
5310 * iconvdata/gbbig5.c: Likewise.
5311 * iconvdata/iso-2022-jp.c: Likewise.
5312 * iconv/gconv_int.h: Likewise.
5313 * iconv/loop.c: Likewise.
5314 * nis/rpcsvc/nis.h: Likewise.
5315 * resolv/ns_name.c: Likewise.
5316 * stdio-common/vfscanf.c: Likewise.
5317 * streams/stropts.h: Likewise.
5318 * sunrpc/rpc_thread.c: Likewise.
5319 * sysdeps/i386/strpbrk.S: Likewise.
5320 * sysdeps/ieee754/k_standard.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5323 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5324 * sysdeps/mach/hurd/profil.c: Likewise.
5325 * sysdeps/s390/dl-procinfo.h: Likewise.
5326 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5327 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5328 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5329 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5331
0186c6e9
OB
53322013-08-30 Ondřej Bílka <neleai@seznam.cz>
5333
5334 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5336
d4e16af1
OB
53372013-08-29 Ondřej Bílka <neleai@seznam.cz>
5338
5339 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5340 aix specific files.
5341 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5342 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5343 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5344 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5345 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5346 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5347 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5348 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5349
88335980
TS
53502013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5351 Roland McGrath <roland@hack.frob.com>
5352
5353 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5354 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5355
ed479b02
ST
53562013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5357
5358 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5359 __executable_start symbol instead of _start.
5360
f1cc4c86
TS
53612013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5362
d821f07c
TS
5363 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5364 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5365 Move macros to...
5366 * sysdeps/gnu/ldsodefs.h: ... this new file.
5367
c54290cf
TS
5368 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5369 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5370 instead of ELFOSABI_LINUX.
5371
0007fc9b 5372 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5373 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5374 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5375 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5376 Likewise.
5377 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5378 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5379 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5380 Likewise.
5381 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5382 (ibm_extended_long_double): Add ieee_nan member.
5383 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5384 (do_test): New function.
5385
f1cc4c86
TS
5386 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5387 TEST_TRUNC.
5388 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5389 functions, renamed from truncdfsf_test, trunctfsf_test,
5390 trunctfdf_test.
5391 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5392 functions.
5393 (do_test): Run all these.
5394
6f65e668
OB
53952013-08-29 Ondřej Bílka <neleai@seznam.cz>
5396
5397 * argp/argp-help.c: Fix typos.
5398 * argp/argp-parse.c: Likewise.
5399 * debug/backtracesyms.c: Likewise.
5400 * elf/elf.h: Likewise.
5401 * malloc/malloc.c: Likewise.
5402 * nis/nis_print.c: Likewise.
5403 * resolv/res_comp.c: Likewise.
5404 * stdlib/stdlib.h: Likewise.
5405 * sunrpc/clnt_tcp.c: Likewise.
5406 * sunrpc/clnt_udp.c: Likewise.
5407 * sunrpc/clnt_unix.c: Likewise.
5408 * sysdeps/unix/bsd/ptsname.c: Likewise.
5409 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5410 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5412 Likewise.
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5414 Likewise.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5416 Likewise.
6f65e668
OB
5417 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5418
3a309239
SP
54192013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5420
5421 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5423
3b813b29
MF
54242013-08-27 Mike Frysinger <vapier@gentoo.org>
5425
5426 [BZ #15897]
5427 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5428 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5429 ($(objpfx)bug-dl-leaf): New rule.
5430 ($(objpfx)bug-dl-leaf.so): Likewise.
5431 ($(objpfx)bug-dl-leaf.out): Likewise.
5432 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5433 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5434 * dlfcn/bug-dl-leaf.c: New test.
5435 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5436 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5437 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5438 (dlclose): Likewise.
5439 (dlmopen): Likewise.
5440
8cc3269f
RM
54412013-08-27 Roland McGrath <roland@hack.frob.com>
5442
7f9d0034
RM
5443 * include/netdb.h [!_ISOMAC]:
5444 Don't include <tls.h>.
5445 (h_errno, __libc_h_errno): Move declaration and macros out of
5446 [_LIBC_REENTRANT].
5447
fb431262
RM
5448 * include/resolv.h [_RESOLV_H_]:
5449 Don't include <tls.h>.
5450 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5451 * resolv/res_libc.c: Don't include <tls.h>.
5452 (_res): Use __attribute__ ((nocommon)) in place of
5453 __attribute__ ((section (".bss"))).
5454
bd81123a
RM
5455 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5456 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5457
c4e42566
RM
5458 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5459
f890a59b
RM
5460 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5461 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5462
5463 * resolv/res_mkquery.c: Include <sys/time.h>.
5464
5d1f0a09
RM
5465 * inet/ifreq.c: Moved to ...
5466 * sysdeps/unix/ifreq.c: ... here.
5467 * inet/ifreq.c: New file, true stub version.
5468
6fcf28b3
RM
5469 * socket/sa_len.c: New file.
5470 * socket/Makefile (aux): Add it.
5471 * sysdeps/unix/sysv/linux/Makefile
5472 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5473 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5474 and #include <socket/sa_len.c>.
5475 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5476 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5477
e041fb8b
RM
5478 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5479 * bits/socket.h: ... here.
5480
8cc3269f
RM
5481 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5482 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5483 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5484
5d228a43
AS
54852013-08-27 Andreas Schwab <schwab@suse.de>
5486
45b8accc
AS
5487 [BZ #15736]
5488 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5489 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5490 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5491 * string/test-strcasecmp.c (test_main): Run tests in several
5492 locales.
5493 * string/test-strncasecmp.c (test_main): Likewise.
5494
5d228a43
AS
5495 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5496 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5497 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5499 (__strncasecmp_ssse3) [PIC]: Likewise.
5500
59d112a4
RM
55012013-08-26 Roland McGrath <roland@hack.frob.com>
5502
53234cc3
RM
5503 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5504
59d112a4
RM
5505 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5506 instead of explicitly declaring xdecrypt.
5507 * nis/nss_nis/nis-publickey.c: Likewise.
5508
595aba70
SP
55092013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5510
5511 [BZ #15890]
5512 * nscd/aicache.c: Include res_hconf.h.
5513 (addhstaiX): Initialize res_hconf.
5514
ffabd393
AS
55152013-08-26 Andreas Schwab <schwab@suse.de>
5516
5517 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5518 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5519
e0a69f5c
SP
55202013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5521
5522 * nscd/aicache.c (addhstaiX): Fix indentation.
5523
8c12f01d
MF
55242013-08-25 Mike Frysinger <vapier@gentoo.org>
5525
5526 * configure.ac: Quote $build_pt_chown test.
5527 * configure: Regenerated.
5528
8fe89494
JM
55292013-08-23 Joseph Myers <joseph@codesourcery.com>
5530
5531 [BZ #15532]
5532 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5533 * math/s_cexpf.c (__cexpf): Likewise.
5534 * math/s_cexpl.c (__cexpl): Likewise.
5535 * math/libm-test.inc (cexp_test_data): Correct expected return
5536 value for NaN + i0. Add another test.
5537
75b181d6
DM
55382013-08-22 David S. Miller <davem@davemloft.net>
5539
5540 * po/ca.po: Update Catalan translation from translation project.
936241e4 5541 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5542
acd06bb1
JM
55432013-08-21 Joseph Myers <joseph@codesourcery.com>
5544
5545 [BZ #15797]
5546 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5547 is infinite, not alongside NaN test.
5548 * math/s_fdimf.c (__fdimf): Likewise.
5549 * math/s_fdiml.c (__fdiml): Likewise.
5550 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5551 errno is unchanged.
5552
c0c3f78a
OB
55532013-08-21 Ondřej Bílka <neleai@seznam.cz>
5554
5555 * argp/argp-help.c: Fix typos.
5556 * crypt/speeds.c: Likewise.
5557 * csu/check_fds.c: Likewise.
5558 * elf/dl-load.c: Likewise.
5559 * elf/dl-open.c: Likewise.
5560 * elf/reldep3.c: Likewise.
5561 * elf/reldep.c: Likewise.
5562 * elf/sprof.c: Likewise.
5563 * iconv/iconv_charmap.c: Likewise.
5564 * iconv/skeleton.c: Likewise.
5565 * iconv/strtab.c: Likewise.
5566 * io/lockf64.c: Likewise.
5567 * libio/libioP.h: Likewise.
5568 * resolv/gai_notify.c: Likewise.
5569 * resolv/ns_name.c: Likewise.
5570 * resolv/ns_samedomain.c: Likewise.
5571 * resolv/res_send.c: Likewise.
5572 * stdlib/random.c: Likewise.
5573 * sunrpc/rpc/xdr.h: Likewise.
5574 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5575 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5576 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5577 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5578 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5579 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5581 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5582 * sysdeps/mach/hurd/check_fds.c: Likewise.
5583 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5584 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5585 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5586 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5587 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5588 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5589 * sysdeps/pthread/aio_notify.c: Likewise.
5590 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5591 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5592 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5593 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5594 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5595
46ed1038
LD
55962013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5597
5598 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5599 version if bit_Slow_SSE4_2 is set.
5600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5601 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5602
d400dcac
AZ
56032013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5604
5605 [BZ #15867]
5606 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5607 trampoline stack frame information.
5608 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5609 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5610 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5611 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5612 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5613 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5614 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5615 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5616 sa_flags value.
5617 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5618 interrupting a syscall and set with option SA_SIGINFO.
5619
42c8fdd8
JM
56202013-08-20 Joseph Myers <joseph@codesourcery.com>
5621
c980f2f4
JM
5622 [BZ #15531]
5623 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5624 argument is infinite.
5625 * math/s_cprojf.c (__cprojf): Likewise.
5626 * math/s_cprojl.c (__cprojl): Likewise.
5627 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5628 * math/libm-test.inc (cproj_test_data): Add more tests.
5629
0716c4fc
JM
5630 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5631
42c8fdd8
JM
5632 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5633 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5634 size. Use __ffs to determine corresponding shift.
5635
b31469d0
JM
56362013-08-20 Joseph Myers <joseph@codesourcery.com>
5637 Roland McGrath <roland@hack.frob.com>
5638
5639 * Makefile (INSTALL): Remove trailing blank lines from output of
5640 makeinfo.
5641
4e39af6e
AK
56422013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5643
5644 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5645 Align 32 bit compat elf_greg to 8 bytes.
5646
f315524e
AA
56472013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5648
5649 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5650
1326ba1a
SP
56512013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5652
5653 * string/strcoll_l.c (coll_seq): New structure.
5654 (get_next_seq_cached): New function.
5655 (get_next_seq): New function.
5656 (do_compare): New function.
5657 (STRCOLL): Use GNU style definition. Simplify implementation
5658 by using get_next_seq, get_next_seq_cached and do_compare.
5659
91ce4085
FW
56602013-08-16 Florian Weimer <fweimer@redhat.com>
5661
5662 [BZ #14699]
5663 CVE-2013-4237
5664 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5665 member.
5666 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5667 member.
5668 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5669 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5670 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5671 conditional.
5672 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5673 GETDENTS_64BIT_ALIGNED.
5674 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5675 * manual/filesys.texi (Reading/Closing Directory): Document
5676 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5677 strongly.
5678 * manual/conf.texi (Limits for Files): Add portability note to
5679 NAME_MAX, PATH_MAX.
5680 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5681
ca0a6bc4
AS
56822013-08-13 Andreas Schwab <schwab@suse.de>
5683
5684 [BZ #15749]
5685 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5686 of fabs.
5687 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5688 LDBL_MAX_EXP >= 16384]: Add tests for it.
5689
6c1fd795
DM
56902013-08-12 David S. Miller <davem@davemloft.net>
5691
5692 * version.h (RELEASE): Set to "development".
5693 (VERSION): Set to "2.18.90".
5694 * NEWS: Add 2.19 section.
5695
31ad488d
DM
56962013-08-03 David S. Miller <davem@davemloft.net>
5697
5698 * po/ko.po: Update Korean translation from translation project.
5699
db24e684
DM
57002013-08-01 David S. Miller <davem@davemloft.net>
5701
5702 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5703 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5704 Bilka.
5705
f723285b
DM
57062013-07-30 David S. Miller <davem@davemloft.net>
5707
5708 * po/fr.po: Update French translation from translation project.
5709
3cbc52db
DM
57102013-07-28 David S. Miller <davem@davemloft.net>
5711
30bbc0cc
DM
5712 * po/cs.po: Update Czech translation from translation project.
5713
3cbc52db
DM
5714 * po/sv.po: Update Swedish translation from translation project.
5715
d492e6d0
DM
57162013-07-27 David S. Miller <davem@davemloft.net>
5717
f1a7f492
DM
5718 * po/eo.po: Update Esperanto translation from translation project.
5719
90e62a4a
DM
5720 * po/vi.po: Update Vietnamese translation from translation project.
5721
d492e6d0
DM
5722 * po/de.po: Update German translation from translation project.
5723
d4baa62d
DM
57242013-07-26 David S. Miller <davem@davemloft.net>
5725
641aa7b4
DM
5726 * po/bg.po: Update Bulgarian translation from translation project.
5727
d4baa62d
DM
5728 * po/nl.po: Update Dutch translation from translation project.
5729 * po/pl.po: Update Polish translation from translation project.
5730 * po/ru.po: Update Russian translation from translation project.
5731
61a9dcb9
DM
57322013-07-24 David S. Miller <davem@davemloft.net>
5733
5734 * po/libc.pot: Update.
5735
7b1f8b58
AZ
57362013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5737
5738 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5739 variable page size.
5740 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5741 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5742 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5743
a8fc7a03
AK
57442013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5745
5746 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5747
e4608715
CD
57482013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5749 Andreas Schwab <schwab@suse.de>
5750 Roland McGrath <roland@hack.frob.com>
5751 Joseph Myers <joseph@codesourcery.com>
5752 Carlos O'Donell <carlos@redhat.com>
5753
5754 [BZ #15755]
5755 * config.h.in: Define HAVE_PT_CHOWN.
5756 * config.make.in (build-pt-chown): New variable.
5757 * configure.in (--enable-pt_chown): New configure option.
5758 * configure: Regenerate.
5759 * login/Makefile: Include Makeconfig. Build pt_chown only if
5760 build-pt-chown is enabled.
5761 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5762 pt_chown to fix pty ownership.
5763 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5764 CLOSE_ALL_FDS.
5765 * manual/install.texi (Configuring and compiling): Mention
5766 --enable-pt_chown. Add @findex for grantpt.
5767 * INSTALL: Regenerate.
5768
da2d62df
DM
57692013-07-20 David S. Miller <davem@davemloft.net>
5770
5771 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5772 difference between 32-bit and 64-bit.
5773
d7e06450
CD
57742013-07-15 Carlos O'Donell <carlos@redhat.com>
5775
5776 [BZ #15711]
5777 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5778 Avoid system header dependency with -ffreestanding.
5779 ($(objpfx)bits/syscall%d): Likewise.
5780
f959cfd7
DM
57812013-07-13 David S. Miller <davem@davemloft.net>
5782
5783 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5784 underflows from atanl/atan2l due to bug 15319.
5785 (casinh_test_data): Likewise.
5786
c61f8513
DM
57872013-07-07 David S. Miller <davem@davemloft.net>
5788
5789 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5790
72c90ed0
JA
57912013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5792
5793 * sysdeps/i386/fpu/libm-test-ulps: Update.
5794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5795
52dfbe13
SP
57962013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5797
5798 * configure.in (--enable-lock-elision): Fix message text.
5799 * INSTALL: Regenerate.
5800 * configure: Regenerate.
5801
3f169543
AZ
58022013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803
5804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5805
521c6785
AJ
58062013-07-03 Andreas Jaeger <aj@suse.de>
5807
5808 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5809 define.
5810 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5811 (ptrace_peeksiginfo_args): Add.
5812 (__ptrace_peeksiginfo_flags): Add.
5813 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5815 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5816
d2cc15cb
AM
58172013-07-03 Allan McRae <allan@archlinux.org>
5818
5819 * sysdeps/i386/fpu/libm-test-ulps: Update.
5820
3aaeeca7
DM
58212013-07-02 David S. Miller <davem@davemloft.net>
5822
5823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5824
5314ed1a
MT
58252013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5826
5827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5828
67338156
JM
58292013-07-02 Joseph Myers <joseph@codesourcery.com>
5830
5831 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5833
1717da59
AK
58342013-07-02 Andi Kleen <ak@linux.intel.com>
5835
5836 * config.h.in (ENABLE_LOCK_ELISION): Add.
5837 * configure.in (--enable-lock-elision): Add option.
5838 * manual/install.texi: Document --enable lock elision.
5839 * configure: Regenerate
5840 * INSTALL: Regenerate.
5841
1c81621c
L
58422013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5843
5844 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5845 SSE4.2 strcasecmp for libc.a.
5846 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5847
77f01ab5
JM
58482013-07-02 Joseph Myers <joseph@codesourcery.com>
5849
5850 [BZ #13304]
5851 * soft-fp/op-common.h (_FP_FMA): New macro.
5852 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5853 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5854 (_FP_MUL_MEAT_1_imm): ... here.
5855 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5856 (_FP_MUL_MEAT_1_wide): ... here.
5857 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5858 (_FP_MUL_MEAT_1_hard): ... here.
5859 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5860 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5861 (_FP_MUL_MEAT_2_wide): ... here.
5862 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5863 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5864 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5865 (_FP_MUL_MEAT_2_gmp): ... here.
5866 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5867 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5868 (_FP_MUL_MEAT_4_wide): ... here.
5869 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5870 (_FP_MUL_MEAT_4_gmp): ... here.
5871 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5872 (_FP_WFRACBITS_DW_S): Likewise.
5873 (_FP_WFRACXBITS_DW_S): Likewise.
5874 (_FP_HIGHBIT_DW_S): Likewise.
5875 (FP_FMA_S): Likewise.
5876 (_FP_FRAC_HIGH_DW_S): Likewise.
5877 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5878 (_FP_WFRACBITS_DW_D): Likewise.
5879 (_FP_WFRACXBITS_DW_D): Likewise.
5880 (_FP_HIGHBIT_DW_D): Likewise.
5881 (FP_FMA_D): Likewise.
5882 (_FP_FRAC_HIGH_DW_D): Likewise.
5883 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5884 (_FP_WFRACBITS_DW_E): Likewise.
5885 (_FP_WFRACXBITS_DW_E): Likewise.
5886 (_FP_HIGHBIT_DW_E): Likewise.
5887 (FP_FMA_E): Likewise.
5888 (_FP_FRAC_HIGH_DW_E): Likewise.
5889 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5890 (_FP_WFRACBITS_DW_Q): Likewise.
5891 (_FP_WFRACXBITS_DW_Q): Likewise.
5892 (_FP_HIGHBIT_DW_Q): Likewise.
5893 (FP_FMA_Q): Likewise.
5894 (_FP_FRAC_HIGH_DW_Q): Likewise.
5895 * soft-fp/fmasf4.c: New file.
5896 * soft-fp/fmadf4.c: Likewise.
5897 * soft-fp/fmatf4.c: Likewise.
5898
6308fd9a
LD
58992013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5900
5901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5902 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5903 Silvermont.
5904 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5905 macro.
5906 (index_Slow_SSE4_2): Likewise.
5907 (index_Prefer_PMINUB_for_stringop): Likewise.
5908 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5909 bit_Slow_SSE4_2 is set.
5910 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5911 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5912
89cd9569
RA
59132013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5914
5915 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5916 rtld_global._dl_hwcap2.
5917 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5918 POWER8.
5919 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5920 POWER8 feature descriptions defined in _dl_hwcap2.
5921 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5922 string handling for POWER8 feature bits.
5923 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5924 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5925 _dl_powerpc_cap_flags.
5926 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5927 * sysdeps/powerpc/rtld-global-offsets.sym
5928 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5929 _dl_hwcap2 in the rtld_global_ro structure.
5930
1ae8bfe0
RA
59312013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5932
5933 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5934 hardware capabilities in support of AT_HWCAP2.
5935 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5936 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5937 GLRO(dl_hwcap2).
5938 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5939 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5940 explicitly the unknown a_type display mechanism is used.
5941 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5942 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5943 struct member.
5944 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5945 to macro prototype for AT_HWCAP2 support.
5946 * sysdeps/i386/dl-procinfo.h: Likewise.
5947 * sysdeps/s390/dl-procinfo.h: Likewise.
5948 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5949 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5950 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5951 return -1 for unknown a_type display fallback.
5952 * sysdeps/sparc/dl-procinfo.h: Likewise.
5953 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5954 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5955
8fbec010
JM
59562013-06-28 Joseph Myers <joseph@codesourcery.com>
5957
5958 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5959 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5960
0432680e
PY
59612013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5962
5963 [BZ #12492]
5964 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5965 mprotect making __stack_prot writable.
5966
ce61a2ad
NF
59672013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5968 Joseph Myers <joseph@codesourcery.com>
5969
5970 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5971 as being properly aligned.
5972
f91f1c0f
MR
59732013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5974
3d0f5d0c
MR
5975 * dlfcn/modstatic5.c: New file.
5976 * dlfcn/tststatic5.c: New file.
5977 * dlfcn/Makefile (tests): Add tststatic5.
5978 (tests-static): Likewise.
5979 (modules-names): Add modstatic5.
5980 (tststatic5-ENV): New variable.
5981 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5982
f91f1c0f
MR
5983 [BZ #15022]
5984 * elf/dl-support.c (_dl_main_map): New variable.
5985 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5986 (_dl_nns, _dl_load_adds): Set to 1.
5987 (_dl_initial_searchlist): Refer to _dl_main_map.
5988 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5989 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5990 call to _dl_get_origin.
5991 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5992 around call_map.
5993 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5994 * dlfcn/modstatic3.c: New file.
5995 * dlfcn/tststatic3.c: New file.
5996 * dlfcn/tststatic4.c: New file.
5997 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5998 (tests-static): Likewise.
5999 (modules-names): Add modstatic3.
6000 (tststatic3-ENV, tststatic4-ENV): New variables.
6001 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6002 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6003
cbe7d24b
JM
60042013-06-26 Joseph Myers <joseph@codesourcery.com>
6005
6006 * configure.in (CC): Require GCC version 4.4 or later.
6007 * configure: Regenerated.
6008 * manual/install.texi (Tools for Compilation): Update GCC version
6009 requirement.
6010 * INSTALL: Regenerated.
6011
11b8a0e1
LD
60122013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6013
6014 [BZ #15674]
bb5bb87c
L
6015 * string/test-memcmp.c (check2): New.
6016 (main): Call check2.
6017
11b8a0e1
LD
6018 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6019
b0037103
MR
60202013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6021
6022 [BZ #15022]
6023 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6024 over to...
6025 (dl_open_worker) [!SHARED]: ... here.
6026
c18c701d
RA
60272013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6028
6029 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6030
1d17fa5f
RH
60312013-06-25 Richard Henderson <rth@redhat.com>
6032
6033 * locale/programs/locarchive.c: Include <libc-internal.h>
6034
8fcb833a
JM
60352013-06-25 Joseph Myers <joseph@codesourcery.com>
6036
6037 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6038 trailing whitespace removed.
6039
17db6e8d
MF
60402013-06-24 Mike Frysinger <vapier@gentoo.org>
6041
6042 [BZ #10283]
17db6e8d
MF
6043 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6044 * locale/programs/locarchive.c: Include libc-mmap.h.
6045 (prepare_address_space): Take two new outputs (the mmap base and len).
6046 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6047 values.
6048 (create_archive): Declare new mmap base and len values for
6049 prepare_address_space, and store the result in ah.
6050 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6051 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6052 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6053 Declare new mmap base and len values for
6054 prepare_address_space, and store the result in new_ah.
6055 (open_archive): Declare new mmap base and len values for
6056 prepare_address_space, and store the result in ah.
6057 (close_archive): If ah->mmap_base is not NULL, use that and
6058 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6059 * sysdeps/generic/libc-mmap.h: New file.
6060
d605071e
MF
60612013-06-24 Mike Frysinger <vapier@gentoo.org>
6062
6063 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6064 (ALIGN_UP): Likewise.
6065 (PTR_ALIGN_DOWN): Likewise.
6066 (PTR_ALIGN_UP): Likewise.
6067
2f063a6e
RA
60682013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6069
6070 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6071 entry mapped to PPC_PLATFORM_POWER8.
6072 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6073 POWER8.
6074 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6075 (_dl_string_platform): Add case for exporting platform position for
6076 POWER8.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6078 search path to sysdeps/powerpc/powerpc32/power8 directory.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6080 search path to sysdeps/powerpc/powerpc64/power8 directory.
6081 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6082 power7 directories.
6083 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6084 power7 directories.
6085
a31ee4b3
SP
60862013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6087
a74ca98f
SP
6088 * INSTALL: Regenerate.
6089
a31ee4b3
SP
6090 * nscd/connections.c (nscd_init): Fix comment.
6091
695c378f
JM
60922013-06-22 Joseph Myers <joseph@codesourcery.com>
6093
d8412221
JM
6094 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6095
695c378f
JM
6096 [BZ #15667]
6097 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6098 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6099
d1d54715
MR
61002013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6101
6102 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6103 DL_DST_REQ_STATIC.
6104 (DL_DST_REQ_STATIC): Remove macro.
6105
8fdda7af
JM
61062013-06-21 Joseph Myers <joseph@codesourcery.com>
6107
6108 [BZ #7006]
6109 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6110 with a shift of 0 bits.
6111
f3bc5e5a
MR
61122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6113
6114 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6115 $(tststatic-ENV).
6116
be09e8c9
KK
61172013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6118
6119 [BZ #15655]
6120 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6121
85c2e611
AZ
61222013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6123
6124 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6125 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6126 accepts -fno-tree-loop-distribute-patterns.
6127 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6128 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6129 recursive call.
6130 * string/memset.c (memset): Likewise.
6131 * string/test-memmove.c (simple_memmove): Disable loop transformation
6132 to library calls.
6133 * string/test-memset.c (simple_memset): Likewise.
6134 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6135 * benchtests/bench-memset.c (simple_memset): Likewise.
6136 * configure: Regenerated.
6137
c91e0825
JM
61382013-06-20 Joseph Myers <joseph@codesourcery.com>
6139
b8c792af
JM
6140 * math/test-misc.c (main): Ignore fesetround failure when failures
6141 of subsequent rounding tests would be ignored.
6142
c91e0825
JM
6143 [BZ #15654]
6144 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6145 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6146 * math/fegetenv.c (__fegetenv): Return 0.
6147 * math/fegetexcept.c (fegetexcept): Return 0.
6148 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6149 FE_TONEAREST.
6150 * math/feholdexcpt.c (feholdexcept): Return 0.
6151 * math/fesetenv.c (__fesetenv): Return 0.
6152 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6153 argument FE_TONEAREST.
6154 * math/feupdateenv.c (__feupdateenv): Return 0.
6155 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6156
bfcacbde
RM
61572013-06-18 Roland McGrath <roland@hack.frob.com>
6158
6159 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6160 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6161 ($(objpfx)rtld-%.os rules): Use them.
6162
e55a9b25
AZ
61632013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6164
6165 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6166 fields.
6167
346d65b3
RM
61682013-06-17 Roland McGrath <roland@hack.frob.com>
6169
12086fb4
RM
6170 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6171 length of target pattern, then descending length of dependency pattern.
6172 * configure.in (AWK): Require gawk 3.1.2 or newer.
6173 * manual/install.texi (Tools for Compilation): Say that we do.
6174 * configure: Regenerated.
6175
346d65b3
RM
6176 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6177 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6178 * scripts/sysd-rules.awk: ... this new script.
6179 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6180 than a glob-style pattern.
6181
1a846317
JM
61822013-06-17 Joseph Myers <joseph@codesourcery.com>
6183
6184 * math/test-misc.c (main): Do not treat incorrectly rounded
6185 conversions as failure unless ROUNDING_TESTS passes.
6186
8fc75e6f
JM
61872013-06-15 Joseph Myers <joseph@codesourcery.com>
6188
3711a167
JM
6189 [BZ #15631]
6190 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6191 restore exception state around main square root computation, then
6192 check for inexactness explicitly.
6193
8fc75e6f
JM
6194 * math/libm-test.inc (fma_test_data): Add another test.
6195
61dd6208
SP
61962013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6197
adf23d2c
SP
6198 * manual/threads.texi (Non-POSIX Extensions): New document
6199 node. Document pthread_getattr_default_np and
6200 pthread_setattr_default_np.
6201
61dd6208
SP
6202 * Versions.def (libpthread): Add GLIBC_2.18.
6203 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6205 Likewise.
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6207 Likewise.
6208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6209 Likewise.
6210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6211 Likewise.
6212 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6213 Likewise.
6214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6215 Likewise.
6216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6217 Likewise.
6218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6219 Likewise.
6220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6221 Likewise.
6222
d086fc7b
LD
62232013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6224
6225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6226 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6227
747ef469
SP
62282013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6229 H.J. Lu <hjl.tools@gmail.com>
6230
6231 [BZ #15627]
6232 * sysdeps/x86_64/rtld-memset.c: Remove file.
6233 * sysdeps/x86_64/rtld-memset.S: New file.
6234
1b2feed2
JM
62352013-06-14 Joseph Myers <joseph@codesourcery.com>
6236
6237 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6238 (test_in_one_mode): Take arguments for whether the rounding mode
6239 is supported for each floating-point type.
6240 (do_test): Pass new arguments to test_in_one_mode using
6241 ROUNDING_TESTS.
6242
a58ad3f8
RM
62432013-06-13 Roland McGrath <roland@hack.frob.com>
6244
6245 * posix/tst-waitid.c (do_test): Distinguish different instances of
6246 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6247 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6248 before entering the kernel for waitpid.
6249
c204ab28
SP
62502013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6251
6252 * NEWS: Fix note on clock function precision. Text by Roland
6253 McGrath.
6254
f4a29fba
RM
62552013-06-13 Roland McGrath <roland@hack.frob.com>
6256
6257 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6258 it into place only when and if the sanity check passes.
6259
1f24b9ad
JM
62602013-06-13 Joseph Myers <joseph@codesourcery.com>
6261
6262 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6263 output for whether conversion result is exact. Take argument
6264 indicating whether type is IBM long double.
6265 (round_for_all): Change need_exact field to ibm_ld.
6266 * stdlib/tst-strtod-round.c (struct exactness): New type.
6267 (struct test): Change bool ld_ok field to struct exactness exact.
6268 (TEST): Update all definitions for change to field.
6269 (tests): Regenerate array contents.
6270 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6271 field value. Check for IBM long double here.
6272 (do_test): Update calls to test_in_one_mode.
6273
58206c68
SP
62742013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6275
6276 [BZ #12515]
6277 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6278 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6279
2d6f4c5b 62802013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6281
6282 [BZ #15605]
6283 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6284 generated by the compiler on loop optimizations.
6285 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6286 general definitions.
6287
94f2c076
JM
62882013-06-12 Joseph Myers <joseph@codesourcery.com>
6289
6290 * math/bug-nextafter.c: Include <math-tests.h>.
6291 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6292 the relevant type.
6293 * math/bug-nexttoward.c: Include <math-tests.h>.
6294 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6295 the relevant type.
6296 * math/test-misc.c: Include <math-tests.h>.
6297 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6298 the relevant type.
6299
e0e50a0a
AJ
63002013-06-12 Andreas Jaeger <aj@suse.de>
6301
6302 * po/ia.po: Update Interlingua translation from translation
6303 project.
6304
25061094
SP
63052013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6306
6307 * include/fenv.h: Include stdbool.h.
6308 (struct rm_ctx): New structure.
6309 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6310 Define macro.
6311 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6312 (SET_RESTORE_ROUNDF): Likewise.
6313 (SET_RESTORE_ROUNDL): Likewise.
6314 (SET_RESTORE_ROUND_NOEX): Likewise.
6315 (SET_RESTORE_ROUND_NOEXF): Likewise.
6316 (SET_RESTORE_ROUND_NOEXL): Likewise.
6317 (SET_RESTORE_ROUND_53BIT): Likewise.
6318 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6319 (libc_feresetround_noexf_ctx): Likewise.
6320 (libc_feresetround_noexl_ctx): Likewise.
6321 (libc_feholdsetround_53bit_ctx): Likewise.
6322 (libc_feresetround_53bit_ctx): Likewise.
6323 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6324 (libc_feholdexcept_setround_sse_ctx): New function.
6325 (libc_fesetenv_sse_ctx): Likewise.
6326 (libc_feupdateenv_sse_ctx): Likewise.
6327 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6328 (libc_feholdexcept_setround_387_ctx): Likewise.
6329 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6330 (libc_feholdsetround_387_prec_ctx): Likewise.
6331 (libc_feholdsetround_387_ctx): Likewise.
6332 (libc_feholdsetround_387_53bit_ctx): Likewise.
6333 (libc_feholdsetround_sse_ctx): Likewise.
6334 (libc_feresetround_sse_ctx): Likewise.
6335 (libc_feresetround_387_ctx): Likewise.
6336 (libc_feupdateenv_387_ctx): Likewise.
6337 (libc_feholdexcept_setroundf_ctx): Define macro.
6338 (libc_fesetenvf_ctx): Likewise.
6339 (libc_feupdateenvf_ctx): Likewise.
6340 (libc_feholdsetroundf_ctx): Likewise.
6341 (libc_feresetroundf_ctx): Likewise.
6342 (libc_feholdexcept_setround_ctx): Likewise.
6343 (libc_fesetenv_ctx): Likewise.
6344 (libc_feupdateenv_ctx): Likewise.
6345 (libc_feholdsetround_ctx): Likewise.
6346 (libc_feresetround_ctx): Likewise.
6347 (libc_feholdexcept_setroundl_ctx): Likewise.
6348 (libc_feupdateenvl_ctx): Likewise.
6349 (libc_feholdsetroundl_ctx): Likewise.
6350 (libc_feresetroundl_ctx): Likewise.
6351 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6352 (libc_feresetround_53bit_ctx): Likewise.
6353
59b30555
SP
63542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6355
6356 * locale/iso-639.def: Convert to UTF-8.
6357
f1d73d30
JM
63582013-06-11 Joseph Myers <joseph@codesourcery.com>
6359
6360 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6361 (EXCEPTION_TESTS_double): Likewise.
6362 (EXCEPTION_TESTS_long_double): Likewise.
6363 (EXCEPTION_TESTS): Likewise.
6364 * math/libm-test.inc (test_exceptions): Only test exceptions if
6365 EXCEPTION_TESTS (FLOAT).
6366
94aca5e7
SP
63672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6368
6369 * benchtests/Makefile (string-bench): Add strcpy_chk and
6370 stpcpy_chk.
6371 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6372 * benchtests/bench-stpcpy_chk.c: New file.
6373 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6374 * benchtests/bench-strcpy_chk.c: New file.
6375 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6376 code.
6377 (do_test): Likewise.
6378
fac0c5f2
RA
63792013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6380
6381 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6382 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6383 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6384 with tabs where appropriate.
6385 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6386 dl-procinfo.h.
6387 [PPC_PLATFORM_PPC440]: Likewise.
6388 [PPC_PLATFORM_PPC464]: Likewise.
6389 [PPC_PLATFORM_PPC476]: Likewise.
6390 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6391 ppc464, and ppc476 platform strings merging from ports/
6392 dl-procinfo.h.
6393
f22bc486
AS
63942013-06-11 Andreas Schwab <schwab@suse.de>
6395
6396 [BZ #14991]
6397 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6398 (from_ucs4_idx): Regenerate.
6399 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6400 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6401 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6402 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6403 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6404 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6405 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6406 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6407 from FROM_LOOP and TO_LOOP specific macros.
6408 (BODY): Handle combining characters.
6409 * iconvdata/BIG5HKSCS.irreversible: Update.
6410 * iconvdata/BIG5HKSCS.precomposed: New file.
6411 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6412 characters.
6413 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6414
c1f75dc3
SP
64152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6416
4eacded2
SP
6417 * include/sys/time.h: Fix indentation and add copyright header.
6418
fec799f8
SP
6419 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6420 (do_test): Likewise.
6421 * string/test-memchr.c (do_one_test): Likewise.
6422 (do_test): Likewise.
6423 * string/test-memcmp.c (do_one_test): Likewise.
6424 (do_test): Likewise.
6425 * string/test-memcpy.c (do_one_test): Likewise.
6426 (do_test): Likewise.
6427 * string/test-memmem.c (do_one_test): Likewise.
6428 (do_test): Likewise.
6429 (do_random_tests): Likewise.
6430 * string/test-memmove.c (do_one_test): Likewise.
6431 (do_test): Likewise.
6432 * string/test-memset.c (do_one_test): Likewise.
6433 (do_test): Likewise.
6434 * string/test-rawmemchr.c (do_one_test): Likewise.
6435 (do_test): Likewise.
6436 * string/test-strcasecmp.c (do_one_test): Likewise.
6437 (do_test): Likewise.
6438 * string/test-strcasestr.c (do_one_test): Likewise.
6439 (do_test): Likewise.
6440 * string/test-strcat.c (do_one_test): Likewise.
6441 (do_test): Likewise.
6442 * string/test-strchr.c (do_one_test): Likewise.
6443 (do_test): Likewise.
6444 * string/test-strcmp.c (do_one_test): Likewise.
6445 (do_test): Likewise.
6446 * string/test-strcpy.c (do_one_test): Likewise.
6447 (do_test): Likewise.
6448 * string/test-string.h: Likewise.
6449 (test_init): Likewise.
6450 * string/test-strlen.c (do_one_test): Likewise.
6451 (do_test): Likewise.
6452 * string/test-strncasecmp.c (do_one_test): Likewise.
6453 (do_test): Likewise.
6454 * string/test-strncat.c (do_one_test): Likewise.
6455 (do_test): Likewise.
6456 * string/test-strncmp.c (do_one_test): Likewise.
6457 (do_test_limit): Likewise.
6458 (do_test): Likewise.
6459 * string/test-strncpy.c (do_one_test): Likewise.
6460 (do_test): Likewise.
6461 * string/test-strnlen.c (do_one_test): Likewise.
6462 (do_test): Likewise.
6463 * string/test-strpbrk.c (do_one_test): Likewise.
6464 (do_test): Likewise.
6465 * string/test-strrchr.c (do_one_test): Likewise.
6466 (do_test): Likewise.
6467 * string/test-strspn.c (do_one_test): Likewise.
6468 (do_test): Likewise.
6469 * string/test-strstr.c (do_one_test): Likewise.
6470 (do_test): Likewise.
6471
97020474
SP
6472 * benchtests/Makefile (string-bench): Add string benchmarks.
6473 * benchtests/bench-bcopy-ifunc.c: New file.
6474 * benchtests/bench-bcopy.c: New file.
6475 * benchtests/bench-bzero-ifunc.c: New file.
6476 * benchtests/bench-bzero.c: New file.
6477 * benchtests/bench-memccpy-ifunc.c: New file.
6478 * benchtests/bench-memccpy.c: New file.
6479 * benchtests/bench-memchr-ifunc.c: New file.
6480 * benchtests/bench-memchr.c: New file.
6481 * benchtests/bench-memcmp-ifunc.c: New file.
6482 * benchtests/bench-memcmp.c: New file.
6483 * benchtests/bench-memmem-ifunc.c: New file.
6484 * benchtests/bench-memmem.c: New file.
6485 * benchtests/bench-memmove-ifunc.c: New file.
6486 * benchtests/bench-memmove.c: New file.
6487 * benchtests/bench-mempcpy-ifunc.c: New file.
6488 * benchtests/bench-mempcpy.c: New file.
6489 * benchtests/bench-memset-ifunc.c: New file.
6490 * benchtests/bench-memset.c: New file.
6491 * benchtests/bench-rawmemchr-ifunc.c: New file.
6492 * benchtests/bench-rawmemchr.c: New file.
6493 * benchtests/bench-stpcpy-ifunc.c: New file.
6494 * benchtests/bench-stpcpy.c: New file.
6495 * benchtests/bench-stpncpy-ifunc.c: New file.
6496 * benchtests/bench-stpncpy.c: New file.
6497 * benchtests/bench-strcasecmp-ifunc.c: New file.
6498 * benchtests/bench-strcasecmp.c: New file.
6499 * benchtests/bench-strcasestr-ifunc.c: New file.
6500 * benchtests/bench-strcasestr.c: New file.
6501 * benchtests/bench-strcat-ifunc.c: New file.
6502 * benchtests/bench-strcat.c: New file.
6503 * benchtests/bench-strchr-ifunc.c: New file.
6504 * benchtests/bench-strchr.c: New file.
6505 * benchtests/bench-strchrnul-ifunc.c: New file.
6506 * benchtests/bench-strchrnul.c: New file.
6507 * benchtests/bench-strcmp-ifunc.c: New file.
6508 * benchtests/bench-strcmp.c: New file.
6509 * benchtests/bench-strcpy-ifunc.c: New file.
6510 * benchtests/bench-strcpy.c: New file.
6511 * benchtests/bench-strcspn-ifunc.c: New file.
6512 * benchtests/bench-strcspn.c: New file.
6513 * benchtests/bench-strlen-ifunc.c: New file.
6514 * benchtests/bench-strlen.c: New file.
6515 * benchtests/bench-strncasecmp-ifunc.c: New file.
6516 * benchtests/bench-strncasecmp.c: New file.
6517 * benchtests/bench-strncat-ifunc.c: New file.
6518 * benchtests/bench-strncat.c: New file.
6519 * benchtests/bench-strncmp-ifunc.c: New file.
6520 * benchtests/bench-strncmp.c: New file.
6521 * benchtests/bench-strncpy-ifunc.c: New file.
6522 * benchtests/bench-strncpy.c: New file.
6523 * benchtests/bench-strnlen-ifunc.c: New file.
6524 * benchtests/bench-strnlen.c: New file.
6525 * benchtests/bench-strpbrk-ifunc.c: New file.
6526 * benchtests/bench-strpbrk.c: New file.
6527 * benchtests/bench-strrchr-ifunc.c: New file.
6528 * benchtests/bench-strrchr.c: New file.
6529 * benchtests/bench-strspn-ifunc.c: New file.
6530 * benchtests/bench-strspn.c: New file.
6531 * benchtests/bench-strstr-ifunc.c: New file.
6532 * benchtests/bench-strstr.c: New file.
6533
c1f75dc3
SP
6534 * benchtests/Makefile: Disable parallel execution of targets.
6535 (string-bench): Add memcpy.
6536 (benchset): New variable to store a list of benchmark sets.
6537 (bench-func): Renamed from bench.
6538 (bench-set): New target.
6539 (bench): Depend on bench-func and bench-set.
6540 * benchtests/README: Add section on benchmark sets.
6541 * benchtests/bench-memcpy-ifunc.c: New file.
6542 * benchtests/bench-memcpy.c: New file.
6543 * benchtests/bench-string.h: New file.
6544
50fd745b
AS
65452013-06-11 Andreas Schwab <schwab@suse.de>
6546
6547 [BZ #15577]
6548 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6549 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6550 values in the triple.
6551 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6552 terminator in the group key.
6553
3ee7e9fe
AJ
65542013-06-11 Andreas Jaeger <aj@suse.de>
6555
6556 * po/zh_TW.po: Update Chinese (traditional) translation from
6557 translation project.
6558
89fb6835
SP
65592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
6561 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6562 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6563 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6564 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6565 (clock_getcpuclockid): Likewise.
6566 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6567 Add weak_alias and libc_hidden_def.
6568 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6569 * rt/clock_gettime.c (clock_gettime): Rename to
6570 __clock_gettime. Add weak_alias and libc_hidden_def.
6571 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6572 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6573 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6574 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6575 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6576 Likewise.
6577 * rt/clock_settime.c (clock_settime): Rename to
6578 __clock_settime. Add weak_alias and libc_hidden_def.
6579 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6580
0efa6f8b
JM
65812013-06-10 Joseph Myers <joseph@codesourcery.com>
6582
b8c61b4b
JM
6583 * mach/err_boot.sub: Remove trailing whitespace.
6584 * mach/err_ipc.sub: Likewise.
6585 * mach/err_mach.sub: Likewise.
6586
0efa6f8b
JM
6587 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6588 (ROUNDING_TESTS_double): Likewise.
6589 (ROUNDING_TESTS_long_double): Likewise.
6590 (ROUNDING_TESTS): Likewise.
6591 * math/libm-test.inc: Include <math-tests.h>.
6592 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6593 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6594 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6595 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6596
50b818bf
SP
65972013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6598
6599 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6600 of assigning.
6601
60d2f8f3
JM
66022013-06-08 Joseph Myers <joseph@codesourcery.com>
6603
4902d2c3
JM
6604 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6605 otherwise empty TRANS lines.
6606 * sysdeps/gnu/errlist.c: Regenerated.
6607
60d2f8f3
JM
6608 * catgets/gencat.c (error_print): Use (void) in function
6609 definition.
6610 * crypt/crypt_util.c (__init_des): Likewise.
6611 * crypt/speeds.c (Stop): Likewise.
6612 (main): Likewise.
6613 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6614 * inet/ruserpass.c (token): Likewise.
6615 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6616 * intl/localealias.c (extend_alias_table): Likewise.
6617 * intl/plural-exp.c (init_germanic_plural): Likewise.
6618 * libio/fcloseall.c (__fcloseall): Likewise.
6619 * libio/genops.c (_IO_flush_all): Likewise.
6620 (_IO_flush_all_linebuffered): Likewise.
6621 (_IO_cleanup): Likewise.
6622 (_IO_iter_begin): Likewise.
6623 (_IO_iter_end): Likewise.
6624 (_IO_list_lock): Likewise.
6625 (_IO_list_unlock): Likewise.
6626 (_IO_list_resetlock): Likewise.
6627 * libio/getchar.c (getchar): Likewise.
6628 * libio/getchar_u.c (getchar_unlocked): Likewise.
6629 * libio/getwchar.c (getwchar): Likewise.
6630 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6631 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6632 * login/getpt.c (__getpt): Likewise.
6633 * login/tst-utmp.c (main): Likewise.
6634 * malloc/hooks.c (__malloc_check_init): Likewise.
6635 * malloc/malloc.c (__malloc_stats): Likewise.
6636 * malloc/mtrace.c (tr_break): Likewise.
6637 (mtrace): Likewise.
6638 (muntrace): Likewise.
6639 * misc/fstab.c (endfsent): Likewise.
6640 * misc/getclktck.c (__getclktck): Likewise.
6641 * misc/getdtsz.c (__getdtablesize): Likewise.
6642 * misc/gethostid.c (gethostid): Likewise.
6643 * misc/getpagesize.c (__getpagesize): Likewise.
6644 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6645 (__get_nprocs): Likewise.
6646 (__get_phys_pages): Likewise.
6647 (__get_avphys_pages): Likewise.
6648 * misc/getttyent.c (getttyent): Likewise.
6649 (setttyent): Likewise.
6650 (endttyent): Likewise.
6651 * misc/getusershell.c (getusershell): Likewise.
6652 (endusershell): Likewise.
6653 (setusershell): Likewise.
6654 (initshells): Likewise.
6655 * misc/hsearch.c (__hdestroy): Likewise.
6656 * misc/sync.c (sync): Likewise.
6657 * misc/syslog.c (closelog_internal): Likewise.
6658 (closelog): Likewise.
6659 * misc/ttyslot.c (ttyslot): Likewise.
6660 * misc/vhangup.c (vhangup): Likewise.
6661 * posix/fork.c (__fork): Likewise.
6662 * posix/getegid.c (__getegid): Likewise.
6663 * posix/geteuid.c (__geteuid): Likewise.
6664 * posix/getgid.c (__getgid): Likewise.
6665 * posix/getpid.c (__getpid): Likewise.
6666 * posix/getppid.c (__getppid): Likewise.
6667 * posix/getuid.c (__getuid): Likewise.
6668 * posix/pause.c (pause): Likewise.
6669 * posix/setpgrp.c (setpgrp): Likewise.
6670 * posix/setsid.c (__setsid): Likewise.
6671 * posix/test-vfork.c (noop): Likewise.
6672 * resolv/gethnamaddr.c (_endhtent): Likewise.
6673 (_gethtent): Likewise.
6674 (ht_endhostent): Likewise.
6675 (gethostent): Likewise.
6676 (dns_service): Likewise.
6677 * stdlib/drand48.c (drand48): Likewise.
6678 * stdlib/lrand48.c (lrand48): Likewise.
6679 * stdlib/mrand48.c (mrand48): Likewise.
6680 * stdlib/rand.c (rand): Likewise.
6681 * stdlib/random.c (__random): Likewise.
6682 * stdlib/setenv.c (clearenv): Likewise.
6683 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6684 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6685 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6686 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6687 (__get_nprocs): Likewise.
6688 (__get_phys_pages): Likewise.
6689 (__get_avphys_pages): Likewise.
6690 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6691 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6692 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6693 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6694 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6695 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6696 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6697 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6698 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6699 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6700 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6701 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6702 * sysdeps/posix/clock.c (clock): Likewise.
6703 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6704 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6705 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6706 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6707 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6709 (__get_nprocs_conf): Likewise.
6710 (__get_phys_pages): Likewise.
6711 (__get_avphys_pages): Likewise.
6712 * time/clock.c (clock): Likewise.
6713 * time/tzset.c (__tzname_max): Likewise.
6714
2e09a79a
JM
67152013-06-07 Joseph Myers <joseph@codesourcery.com>
6716
6717 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6718 (__bswap_32): Do not use "register".
6719 * crypt/crypt.c (_ufc_doit_r): Likewise.
6720 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6721 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6722 * gmon/gmon.c (__monstartup): Likewise.
6723 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6724 * hurd/hurdmalloc.c (more_memory): Likewise.
6725 (malloc): Likewise.
6726 (free): Likewise.
6727 (realloc): Likewise.
6728 (malloc_fork_prepare): Likewise.
6729 (malloc_fork_parent): Likewise.
6730 (malloc_fork_child): Likewise.
6731 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6732 (_svcauth_des): Likewise.
6733 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6734 * inet/inet_net.c (inet_network): Likewise.
6735 * inet/inet_netof.c (inet_netof): Likewise.
6736 * inet/rcmd.c (__validuser2_sa): Likewise.
6737 * io/fts.c (fts_open): Likewise.
6738 (fts_load): Likewise.
6739 (fts_close): Likewise.
6740 (fts_read): Likewise.
6741 (fts_children): Likewise.
6742 (fts_build): Likewise.
6743 (fts_stat): Likewise.
6744 (fts_sort): Likewise.
6745 (fts_alloc): Likewise.
6746 (fts_lfree): Likewise.
6747 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6748 (_IO_file_xsgetn): Likewise.
6749 (_IO_file_xsgetn_mmap): Likewise.
6750 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6751 (_IO_cookie_write): Likewise.
6752 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6753 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6754 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6755 * malloc/obstack.c (_obstack_begin): Likewise.
6756 (_obstack_begin_1): Likewise.
6757 (_obstack_newchunk): Likewise.
6758 (_obstack_allocated_p): Likewise.
6759 (obstack_free): Likewise.
6760 (_obstack_memory_used): Likewise.
6761 * misc/getttyent.c (getttynam): Likewise.
6762 (getttyent): Likewise.
6763 (skip): Likewise.
6764 (value): Likewise.
6765 * misc/getusershell.c (initshells): Likewise.
6766 * misc/syslog.c (__vsyslog_chk): Likewise.
6767 * misc/ttyslot.c (ttyslot): Likewise.
6768 * nis/nis_hash.c (__nis_hash): Likewise.
6769 * posix/fnmatch_loop.c (FCT): Likewise.
6770 * posix/getconf.c (print_all): Likewise.
6771 (main): Likewise.
6772 * posix/getopt.c (exchange): Likewise.
6773 * posix/glob.c (globfree): Likewise.
6774 (prefix_array): Likewise.
6775 (__glob_pattern_type): Likewise.
6776 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6777 (NS_GET32): Likewise.
6778 (NS_PUT16): Likewise.
6779 (NS_PUT32): Likewise.
6780 * resolv/gethnamaddr.c (getanswer): Likewise.
6781 (gethostbyname2): Likewise.
6782 (gethostbyaddr): Likewise.
6783 (_gethtent): Likewise.
6784 (_gethtbyname2): Likewise.
6785 (_gethtbyaddr): Likewise.
6786 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6787 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6788 * resolv/res_init.c (__res_vinit): Likewise.
6789 (net_mask): Likewise.
6790 * resolv/res_mkquery.c (outchar): Likewise.
6791 (PRINT): Likewise.
6792 * stdio-common/printf_fp.c (outchar): Likewise.
6793 (PRINT): Likewise.
6794 * stdio-common/printf_fphex.c (outchar): Likewise.
6795 (PRINT): Likewise.
6796 * stdio-common/printf_size.c (outchar): Likewise.
6797 (PRINT): Likewise.
6798 * stdio-common/test_rdwr.c (main): Likewise.
6799 * stdio-common/tfformat.c (matches): Likewise.
6800 * stdio-common/vfprintf.c (outchar): Likewise.
6801 (printf_unknown): Likewise.
6802 (buffered_vfprintf): Likewise.
6803 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6804 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6805 (ReadFile): Likewise.
6806 * stdlib/qsort.c (SWAP): Likewise.
6807 (_quicksort): Likewise.
6808 * stdlib/setenv.c (__add_to_environ): Likewise.
6809 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6810 * stdlib/strtol_l.c (__strtol_l): Likewise.
6811 * stdlib/tst-strtod.c (main): Likewise.
6812 * stdlib/tst-strtol.c (main): Likewise.
6813 * stdlib/tst-strtoll.c (main): Likewise.
6814 * string/bits/string2.h (__strcmp_cc): Likewise.
6815 (__strcmp_cg): Likewise.
6816 (__strcspn_c1): Likewise.
6817 (__strcspn_c2): Likewise.
6818 (__strcspn_c3): Likewise.
6819 (__strspn_c1): Likewise.
6820 (__strspn_c2): Likewise.
6821 (__strspn_c3): Likewise.
6822 (__strsep_1c): Likewise.
6823 (__strsep_2c): Likewise.
6824 (__strsep_3c): Likewise.
6825 * string/memccpy.c (__memccpy): Likewise.
6826 * string/stpcpy.c (__stpcpy): Likewise.
6827 * string/strcmp.c (strcmp): Likewise.
6828 * string/strrchr.c (strrchr): Likewise.
6829 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6830 Likewise.
6831 * sysdeps/mach/hurd/getcwd.c
6832 (_hurd_canonicalize_directory_name_internal): Likewise.
6833 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6834 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6835 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6836 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6837 Likewise, in both definitions.
6838 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6839 definitions.
6840 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6841 64] (__bswap_64): Likewise.
6842 * time/test_time.c (main): Likewise.
6843 * time/tzfile.c (__tzfile_read): Likewise.
6844 (__tzfile_compute): Likewise.
6845 * time/tzset.c (__tzset_parse_tz): Likewise.
6846 (tzset_internal): Likewise.
6847 (compute_change): Likewise.
6848 * wcsmbs/wcscat.c (__wcscat): Likewise.
6849 * wcsmbs/wcschr.c (wcschr): Likewise.
6850 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6851 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6852 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6853 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6854 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6855 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6856 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6857 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6858 * wcsmbs/wmemset.c (wmemset): Likewise.
6859
9e54314b
JM
68602013-06-06 Joseph Myers <joseph@codesourcery.com>
6861
6862 * scripts/config.guess: Update to version 2013-05-16.
6863 * scripts/config.sub: Update to version 2013-04-24.
6864 * scripts/install-sh: Update to version 2011-11-20.07.
6865 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6866 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6867
350635a5
OB
68682013-06-06 Ondřej Bílka <neleai@seznam.cz>
6869
6870 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6871 * elf/sln.c: Likewise.
6872 * hurd/hurd/ioctl.h: Likewise.
6873 * hurd/hurdmalloc.c: Likewise.
6874 * hurd/xattr.c: Likewise.
6875 * include/shlib-compat.h: Likewise.
6876 * inet/ruserpass.c: Likewise.
6877 * libio/iofgets_u.c: Likewise.
6878 * libio/iofgetws_u.c: Likewise.
6879 * locale/programs/ld-identification.c: Likewise.
6880 * locale/programs/ld-time.c: Likewise.
6881 * mach/msg-destroy.c: Likewise.
6882 * nss/nss_files/files-netgrp.c: Likewise.
6883 * resolv/res_data.c: Likewise.
6884 * soft-fp/op-1.h: Likewise.
6885 * soft-fp/op-2.h: Likewise.
6886 * soft-fp/op-4.h: Likewise.
6887 * soft-fp/op-common.h: Likewise.
6888 * stdio-common/printf_fphex.c: Likewise.
6889 * stdlib/strtod_l.c: Likewise.
6890 * sunrpc/rpc/clnt.h: Likewise.
6891 * sysdeps/generic/framestate.c: Likewise.
6892 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6893 * sysdeps/i386/bsd-setjmp.S: Likewise.
6894 * sysdeps/i386/__longjmp.S: Likewise.
6895 * sysdeps/i386/setjmp.S: Likewise.
6896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6898 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6914 * sysdeps/ieee754/support.c: Likewise.
6915 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6916 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6917 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6918 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6919 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6920 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6921 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6922 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6923 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6924 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6925 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6926 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6927 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6928 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6929 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6930 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6931 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6933
44a988af
OB
69342013-06-05 Ondřej Bílka <neleai@seznam.cz>
6935
25506f09 6936 * posix/transbug.c: Remove executable mode.
44a988af 6937
9c84384c
JM
69382013-06-05 Joseph Myers <joseph@codesourcery.com>
6939
6940 * crypt/speeds.c: Remove trailing whitespace.
6941 * dlfcn/default.c: Likewise.
6942 * elf/ifuncdep2.c: Likewise.
6943 * elf/ifuncmain1.c: Likewise.
6944 * elf/ifuncmain1vis.c: Likewise.
6945 * elf/testobj.h: Likewise.
6946 * elf/tst-stackguard1.c: Likewise.
6947 * gmon/sys/gmon.h: Likewise.
6948 * hurd/hurdmsg.c: Likewise.
6949 * hurd/new-fd.c: Likewise.
6950 * hurd/ports-get.c: Likewise.
6951 * iconvdata/ibm1008_420.c: Likewise.
6952 * inet/tst-getni1.c: Likewise.
6953 * inet/tst-getni2.c: Likewise.
6954 * libio/ioungetc.c: Likewise.
6955 * libio/wfiledoalloc.c: Likewise.
6956 * manual/libm-err-tab.pl: Likewise.
6957 * math/w_dremf.c: Likewise.
6958 * misc/ftruncate.c: Likewise.
6959 * posix/bug-glob2.c: Likewise.
6960 * posix/tst-pcre.c: Likewise.
6961 * posix/wait4.c: Likewise.
6962 * resolv/README: Likewise.
6963 * resolv/res_debug.h: Likewise.
6964 * resolv/tst-inet_ntop.c: Likewise.
6965 * setjmp/bug269-setjmp.c: Likewise.
6966 * soft-fp/extended.h: Likewise.
6967 * soft-fp/op-1.h: Likewise.
6968 * soft-fp/op-2.h: Likewise.
6969 * soft-fp/op-4.h: Likewise.
6970 * soft-fp/op-8.h: Likewise.
6971 * soft-fp/testit.c: Likewise.
6972 * stdio-common/bug16.c: Likewise.
6973 * stdlib/random.c: Likewise.
6974 * sunrpc/rpcsvc/rquota.x: Likewise.
6975 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6976 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6977 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6978 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6979 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6980 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6981 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6982 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6983 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6984 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6986 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6991 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6993 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7002 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7004 * sysdeps/ieee754/s_lib_version.c: Likewise.
7005 * sysdeps/mach/hurd/check_fds.c: Likewise.
7006 * sysdeps/mach/hurd/getsockname.c: Likewise.
7007 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7008 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7009 * sysdeps/powerpc/bits/link.h: Likewise.
7010 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7011 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7012 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7013 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7014 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7015 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7016 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7017 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7018 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7019 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7020 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7021 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7022 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7023 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7024 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7025 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7026 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7031 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7033 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7034 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7035 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7037 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7039 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7041 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7042 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7043 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7044 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7045 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7046 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7047 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7048 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7049 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7050 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7051 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7052 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7053 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7054 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7055 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7056 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7057 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7058 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7059 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7062 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7063 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7064 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7065 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7066 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7067 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7068 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7069 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7070 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7071 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7072 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7073 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7074 * sysdeps/powerpc/sysdep.h: Likewise.
7075 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7076 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7077 * sysdeps/sh/dl-trampoline.S: Likewise.
7078 * sysdeps/sh/memset.S: Likewise.
7079 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7080 * sysdeps/sh/strlen.S: Likewise.
7081 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7082 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7083 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7084 * sysdeps/sparc/sparc32/rem.S: Likewise.
7085 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7086 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7087 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7088 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7089 * sysdeps/sparc/sparc32/urem.S: Likewise.
7090 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7091 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7092 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7093 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7094 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7095 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7096 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7097 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7098 * sysdeps/unix/bsd/times.c: Likewise.
7099 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7100 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7104 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7105 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7106 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7107 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7108 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7109 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7110 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7111 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7114 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7115 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7116 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7117 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7118 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7119 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7120 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7121 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7122 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7123 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7124 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7125 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7126 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7127 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7128 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7129 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7130 * sysdeps/x86_64/strcspn.S: Likewise.
7131
869378a5
RA
71322013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7133
7134 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7135 generated file. Regenerate properly from gen-translit.pl.
7136 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7137 locale/C-translit.h.
7138
840e2943
AS
71392013-06-05 Andreas Schwab <schwab@suse.de>
7140
7141 [BZ #15100]
7142 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7143 week as 6 instead of -1.
7144 * time/tst-strptime.c (day_tests): Add test case.
7145
4c60cb0c
SP
71462013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7147
7148 * sysdeps/generic/math_private.h
7149 (libc_feholdexcept_setround_53bit): Replace with
7150 libc_feholdsetround_53bit.
7151 (libc_feupdateenv_53bit): Replace with
7152 libc_feresetround_53bit.
7153 (SET_RESTORE_ROUND_53BIT): Adjust.
7154
d180203e
SP
71552013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7156
96df079a
SP
7157 * string/test-strchrnul.c: Add copyright header.
7158
d180203e
SP
7159 * posix/tst-getaddrinfo4.c: Increase test timeout.
7160
8b0ccb2d
CD
71612013-06-03 Carlos O'Donell <carlos@redhat.com>
7162
7163 [BZ #15536]
7164 * math/libm-test.inc (MAX_EXP): Remove
7165 (MIN_EXP): Define.
7166 (ulp): Use MIN_EXP - MANT_DIG.
7167 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7168
3b3c4d40
CD
71692013-05-31 Carlos O'Donell <carlos@redhat.com>
7170
7171 * po/be.po: Revert last change.
7172 * po/zh_CN.po: Likewise.
7173 * po/header.pot: Likewise.
7174
fab7ce3f
JM
71752013-05-31 Joseph Myers <joseph@codesourcery.com>
7176
7177 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7178 link-libc-deps to empty as target-specific variable.
7179 * Makerules (link-libc-args): New variable.
7180 (libc-for-link): Likewise.
7181 (link-libc-deps): Likewise.
7182 (lib%.so): Depend on $(link-libc-deps). Link with
7183 $(link-libc-args).
7184 (build-module): Link with $(link-libc-args).
7185 (build-module-asneeded): Likewise.
7186 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7187 list of objects.
7188 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7189 target-specific variable.
7190 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7191 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7192 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7193 libc.
7194 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7195 libc and ld.so.
7196 ($(objpfx)libpcprofile.so): Likewise.
7197 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7198 libc_nonshared.a.
7199 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7200 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7201 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7202 $(link-libc-deps).
7203 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7204 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7205 * login/Makefile ($(objpfx)libutil.so): Likewise.
7206 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7207 * math/Makefile ($(objpfx)libm.so): Likewise.
7208 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7209 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7210 variable instead of depending directly on libc.
7211 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7212 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7213 $(link-libc-deps).
7214 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7215 libc.
7216 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7217 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7218 ($(objpfx)libanl.so): Likewise.
7219 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7220 ld.so.
7221 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7222 $(link-libc-deps).
7223 * sysdeps/i386/fpu/Makefile: Remove file.
7224 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7225 ($(objpfx)libm.so): Remove dependency on ld.so.
7226
eca5920c
PF
72272013-05-30 Patsy Franklin <pfrankli@redhat.com>
7228
7229 [BZ # 15553]
7230 * nis/yp_xdr.c (XDRMAXNAME): Define.
7231 (XDRMAXRECORD): Define.
7232 (xdr_domainname): Use XDRMAXNAME.
7233 (xdr_mapname): Likewise.
7234 (xdr_peername): Likewise.
7235 (xdr_keydat): Use XDRMAXRECORD.
7236 (xdr_valdat): Likewise.
7237
72382013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7239
7240 [BZ #14256]
7241 * manual/errno.texi (ESTALE): Update to account for more than
7242 just NFS file systems.
7243 * sysdeps/gnu/errlist.c: Regenerated.
7244
b9375348
SP
72452013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7246
7247 [BZ #15465]
7248 * elf/Makefile (tests): Add tst-null-argv.
7249 (modules-names): Add tst-null-argv-lib.
7250 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7251 (tst-null-argv-ENV): Set environment for tst-null-argv.
7252 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7253 (RTLD_PROGNAME): New macro.
7254 * elf/tst-null-argv.c: New test case.
7255 * elf/tst-null-argv-lib.c: Library for test case.
7256 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7257 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7258 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7259 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7260 * elf/dl-init.c (call_init): Likewise.
7261 (_dl_init): Likewise.
7262 * elf/dl-load.c (print_search_path): Likewise.
7263 (_dl_map_object): Likewise.
7264 * elf/dl-lookup.c (do_lookup_x): Likewise.
7265 (add_dependency): Likewise.
7266 (_dl_lookup_symbol_x): Likewise.
7267 (_dl_debug_bindings): Likewise.
7268 * elf/dl-open.c (_dl_show_scope): Likewise.
7269 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7270 * elf/dl-version.c (match_symbol): Likewise.
7271 (_dl_check_map_versions): Likewise.
7272 * elf/rtld.c (dl_main): Likewise.
7273 (print_unresolved): Use RTLD_PROGNAME.
7274 (print_missing_version): Likewise.
7275 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7276 (elf_machine_rela): Likewise.
7277 * sysdeps/powerpc/powerpc32/dl-machine.c
7278 (__process_machine_rela): Likewise.
7279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7280 Likewise.
7281 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7282 Likewise.
7283 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7284 Likewise.
7285 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7287 Likewise.
7288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7289 Likewise.
7290 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7291
8a9f20c8
CD
72922013-05-28 Carlos O'Donell <carlos@redhat.com>
7293
7294 * po/be.po: Add descriptive title.
7295 * po/zh_CN.po: Likewise.
7296 * po/header.pot: Likewise.
7297
0e60d68e
MF
72982013-05-28 Mike Frysinger <vapier@gentoo.org>
7299
7300 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7301 error message.
7302 (enlarge_archive): Likewise.
7303
56b672e9
BN
73042013-05-28 Ben North <ben@redfrontdoor.org>
7305
7306 * manual/arith.texi (frexp): It is the magnitude of the return
7307 value which lies in [0.5, 1), not the return value itself.
7308
5e056687
AZ
73092013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7310
7311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7312
2b66ef5d
TS
73132013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7314
528c2405
TS
7315 * stdio-common/bug26.c (main): Correct fscanf template.
7316
07b4c13d
TS
7317 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7318 declare _dl_skip_args.
7319
ec9dd97c
TS
7320 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7321 Don't declare.
7322
2b66ef5d
TS
7323 * manual/platform.texi: Add missing @end deftypefun.
7324
4f8dfe27
JM
73252013-05-24 Joseph Myers <joseph@codesourcery.com>
7326
0323d086
JM
7327 [BZ #15529]
7328 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7329 bit of mantissa of 2^16382.
7330 * math/libm-test.inc (hypot_test_data): Add more tests.
7331
dd4259b9
JM
7332 * math/libm-test.inc: Add drem and pow10 to list of tested
7333 functions.
7334 (pow10_test): New function.
7335 (drem_test): Likewise.
7336 (drem_test_tonearest): Likewise.
7337 (drem_test_towardzero): Likewise.
7338 (drem_test_downward): Likewise.
7339 (drem_test_upward): Likewise.
7340 (main): Call the new functions.
7341
4f8dfe27
JM
7342 * math/libm-test.inc (finite_test_data): Remove.
7343 (finite_test): Run tests from isfinite_test_data.
7344 (gamma_test_data): Remove.
7345 (gamma_test): Run tests from lgamma_test_data.
7346 * sysdeps/i386/fpu/libm-test-ulps: Update.
7347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7348
d116b7c4
AZ
73492013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7350
7351 * manual/platform.texi: Add PowerPC PPR function set documentation.
7352 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7353 implementation.
7354
e96e3767
CD
73552013-05-24 Carlos O'Donell <carlos@redhat.com>
7356
7357 * math/libm-test.inc (MAX_EXP): Define.
7358 (ULPDIFF): Define.
7359 (ulp): New function.
7360 (check_float_internal): Use ULPDIFF.
7361 (cpow_test): Disable failing test.
7362 (check_ulp): Test ulp() implemetnation.
7363 (main): Call check_ulp before starting tests.
7364
b679a606
JM
73652013-05-24 Joseph Myers <joseph@codesourcery.com>
7366
e8bdba36
JM
7367 * math/gen-libm-test.pl (generate_testfile): Do not handle
7368 START_DATA and END_DATA.
7369 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7370 END_DATA.
7371 (acos_tonearest_test_data): Likewise.
7372 (acos_towardzero_test_data): Likewise.
7373 (acos_downward_test_data): Likewise.
7374 (acos_upward_test_data): Likewise.
7375 (acosh_test_data): Likewise.
7376 (asin_test_data): Likewise.
7377 (asin_tonearest_test_data): Likewise.
7378 (asin_towardzero_test_data): Likewise.
7379 (asin_downward_test_data): Likewise.
7380 (asin_upward_test_data): Likewise.
7381 (asinh_test_data): Likewise.
7382 (atan_test_data): Likewise.
7383 (atanh_test_data): Likewise.
7384 (atan2_test_data): Likewise.
7385 (cabs_test_data): Likewise.
7386 (cacos_test_data): Likewise.
7387 (cacosh_test_data): Likewise.
7388 (carg_test_data): Likewise.
7389 (casin_test_data): Likewise.
7390 (casinh_test_data): Likewise.
7391 (catan_test_data): Likewise.
7392 (catanh_test_data): Likewise.
7393 (cbrt_test_data): Likewise.
7394 (ccos_test_data): Likewise.
7395 (ccosh_test_data): Likewise.
7396 (ceil_test_data): Likewise.
7397 (cexp_test_data): Likewise.
7398 (cimag_test_data): Likewise.
7399 (clog_test_data): Likewise.
7400 (clog10_test_data): Likewise.
7401 (conj_test_data): Likewise.
7402 (copysign_test_data): Likewise.
7403 (cos_test_data): Likewise.
7404 (cos_tonearest_test_data): Likewise.
7405 (cos_towardzero_test_data): Likewise.
7406 (cos_downward_test_data): Likewise.
7407 (cos_upward_test_data): Likewise.
7408 (cosh_test_data): Likewise.
7409 (cosh_tonearest_test_data): Likewise.
7410 (cosh_towardzero_test_data): Likewise.
7411 (cosh_downward_test_data): Likewise.
7412 (cosh_upward_test_data): Likewise.
7413 (cpow_test_data): Likewise.
7414 (cproj_test_data): Likewise.
7415 (creal_test_data): Likewise.
7416 (csin_test_data): Likewise.
7417 (csinh_test_data): Likewise.
7418 (csqrt_test_data): Likewise.
7419 (ctan_test_data): Likewise.
7420 (ctan_tonearest_test_data): Likewise.
7421 (ctan_towardzero_test_data): Likewise.
7422 (ctan_downward_test_data): Likewise.
7423 (ctan_upward_test_data): Likewise.
7424 (ctanh_test_data): Likewise.
7425 (ctanh_tonearest_test_data): Likewise.
7426 (ctanh_towardzero_test_data): Likewise.
7427 (ctanh_downward_test_data): Likewise.
7428 (ctanh_upward_test_data): Likewise.
7429 (erf_test_data): Likewise.
7430 (erfc_test_data): Likewise.
7431 (exp_test_data): Likewise.
7432 (exp_tonearest_test_data): Likewise.
7433 (exp_towardzero_test_data): Likewise.
7434 (exp_downward_test_data): Likewise.
7435 (exp_upward_test_data): Likewise.
7436 (exp10_test_data): Likewise.
7437 (exp2_test_data): Likewise.
7438 (expm1_test_data): Likewise.
7439 (fabs_test_data): Likewise.
7440 (fdim_test_data): Likewise.
7441 (finite_test_data): Likewise.
7442 (floor_test_data): Likewise.
7443 (fma_test_data): Likewise.
7444 (fma_towardzero_test_data): Likewise.
7445 (fma_downward_test_data): Likewise.
7446 (fma_upward_test_data): Likewise.
7447 (fmax_test_data): Likewise.
7448 (fmin_test_data): Likewise.
7449 (fmod_test_data): Likewise.
7450 (fpclassify_test_data): Likewise.
7451 (frexp_test_data): Likewise.
7452 (gamma_test_data): Likewise.
7453 (hypot_test_data): Likewise.
7454 (ilogb_test_data): Likewise.
7455 (isfinite_test_data): Likewise.
7456 (isgreater_test_data): Likewise.
7457 (isgreaterequal_test_data): Likewise.
7458 (isinf_test_data): Likewise.
7459 (isless_test_data): Likewise.
7460 (islessequal_test_data): Likewise.
7461 (islessgreater_test_data): Likewise.
7462 (isnan_test_data): Likewise.
7463 (isnormal_test_data): Likewise.
7464 (issignaling_test_data): Likewise.
7465 (isunordered_test_data): Likewise.
7466 (j0_test_data): Likewise.
7467 (j1_test_data): Likewise.
7468 (jn_test_data): Likewise.
7469 (ldexp_test_data): Likewise.
7470 (lgamma_test_data): Likewise.
7471 (lrint_test_data): Likewise.
7472 (lrint_tonearest_test_data): Likewise.
7473 (lrint_towardzero_test_data): Likewise.
7474 (lrint_downward_test_data): Likewise.
7475 (lrint_upward_test_data): Likewise.
7476 (llrint_test_data): Likewise.
7477 (llrint_tonearest_test_data): Likewise.
7478 (llrint_towardzero_test_data): Likewise.
7479 (llrint_downward_test_data): Likewise.
7480 (llrint_upward_test_data): Likewise.
7481 (log_test_data): Likewise.
7482 (log10_test_data): Likewise.
7483 (log1p_test_data): Likewise.
7484 (log2_test_data): Likewise.
7485 (logb_test_data): Likewise.
7486 (logb_downward_test_data): Likewise.
7487 (lround_test_data): Likewise.
7488 (llround_test_data): Likewise.
7489 (modf_test_data): Likewise.
7490 (nearbyint_test_data): Likewise.
7491 (nextafter_test_data): Likewise.
7492 (nexttoward_test_data): Likewise.
7493 (pow_test_data): Likewise.
7494 (pow_tonearest_test_data): Likewise.
7495 (pow_towardzero_test_data): Likewise.
7496 (pow_downward_test_data): Likewise.
7497 (pow_upward_test_data): Likewise.
7498 (remainder_test_data): Likewise.
7499 (remainder_tonearest_test_data): Likewise.
7500 (remainder_towardzero_test_data): Likewise.
7501 (remainder_downward_test_data): Likewise.
7502 (remainder_upward_test_data): Likewise.
7503 (remquo_test_data): Likewise.
7504 (rint_test_data): Likewise.
7505 (rint_tonearest_test_data): Likewise.
7506 (rint_towardzero_test_data): Likewise.
7507 (rint_downward_test_data): Likewise.
7508 (rint_upward_test_data): Likewise.
7509 (round_test_data): Likewise.
7510 (scalb_test_data): Likewise.
7511 (scalbn_test_data): Likewise.
7512 (scalbln_test_data): Likewise.
7513 (signbit_test_data): Likewise.
7514 (sin_test_data): Likewise.
7515 (sin_tonearest_test_data): Likewise.
7516 (sin_towardzero_test_data): Likewise.
7517 (sin_downward_test_data): Likewise.
7518 (sin_upward_test_data): Likewise.
7519 (sincos_test_data): Likewise.
7520 (sinh_test_data): Likewise.
7521 (sinh_tonearest_test_data): Likewise.
7522 (sinh_towardzero_test_data): Likewise.
7523 (sinh_downward_test_data): Likewise.
7524 (sinh_upward_test_data): Likewise.
7525 (sqrt_test_data): Likewise.
7526 (tan_test_data): Likewise.
7527 (tan_tonearest_test_data): Likewise.
7528 (tan_towardzero_test_data): Likewise.
7529 (tan_downward_test_data): Likewise.
7530 (tan_upward_test_data): Likewise.
7531 (tanh_test_data): Likewise.
7532 (tgamma_test_data): Likewise.
7533 (trunc_test_data): Likewise.
7534 (y0_test_data): Likewise.
7535 (y1_test_data): Likewise.
7536 (yn_test_data): Likewise.
7537 (significand_test_data): Likewise.
7538
b679a606
JM
7539 * math/gen-libm-test.pl (@functions): Remove variable.
7540 (generate_testfile): Don't handle START and END lines.
7541 * math/libm-test.inc (START): New macro.
7542 (END): Likewise.
7543 (END_COMPLEX): Likewise.
7544 (acos_test): Use END macro without arguments.
7545 (acos_test_tonearest): Likewise.
7546 (acos_test_towardzero): Likewise.
7547 (acos_test_downward): Likewise.
7548 (acos_test_upward): Likewise.
7549 (acosh_test): Likewise.
7550 (asin_test): Likewise.
7551 (asin_test_tonearest): Likewise.
7552 (asin_test_towardzero): Likewise.
7553 (asin_test_downward): Likewise.
7554 (asin_test_upward): Likewise.
7555 (asinh_test): Likewise.
7556 (atan_test): Likewise.
7557 (atanh_test): Likewise.
7558 (atan2_test): Likewise.
7559 (cabs_test): Likewise.
7560 (cacos_test): Use END_COMPLEX macro without arguments.
7561 (cacosh_test): Likewise.
7562 (carg_test): Use END macro without arguments.
7563 (casin_test): Use END_COMPLEX macro without arguments.
7564 (casinh_test): Likewise.
7565 (catan_test): Likewise.
7566 (catanh_test): Likewise.
7567 (cbrt_test): Use END macro without arguments.
7568 (ccos_test): Use END_COMPLEX macro without arguments.
7569 (ccosh_test): Likewise.
7570 (ceil_test): Use END macro without arguments.
7571 (cexp_test): Use END_COMPLEX macro without arguments.
7572 (cimag_test): Use END macro without arguments.
7573 (clog_test): Use END_COMPLEX macro without arguments.
7574 (clog10_test): Likewise.
7575 (conj_test): Likewise.
7576 (copysign_test): Use END macro without arguments.
7577 (cos_test): Likewise.
7578 (cos_test_tonearest): Likewise.
7579 (cos_test_towardzero): Likewise.
7580 (cos_test_downward): Likewise.
7581 (cos_test_upward): Likewise.
7582 (cosh_test): Likewise.
7583 (cosh_test_tonearest): Likewise.
7584 (cosh_test_towardzero): Likewise.
7585 (cosh_test_downward): Likewise.
7586 (cosh_test_upward): Likewise.
7587 (cpow_test): Use END_COMPLEX macro without arguments.
7588 (cproj_test): Likewise.
7589 (creal_test): Use END macro without arguments.
7590 (csin_test): Use END_COMPLEX macro without arguments.
7591 (csinh_test): Likewise.
7592 (csqrt_test): Likewise.
7593 (ctan_test): Likewise.
7594 (ctan_test_tonearest): Likewise.
7595 (ctan_test_towardzero): Likewise.
7596 (ctan_test_downward): Likewise.
7597 (ctan_test_upward): Likewise.
7598 (ctanh_test): Likewise.
7599 (ctanh_test_tonearest): Likewise.
7600 (ctanh_test_towardzero): Likewise.
7601 (ctanh_test_downward): Likewise.
7602 (ctanh_test_upward): Likewise.
7603 (erf_test): Use END macro without arguments.
7604 (erfc_test): Likewise.
7605 (exp_test): Likewise.
7606 (exp_test_tonearest): Likewise.
7607 (exp_test_towardzero): Likewise.
7608 (exp_test_downward): Likewise.
7609 (exp_test_upward): Likewise.
7610 (exp10_test): Likewise.
7611 (exp2_test): Likewise.
7612 (expm1_test): Likewise.
7613 (fabs_test): Likewise.
7614 (fdim_test): Likewise.
7615 (finite_test): Likewise.
7616 (floor_test): Likewise.
7617 (fma_test): Likewise.
7618 (fma_test_towardzero): Likewise.
7619 (fma_test_downward): Likewise.
7620 (fma_test_upward): Likewise.
7621 (fmax_test): Likewise.
7622 (fmin_test): Likewise.
7623 (fmod_test): Likewise.
7624 (fpclassify_test): Likewise.
7625 (frexp_test): Likewise.
7626 (gamma_test): Likewise.
7627 (hypot_test): Likewise.
7628 (ilogb_test): Likewise.
7629 (isfinite_test): Likewise.
7630 (isgreater_test): Likewise.
7631 (isgreaterequal_test): Likewise.
7632 (isinf_test): Likewise.
7633 (isless_test): Likewise.
7634 (islessequal_test): Likewise.
7635 (islessgreater_test): Likewise.
7636 (isnan_test): Likewise.
7637 (isnormal_test): Likewise.
7638 (issignaling_test): Likewise.
7639 (isunordered_test): Likewise.
7640 (j0_test): Likewise.
7641 (j1_test): Likewise.
7642 (jn_test): Likewise.
7643 (ldexp_test): Likewise.
7644 (lgamma_test): Likewise.
7645 (lrint_test): Likewise.
7646 (lrint_test_tonearest): Likewise.
7647 (lrint_test_towardzero): Likewise.
7648 (lrint_test_downward): Likewise.
7649 (lrint_test_upward): Likewise.
7650 (llrint_test): Likewise.
7651 (llrint_test_tonearest): Likewise.
7652 (llrint_test_towardzero): Likewise.
7653 (llrint_test_downward): Likewise.
7654 (llrint_test_upward): Likewise.
7655 (log_test): Likewise.
7656 (log10_test): Likewise.
7657 (log1p_test): Likewise.
7658 (log2_test): Likewise.
7659 (logb_test): Likewise.
7660 (logb_test_downward): Likewise.
7661 (lround_test): Likewise.
7662 (llround_test): Likewise.
7663 (modf_test): Likewise.
7664 (nearbyint_test): Likewise.
7665 (nextafter_test): Likewise.
7666 (nexttoward_test): Likewise.
7667 (pow_test): Likewise.
7668 (pow_test_tonearest): Likewise.
7669 (pow_test_towardzero): Likewise.
7670 (pow_test_downward): Likewise.
7671 (pow_test_upward): Likewise.
7672 (remainder_test): Likewise.
7673 (remainder_test_tonearest): Likewise.
7674 (remainder_test_towardzero): Likewise.
7675 (remainder_test_downward): Likewise.
7676 (remainder_test_upward): Likewise.
7677 (remquo_test): Likewise.
7678 (rint_test): Likewise.
7679 (rint_test_tonearest): Likewise.
7680 (rint_test_towardzero): Likewise.
7681 (rint_test_downward): Likewise.
7682 (rint_test_upward): Likewise.
7683 (round_test): Likewise.
7684 (scalb_test): Likewise.
7685 (scalbn_test): Likewise.
7686 (scalbln_test): Likewise.
7687 (signbit_test): Likewise.
7688 (sin_test): Likewise.
7689 (sin_test_tonearest): Likewise.
7690 (sin_test_towardzero): Likewise.
7691 (sin_test_downward): Likewise.
7692 (sin_test_upward): Likewise.
7693 (sincos_test): Likewise.
7694 (sinh_test): Likewise.
7695 (sinh_test_tonearest): Likewise.
7696 (sinh_test_towardzero): Likewise.
7697 (sinh_test_downward): Likewise.
7698 (sinh_test_upward): Likewise.
7699 (sqrt_test): Likewise.
7700 (tan_test): Likewise.
7701 (tan_test_tonearest): Likewise.
7702 (tan_test_towardzero): Likewise.
7703 (tan_test_downward): Likewise.
7704 (tan_test_upward): Likewise.
7705 (tanh_test): Likewise.
7706 (tgamma_test): Likewise.
7707 (trunc_test): Likewise.
7708 (y0_test): Likewise.
7709 (y1_test): Likewise.
7710 (yn_test): Likewise.
7711 (significand_test): Likewise.
7712
bae143d2
OB
77132013-05-24 Ondřej Bílka <neleai@seznam.cz>
7714
7715 [BZ #15381]
7716 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7717
9323d39b
EM
77182013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7719
d4ea44a0 7720 [BZ #14894]
9323d39b
EM
7721 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7722 __ppc_mdoio and __ppc_mdoom.
7723 * manual/platform.texi: Document new functions __ppc_yield,
7724 __ppc_mdoio and __ppc_mdoom.
7725
13e23af7
CD
77262013-05-22 Carlos O'Donell <carlos@redhat.com>
7727
7728 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7729 (main): Mention "tls" pseudo-hwcap is legacy.
7730 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7731
351fe550
JM
77322013-05-22 Joseph Myers <joseph@codesourcery.com>
7733
7734 * math/gen-libm-test.pl (parse_args): Output only string of
7735 arguments as text for test name, not full call or descriptions of
7736 tests for extra outputs.
7737 (generate_testfile): Do not pass function name to parse_args.
7738 Generate this_func variable from START.
7739 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7740 field to arg_str.
7741 (struct test_ff_f_data): Likewise.
7742 (test_ff_f_data_nexttoward): Likewise.
7743 (struct test_fi_f_data): Likewise.
7744 (struct test_fl_f_data): Likewise.
7745 (struct test_if_f_data): Likewise.
7746 (struct test_fff_f_data): Likewise.
7747 (struct test_c_f_data): Likewise.
7748 (struct test_f_f1_data): Likewise. Remove field extra_name.
7749 (struct test_fF_f1_data): Likewise.
7750 (struct test_ffI_f1_data): Likewise.
7751 (struct test_c_c_data): Rename test_name field to arg_str.
7752 (struct test_cc_c_data): Likewise.
7753 (struct test_f_i_data): Likewise.
7754 (struct test_ff_i_data): Likewise.
7755 (struct test_f_l_data): Likewise.
7756 (struct test_f_L_data): Likewise.
7757 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7758 and extra2_name.
7759 (COMMON_TEST_SETUP): New macro.
7760 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7761 (COMMON_TEST_CLEANUP): Likewise.
7762 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7763 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7764 macros.
7765 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7766 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7767 macros.
7768 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7769 (RUN_TEST_fff_f): Take argument string. Call new setup and
7770 cleanup macros.
7771 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7772 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7773 macros.
7774 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7775 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7776 macros.
7777 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7778 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7779 cleanup macros.
7780 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7781 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7782 cleanup macros.
7783 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7784 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7785 cleanup macros.
7786 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7787 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7788 macros.
7789 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7790 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7791 macros.
7792 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7793 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7794 macros.
7795 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7796 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7797 cleanup macros.
7798 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7799 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7800 cleanup macros.
7801 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7802 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7803 macros.
7804 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7805 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7806 cleanup macros.
7807 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7808 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7809 macros.
7810 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7811 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7812 macros.
7813 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7814 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7815 cleanup macros.
7816 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7817
85118d4d
EBM
78182013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7819
7820 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7821 to _sifields.sigfault.
7822 (si_addr_lsb): Define new macro.
7823 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7824 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7825 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7826
7a44c18f
CD
78272013-05-03 Carlos O'Donell <carlos at redhat.com>
7828
7829 [BZ #15441]
7830 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7831 returns -1.
7832 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7833 null return -1.
7834 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7835 loading the domain.
7836
b50a7181
JM
78372013-05-22 Joseph Myers <joseph@codesourcery.com>
7838
7839 * math/gen-libm-test.pl (parse_args): Do not include expected
7840 result in test name.
7841 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7843 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7844 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7845 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7847
051063c8
SP
78482013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7849
3ce9e010
SP
7850 * benchtests/Makefile: Sort function entries.
7851
051063c8
SP
7852 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7853 tanh, asinh, acosh, atanh.
7854 * benchtests/acos-inputs: New file.
7855 * benchtests/acosh-inputs: New file.
7856 * benchtests/asin-inputs: New file.
7857 * benchtests/asinh-inputs: New file.
7858 * benchtests/atanh-inputs: New file.
7859 * benchtests/cosh-inputs: New file.
7860 * benchtests/log-inputs: New file.
7861 * benchtests/sinh-inputs: New file.
7862 * benchtests/tanh-inputs: New file.
7863
47c22455
DL
78642013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7865
7866 [BZ #15339]
7867 * posix/tst-getaddrinfo4.c: New test.
7868 * posix/Makefile (tests): Add it.
7869
3d04f5db
SP
78702013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7871
7872 [BZ #15339]
7873 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7874 when no services were used.
7875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7876 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7877
d5dd6189
AS
78782013-05-21 Andreas Schwab <schwab@suse.de>
7879
7880 [BZ #15014]
7881 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7882 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7883 successful.
7884 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7885 redundant variable declarations and reallocation of buffer when
7886 parsing as IPv6 address. Always set NSS status when called from
7887 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7888 buffer too small. Correct computation of needed size.
7889 * nss/Makefile (tests): Add test-digits-dots.
7890 * nss/test-digits-dots.c: New test.
7891
fef94eab
SP
78922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7893
7894 * benchtests/Makefile: Remove instructions for adding
7895 benchmark tests.
7896 * benchtests/README: New file to explain how to execute and
7897 enhance the benchmark tests.
7898
e39adf43
AS
78992013-05-21 Andreas Schwab <schwab@suse.de>
7900
7901 [BZ #15493]
7902 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7903 * setjmp/tst-sigsetjmp.c: New test.
7904
b2b671b6
OB
79052013-05-20 Ondřej Bílka <neleai@seznam.cz>
7906
7907 * sysdeps/x86_64/memset.S (memset): New implementation.
7908 (__bzero): Likewise.
7909 (__memset_tail): New function.
7910
2d48b41c
OB
79112013-05-20 Ondřej Bílka <neleai@seznam.cz>
7912
7913 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7914 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7915 __memcpy_sse2_unaligned ifunc selection.
7916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7917 Add memcpy-sse2-unaligned.S.
7918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7919 Add: __memcpy_sse2_unaligned.
7920
f16cc3eb
JM
79212013-05-19 Joseph Myers <joseph@codesourcery.com>
7922
3e694268
JM
7923 [BZ #15490]
7924 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7925 math_force_eval before restoring floating-point envrionment.
7926 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7927 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7928 Likewise.
7929 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7930 <math_private.h>.
7931 (__nearbyintl): Use math_force_eval before restoring
7932 floating-point environment.
7933 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7934
db62a907
JM
7935 * math/gen-libm-test.pl (special_functions): Remove.
7936 (parse_args): Don't handle TEST_extra. Handle functions with no
7937 return value.
7938 * math/libm-test.inc (struct test_sincos_data): Replace with
7939 struct test_fFF_11_data.
7940 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7941 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7942 (sincos_test_data): Change element type to struct
7943 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7944 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7945 RUN_TEST_LOOP_sincos.
7946 * math/README.libm-test: Don't mention special handling of
7947 individual functions.
7948 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7949 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7950 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7951 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7952 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7954
f16cc3eb
JM
7955 * math/gen-libm-test.pl (get_variable): Remove function.
7956 (parse_args): Don't show pointer parameters to call in test
7957 names. Use "extra output N" in test names for extra outputs
7958 rather than naming variables.
7959
3779b5b6
JM
79602013-05-18 Joseph Myers <joseph@codesourcery.com>
7961
2ee094ff
JM
7962 [BZ #15488]
7963 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7964 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7965 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7966 double tests.
7967 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7968 disable.
7969 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7970 check_long_double.
7971
3779b5b6
JM
7972 * math/gen-libm-test.pl (@tests): Remove variable.
7973 ($count): Likewise.
7974 (new_test): Remove function.
7975 (show_exceptions): New function.
7976 (special_functions): Use show_exceptions instead of new_test.
7977 (parse_args): Likewise.
7978 (generate_testfile): Pass only function name in generated call to
7979 print_max_error or print_complex_max_error.
7980 (get_ulps): Do not handle complex tests specially.
7981 (output_test): Rename to ...
7982 (get_all_ulps_for_test): ... this. Return a string rather than
7983 printing to a file. Require ulps to be present.
7984 (output_ulps): Generate arrays rather than #defines.
7985 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7986 (struct ulp_data): New type.
7987 (BUILD_COMPLEX_ULP): Remove macro.
7988 (compare_ulp_data): New function.
7989 (find_ulps): Likewise.
7990 (find_test_ulps): Likewise.
7991 (find_function_ulps): Likewise.
7992 (find_complex_function_ulps): Likewise.
7993 (print_max_error): Determine allowed ulps using
7994 find_function_ulps.
7995 (print_complex_max_error): Determine allowed ulps using
7996 find_complex_function_ulps.
7997 (check_float_internal): Determine max ulps using find_test_ulps.
7998 (check_float): Do not take max_ulp parameter. Update call to
7999 check_float_internal.
8000 (check_complex): Likewise.
8001 (check_int): Do not take max_ulp parameter.
8002 (check_long): Likewise.
8003 (check_bool): Likewise.
8004 (check_longlong): Likewise.
8005 (struct test_f_f_data): Remove max_ulp field.
8006 (struct test_ff_f_data): Likewise.
8007 (struct test_ff_f_data_nexttoward): Likewise.
8008 (struct test_fi_f_data): Likewise.
8009 (struct test_fl_f_data): Likewise.
8010 (struct test_if_f_data): Likewise.
8011 (struct test_fff_f_data): Likewise.
8012 (struct test_c_f_data): Likewise.
8013 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8014 (struct test_fF_f1_data): Likewise.
8015 (struct test_ffI_f1_data): Likewise.
8016 (struct test_c_c_data): Remove max_ulp field.
8017 (struct test_cc_c_data): Likewise.
8018 (struct test_f_i_data): Likewise.
8019 (struct test_ff_i_data): Likewise.
8020 (struct test_f_l_data): Likewise.
8021 (struct test_f_L_data): Likewise.
8022 (struct test_sincos_data): Likewise.
8023 (RUN_TEST_f_f): Do not handle ulps.
8024 (RUN_TEST_LOOP_f_f): Likewise.
8025 (RUN_TEST_2_f): Likewise.
8026 (RUN_TEST_LOOP_2_f): Likewise.
8027 (RUN_TEST_fff_f): Likewise.
8028 (RUN_TEST_LOOP_fff_f): Likewise.
8029 (RUN_TEST_c_f): Likewise.
8030 (RUN_TEST_LOOP_c_f): Likewise.
8031 (RUN_TEST_f_f1): Likewise.
8032 (RUN_TEST_LOOP_f_f1): Likewise.
8033 (RUN_TEST_fF_f1): Likewise.
8034 (RUN_TEST_LOOP_fF_f1): Likewise.
8035 (RUN_TEST_fI_f1): Likewise.
8036 (RUN_TEST_LOOP_fI_f1): Likewise.
8037 (RUN_TEST_ffI_f1): Likewise.
8038 (RUN_TEST_LOOP_ffI_f1): Likewise.
8039 (RUN_TEST_c_c): Likewise.
8040 (RUN_TEST_LOOP_c_c): Likewise.
8041 (RUN_TEST_cc_c): Likewise.
8042 (RUN_TEST_LOOP_cc_c): Likewise.
8043 (RUN_TEST_f_i): Likewise.
8044 (RUN_TEST_LOOP_f_i): Likewise.
8045 (RUN_TEST_f_i_tg): Likewise.
8046 (RUN_TEST_LOOP_f_i_tg): Likewise.
8047 (RUN_TEST_ff_i_tg): Likewise.
8048 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8049 (RUN_TEST_f_b): Likewise.
8050 (RUN_TEST_LOOP_f_b): Likewise.
8051 (RUN_TEST_f_b_tg): Likewise.
8052 (RUN_TEST_LOOP_f_b_tg): Likewise.
8053 (RUN_TEST_f_l): Likewise.
8054 (RUN_TEST_LOOP_f_l): Likewise.
8055 (RUN_TEST_f_L): Likewise.
8056 (RUN_TEST_LOOP_f_L): Likewise.
8057 (RUN_TEST_sincos): Likewise.
8058 (RUN_TEST_LOOP_sincos): Likewise.
8059
8269107f
JM
80602013-05-17 Joseph Myers <joseph@codesourcery.com>
8061
bb38759d
JM
8062 [BZ #15480]
8063 [BZ #15485]
8064 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8065 main case of finite arguments, set rounding mode to FE_TONEAREST
8066 and discard exceptions.
8067 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8068 exceptions.
8069 (remainder_tonearest_test_data): New variable.
8070 (remainder_test_tonearest): New function.
8071 (remainder_towardzero_test_data): New variable.
8072 (remainder_test_towardzero): New function.
8073 (remainder_downward_test_data): New variable.
8074 (remainder_test_downward): New function.
8075 (remainder_upward_test_data): New variable.
8076 (remainder_test_upward): New function.
8077 (main): Call the new test functions.
8078
a00bdcf0
JM
8079 * math/libm-test.inc (struct test_f_f1_data): Remove field
8080 extra_init.
8081 (struct test_fF_f1_data): Likewise.
8082 (struct test_ffI_f1_data): Likewise.
8083 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8084 based on value of EXTRA_EXPECTED.
8085 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8086 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8087 EXTRA_VAR based on value of EXTRA_EXPECTED.
8088 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8089 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8090 EXTRA_VAR based on value of EXTRA_EXPECTED.
8091 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8092 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8093 EXTRA_VAR based on value of EXTRA_EXPECTED.
8094 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8095 * math/gen-libm-test.pl (parse_args): Don't output initializers
8096 for extra output values.
8097
de407f79
JM
8098 * math/libm-test.inc (check_int): Expect result to be exactly
8099 equal to expected value and do not handle ulps.
8100 (check_long): Likewise.
8101 (check_longlong): Likewise.
8102
8269107f
JM
8103 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8104 exceptions.
8105 (cimag_test_data): Likewise.
8106 (conj_test_data): Likewise.
8107 (copysign_test_data): Likewise.
8108 (cproj_test_data): Likewise.
8109 (creal_test_data): Likewise.
8110 (fabs_test_data): Likewise.
8111 (fdim_test_data): Likewise.
8112 (finite_test_data): Likewise.
8113 (floor_test_data): Likewise.
8114 (fmax_test_data): Likewise.
8115 (fmin_test_data): Likewise.
8116 (fmod_test_data): Likewise.
8117 (fpclassify_test_data): Likewise.
8118 (frexp_test_data): Likewise.
8119 (ilogb_test_data): Likewise.
8120 (isfinite_test_data): Likewise.
8121 (isgreater_test_data): Likewise.
8122 (isgreaterequal_test_data): Likewise.
8123 (isinf_test_data): Likewise.
8124 (isless_test_data): Likewise.
8125 (islessequal_test_data): Likewise.
8126 (islessgreater_test_data): Likewise.
8127 (isnan_test_data): Likewise.
8128 (isnormal_test_data): Likewise.
8129 (issignaling_test_data): Likewise.
8130 (isunordered_test_data): Likewise.
8131 (ldexp_test_data): Likewise.
8132 (lrint_test_data): Likewise.
8133 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8134 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8135 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8136 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8137 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8138 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8139 test input.
8140 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8141 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8142 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8143 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8144 that test input.
8145 (lrint_downward_test_data): Test for "inexact" exceptions.
8146 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8147 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8148 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8149 test input.
8150 (lrint_upward_test_data): Test for "inexact" exceptions.
8151 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8152 test input.
8153 (llrint_test_data): Test for "inexact" exceptions.
8154 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8155 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8156 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8157 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8158 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8159 (llrint_downward_test_data): Test for "inexact" exceptions.
8160 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8161 (llrint_upward_test_data): Test for "inexact" exceptions.
8162 (logb_test_data): Likewise.
8163 (logb_downward_test_data): Likewise.
8164 (nextafter_test_data): Likewise.
8165 (nexttoward_test_data): Likewise.
8166 (remainder_test_data): Likewise.
8167 (remquo_test_data): Likewise.
8168 (scalbn_test_data): Likewise.
8169 (scalbln_test_data): Likewise.
8170 (signbit_test_data): Likewise.
8171 (sqrt_test_data): Likewise.
8172 (significand_test_data): Likewise.
8173
48a18de1
SP
81742013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8175
8176 [BZ #15424]
8177 * benchtests/bench-modf.c (struct args): Mark arg0 as
8178 volatile.
8179 * scripts/bench.pl: Mark members of struct args as volatile.
8180
13d3b41a
AZ
81812013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182
68191c1d 8183 [BZ # 15497]
13d3b41a
AZ
8184 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8185 negative infinity on POWER6 or lower.
8186 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8187
2848b105
MR
81882013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8189
8190 [BZ #15442]
8191 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8192 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8193 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8194 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8195 (_FP_SETQNAN): New macro.
8196 (_FP_SETQNAN_SEMIRAW): Likewise.
8197 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8198 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8199 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8200 (FP_EXTEND): Use _FP_FRAC_SNANP.
8201 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8202 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8203 into account.
8204 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8205 New macro.
8206 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8207 Likewise.
8208
323e5cb7
JM
82092013-05-16 Joseph Myers <joseph@codesourcery.com>
8210
c58b274f
JM
8211 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8212 with DIVIDE_BY_ZERO_EXCEPTION.
8213 (gamma_test_data): Likewise.
8214 (lgamma_test_data): Likewise.
8215 (log_test_data): Likewise.
8216 (log10_test_data): Likewise.
8217 (log2_test_data): Likewise.
8218 (tgamma_test_data): Likewise.
8219
0ab34904
JM
8220 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8221 (acos_test_tonearest): Likewise.
8222 (acos_test_towardzero): Likewise.
8223 (acos_test_downward): Likewise.
8224 (acos_test_upward): Likewise.
8225 (acosh_test): Likewise.
8226 (asin_test): Likewise.
8227 (asin_test_tonearest): Likewise.
8228 (asin_test_towardzero): Likewise.
8229 (asin_test_downward): Likewise.
8230 (asin_test_upward): Likewise.
8231 (asinh_test): Likewise.
8232 (atan_test): Likewise.
8233 (atanh_test): Likewise.
8234 (atan2_test): Likewise.
8235 (cabs_test): Likewise.
8236 (cacos_test): Likewise.
8237 (cacosh_test): Likewise.
8238 (casin_test): Likewise.
8239 (casinh_test): Likewise.
8240 (catan_test): Likewise.
8241 (catanh_test): Likewise.
8242 (cbrt_test): Likewise.
8243 (ccos_test): Likewise.
8244 (ccosh_test): Likewise.
8245 (cexp_test): Likewise.
8246 (clog_test): Likewise.
8247 (clog10_test): Likewise.
8248 (cos_test): Likewise.
8249 (cos_test_tonearest): Likewise.
8250 (cos_test_towardzero): Likewise.
8251 (cos_test_downward): Likewise.
8252 (cos_test_upward): Likewise.
8253 (cosh_test): Likewise.
8254 (cosh_test_tonearest): Likewise.
8255 (cosh_test_towardzero): Likewise.
8256 (cosh_test_downward): Likewise.
8257 (cosh_test_upward): Likewise.
8258 (cpow_test): Likewise.
8259 (csin_test): Likewise.
8260 (csinh_test): Likewise.
8261 (csqrt_test): Likewise.
8262 (ctan_test): Likewise.
8263 (ctan_test_tonearest): Likewise.
8264 (ctan_test_towardzero): Likewise.
8265 (ctan_test_downward): Likewise.
8266 (ctan_test_upward): Likewise.
8267 (ctanh_test): Likewise.
8268 (ctanh_test_tonearest): Likewise.
8269 (ctanh_test_towardzero): Likewise.
8270 (ctanh_test_downward): Likewise.
8271 (ctanh_test_upward): Likewise.
8272 (erf_test): Likewise.
8273 (erfc_test): Likewise.
8274 (exp_test): Likewise.
8275 (exp_test_tonearest): Likewise.
8276 (exp_test_towardzero): Likewise.
8277 (exp_test_downward): Likewise.
8278 (exp_test_upward): Likewise.
8279 (exp10_test): Likewise.
8280 (exp2_test): Likewise.
8281 (expm1_test): Likewise.
8282 (fmod_test): Likewise.
8283 (gamma_test): Likewise.
8284 (hypot_test): Likewise.
8285 (j0_test): Likewise.
8286 (j1_test): Likewise.
8287 (jn_test): Likewise.
8288 (lgamma_test): Likewise.
8289 (log_test): Likewise.
8290 (log10_test): Likewise.
8291 (log1p_test): Likewise.
8292 (log2_test): Likewise.
8293 (logb_test_downward): Likewise.
8294 (pow_test): Likewise.
8295 (pow_test_tonearest): Likewise.
8296 (pow_test_towardzero): Likewise.
8297 (pow_test_downward): Likewise.
8298 (pow_test_upward): Likewise.
8299 (remainder_test): Likewise.
8300 (remquo_test): Likewise.
8301 (sin_test): Likewise.
8302 (sin_test_tonearest): Likewise.
8303 (sin_test_towardzero): Likewise.
8304 (sin_test_downward): Likewise.
8305 (sin_test_upward): Likewise.
8306 (sincos_test): Likewise.
8307 (sinh_test): Likewise.
8308 (sinh_test_tonearest): Likewise.
8309 (sinh_test_towardzero): Likewise.
8310 (sinh_test_downward): Likewise.
8311 (sinh_test_upward): Likewise.
8312 (sqrt_test): Likewise.
8313 (tan_test): Likewise.
8314 (tan_test_tonearest): Likewise.
8315 (tan_test_towardzero): Likewise.
8316 (tan_test_downward): Likewise.
8317 (tan_test_upward): Likewise.
8318 (tanh_test): Likewise.
8319 (tgamma_test): Likewise.
8320 (y0_test): Likewise.
8321 (y1_test): Likewise.
8322 (yn_test): Likewise.
8323
323e5cb7
JM
8324 * math/gen-libm-test.pl (adjust_arg): Remove function.
8325 (special_function): Remove argument $in_func. Only handle
8326 generating output for tables of tests, not inside functions.
8327 (parse_args): Likewise.
8328 (generate_testfile): Remove variable $in_func. Update call to
8329 parse_args.
8330 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8331 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8332 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8333 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8334 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8335 (MAX_VALUE_INIT): Rename macro to max_value.
8336 (MIN_VALUE_INIT): Rename macro to min_value.
8337 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8338 (plus_zero): Remove variable.
8339 (minus_zero): Likewise.
8340 (plus_infty): Likewise.
8341 (minus_infty): Likewise.
8342 (qnan_value): Likewise.
8343 (max_value): Likewise.
8344 (min_value): Likewise.
8345 (min_subnorm_value): Likewise.
8346
e054f494
RA
83472013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8348
8349 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8350 uint64_t or uint32_t usage.
8351 * crypt/sha256-block.c: Likewise.
8352 * crypt/sha256-crypt.c: Likewise.
8353 * crypt/sha256.c: Likewise.
8354 * crypt/sha512-block.c: Likewise.
8355 * crypt/sha512-crypt.c: Likewise.
8356 * crypt/sha512.c: Likewise.
8357 * debug/backtrace-tst.c: Likewise.
8358 * debug/pcprofiledump.c: Likewise.
8359 * elf/cache.c: Likewise.
8360 * elf/dl-cache.c: Likewise.
8361 * elf/dl-misc.c: Likewise.
8362 * elf/dl-profile.c: Likewise.
8363 * elf/dl-support.c: Likewise.
8364 * elf/ldconfig.c: Likewise.
8365 * elf/sprof.c: Likewise.
8366 * iconv/dummy-repertoire.c: Likewise.
8367 * iconv/iconv_charmap.c: Likewise.
8368 * iconv/skeleton.c: Likewise.
8369 * iconvdata/8bit-generic.c: Likewise.
8370 * iconvdata/cp737.h: Likewise.
8371 * iconvdata/cp775.h: Likewise.
8372 * iconvdata/ibm1008.h: Likewise.
8373 * iconvdata/ibm1025.h: Likewise.
8374 * iconvdata/ibm1046.h: Likewise.
8375 * iconvdata/ibm1097.h: Likewise.
8376 * iconvdata/ibm1112.h: Likewise.
8377 * iconvdata/ibm1122.h: Likewise.
8378 * iconvdata/ibm1123.h: Likewise.
8379 * iconvdata/ibm1124.h: Likewise.
8380 * iconvdata/ibm1129.h: Likewise.
8381 * iconvdata/ibm1130.h: Likewise.
8382 * iconvdata/ibm1132.h: Likewise.
8383 * iconvdata/ibm1133.h: Likewise.
8384 * iconvdata/ibm1137.h: Likewise.
8385 * iconvdata/ibm1140.h: Likewise.
8386 * iconvdata/ibm1141.h: Likewise.
8387 * iconvdata/ibm1142.h: Likewise.
8388 * iconvdata/ibm1143.h: Likewise.
8389 * iconvdata/ibm1144.h: Likewise.
8390 * iconvdata/ibm1145.h: Likewise.
8391 * iconvdata/ibm1146.h: Likewise.
8392 * iconvdata/ibm1147.h: Likewise.
8393 * iconvdata/ibm1148.h: Likewise.
8394 * iconvdata/ibm1149.h: Likewise.
8395 * iconvdata/ibm1153.h: Likewise.
8396 * iconvdata/ibm1154.h: Likewise.
8397 * iconvdata/ibm1155.h: Likewise.
8398 * iconvdata/ibm1156.h: Likewise.
8399 * iconvdata/ibm1157.h: Likewise.
8400 * iconvdata/ibm1158.h: Likewise.
8401 * iconvdata/ibm1160.h: Likewise.
8402 * iconvdata/ibm1161.h: Likewise.
8403 * iconvdata/ibm1162.h: Likewise.
8404 * iconvdata/ibm1163.h: Likewise.
8405 * iconvdata/ibm1164.h: Likewise.
8406 * iconvdata/ibm1166.h: Likewise.
8407 * iconvdata/ibm1167.h: Likewise.
8408 * iconvdata/ibm12712.h: Likewise.
8409 * iconvdata/ibm1390.h: Likewise.
8410 * iconvdata/ibm1399.h: Likewise.
8411 * iconvdata/ibm16804.h: Likewise.
8412 * iconvdata/ibm4517.h: Likewise.
8413 * iconvdata/ibm4899.h: Likewise.
8414 * iconvdata/ibm4909.h: Likewise.
8415 * iconvdata/ibm4971.h: Likewise.
8416 * iconvdata/ibm5347.h: Likewise.
8417 * iconvdata/ibm803.h: Likewise.
8418 * iconvdata/ibm856.h: Likewise.
8419 * iconvdata/ibm901.h: Likewise.
8420 * iconvdata/ibm902.h: Likewise.
8421 * iconvdata/ibm9030.h: Likewise.
8422 * iconvdata/ibm9066.h: Likewise.
8423 * iconvdata/ibm921.h: Likewise.
8424 * iconvdata/ibm922.h: Likewise.
8425 * iconvdata/ibm9448.h: Likewise.
8426 * iconvdata/isiri-3342.h: Likewise.
8427 * iconvdata/jis0201.h: Likewise.
8428 * include/link.h: Likewise.
8429 * include/netdb.h: Likewise.
8430 * inet/check_native.c: Likewise.
8431 * inet/check_pf.c: Likewise.
8432 * inet/getipv4sourcefilter.c: Likewise.
8433 * inet/getnameinfo.c: Likewise.
8434 * inet/getsourcefilter.c: Likewise.
8435 * inet/htonl.c: Likewise.
8436 * inet/setipv4sourcefilter.c: Likewise.
8437 * inet/setsourcefilter.c: Likewise.
8438 * inet/test-inet6_opt.c: Likewise.
8439 * inet/tst-network.c: Likewise.
8440 * locale/C-collate.c: Likewise.
8441 * locale/C-ctype.c: Likewise.
8442 * locale/C-time.c: Likewise.
8443 * locale/C-translit.h: Likewise.
8444 * locale/loadarchive.c: Likewise.
8445 * locale/programs/3level.h: Likewise.
8446 * locale/programs/charmap.c: Likewise.
8447 * locale/programs/charmap.h: Likewise.
8448 * locale/programs/ld-address.c: Likewise.
8449 * locale/programs/ld-collate.c: Likewise.
8450 * locale/programs/ld-ctype.c: Likewise.
8451 * locale/programs/ld-identification.c: Likewise.
8452 * locale/programs/ld-measurement.c: Likewise.
8453 * locale/programs/ld-messages.c: Likewise.
8454 * locale/programs/ld-monetary.c: Likewise.
8455 * locale/programs/ld-name.c: Likewise.
8456 * locale/programs/ld-numeric.c: Likewise.
8457 * locale/programs/ld-paper.c: Likewise.
8458 * locale/programs/ld-telephone.c: Likewise.
8459 * locale/programs/ld-time.c: Likewise.
8460 * locale/programs/linereader.c: Likewise.
8461 * locale/programs/locale.c: Likewise.
8462 * locale/programs/locarchive.c: Likewise.
8463 * locale/programs/locfile.h: Likewise.
8464 * locale/programs/repertoire.c: Likewise.
8465 * locale/programs/simple-hash.c: Likewise.
8466 * locale/programs/simple-hash.h: Likewise.
8467 * malloc/memusage.c: Likewise.
8468 * malloc/memusagestat.c: Likewise.
8469 * nis/nis_defaults.c: Likewise.
8470 * nis/nis_hash.c: Likewise.
8471 * nis/nis_print.c: Likewise.
8472 * nis/nis_xdr.c: Likewise.
8473 * nscd/connections.c: Likewise.
8474 * nscd/hstcache.c: Likewise.
8475 * nscd/nscd_gethst_r.c: Likewise.
8476 * nscd/nscd_getserv_r.c: Likewise.
8477 * nscd/nscd_helper.c: Likewise.
8478 * nscd/servicescache.c: Likewise.
8479 * nss/makedb.c: Likewise.
8480 * nss/nss_db/db-XXX.c: Likewise.
8481 * nss/nss_db/db-initgroups.c: Likewise.
8482 * nss/nss_db/db-netgrp.c: Likewise.
8483 * nss/nss_files/files-network.c: Likewise.
8484 * nss/nss_files/files-parse.c: Likewise.
8485 * posix/bug-regex5.c: Likewise.
8486 * posix/fnmatch_loop.c: Likewise.
8487 * posix/regcomp.c: Likewise.
8488 * posix/regexec.c: Likewise.
8489 * posix/tst-rfc3484-2.c: Likewise.
8490 * posix/tst-rfc3484-3.c: Likewise.
8491 * posix/tst-rfc3484.c: Likewise.
8492 * resolv/nss_dns/dns-canon.c: Likewise.
8493 * resolv/nss_dns/dns-network.c: Likewise.
8494 * resolv/res_init.c: Likewise.
8495 * resolv/res_mkquery.c: Likewise.
8496 * resolv/tst-aton.c: Likewise.
8497 * stdlib/cxa_atexit.c: Likewise.
8498 * stdlib/cxa_finalize.c: Likewise.
8499 * stdlib/gen-fpioconst.c: Likewise.
8500 * stdlib/strtol_l.c: Likewise.
8501 * string/tst-endian.c: Likewise.
8502 * sunrpc/auth_des.c: Likewise.
8503 * sunrpc/clnt_udp.c: Likewise.
8504 * sunrpc/rtime.c: Likewise.
8505 * sunrpc/svcauth_des.c: Likewise.
8506 * sunrpc/xdr.c: Likewise.
8507 * sunrpc/xdr_intXX_t.c: Likewise.
8508 * sunrpc/xdr_rec.c: Likewise.
8509 * sysdeps/generic/ldconfig.h: Likewise.
8510 * sysdeps/generic/ldsodefs.h: Likewise.
8511 * sysdeps/generic/memusage.h: Likewise.
8512 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8515 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8522 * sysdeps/posix/getaddrinfo.c: Likewise.
8523 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8524 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8525 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8526 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8527 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8528 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8529 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8530 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8531 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8532 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8533 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8534 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8535 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8536 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8537 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8538 * sysdeps/x86_64/dl-tls.h: Likewise.
8539 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8540 * time/alt_digit.c: Likewise.
8541 * time/era.c: Likewise.
8542 * wcsmbs/tst-c16c32-1.c: Likewise.
8543
8c75f674
JM
85442013-05-16 Joseph Myers <joseph@codesourcery.com>
8545
8546 * math/libm-test.inc (struct test_sincos_data): New type.
8547 (RUN_TEST_LOOP_sincos): New macro.
8548 (sincos_test_data): New variable.
8549 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8550
e6e49e59
RH
85512013-05-16 Richard Henderson <rth@redhat.com>
8552
8553 * math/atest-exp2.c (LIMB64): New macro.
8554 (CONSTSZ): New macro.
8555 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8556 (hexdig): Move ...
8557 (print_mpn_fp): ... to function scope.
8558 (read_mpn_hex): Remove.
8559 (get_log2): Remove.
8560 (exp2_mpn): Use mp_log2.
8561 (main): Use mp_exp1.
8562
15c7c18d
JM
85632013-05-16 Joseph Myers <joseph@codesourcery.com>
8564
105a07df
JM
8565 * math/libm-test.inc: Remove comment about not testing "inexact"
8566 exceptions.
8567 (INEXACT_EXCEPTION): New macro.
8568 (NO_INEXACT_EXCEPTION): Likewise.
8569 (INVALID_EXCEPTION_OK): Update value.
8570 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8571 (OVERFLOW_EXCEPTION_OK): Likewise.
8572 (UNDERFLOW_EXCEPTION_OK): Likewise.
8573 (IGNORE_ZERO_INF_SIGN): Likewise.
8574 (ERRNO_UNCHANGED): Likewise.
8575 (ERRNO_EDOM): Likewise.
8576 (ERRNO_ERANGE): Likewise.
8577 (test_exceptions): Handle testing "inexact" exceptions.
8578 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8579 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8580 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8581 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8582 INEXACT_EXCEPTION.
8583 (rint_towardzero_test_data): Likewise.
8584 (rint_downward_test_data): Likewise.
8585 (rint_upward_test_data): Likewise.
8586
e9eee333
JM
8587 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8588 with OVERFLOW_EXCEPTION.
8589 (exp10_test_data): Likewise.
8590 (exp2_test_data): Likewise.
8591 (expm1_test_data): Likewise.
8592 (lgamma_test_data): Likewise.
8593 (pow_test_data): Likewise.
8594 (tgamma_test_data): Likewise.
8595 (yn_test_data): Remove duplicate test of overflow.
8596
1c38ff73
JM
8597 * math/libm-test.inc (struct test_cc_c_data): New type.
8598 (RUN_TEST_LOOP_cc_c): New macro.
8599 (cpow_test_data): New variable.
8600 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8601
15c7c18d
JM
8602 * math/libm-test.inc (struct test_f_L_data): New type.
8603 (RUN_TEST_LOOP_f_L): New macro.
8604 (llrint_test_data): New variable.
8605 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8606 (llrint_tonearest_test_data): New variable.
8607 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8608 (llrint_towardzero_test_data): New variable.
8609 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8610 (llrint_downward_test_data): New variable.
8611 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8612 (llrint_upward_test_data): New variable.
8613 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8614 (llround_test_data): New variable.
8615 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8616
f137ff13
PC
86172013-05-13 Peter Collingbourne <pcc@google.com>
8618
8619 * math/atest-exp2.c (get_log2): Remove const attribute.
8620
3608cb24
JM
86212013-05-15 Joseph Myers <joseph@codesourcery.com>
8622
8623 * math/libm-test.inc (struct test_f_l_data): New type.
8624 (RUN_TEST_LOOP_f_l): New macro.
8625 (lrint_test_data): New variable.
8626 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8627 (lrint_tonearest_test_data): New variable.
8628 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8629 (lrint_towardzero_test_data): New variable.
8630 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8631 (lrint_downward_test_data): New variable.
8632 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8633 (lrint_upward_test_data): New variable.
8634 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8635 (lround_test_data): New variable.
8636 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8637
39b1f617
PC
86382013-05-15 Peter Collingbourne <pcc@google.com>
8639
1deff3dc
PC
8640 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8641 (EXTRACT_WORDS64) Use where appropriate.
8642 (INSERT_WORDS64) Likewise.
8643
791f3ba0
PC
8644 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8645 constraints with x constraints.
8646 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8647
39b1f617
PC
8648 * malloc/obstack.c (_obstack_compat): Add initializer.
8649
12fba011
EM
86502013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8651
8652 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8653 si_trapno and add si_addr_lsb to _sifields.sigfault.
8654 (si_trapno): Remove macro.
8655 (si_addr_lsb): Define new macro.
8656 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8657
d369f531
JM
86582013-05-15 Joseph Myers <joseph@codesourcery.com>
8659
b861c6c4
JM
8660 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8661 instead of TEST_f_l.
8662 (llrint_test_tonearest): Likewise.
8663 (llrint_test_towardzero): Likewise.
8664 (llrint_test_downward): Likewise.
8665 (llrint_test_upward): Likewise.
8666 (llround_test): Likewise.
8667
7abeee12
JM
8668 * math/libm-test.inc (struct test_f_i_data): Add comment.
8669 (RUN_TEST_LOOP_f_b): New macro.
8670 (RUN_TEST_LOOP_f_b_tg): Likewise.
8671 (finite_test_data): New variable.
8672 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8673 (isfinite_test_data): New variable.
8674 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8675 (isinf_test_data): New variable.
8676 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8677 (isnan_test_data): New variable.
8678 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8679 (isnormal_test_data): New variable.
8680 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8681 (issignaling_test_data): New variable.
8682 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8683 (signbit_test_data): New variable.
8684 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8685
cbe8c4d3
JM
8686 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8687 with INVALID_EXCEPTION.
8688 (acosh_test_data): Likewise.
8689 (asin_test_data): Likewise.
8690 (atanh_test_data): Likewise.
8691 (fmod_test_data): Likewise.
8692 (log_test_data): Likewise.
8693 (log10_test_data): Likewise.
8694 (log2_test_data): Likewise.
8695 (pow_test_data): Likewise.
8696 (sqrt_test_data): Likewise.
8697 (y0_test_data): Likewise.
8698 (y1_test_data): Likewise.
8699 (yn_test_data): Likewise.
8700
5575c0e5
JM
8701 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8702 function contents.
8703
d369f531
JM
8704 * math/libm-test.inc (struct test_ff_i_data): New type.
8705 (RUN_TEST_LOOP_ff_i_tg): New macro.
8706 (isgreater_test_data): New variable.
8707 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8708 (isgreaterequal_test_data): New variable.
8709 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8710 (isless_test_data): New variable.
8711 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8712 (islessequal_test_data): New variable.
8713 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8714 (islessgreater_test_data): New variable.
8715 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8716 (isunordered_test_data): New variable.
8717 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8718
781fd748
DM
87192013-05-14 David S. Miller <davem@davemloft.net>
8720
8721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8722
87aa21df
JM
87232013-05-14 Joseph Myers <joseph@codesourcery.com>
8724
5e908270
JM
8725 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8726
f71172e5
JM
8727 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8728 extra_test to int.
8729 (struct test_f_i_data): Change type of max_ulp to int.
8730
8cfa635a
JM
8731 * math/libm-test.inc (test_ffI_f1_data): New type.
8732 (RUN_TEST_LOOP_ffI_f1): New macro.
8733 (remquo_test_data): New variable.
8734 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8735
2bcb36b2
JM
8736 * setjmp/tst-setjmp-fp.c: New file.
8737 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8738 (link-libm): New variable.
8739 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8740
acbd839a
JM
8741 * math/libm-test.inc (struct test_f_i_data): New type.
8742 (RUN_TEST_LOOP_f_i): New macro.
8743 (RUN_TEST_LOOP_f_i_tg): Likewise.
8744 (fpclassify_test_data): New variable.
8745 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8746 (ilogb_test_data): New variable.
8747 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8748
e414d745
JM
8749 * math/libm-test.inc (scalbln_test): Correct function name in END
8750 call.
8751
d9c2a0fd
JM
8752 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8753 (RUN_TEST_LOOP_fI_f1): New macro.
8754 (frexp_test_data): New variable.
8755 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8756
9dc9095d
JM
8757 * math/libm-test.inc (struct test_fF_f1_data): New type.
8758 (RUN_TEST_LOOP_fF_f1): New macro.
8759 (modf_test_data): New variable.
8760 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8761
87aa21df
JM
8762 * math/libm-test.inc (struct test_f_f1_data): New type.
8763 (RUN_TEST_LOOP_f_f1): New macro.
8764 (gamma_test_data): New variable.
8765 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8766 (lgamma_test_data): New variable.
8767 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8768
141af660
CD
87692013-05-13 Carlos O'Donell <carlos@redhat.com>
8770
8771 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8772 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8773 (main): Comment "tls" pseudo-hwcap.
8774
6d33265c
JM
87752013-05-13 Joseph Myers <joseph@codesourcery.com>
8776
68fc074c
JM
8777 * math/libm-test.inc (struct test_fl_f_data): New type.
8778 (RUN_TEST_LOOP_fl_f): New variable.
8779 (scalbln_test_data): New variable.
8780 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8781
243216e1
JM
8782 * math/libm-test.inc (struct test_fi_f_data): New type.
8783 (RUN_TEST_LOOP_fi_f): New macro.
8784 (ldexp_test_data): New variable.
8785 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8786 (scalbn_test_data): New variable.
8787 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8788
6a1992e2
JM
8789 * math/libm-test.inc (struct test_c_f_data): New type.
8790 (RUN_TEST_LOOP_c_f): New macro.
8791 (cabs_test_data): New variable.
8792 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8793 (carg_test_data): New variable.
8794 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8795 (cimag_test_data): New variable.
8796 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8797 (creal_test_data): New variable.
8798 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8799
0e400df5
JM
8800 * math/libm-test.inc (struct test_if_f_data): New type.
8801 (RUN_TEST_LOOP_if_f): New macro.
8802 (jn_test_data): New variable.
8803 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8804 (yn_test_data): New variable.
8805 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8806
6d33265c
JM
8807 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8808
f98ece5f
AZ
88092013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8810
8811 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8812 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8813
0f7d347b
SP
88142013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8815
43fe811b
SP
8816 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8817 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8818 (bench-deps): Add bench-timing.h.
8819 * benchtests-bench-skeleton.c: Include bench-timing.h.
8820 (main): Use TIMING_* macros instead of clock_gettime.
8821 * benchtests/bench-timing.h: New file.
8822
0f7d347b
SP
8823 [BZ #14582]
8824 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8825 Renamed from _LIB_VERSION.
8826 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8827
601a3a5f
JM
88282013-05-12 Joseph Myers <joseph@codesourcery.com>
8829
4f184d30
JM
8830 * math/libm-test.inc (struct test_fff_f_data): New type.
8831 (RUN_TEST_LOOP_fff_f): New macro.
8832 (fma_test_data): New variable.
8833 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8834 (fma_towardzero_test_data): New variable.
8835 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8836 (fma_downward_test_data): New variable.
8837 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8838 (fma_upward_test_data): New variable.
8839 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8840
08198877
JM
8841 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8842 (struct test_c_c_data): New type.
8843 (RUN_TEST_LOOP_c_c): New macro.
8844 (cacos_test_data): New variable.
8845 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8846 (cacosh_test_data): New variable.
8847 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8848 (casin_test_data): New variable.
8849 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8850 (casinh_test_data): New variable.
8851 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8852 (catan_test_data): New variable.
8853 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8854 (catanh_test_data): New variable.
8855 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8856 (ccos_test_data): New variable.
8857 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8858 (ccosh_test_data): New variable.
8859 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8860 (cexp_test_data): New variable.
8861 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8862 (clog_test_data): New variable.
8863 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8864 (clog10_test_data): New variable.
8865 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8866 (conj_test_data): New variable.
8867 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8868 (cproj_test_data): New variable.
8869 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8870 (csin_test_data): New variable.
8871 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8872 (csinh_test_data): New variable.
8873 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8874 (csqrt_test_data): New variable.
8875 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8876 (ctan_test_data): New variable.
8877 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8878 (ctan_tonearest_test_data): New variable.
8879 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8880 (ctan_towardzero_test_data): New variable.
8881 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8882 (ctan_downward_test_data): New variable.
8883 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8884 (ctan_upward_test_data): New variable.
8885 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8886 (ctanh_test_data): New variable.
8887 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8888 (ctanh_tonearest_test_data): New variable.
8889 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8890 (ctanh_towardzero_test_data): New variable.
8891 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8892 (ctanh_downward_test_data): New variable.
8893 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8894 (ctanh_upward_test_data): New variable.
8895 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8896 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8897 of BUILD_COMPLEX.
8898
601a3a5f
JM
8899 * math/libm-test.inc (struct test_ff_f_data): New type.
8900 (struct test_ff_f_data_nexttoward): Likewise.
8901 (RUN_TEST_LOOP_2_f): New macro.
8902 (RUN_TEST_LOOP_ff_f): Likewise.
8903 (atan2_test_data): New variable.
8904 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8905 (copysign_test_data): New variable.
8906 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8907 (fdim_test_data): New variable.
8908 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8909 (fmax_test_data): New variable.
8910 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8911 (fmin_test_data): New variable.
8912 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8913 (fmod_test_data): New variable.
8914 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8915 (hypot_test_data): New variable.
8916 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8917 (nextafter_test_data): New variable.
8918 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8919 (nexttoward_test_data): New variable.
8920 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8921 (pow_test_data): New variable.
8922 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8923 (pow_tonearest_test_data): New variable.
8924 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8925 (pow_towardzero_test_data): New variable.
8926 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8927 (pow_downward_test_data): New variable.
8928 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8929 (pow_upward_test_data): New variable.
8930 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8931 (remainder_test_data): New variable.
8932 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8933 (scalb_test_data): New variable.
8934 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8935 * sysdeps/i386/fpu/libm-test-ulps: Update.
8936
74c57478
JM
89372013-05-11 Joseph Myers <joseph@codesourcery.com>
8938
8329e4da
JM
8939 * math/libm-test.inc (fma_test): Use max_value instead of local
8940 variable fltmax.
8941 (nextafter_test): Likewise.
8942
74c57478
JM
8943 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8944 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8945 (acos_downward_test_data): New variable.
8946 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8947 (acos_upward_test_data): New variable.
8948 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8949 (acosh_test_data): New variable.
8950 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8951 (asin_test_data): New variable.
8952 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8953 (asin_tonearest_test_data): New variable.
8954 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8955 (asin_towardzero_test_data): New variable.
8956 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8957 (asin_downward_test_data): New variable.
8958 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8959 (asin_upward_test_data): New variable.
8960 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8961 (asinh_test_data): New variable.
8962 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8963 (atan_test_data): New variable.
8964 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8965 (atanh_test_data): New variable.
8966 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8967 (cbrt_test_data): New variable.
8968 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8969 (ceil_test_data): New variable.
8970 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8971 (cos_test_data): New variable.
8972 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8973 (cos_tonearest_test_data): New variable.
8974 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8975 (cos_towardzero_test_data): New variable.
8976 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8977 (cos_downward_test_data): New variable.
8978 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8979 (cos_upward_test_data): New variable.
8980 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8981 (cosh_test_data): New variable.
8982 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8983 (cosh_tonearest_test_data): New variable.
8984 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8985 (cosh_towardzero_test_data): New variable.
8986 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8987 (cosh_downward_test_data): New variable.
8988 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8989 (cosh_upward_test_data): New variable.
8990 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8991 (erf_test_data): New variable.
8992 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8993 (erfc_test_data): New variable.
8994 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8995 (exp_test_data): New variable.
8996 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8997 (exp_tonearest_test_data): New variable.
8998 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8999 (exp_towardzero_test_data): New variable.
9000 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9001 (exp_downward_test_data): New variable.
9002 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9003 (exp_upward_test_data): New variable.
9004 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9005 (exp10_test_data): New variable.
9006 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9007 (exp2_test_data): New variable.
9008 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9009 (expm1_test_data): New variable.
9010 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9011 (fabs_test_data): New variable.
9012 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9013 (floor_test_data): New variable.
9014 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9015 (j0_test_data): New variable.
9016 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9017 (j1_test_data): New variable.
9018 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9019 (log_test_data): New variable.
9020 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9021 (log10_test_data): New variable.
9022 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9023 (log1p_test_data): New variable.
9024 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9025 (log2_test_data): New variable.
9026 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9027 (logb_test_data): New variable.
9028 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9029 (logb_downward_test_data): New variable.
9030 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9031 (nearbyint_test_data): New variable.
9032 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9033 (rint_test_data): New variable.
9034 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9035 (rint_tonearest_test_data): New variable.
9036 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9037 (rint_towardzero_test_data): New variable.
9038 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9039 (rint_downward_test_data): New variable.
9040 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9041 (rint_upward_test_data): New variable.
9042 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9043 (round_test_data): New variable.
9044 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9045 (sin_test_data): New variable.
9046 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9047 (sin_tonearest_test_data): New variable.
9048 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9049 (sin_towardzero_test_data): New variable.
9050 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9051 (sin_downward_test_data): New variable.
9052 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9053 (sin_upward_test_data): New variable.
9054 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9055 (sinh_test_data): New variable.
9056 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9057 (sinh_tonearest_test_data): New variable.
9058 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9059 (sinh_towardzero_test_data): New variable.
9060 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9061 (sinh_downward_test_data): New variable.
9062 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9063 (sinh_upward_test_data): New variable.
9064 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9065 (sqrt_test_data): New variable.
9066 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9067 (tan_test_data): New variable.
9068 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9069 (tan_tonearest_test_data): New variable.
9070 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9071 (tan_towardzero_test_data): New variable.
9072 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9073 (tan_downward_test_data): New variable.
9074 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9075 (tan_upward_test_data): New variable.
9076 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9077 (tanh_test_data): New variable.
9078 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9079 (tgamma_test_data): New variable.
9080 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9081 (trunc_test_data): New variable.
9082 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9083 (y0_test_data): New variable.
9084 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9085 (y1_test_data): New variable.
9086 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9087 (significand_test_data): New variable.
9088 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9089
7187d844
CG
90902013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9091
9092 [BZ #12387]
9093 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9094
f63fae73
PT
90952013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9096
9097 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9098
8a67a4b3
AJ
90992013-05-10 Andreas Jaeger <aj@suse.de>
9100
9101 [BZ #15448]
9102 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9103 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9104
51df539d
JM
91052013-05-10 Joseph Myers <joseph@codesourcery.com>
9106
9107 * math/gen-libm-test.pl (adjust_arg): New function.
9108 (special_functions): Handle generating output in both functions
9109 and arrays.
9110 (parse_args): Likewise.
9111 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9112 $in_func argument to parse_args.
9113 * math/libm-test.inc (struct test_f_f_data): New type.
9114 (IF_ROUND_INIT_): New macro.
9115 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9116 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9117 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9118 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9119 (ROUND_RESTORE_): Likewise.
9120 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9121 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9122 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9123 (ROUND_RESTORE_FE_UPWARD): Likewise.
9124 (RUN_TEST_LOOP_f_f): New macro.
9125 (acos_test_data): New variable.
9126 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9127 (acos_tonearest_test_data): New variable.
9128 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9129
5c637fe5
SP
91302013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9131
9132 * benchtests/bench-skeleton.c (startup): Fix coding style.
9133
ab2b9461
JM
91342013-05-10 Joseph Myers <joseph@codesourcery.com>
9135
9136 [BZ #6809]
9137 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9138 negative infinity argument.
9139 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9140 negative infinity argument.
9141 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9142 negative infinity argument.
9143 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9144 domain errors.
9145
4c0fe6fe
FW
91462013-05-10 Florian Weimer <fweimer@redhat.com>
9147
9148 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9149 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9150 * iconv/iconv_prog.c (main): Likewise.
9151 * locale/programs/charmap-dir.c (charmap_readdir)
9152 (fopen_uncompressed): Likewise.
9153 * locale/programs/locfile.c (siblings_uncached)
9154 (write_locale_data): Use lstat64 instead of lstat.
9155 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9156 stat.
9157
a3375d29
AJ
91582013-05-10 Andreas Jaeger <aj@suse.de>
9159
9160 [BZ #15395]
9161 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9162 localization.
9163 Include <locale.h>.
9164
36129722
CD
91652013-05-09 Carlos O'Donell <carlos@redhat.com>
9166
9167 * elf/dl-close.c (_dl_close_worker): Add comments.
9168
faa7f811
JM
91692013-05-09 Joseph Myers <joseph@codesourcery.com>
9170
ed41ffef
JM
9171 [BZ #15359]
9172 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9173 high part of pi/2.
9174 (__ieee754_rem_pio2l): Update comments.
9175
d0213cd0
JM
9176 [BZ #15429]
9177 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9178 high part of pi/2.
9179 (__ieee754_rem_pio2l): Update comments.
9180
0d3e777a
JM
9181 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9182 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9183
24f56066
JM
9184 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9185 M_PI_4l.
9186
faa7f811
JM
9187 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9188 (M_PI_34_LOG10El): Likewise.
9189 (M_PI2_LOG10El): Likewise.
9190 (M_PI4_LOG10El): Likewise.
9191 (M_PI_LOG10El): Likewise.
9192
e9a5e0fd
AZ
91932013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9194
9195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9196
d8cd06db
JM
91972013-05-08 Joseph Myers <joseph@codesourcery.com>
9198
a0d9f9d7
JM
9199 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9200 (MINUS_ZERO_INIT): Likewise.
9201 (PLUS_INFTY_INIT): Likewise.
9202 (MINUS_INFTY_INIT): Likewise.
9203 (QNAN_VALUE_INIT): Likewise.
9204 (MAX_VALUE_INIT): Likewise.
9205 (MIN_VALUE_INIT): Likewise.
9206 (MIN_SUBNORM_VALUE_INIT): Likewise.
9207 (plus_zero): Initialize with PLUS_ZERO_INIT.
9208 (minus_zero): Initialize with MINUS_ZERO_INIT.
9209 (plus_infty): Initialize with PLUS_INFTY_INIT.
9210 (minus_infty): Initialize with MINUS_INFTY_INIT.
9211 (qnan_value): Initialize with QNAN_VALUE_INIT.
9212 (max_value): Initialize with MAX_VALUE_INIT.
9213 (min_value): Initialize with MIN_VALUE_INIT.
9214 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9215
ae08db3b
JM
9216 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9217 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9218 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9219 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9220
f44bf14a
JM
9221 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9222 (RUN_TEST_2_f): Likewise.
9223 (RUN_TEST_ff_f): Likewise.
9224 (RUN_TEST_fi_f): Likewise.
9225 (RUN_TEST_fl_f): Likewise.
9226 (RUN_TEST_fff_f): Likewise.
9227 (RUN_TEST_c_f): Likewise.
9228 (RUN_TEST_f_f1): Likewise.
9229 (RUN_TEST_fF_f1): Likewise.
9230 (RUN_TEST_fI_f1): Likewise.
9231 (RUN_TEST_ffI_f1): Likewise.
9232 (RUN_TEST_c_c): Likewise.
9233 (RUN_TEST_cc_c): Likewise.
9234 (RUN_TEST_f_i): Likewise.
9235 (RUN_TEST_f_i_tg): Likewise.
9236 (RUN_TEST_ff_i_tg): Likewise.
9237 (RUN_TEST_f_b): Likewise.
9238 (RUN_TEST_f_b_tg): Likewise.
9239 (RUN_TEST_f_l): Likewise.
9240 (RUN_TEST_f_L): Likewise.
9241 (RUN_TEST_sincos): Likewise.
9242 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9243 whether to show exceptions. Do not include ");\n" in return
9244 value.
9245 (special_functions): Output call to RUN_TEST_sincos instead of
9246 check_float calls. Update calls to new_test.
9247 (parse_args): Output call to single RUN_TEST_* macro instead of
9248 check_* calls and other assignments. Update calls to new_test.
9249
d8cd06db
JM
9250 [BZ #2546]
9251 [BZ #2560]
9252 [BZ #5159]
9253 [BZ #15426]
9254 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9255 input to result for tgamma overflow.
9256 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9257 (gamma_coeff): New variable.
9258 (NCOEFF): New macro.
9259 (gamma_positive): New function.
9260 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9261 underflow here. Use gamma_positive instead of exp (lgamma) for
9262 other arguments.
9263 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9264 (gamma_coeff): New variable.
9265 (NCOEFF): New macro.
9266 (gammaf_positive): New function.
9267 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9268 underflow here. Use gamma_positive instead of exp (lgamma) for
9269 other arguments.
9270 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9271 (gamma_coeff): New variable.
9272 (NCOEFF): New macro.
9273 (gammal_positive): New function.
9274 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9275 underflow here. Use gamma_positive instead of exp (lgamma) for
9276 other arguments.
9277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9278 (gamma_coeff): New variable.
9279 (NCOEFF): New macro.
9280 (gammal_positive): New function.
9281 (__ieee754_gammal_r): Handle positive infinity, overflow and
9282 underflow here. Handle NaN the same as positive infinity. Remove
9283 check x < 0xffffffff for negative integers. Use gamma_positive
9284 instead of exp (lgamma) for other arguments.
9285 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9286 (gamma_coeff): New variable.
9287 (NCOEFF): New macro.
9288 (gammal_positive): New function.
9289 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9290 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9294 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9295 * sysdeps/generic/math_private.h (__gamma_productf): New
9296 prototype.
9297 (__gamma_product): Likewise.
9298 (__gamma_productl): Likewise.
9299 * math/Makefile (libm-calls): Add gamma_product.
9300 * math/libm-test.inc (tgamma_test): Add more tests.
9301 * sysdeps/i386/fpu/libm-test-ulps: Update.
9302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9303
bb7cf681
OB
93042013-05-08 Ondřej Bílka <neleai@seznam.cz>
9305
9306 * benchtests/bench-skeleton.c (main): Preheat CPU.
9307
ba853947
AJ
93082013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9309
9310 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9311
8347c74c
RM
93122013-05-07 Roland McGrath <roland@hack.frob.com>
9313
9314 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9315 and _dl_skip_args_internal.
9316
e8dd4791
CD
93172013-05-07 Carlos O'Donell <carlos@redhat.com>
9318
9319 * manual/message.texi (Message Translation): Talk about users.
9320 Message to key mapping impacts design.
9321
c7405830
RM
93222013-05-06 Roland McGrath <roland@hack.frob.com>
9323
a9173057
RM
9324 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9325
976e2f03
RM
9326 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9327
9723ffc5
RM
9328 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9329 * sysdeps/wordsize-64/glob64.c: ... here.
9330
962e6658
RM
9331 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9332 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9333 New macros.
9334
ee586a6d
RM
9335 * debug/getlogin_r_chk.c: Moved to ...
9336 * login/getlogin_r_chk.c: ... here.
9337 * debug/Makefile (routines): Move getlogin_r_chk to ...
9338 * login/Makefile (routines): ... here.
9339 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9340 * login/Versions (libc: GLIBC_2.4): ... here.
9341
355f9165
RM
9342 * io/poll.c (__poll): Renamed from poll.
9343 Add libc_hidden_def.
9344 (poll): Define as weak alias.
9345
bd9ffde6
RM
9346 * debug/ptsname_r_chk.c: Moved to ...
9347 * login/ptsname_r_chk.c: ... here.
9348 * debug/Makefile (routines): Move ptsname_r_chk to ...
9349 * login/Makefile (routines): ... here.
9350 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9351 * login/Versions (libc: GLIBC_2.4): ... here.
9352
8fb16a04
RM
9353 * posix/getlogin.c: Moved to ...
9354 * login/getlogin.c: ... here.
9355 * posix/getlogin_r.c: Moved to ...
9356 * login/getlogin_r.c: ... here.
9357 * posix/getlogin_r.c: Moved to ...
9358 * login/getlogin_r.c: ... here.
9359 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9360 * login/Makefile (routines): ... here.
9361 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9362 * login/Versions (libc: GLIBC_2.0): ... here.
9363
b99b892f
RM
9364 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9365 (setrlimit): Define as weak alias.
9366
c7405830
RM
9367 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9368 Call __ names for open, ftruncate, and close.
9369 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9370 (truncate): Define as weak alias.
9371
5bf96de5
JM
93722013-05-06 Joseph Myers <joseph@codesourcery.com>
9373
9ea3513c
JM
9374 * math/gen-libm-test.pl (parse_args): Initialize x before each
9375 test of frexp, modf and remquo.
9376
5bf96de5
JM
9377 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9378 test signgam value.
9379
16e616a7
AZ
93802013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9381
9382 [BZ #15418]
9383 [BZ #15419]
9384 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9385 internal tests.
9386 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9387
d5e82754
RM
93882013-05-06 Roland McGrath <roland@hack.frob.com>
9389
9390 * elf/dl-writev.h: New file.
9391 * elf/dl-misc.c: Include it.
9392 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9393 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9394
a7548d41
JM
93952013-05-04 Joseph Myers <joseph@codesourcery.com>
9396
b7dab1e4
JM
9397 * math/libm-test.inc (noXFails): Remove variable.
9398 (noXPasses): Likewise.
9399 (BUILD_COMPLEX_INT): Remove macro.
9400 (print_screen): Remove xfail argument.
9401 (print_screen_max_error): Likewise.
9402 (update_stats): Likewise.
9403 (print_max_error): Likewise. Update calls to other affected
9404 functions.
9405 (print_complex_max_error): Likewise.
9406 (test_single_exception): Update calls to print_screen.
9407 (test_single_errno): Likewise.
9408 (check_float_internal): Remove xfail argument. Update calls to
9409 other affected functions.
9410 (check_float): Likewise.
9411 (check_complex): Likewise.
9412 (check_int): Likewise.
9413 (check_long): Likewise.
9414 (check_bool): Likewise.
9415 (check_longlong): Likewise.
9416 (main): Don't print noXFails and noXPasses.
9417 * math/gen-libm-test.pl (top level): Don't mention expected
9418 failure handling in comment.
9419 (new_test): Don't handle expected failures.
9420 (parse_args): Don't mention expected failure handling in comment.
9421 (generate_testfile): Don't handle expected failures.
9422 (parse_ulps): Likewise.
9423 (print_ulps_file): Likewise.
9424 (get_failure): Remove function.
9425 (output_test): Don't handle expected failures.
9426 * make/README.libm-test: Don't mention expected failure handling.
9427
a7548d41
JM
9428 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9429 (minus_zero): Likewise.
9430 (plus_infty): Likewise.
9431 (minus_infty): Likewise.
9432 (qnan_value): Likewise.
9433 (max_value): Likewise.
9434 (min_value): Likewise.
9435 (min_subnorm_value): Likewise.
9436 (initialize): Do not initialize those variables dynamically.
9437
60bfd54c
RM
94382013-05-03 Roland McGrath <roland@hack.frob.com>
9439
cc0e6ed8
RM
9440 * io/open.c (__open_2): Moved to ...
9441 * io/open_2.c: ... this new file.
9442 * io/open64.c (__open64_2): Moved to ...
9443 * io/open64_2.c: ... this new file.
9444 * io/openat.c (__openat_2): Moved to ...
9445 * io/openat_2.c: ... this new file.
9446 * io/openat64.c (__openat64_2): Moved to ...
9447 * io/openat64_2.c: ... this new file.
9448 * io/Makefile (routines): Add them.
9449 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9450 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9451 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9452 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9453 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9454 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9455 (__openat64): Add hidden_ver.
9456 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9457 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9458
60bfd54c
RM
9459 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9460 Separately conditionalize setting of GLRO(dl_sysinfo) so
9461 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9462 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9463
83e7640f
AZ
94642013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9465
9466 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9467 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9468 definition.
9469 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9470 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9471 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9472 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9473 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9474
d5dc2af3
JM
94752013-05-03 Joseph Myers <joseph@codesourcery.com>
9476
c31a5b1e
JM
9477 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9478 test signgam value.
9479
d5dc2af3
JM
9480 * math/libm-test.inc (hypot_test): Do not use
9481 IGNORE_ZERO_INF_SIGN.
9482
164fd39d
AJ
94832013-05-03 Andreas Jaeger <aj@suse.de>
9484
9485 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9486 Linux 3.9.
9487 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9488 (PF_MAX): Adjust for VSOCK change.
9489
8237f48c
AZ
94902013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9491
9492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9493
9df02941
CD
94942013-05-02 Carlos O'Donell <carlos@redhat.com>
9495
9496 [BZ #15264]
9497 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9498 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9499 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9500
d422395e
DM
95012013-05-02 David S. Miller <davem@davemloft.net>
9502
9503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9504
a07c5731
OB
95052013-05-01 Ondřej Bílka <neleai@seznam.cz>
9506
9507 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9508
1324e37f
RM
95092013-05-01 Roland McGrath <roland@hack.frob.com>
9510
9511 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9512
0695940b
RS
95132013-05-01 Richard Smith <richard@metafoo.co.uk>
9514
bb5f27ad 9515 [BZ #14952]
0695940b
RS
9516 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9517 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9518 Use __attribute__ ((__gnu_inline__)).
9519 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9520 Don't use __attribute__ ((__gnu_inline__)).
9521
10de07f5
JM
95222013-05-01 Joseph Myers <joseph@codesourcery.com>
9523
9524 [BZ #15423]
9525 * math/s_catan.c (__catan): Handle small real or imaginary part of
9526 input specially to avoid spurious underflow.
9527 * math/s_catanf.c (__catanf): Likewise.
9528 * math/s_catanh.c (__catanh): Likewise.
9529 * math/s_catanhf.c (__catanhf): Likewise.
9530 * math/s_catanhl.c (__catanhl): Likewise.
9531 * math/s_catanl.c (__catanl): Likewise.
9532 * math/libm-test.inc (catan_test): Add more tests.
9533 (catanh_test): Likewise.
9534 * sysdeps/i386/fpu/libm-test-ulps: Update.
9535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9536
cb4d5414
AZ
95372013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9538
9539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9540
caf84319
JM
95412013-04-30 Joseph Myers <joseph@codesourcery.com>
9542
9543 [BZ #15416]
9544 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9545 accurately for denominator in atan2.
9546 * math/s_catanf.c (__catanf): Likewise.
9547 * math/s_catanh.c (__catanh): Likewise.
9548 * math/s_catanhf.c (__catanhf): Likewise.
9549 * math/s_catanhl.c (__catanhl): Likewise.
9550 * math/s_catanl.c (__catanl): Likewise.
9551 * math/libm-test.inc (catan_test): Add more tests.
9552 (catanh_test): Likewise.
9553 * sysdeps/i386/fpu/libm-test-ulps: Update.
9554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9555
d569c6ee
SP
95562013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9557
6dbe713d
SP
9558 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9559
f0ee064b
SP
9560 * benchtests/Makefile (bench): Remove slow benchmarks.
9561 * benchtests/atan-inputs: Add slow benchmark inputs.
9562 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9563 (BENCH_FUNC): Accept variant offset.
9564 (VARIANT): Define.
9565 * benchtests/bench-skeleton.c (main): Run benchmark for each
9566 variant.
9567 * benchtests/cos-inputs: Add slow benchmark inputs.
9568 * benchtests/exp-inputs: Likewise.
9569 * benchtests/pow-inputs: Likewise.
9570 * benchtests/sin-inputs: Likewise.
9571 * benchtests/slowatan-inputs: Remove.
9572 * benchtests/slowatan.c: Remove.
9573 * benchtests/slowcos-inputs: Remove.
9574 * benchtests/slowcos.c: Remove.
9575 * benchtests/slowexp-inputs: Remove.
9576 * benchtests/slowexp.c: Remove.
9577 * benchtests/slowpow-inputs: Remove.
9578 * benchtests/slowpow.c: Remove.
9579 * benchtests/slowsin-inputs: Remove.
9580 * benchtests/slowsin.c: Remove.
9581 * benchtests/slowtan-inputs: Remove.
9582 * benchtests/slowtan.c: Remove.
9583 * benchtests/tan-inputs: Add slow benchmark inputs.
9584 * scripts/bench.pl: Parse comments and directives.
9585
d569c6ee
SP
9586 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9587 in CPPFLAGS.
9588 ($(objpfx)bench-%.c): Remove *-ITER.
9589 * benchtests/bench-modf.c: Remove definition of ITER.
9590 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9591 (main): Loop for DURATION seconds instead of fixed number of
9592 iterations.
9593 * scripts/bench.pl: Don't expect iterations in parameters.
9594
a6a242fe
RM
95952013-04-29 Roland McGrath <roland@hack.frob.com>
9596
9597 * io/fchdir.c (__fchdir): Renamed from fchdir.
9598 (fchdir): Define as weak alias.
9599
f2da7793
JM
96002013-04-29 Joseph Myers <joseph@codesourcery.com>
9601
9602 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9603 (ERRNO_EDOM): Likewise.
9604 (ERRNO_ERANGE): Likewise.
9605 (noErrnoTests): New variable.
9606 (init_max_error): Set errno to 0.
9607 (test_single_errno): New function.
9608 (test_errno): Likewise.
9609 (check_float_internal): Call test_errno. Set errno to 0.
9610 (check_complex): Refer to errno tests in comment.
9611 (check_int): Call test_errno. Set errno to 0.
9612 (check_long): Likewise.
9613 (check_bool): Likewise.
9614 (check_longlong): Likewise.
9615 (cos_test): Use ERRNO_* flags for errno tests instead of
9616 check_int.
9617 (expm1_test): Likewise.
9618 (fmod_test): Likewise.
9619 (ilogb_test): Likewise.
9620 (lgamma_test): Likewise.
9621 (pow_test): Likewise.
9622 (remainder_test): Likewise.
9623 (sin_test): Likewise.
9624 (tan_test): Likewise.
9625 (yn_test): Likewise.
9626 (initialize): Set errno to 0.
9627 (main): Print number of errno tests.
9628 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9629
b1a36ceb
AJ
96302013-04-29 Andreas Jaeger <aj@suse.de>
9631
c3ed8088
AJ
9632 [BZ #15084]
9633 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9634 and RES_USEVC.
9635
f1a24198
AJ
9636 [BZ #15085]
9637 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9638 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9639 unimplemented.
9640
9ce3b2cb
AJ
9641 [BZ #15380]
9642 * stdlib/random.c (__initstate): Return NULL if
9643 __initstate fails.
9644
f1a24198 9645 [BZ #15086]
b1a36ceb
AJ
9646 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9647 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9648 RES_SNGLKUPREOP.
9649
7e7b6f36
AZ
96502013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9651
9652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9653
4d14f449
JM
96542013-04-29 Joseph Myers <joseph@codesourcery.com>
9655
9656 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9657 of individual tests.
9658 (casin_test): Likewise.
9659 (casinh_test): Likewise.
9660
5b4217d7
JM
96612013-04-27 Joseph Myers <joseph@codesourcery.com>
9662
9663 [BZ #15409]
9664 * math/s_catan.c (__catan): Handle arguments with large real or
9665 imaginary part separately without squaring.
9666 * math/s_catanf.c (__catanf): Likewise.
9667 * math/s_catanh.c (__catanh): Likewise.
9668 * math/s_catanhf.c (__catanhf): Likewise.
9669 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9670 and redefine.
9671 (__catanhl): Handle arguments with large real or imaginary part
9672 separately without squaring.
9673 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9674 and redefine.
9675 (__catanl): Handle arguments with large real or imaginary part
9676 separately without squaring.
9677 * math/libm-test.inc (catan_test): Add more tests.
9678 (catanh_test): Likewise.
9679 * sysdeps/i386/fpu/libm-test-ulps: Update.
9680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9681
4220c3ef
AJ
96822013-04-27 Andreas Jaeger <aj@suse.de>
9683
9684 [BZ #15007]
9685 * stdlib/stdlib.h: Update guards for qecvt.
9686 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9687 <stdlib.h>.
9688
4721b2d1
AM
96892013-04-27 Allan McRae <allan@archlinux.org>
9690
9691 * sysdeps/i386/fpu/libm-test-ulps: Update.
9692
f0302940
JM
96932013-04-26 Joseph Myers <joseph@codesourcery.com>
9694
9457fd95
JM
9695 [BZ #15406]
9696 * math/s_catan.c: Include <float.h>.
9697 (__catan): Ensure underflow exception occurs for underflowed
9698 result.
9699 * math/s_catanf.c: Include <float.h>.
9700 (__catanf): Ensure underflow exception occurs for underflowed
9701 result.
9702 * math/s_catanh.c: Include <float.h>.
9703 (__catanh): Ensure underflow exception occurs for underflowed
9704 result.
9705 * math/s_catanhf.c: Include <float.h>.
9706 (__catanhf): Ensure underflow exception occurs for underflowed
9707 result.
9708 * math/s_catanhl.c: Include <float.h>.
9709 (__catanhl): Ensure underflow exception occurs for underflowed
9710 result.
9711 * math/s_catanl.c: Include <float.h>.
9712 (__catanl): Ensure underflow exception occurs for underflowed
9713 result.
9714 * math/libm-test.inc (catan_test): Add more tests.
9715 (catanh_test): Likewise.
9716
f0302940
JM
9717 [BZ #15405]
9718 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9719 underflowed result.
9720 * math/s_ccoshf.c (__ccoshf): Likewise.
9721 * math/s_ccoshl.c (__ccoshl): Likewise.
9722 * math/s_csin.c (__csin): Likewise.
9723 * math/s_csinf.c (__csinf): Likewise.
9724 * math/s_csinh.c (__csinh): Likewise.
9725 * math/s_csinhf.c (__csinhf): Likewise.
9726 * math/s_csinhl.c (__csinhl): Likewise.
9727 * math/s_csinl.c (__csinl): Likewise.
9728 * math/libm-test.inc (ccos_test): Add more tests.
9729 (ccosh_test): Likewise.
9730 (csin_test): Likewise.
9731 (csinh_test): Likewise.
9732
aa630f59
AZ
97332013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9734
9735 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9736 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9737 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9738 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9739 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9740 powerpc/power5+/fpu folders.
9741 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9742
9743
1b835983
MT
97442013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9745
9746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9747
73709b26
JM
97482013-04-25 Joseph Myers <joseph@codesourcery.com>
9749
9750 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9751 additions to variable.
9752 [$(config-machine) = x86_64] (modules-names): Likewise.
9753 ($(objpfx)tst-audit3): Remove dependency.
9754 ($(objpfx)tst-audit3.out): Likewise.
9755 ($(objpfx)tst-audit4): Likewise.
9756 ($(objpfx)tst-audit4.out): Likewise.
9757 ($(objpfx)tst-audit5): Likewise.
9758 ($(objpfx)tst-audit5.out): Likewise.
9759 ($(objpfx)tst-audit6): Likewise.
9760 ($(objpfx)tst-audit6.out): Likewise.
9761 ($(objpfx)tst-audit7): Likewise.
9762 ($(objpfx)tst-audit7.out): Likewise.
9763 (tst-audit3-ENV): Remove variable.
9764 (tst-audit4-ENV): Likewise.
9765 (tst-audit5-ENV): Likewise.
9766 (tst-audit6-ENV): Likewise.
9767 (tst-audit7-ENV): Likewise.
9768 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9769 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9770 addition to variable.
9771 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9772 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9773 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9774 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9775 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9776 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9777 tst-audit3, tst-audit4 and tst-audit5.
9778 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9779 tst-audit6 and tst-audit7.
9780 [$(subdir) = elf] (modules-names): Add audit modules for those
9781 tests.
9782 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9783 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9784 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9785 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9786 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9787 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9788 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9789 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9790 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9791 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9792 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9793 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9794 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9795 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9796 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9797 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9798 Likewise.
9799 [$(subdir) = elf && $(config-cflags-avx) = yes]
9800 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9801 [$(subdir) = elf && $(config-cflags-avx) = yes]
9802 (CFLAGS-tst-auditmod4a.c): Likewise.
9803 [$(subdir) = elf && $(config-cflags-avx) = yes]
9804 (CFLAGS-tst-auditmod4b.c): Likewise.
9805 [$(subdir) = elf && $(config-cflags-avx) = yes]
9806 (CFLAGS-tst-auditmod6b.c): Likewise.
9807 [$(subdir) = elf && $(config-cflags-avx) = yes]
9808 (CFLAGS-tst-auditmod6c.c): Likewise.
9809 [$(subdir) = elf && $(config-cflags-avx) = yes]
9810 (CFLAGS-tst-auditmod7b.c): Likewise.
9811 * elf/tst-audit3.c: Move to ...
9812 * sysdeps/x86_64/tst-audit3.c: ... here.
9813 * elf/tst-audit4.c: Move to ...
9814 * sysdeps/x86_64/tst-audit4.c: ... here.
9815 * elf/tst-audit5.c: Move to ...
9816 * sysdeps/x86_64/tst-audit5.c: ... here.
9817 * elf/tst-audit6.c: Move to ...
9818 * sysdeps/x86_64/tst-audit6.c: ... here.
9819 * elf/tst-audit7.c: Move to ...
9820 * sysdeps/x86_64/tst-audit7.c: ... here.
9821 * elf/tst-auditmod3a.c: Move to ...
9822 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9823 * elf/tst-auditmod3b.c: Move to ...
9824 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9825 * elf/tst-auditmod4a.c: Move to ...
9826 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9827 * elf/tst-auditmod4b.c: Move to ...
9828 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9829 * elf/tst-auditmod5a.c: Move to ...
9830 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9831 * elf/tst-auditmod5b.c: Move to ...
9832 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9833 * elf/tst-auditmod6a.c: Move to ...
9834 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9835 * elf/tst-auditmod6b.c: Move to ...
9836 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9837 * elf/tst-auditmod6c.c: Move to ...
9838 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9839 * elf/tst-auditmod7a.c: Move to ...
9840 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9841 * elf/tst-auditmod7b.c: Move to ...
9842 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9843
1ef74943
PP
98442013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9845
9846 [BZ #15366]
9847 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9848 define unconditionally.
9849 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9850 define unconditionally.
9851 (INT8_C, INT16_C, etc.): Likewise.
9852
93fd48c5
MR
98532013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9854
ae9552cf
MR
9855 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9856 __ehdr_start with hidden visibility.
9857
93fd48c5
MR
9858 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9859
418601aa
CD
98602013-04-24 Carlos O'Donell <carlos@redhat.com>
9861
9862 * math/libm-test.inc (cos_test): Use accurate hex constants.
9863 (sincost_test): Likewise.
9864
2f38fbfe
JM
98652013-04-24 Joseph Myers <joseph@codesourcery.com>
9866
5e221800
JM
9867 * math/libm-test.inc (catan_test): Add more tests.
9868 (catanh_test): Likewise.
9869
77f143fd
JM
9870 * math/s_catanf.c (__catanf): Use suffixed floating-point
9871 constants.
9872 * math/s_catanhf.c (__catanhf): Likewise.
9873 * math/s_catanhl.c (__catanhl): Likewise.
9874 * math/s_catanl.c (__catanl): Likewise.
9875
2f38fbfe
JM
9876 [BZ #15394]
9877 * math/s_catan.c (__catan): Calculate imaginary part of result
9878 with log1p not log unless computing log of number close to 0.
9879 * math/s_catanf.c (__catanf): Likewise.
9880 * math/s_catanl.c (__catanl): Likewise.
9881 * math/s_catanh.c (__catanh): Calculate real part of result with
9882 log1p not log unless computing log of number close to 0.
9883 * math/s_catanhf.c (__catanhf): Likewise.
9884 * math/s_catanhl.c (__catanhl): Likewise.
9885 * math/libm-test.inc (catan_test): Add more tests.
9886 (catanh_test): Likewise.
9887 * sysdeps/i386/fpu/libm-test-ulps: Update.
9888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9889
45d69176
SP
98902013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9891
9892 * benchtests/Makefile: Mention files in which fast and slow
9893 paths of math functions are implemented.
9894
87f51853
RM
98952013-04-23 Roland McGrath <roland@hack.frob.com>
9896
9897 * sysdeps/posix/timespec_get.c: New file.
9898
3c026539
AZ
98992013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9900
9901 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9902 POWER.
9903 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9904 for POWER.
9905 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9906 powerpc/power5/fpu folders.
9907 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9908 * benchtests/Makefile: Add modf testcase.
9909 * benchtests/bench-modf.c: New file: Benchmark test for mo
9910
ff491d14
SP
99112013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9912
9913 [BZ #14888]
9914 * time/Makefile (tests): Add tst-strptime-whitespace.
9915 * time/strptime_l.c (get_number): Use ISSPACE.
9916 (__strptime_internal): Likewise.
9917 * time/tst-strptime-whitespace.c: New test case.
9918
7ed3f4e8
AS
99192013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9920
9921 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9922 member.
9923 (_nss_files_init): Set it here.
9924
5c95f7b6
HC
99252013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9926
9927 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9928 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9929 unsigned.
9930
d34c9158
JBG
99312013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9932
9933 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9934
2169712d
SP
99352013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9936
9937 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9938 size just once.
9939
29c5de99
DM
99402013-04-21 David S. Miller <davem@davemloft.net>
9941
9942 * po/ru.po: Update Russion translation from translation project.
9943
ccdad15d
AC
99442013-04-17 Adam Conrad <adconrad@0c3.net>
9945
9946 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9947 and setfsgid.
9948
0f122b8d
CD
99492013-04-17 Carlos O'Donell <carlos@redhat.com>
9950
5c5b07da 9951 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9952 * configure: Regenerate.
5c5b07da 9953 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9954 Add example to error message.
9955 * sysdeps/i386/configure: Regenerate.
9956
037714dd
SP
99572013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9958
9959 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9960 slowtan.
9961 * benchtests/cos-inputs: New file.
9962 * benchtests/slowcos-inputs: New file.
9963 * benchtests/slowcos.c: New file.
9964 * benchtests/slowtan-inputs: New file.
9965 * benchtests/slowtan.c: New file.
9966 * benchtests/tan-inputs: New file.
9967
e913141d
RM
99682013-04-16 Roland McGrath <roland@hack.frob.com>
9969
9970 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9971 considered kosher.
9972
a2964074
SP
99732013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9974
4856bcd2
SP
9975 * benchtests/Makefile: Include cppflags-iterator.mk to add
9976 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9977
a2964074
SP
9978 * Makefile.in (bench-clean): New target.
9979 * benchtests/Makefile (bench-clean): Likewise.
9980
9fbf9aca
DH
99812013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9982
9983 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9984
207d1e2a
TS
99852013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9986
9987 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9988
306dfba9
AS
99892013-04-15 Andreas Schwab <schwab@suse.de>
9990
9991 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9993 * nscd/pwdcache.c (cache_addpw): Likewise.
9994 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9995 more than recsize.
9996
206a6699
SP
99972013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9998
9999 * benchtests/Makefile (bench): Write all output to
10000 bench-out.tmp together.
10001
0582f6b3
AS
100022013-04-15 Andreas Schwab <schwab@suse.de>
10003
10004 * nscd/nscd.c (main): Don't fork again after closing files.
10005
acb4325f
SP
100062013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10007
5cb26d0a
SP
10008 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10009
acb4325f
SP
10010 * benchtests/Rules (bench-deps): Collect dependencies into a
10011 single variable. Add Makefile to dependencies.
10012 ($(objpfx)bench-%.c): Depend on bench-deps.
10013
47792506
RM
100142013-04-12 Roland McGrath <roland@hack.frob.com>
10015 Xavier Roche <roche+kml2@exalead.com>
10016
10017 [BZ #15361]
10018 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10019 just that it's a file descriptor.
10020 * manual/llio.texi (Synchronizing AIO Operations): Update description
10021 for EBADF error from aio_fsync.
10022
8fc1bee5
SP
100232013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10024
10025 * Rules (bench): Move target definition...
10026 * benchtests/Makefile: ... here.
10027
aba5e333
CD
100282013-04-11 Carlos O'Donell <carlos@redhat.com>
10029
10030 * math/libm-test.inc (cos_test): Fix PI/2 test.
10031 (sincos_test): Likewise.
10032 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10033 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10034
273cdee8
AS
100352013-04-11 Andreas Schwab <schwab@suse.de>
10036
6ecec3b6
AS
10037 [BZ #13988]
10038 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10039 accept exponent character only when digits were seen.
10040 * stdio-common/Makefile (tests): Add bug26.
10041 * stdio-common/bug26.c: New file.
10042
273cdee8
AS
10043 [BZ #14293]
10044 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10045 non-freeable.
10046
8da491f5
SP
100472013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10048
01dc6df9
SP
10049 * Makeconfig (rtld-prefix): Define built linker prefix.
10050 * Rules (run-bench): Use it.
10051 * math/Makefile (run-regen-ulps): Likewise.
10052
8da491f5
SP
10053 * Rules (bench): Remove eval.
10054
abe7f530
SP
100552013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10056 Roland McGrath <roland@hack.frob.com>
10057 Ondrej Bilka <neleai@seznam.cz>
10058
10059 [BZ #15346]
10060 * time/getdate.c: Include ctype.h and alloca.h.
10061 (__getdate_r): Trim leading and trailing spaces of input.
10062 * time/tst-getdate.c (tests): Add tests with leading and
10063 trailing spaces.
10064
61c23e62
RM
100652013-04-08 Roland McGrath <roland@hack.frob.com>
10066
10067 [BZ #14280]
10068 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10069 when computing value.
10070
7208a313
CD
100712013-04-06 Carlos O'Donell <carlos@redhat.com>
10072
085b2d41
CD
10073 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10074 Use testrun.sh to run libm tests.
10075
7208a313
CD
10076 [BZ #15309]
10077 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10078
872c0acd
MM
100792013-04-06 Marko Myllynen <myllynen@redhat.com>
10080
10081 [BZ #15264]
10082 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10083
26510bdd
CD
100842013-04-06 Carlos O'Donell <carlos@redhat.com>
10085
10086 * Makefile.in (regen-ulps): New target.
10087 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10088 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10089 [ifneq (no,$(PERL)] (regen-ulps): New target.
10090 [ifeq (no,$(PERL)] (regen-ulps): New target.
10091 * math/libm-test.inc (ulps_file_name): Define.
10092 (output_dir): New variable.
10093 (options): Add "output-dir" option.
10094 (parse_opt): Handle 'o' case.
10095 (main): If output_dir is non-NULL use it as a prefix
10096 otherwise use "".
10097 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10098
a01f19c8
CD
100992013-04-06 Carlos O'Donell <carlos@redhat.com>
10100
10101 [BZ #10060, #10062]
10102 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10103 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10104 fail configure if __sync_val_compare_and_swap is not inlined.
10105 * sysdeps/i386/configure: Regenerate.
10106 * configure.in: Build for i686 when configured for i386.
10107 * configure: Regenerate.
10108 * README: Remove i386 reference.
10109
b7a329a5
CD
101102013-04-06 Carlos O'Donell <carlos@redhat.com>
10111
10112 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10113 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10114
bf0f50df
TS
101152013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10116
ee091edf
TS
10117 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10118 (lmsnanval): New variables.
10119 (F): Add conversion tests.
10120 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10121 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10122
a8b792d6
TS
10123 * stdio-common/tstdiomisc.c (F): Properly collect individual
10124 tests' results.
10125
a1cbf437
TS
10126 [BZ #14686, #15336]
10127 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10128 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10129 Instead, use input NaN values or generate a qNaN by arithmetic
10130 operation. Also fix bugs to comply with the standard.
10131 * math/libm-test.inc (remainder_test): Add more tests.
10132
8b43a0c9
TS
10133 [BZ #15335, #15342]
10134 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10136 input NaN values or generate a qNaN by arithmetic operation.
10137
d91da4ce
TS
10138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10139 unreachable code.
10140
bf0f50df
TS
10141 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10142 definitions.
10143
05e166c8
JM
101442013-04-03 Joseph Myers <joseph@codesourcery.com>
10145
10146 [BZ #14478]
10147 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10148 underflowed result.
10149 * math/s_cexpf.c (__cexpf): Likewise.
10150 * math/s_cexpl.c (__cexpl): Likewise.
10151 * math/libm-test.inc (cexp_test): Add more tests.
10152
1cef1b19
AS
101532013-04-03 Andreas Schwab <schwab@suse.de>
10154
10155 [BZ #15330]
10156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10157 order arrays from heap if bigger than alloca cutoff.
10158
74d87055
TS
101592013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10160
10161 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10162 (SNAN_TESTS_double): Refer to GCC PR56831.
10163 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10164 GCC PR56828.
10165
d755bba4
SP
101662013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10167
90d5d5bb
SP
10168 * Rules (bench): Move bench.out after the run is complete.
10169
73e0cd5d
SP
10170 * Rules (bench): Echo currently running benchmark.
10171
64aabd4b
SP
10172 * benchtests/Makefile (bench): Add atan and slowatan.
10173 * benchtests/atan-inputs: New file.
10174 * benchtests/slowatan-inputs: New file.
10175 * benchtests/slowatan.c: New file.
10176
c871eccd
SP
10177 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10179 its value.
10180
d755bba4
SP
10181 [BZ #15305]
10182 * sysdeps/unix/sysv/linux/kernel-features.h
10183 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10184 __ASSUME_XFS_RESTRICTED_CHOWN.
10185 * sysdeps/unix/sysv/linux/pathconf.c
10186 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10187 Save and restore errno.
10188
52ce4860
JM
101892013-04-02 Joseph Myers <joseph@codesourcery.com>
10190
10191 [BZ #15327]
10192 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10193 arguments using __kernel_casinh.
10194 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10195 arguments using __kernel_casinhf.
10196 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10197 arguments using __kernel_casinhl.
10198 * math/libm-test.inc (cacosh_test): Add more tests.
10199 * sysdeps/i386/fpu/libm-test-ulps: Update.
10200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10201
81f311c2
SP
102022013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10203
e7906a47
SP
10204 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10205 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10206
92e3664b
SP
10207 * bench/Makefile (bench): Add sin and slowsin.
10208 * benchtests/sin-inputs: New file.
10209 * benchtests/slowsin-inputs: New file.
10210 * benchtests/slowsin.c: New file.
10211
81f311c2
SP
10212 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10213 (bench): Add slowexp and slowpow.
10214 (exp-ITER): Increase iterations.
10215 (pow-ITER): Likewise.
10216 * benchtests/exp-inputs: Change input.
10217 * benchtests/pow-inputs: Likewise.
10218 * benchtests/slowexp-inputs: New file.
10219 * benchtests/slowexp.c: New file.
10220 * benchtests/slowpow-inputs: New file.
10221 * benchtests/slowpow.c: New file.
10222
ab0f1aa9
AZ
102232013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10224
10225 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10226 instructions.
10227 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10228 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10229 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10230 * benchtests/Makefile: Add rint benchtest.
10231 * benchtests/rint-inputs: Input for rint benchtest.
10232
57267616
TS
102332013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10234
10235 * Versions.def (libm): Add GLIBC_2.18.
10236 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10237 hidden libm prototypes.
10238 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10239 * math/Makefile (libm-calls): Add s_issignaling.
10240 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10241 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10242 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10243 declaration.
10244 * math/math.h [__USE_GNU] (issignaling): New macro.
10245 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10246 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10248 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10251 * manual/arith.texi (issignaling): New section.
10252 * manual/libm-err-tab.pl (@all_functions): Update comment.
10253 * math/gen-libm-test.pl (parse_args): Apply special handling for
10254 issignaling.
10255 * math/libm-test.inc (print_float, issignaling_test): New
10256 functions.
10257 (check_float_internal): Add issignaling checks.
10258 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10259 default definition.
10260 * sysdeps/powerpc/math-tests.h: New file.
10261 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10262 tests.
10263 * math/test-snan.c (TEST_FUNC): Likewise.
10264
6142896d
DM
102652013-03-30 David S. Miller <davem@davemloft.net>
10266
10267 * po/de.po: Update from translation team.
10268
ccc8cadf
JM
102692013-03-30 Joseph Myers <joseph@codesourcery.com>
10270
10271 [BZ #10357]
10272 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10273 imaginary part less than 1.0 and real part less than 0.5
10274 specially.
10275 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10276 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10277 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10278 (cacos_test): Add more tests.
10279 (casin_test): Likewise.
10280 (casinh_test): Likewise.
10281 * sysdeps/i386/fpu/libm-test-ulps: Update.
10282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10283
0f6a8d4b
SP
102842013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10285
0d1029de
SP
10286 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10287 ONE with its value.
10288
c2d94018
SP
10289 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10290 (__pow_mp): Replace ONE and MONE with their values.
10291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10292 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10293 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10294 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10295 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10296 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10297
27ec37f1
SP
10298 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10299
a64d7e0e
SP
10300 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10301 (__pow_mp): Replace ZERO and MZERO with their values.
10302 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10303 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10304 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10306 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10307 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10308 (__sqr): Likewise.
10309
d26dd3eb
SP
10310 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10311
0f6a8d4b
SP
10312 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10313
e57b0c61
RM
103142013-03-28 Roland McGrath <roland@hack.frob.com>
10315
10316 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10317 Declare with __attribute__ ((weak)).
10318 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10319 Call __call_tls_dtors only if it's not NULL.
10320
356b3480
RM
103212013-03-28 Roland McGrath <roland@hack.frob.com>
10322
288f7d79
RM
10323 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10324 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10325 magic __ehdr_start linker symbol if it's defined.
10326 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10327 them up here if it was already done.
10328
dc0a0263
RM
10329 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10330 (_dl_aux_init): Use const in cast when setting it.
10331 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10332 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10333 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10334
3d3436ae
RM
10335 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10336 Declare them here.
10337 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10338 * csu/libc-tls.c: Nor here.
10339 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10340
356b3480
RM
10341 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10342 (__libc_message): Never call vsyslog.
10343
b0f1246a
AM
103442013-03-28 Alan Modra <amodra@gmail.com>
10345
10346 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10347 Define as empty.
10348 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10349 Likewise.
10350
fbbe2b9a
AZ
103512013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10352
10353 [BZ #15214]
10354 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10355 underflow.
10356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10357
1728ab37
SP
103582013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10359
7a86be6e
SP
10360 [BZ #15304]
10361 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10362 Don't add gid passed as argument.
10363
1728ab37
SP
10364 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10365
3a7182a1
JM
103662013-03-27 Joseph Myers <joseph@codesourcery.com>
10367
10368 [BZ #15307]
10369 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10370 imaginary part between 1.0 and 1.5 and real part less than 0.5
10371 specially.
10372 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10373 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10374 * math/libm-test.inc (cacos_test): Add more tests.
10375 (casin_test): Likewise.
10376 (casinh_test): Likewise.
10377 * sysdeps/i386/fpu/libm-test-ulps: Update.
10378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10379
6f2e90e7
SP
103802013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10381
5739f705
SP
10382 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10383 constants.
10384 (norm): Likewise.
10385 (denorm): Likewise.
10386 (__dbl_mp): Likewise.
10387 (add_magnitudes): Likewise.
10388 (sub_magnitudes): Likewise.
10389 (__add): Likewise.
10390 (__sub): Likewise.
10391 (__mul): Likewise.
10392 (__sqr): Likewise.
10393 (__inv): Likewise.
10394 (__dvd): Likewise.
10395
e375e83d
SP
10396 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10397 commented code.
10398 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10399 (__dubcos): Likewise.
10400 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10401 (__ieee754_acos): Likewise.
10402 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10403 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10404 (__exp1): Likewise.
10405 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10407 (log1): Likewise.
10408 (my_log2): Likewise.
10409 (checkint): Likewise.
10410 * sysdeps/ieee754/dbl-64/e_remainder.c
10411 (__ieee754_remainder): Likewise.
10412 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10413 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10414 (bsloww): Likewise.
10415 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10416
6f2e90e7
SP
10417 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10418 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10419 MANTISSA_STORE_T to store computations on mantissa. Use
10420 macros for rounding and division.
10421 (denorm): Likewise.
10422 (__dbl_mp): Likewise.
10423 (add_magnitudes): Likewise.
10424 (sub_magnitudes): Likewise.
10425 (__mul): Likewise.
10426 (__sqr): Likewise.
10427 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10428 powers of two in terms of TWOPOW macro.
10429 (mp_no): Make type of mantissa as MANTISSA_T.
10430 [!RADIXI]: Define RADIXI.
10431 [!TWO52]: Define TWO52.
10432 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10433
fce14d4e
AZ
104342013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10435
10436 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10437 llroundl symbol when building for PPC32.
10438
9ad027fb
MW
104392013-03-24 Mark H Weaver <mhw@netris.org>
10440
10441 * manual/arith.texi (Normalization Functions): Fix prototypes for
10442 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10443
e42a38dd
AZ
104442013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10445
10446 [BZ #13889]
10447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10448 high value to check if expl overflow.
10449 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10450 to check for underflow and overflow.
10451 * math/libm-test.inc: Add exp test.
10452
2e0fb521
DL
104532013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10454
10455 [BZ #11120]
10456 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10457 with NOT_IN_libc.
10458
b5784d95
AZ
104592013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10460
10461 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10462 symbol.
10463
5aa4a1a1
TS
104642013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10465
bdef0be7
TS
10466 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10467 wrap blocks consisting of several statements.
10468
5aa4a1a1
TS
10469 * sysdeps/generic/math-tests.h: New file.
10470 * sysdeps/i386/fpu/math-tests.h: Likewise.
10471 * math/test-snan.c: Include it.
10472 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10473
98c48fe5
JM
104742013-03-21 Joseph Myers <joseph@codesourcery.com>
10475
10476 [BZ #15285]
10477 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10478 (__ieee754_j0l): Do not improve calculations using cos of twice
10479 input for inputs above LDBL_MAX / 2.0L.
10480 (__ieee754_y0l): Likewise.
10481 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10482 (__ieee754_j1l): Do not improve calculations using cos of twice
10483 input for inputs above LDBL_MAX / 2.0L.
10484 (__ieee754_y1l): Likewise.
10485 * math/libm-test.inc (j0_test): Add another test.
10486 (j1_test): Likewise.
10487 (y0_test): Likewise.
10488 (y1_test): Likewise.
10489 * sysdeps/i386/fpu/libm-test-ulps: Update.
10490
3775a8bc
SP
104912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10492
10493 * Rules ($(objpfx)bench-%.c): Include code from a C source
10494 file.
10495
0a1b2ae6
JM
104962013-03-21 Joseph Myers <joseph@codesourcery.com>
10497
10498 [BZ #15287]
10499 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10500 imaginary part 1.0 and real part less than 0.5 specially.
10501 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10502 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10503 * math/libm-test.inc (cacos_test): Add more tests.
10504 (casin_test): Likewise.
10505 (casinh_test): Likewise.
10506 * sysdeps/i386/fpu/libm-test-ulps: Update.
10507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10508
b33d4ce4
SP
105092013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10510
10511 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10512 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10513
bef0b507
JM
105142013-03-20 Joseph Myers <joseph@codesourcery.com>
10515
10516 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10517 * config.make.in (config-cflags-sse4): Remove variable.
10518 (config-cflags-avx): Likewise.
10519 (config-cflags-sse2avx): Likewise.
10520 (config-cflags-novzeroupper): Likewise.
10521 (config-asflags-i686): Likewise.
10522 (have-mfma4): Likewise.
10523 (have-as-vis3): Likewise.
10524 (MIG): Likewise.
10525 * configure.in (MIG): Do not AC_SUBST.
10526 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10527 (libc_cv_cc_sse4): Do not AC_SUBST.
10528 (libc_cv_cc_avx): Likewise.
10529 (libc_cv_cc_sse2avx): Likewise.
10530 (libc_cv_cc_novzeroupper): Likewise.
10531 (libc_cv_cc_fma4): Likewise.
10532 (libc_cv_as_i686): Likewise.
10533 (libc_cv_sparc_as_vis3): Likewise.
10534 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10535 LIBC_CONFIG_VAR.
10536 (config-asflags-i686): Likewise.
10537 (config-cflags-avx): Likewise.
10538 (config-cflags-sse2avx): Likewise.
10539 (have-mfma4): Likewise.
10540 (config-cflags-novzeroupper): Likewise.
10541 * sysdeps/mach/configure.in (MIG): Likewise.
10542 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10543 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10544 LIBC_CONFIG_VAR.
10545 (config-cflags-avx): Likewise.
10546 (config-cflags-sse2avx): Likewise.
10547 (have-mfma4): Likewise.
10548 (config-cflags-novzeroupper): Likewise.
10549 * configure: Regenerated.
10550 * sysdeps/i386/configure: Likewise.
10551 * sysdeps/mach/configure: Likewise.
10552 * sysdeps/sparc/configure: Likewise.
10553 * sysdeps/x86_64/configure: Likewise.
10554
912cc4b3
RM
105552013-03-20 Roland McGrath <roland@hack.frob.com>
10556
10557 [BZ #14812]
10558 * locale/programs/localedef.c (options): Put N_ translation marker
10559 on argument names, not just descriptions.
10560
04eed2b0
MS
105612013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10562
10563 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10564
a065ceff
OB
105652013-03-20 Ondřej Bílka <neleai@seznam.cz>
10566
9bb2a810 10567 [BZ #14176]
a065ceff
OB
10568 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10569
a600e5ce
RM
105702013-03-19 Roland McGrath <roland@hack.frob.com>
10571
10572 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10573 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10574 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10575 [!BEFORE_ABORT] (before_abort): New function.
10576 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10577 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10578 (writev_for_fatal): New function.
10579 (WRITEV_FOR_FATAL): New macro; call that.
10580 (backtrace_and_maps): New function.
10581 (BEFORE_ABORT): New macro; call that.
10582 (struct str_list): Type removed.
10583 (__libc_message, __libc_fatal): Functions removed.
10584 Include <sysdeps/posix/libc_fatal.c> instead.
10585
6b18bea6
JM
105862013-03-19 Joseph Myers <joseph@codesourcery.com>
10587
10588 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10589 constants.
10590 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10591 double constants.
10592
aaa8cb4b
AS
105932013-03-19 Andreas Schwab <schwab@suse.de>
10594
44673770
AS
10595 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10596 * sysdeps/gnu/configure: Regenerate.
10597
aaa8cb4b
AS
10598 * configure.in: Substitute libc_cv_rtlddir.
10599 * configure: Regenerate.
10600 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10601 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10602 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10603 * elf/Makefile (install-others, CFLAGS-interp.c)
10604 (ldso_install, common-ldd-rewrite): Likewise.
10605 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10606 $(inst_slibdir)/$(rtld-installed-name).
10607 * scripts/rellns-sh: Add -p option.
10608 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10609 for source.
10610
d3cfc668
SP
106112013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10612
10613 * manual/nptl.texi: Renamed to ...
10614 * manual/threads.texi: ... this.
10615 * manual/Makefile (chapters): Update.
10616
0e2b9cdd
RM
106172013-03-18 Roland McGrath <roland@hack.frob.com>
10618
10619 [BZ #14812]
10620 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10621 on argument names, not just descriptions.
0e2b9cdd
RM
10622 * malloc/memusagestat.c (options): Likewise.
10623 * nss/getent.c (options): Likewise.
63270c24
RM
10624
106252013-03-18 Benno Schulenberg <bensberg@justemail.net>
10626
10627 [BZ #14812]
10628 * iconv/iconv_prog.c (options): Put N_ translation marker
10629 on argument names, not just descriptions.
10630 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10631
b2e1393c
OB
106322013-03-18 Ondrej Bilka <neleai@seznam.cz>
10633
10634 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10635 implementation which is faster on all x86_64 architectures.
10636 Tested on AMD, Intel Nehalem, SNB, IVB.
10637 * sysdeps/x86_64/strnlen.S: Likewise.
10638
10639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10640 Remove all multiarch strlen and strnlen versions.
10641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10642 Remove strlen and strnlen related parts.
10643
10644 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10645 Inline strlen part.
10646 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10647
10648 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10649 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10650 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10651 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10652 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10653 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10654
ec4ff04d
CD
106552013-03-17 Carlos O'Donell <carlos@redhat.com>
10656
10657 * manual/memory.texi (Malloc Tunable Parameters):
10658 Sort parameters alphabetically. Add comments for missing entries.
10659
cd18e90a
DM
106602013-03-17 David S. Miller <davem@davemloft.net>
10661
10662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10663
2a185d32
JM
106642013-03-16 Joseph Myers <joseph@codesourcery.com>
10665
d2f9799e
JM
10666 [BZ #15283]
10667 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10668 for arguments at most half maximum finite value.
10669 * math/libm-test.inc (j0_test): Add more tests.
10670 (j1_test): Likewise.
10671 (y0_test): Likewise.
10672 (y1_test): Likewise.
10673 * sysdeps/i386/fpu/libm-test-ulps: Update.
10674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10675
2a185d32
JM
10676 [BZ #14155]
10677 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10678 1 / x and functions P and Q for arguments above 0x1p256L.
10679 (__ieee754_y0l): Likewise.
10680 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10681 (__ieee754_y1l): Likewise.
10682 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10683 (j1_test): Likewise.
10684 (y0_test): Likewise.
10685 (y1_test): Likewise.
10686
6cbec759
TS
106872013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10688
10689 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10690 variable.
10691
bc16e260
RM
106922013-03-15 Roland McGrath <roland@hack.frob.com>
10693
aefc9b8c
RM
10694 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10695 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10696 zero since it's initialized to EXEC_PAGESIZE.
10697
bc16e260
RM
10698 * sysdeps/unix/sysv/linux/ldsodefs.h
10699 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10700 * sysdeps/generic/ldsodefs.h: ... here.
10701
a57da955
TS
107022013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10703
af00a34d
TS
10704 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10705
495ded2c
TS
10706 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10707 math/test-snan.c.
10708 * math/test-snan.c: Renamed from
10709 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10710 * math/Makefile (tests): Add test-snan.
10711 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10712 test-powerpc-snan.
10713
777b0332
TS
10714 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10715 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10716 functions.
10717 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10718 __builtin_nan family of functions.
10719 * math/libm-test.inc (initialize): Initialize qnan_value with
10720 __builtin_nan family of functions.
10721 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10722 Remove variables.
10723 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10724 Remove functions.
10725 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10726 storage class. Initialize qNaN_var and sNaN_var with
10727 __builtin_nan and __builtin_nans families of functions,
10728 respectively.
10729
64d063b8
TS
10730 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10731 (sqrt_test): Remove duplicate test with qNaN input.
10732 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10733 (round_test, signbit_test, significand_test): Note missing +/-Inf
10734 as well as qNaN tests.
10735
67e971f1
TS
10736 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10737 qNaN_var. Fix a few strings, too.
10738 * math/libm-test.inc (nan_value): Rename to qnan_value.
10739 * math/gen-libm-test.pl (%beautify): Adjust to that.
10740 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10741 * math/test-misc.c (main): Likewise.
10742 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10743 to __qnan_bytes, and __qnan_union, respectively.
10744 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10745 Likewise.
10746 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10747 and lqnanval, respectively.
10748 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10749 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10750 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10751 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10752
64487e12
TS
10753 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10754 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10755 doubles.
10756
e015e27b
TS
10757 * math/test-misc.c (main): Fix copy'n'pastos.
10758 * misc/tst-efgcvt.c (special): Likewise.
10759
a57da955
TS
10760 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10761 Remove declarations.
10762
1e380345
SP
107632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10764
10765 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10766 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10767 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10768 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10769
ef26eece
AZ
107702013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10771
10772 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10773 macro to return vdso values correctly in IFUNC implementations.
10774 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10775 Optimization by using IFUNC.
10776
8cfdb7e0
SP
107772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10778 Richard Henderson <rth@redhat.com>
10779 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10780
10781 * Makefile.in (bench): New target.
10782 * NEWS: Mention the benchmark framework.
10783 * Rules (bench): Likewise.
10784 (binaries-bench): Generate binaries for functions to
10785 benchmark.
10786 * benchtests/Makefile: New makefile for benchmark tests.
10787 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10788 programs.
10789 * benchtests/exp-inputs: New input file for EXP function.
10790 * benchtests/pow-inputs: New input file for POW function.
10791 * scripts/bench.pl: New script to generate source files for
10792 benchmark programs.
10793
bcda9880
SP
107942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10795
d22ca8cd
SP
10796 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10797 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10798 computations on mantissa. Use macros for rounding and
10799 division.
10800 (denorm): Likewise.
10801 (__dbl_mp): Likewise.
10802 (add_magnitudes): Likewise.
10803 (sub_magnitudes): Likewise.
10804 (__mul): Likewise.
10805 (__sqr): Likewise.
10806 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10807 powers of two in terms of TWOPOW macro.
10808 (mp_no): Make type of mantissa as MANTISSA_T.
10809 [!RADIXI]: Define RADIXI.
10810 [!TWO52]: Define TWO52.
10811 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10812
bcda9880
SP
10813 * manual/nptl.texi (cindex): Modify threads to pthreads.
10814
06d5adfb
JM
108152013-03-15 Joseph Myers <joseph@codesourcery.com>
10816
10817 * sysdeps/x86_64/preconfigure: Regenerated.
10818
41c7328e
JM
108192013-03-14 Joseph Myers <joseph@codesourcery.com>
10820
10821 [BZ #14155]
10822 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10823 0x1p28 and above.
10824 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10825 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10826 0x1p28 and above.
10827 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10828 * math/libm-test.inc (j0_test): Do not allow one spurious
10829 underflow exception.
10830 (y1_test): Likewise.
10831
e25cfa60
SP
108322013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10833
0409959c
SP
10834 * manual/Makefile (chapters): Add nptl.
10835 * manual/debug.texi (Debugging Support): Add link to Threads
10836 chapter.
10837 * manual/nptl.texi: New file.
10838
e25cfa60
SP
10839 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10840
58a1335e
PB
108412013-03-14 Petr Baudis <pasky@ucw.cz>
10842
10843 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10844 for non-NULL pointer before the memory validity test. Pointed
10845 out by Holger Brunck <holger.brunck@keymile.com>.
10846
9dc7c64f
AS
108472013-03-13 Andreas Schwab <schwab@suse.de>
10848
10849 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10850 instead of .os.
10851
54206aa6
JM
108522013-03-13 Joseph Myers <joseph@codesourcery.com>
10853
10854 * timezone/zic.c: Update from tzcode 2013b.
10855
e98cdb38
CD
108562013-03-12 Carlos O'Donell <carlos@redhat.com>
10857
10858 * manual/install.texi (Configuring and compiling):
10859 Mention i686 and i586.
10860 * INSTALL: Regenerate.
10861
9967e003
RM
108622013-03-12 Roland McGrath <roland@hack.frob.com>
10863
10864 * sysdeps/init_array/elf-init.c: New file.
10865 * csu/elf-init.c
10866 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10867 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10868
10869 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10870 __gmon_start__ as global, but as static with a .preinit_array pointer.
10871 * sysdeps/init_array/gmon-start.c: New file. Use that.
10872 * sysdeps/init_array/crti.S: New file, empty except for comments.
10873 * sysdeps/init_array/crtn.S: Likewise.
10874
e6b5a293 108752013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10876
10877 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10878 definining bcopy.
80f844c9
OB
10879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10880 Remove Prefer_SSE_for_memop.
10881 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10882 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10883 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10885 memset-x86-64.
80f844c9 10886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10887 Remove bzero, memset ifunc support.
80f844c9
OB
10888 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10889 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10890 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10891 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10892
fb6b0fcb
AS
108932013-03-11 Andreas Schwab <schwab@suse.de>
10894
10895 [BZ #15234]
10896 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10897 by SHLIB_COMPAT.
10898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10899 (GLIBC_2.16): Remove pthread_atfork.
10900
3e6bd4b1
PP
109012013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10902
10903 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10904 (ptestcases.h): Likewise.
10905
222d7f00
RM
109062013-03-08 Roland McGrath <roland@hack.frob.com>
10907
10908 * Makeconfig ($(common-objpfx)config.status): Depend on
10909 sysdeps/*/preconfigure{,.in} too.
10910
1ba4f030
JM
109112013-03-08 Joseph Myers <joseph@codesourcery.com>
10912
a222d91a
JM
10913 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10914 (__free_hook): Use void * instead of __malloc_ptr_t.
10915 (__malloc_hook): Likewise.
10916 (__realloc_hook): Likewise.
10917 (__memalign_hook): Likewise.
10918 (__after_morecore_hook): Likewise.
10919 * malloc/arena.c (save_malloc_hook): Likewise.
10920 (save_free_hook): Likewise.
10921 * malloc/hooks.c (malloc_hook_ini): Likewise.
10922 (realloc_hook_ini): Likewise.
10923 (memalign_hook_ini): Likewise.
10924 * malloc/malloc.c (malloc_hook_ini): Likewise.
10925 (realloc_hook_ini): Likewise.
10926 (memalign_hook_ini): Likewise.
10927 (__free_hook): Likewise.
10928 (__malloc_hook): Likewise.
10929 (__realloc_hook): Likewise.
10930 (__memalign_hook): Likewise.
10931 (__libc_malloc): Likewise.
10932 (__libc_free): Likewise.
10933 (__libc_realloc): Likewise.
10934 (__libc_memalign): Likewise.
10935 (__libc_valloc): Likewise.
10936 (__libc_pvalloc): Likewise.
10937 (__libc_calloc): Likewise.
10938 (__posix_memalign): Likewise.
10939 * malloc/morecore.c (__sbrk): Likewise.
10940 (__default_morecore): Likewise.
10941
5cc45e10
JM
10942 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10943
dd54b864
JM
10944 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10945 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10946 __malloc_ptrdiff_t.
10947
1ba4f030
JM
10948 * malloc/malloc.h (__malloc_size_t): Remove macro.
10949 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10950 __malloc_size_t.
10951 (old_memalign_hook): Likewise.
10952 (old_realloc_hook): Likewise.
10953 (struct hdr): Likewise.
10954 (flood): Likewise.
10955 (mallochook): Likewise.
10956 (memalignhook): Likewise.
10957 (reallochook): Likewise.
10958 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10959 (tr_old_realloc_hook): Likewise.
10960 (tr_old_memalign_hook): Likewise.
10961 (tr_mallochook): Likewise.
10962 (tr_reallochook): Likewise.
10963 (tr_memalignhook): Likewise.
10964
edf66e57
AZ
109652013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10966
10967 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10968 default_ldbl_pack and using as default implementation.
10969 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10970 implementation.
10971 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10972 redundant definition.
10973 (ldbl_insert_mantissa): Likewise.
10974 (ldbl_canonicalize): Likewise.
10975 (ldbl_nearbyint): Likewise.
10976 (ldbl_pack): Rename to ldbl_pack_ppc.
10977 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10978 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10979 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10980
6d9145d8
SP
109812013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10982
10983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10984 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10985 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10986 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10988 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10989 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10990 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10991
4dd4e157
AJ
109922013-03-07 Andreas Jaeger <aj@suse.de>
10993
10994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10995 bits/mman-linux.h.
10996
adbb8027
SP
109972013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10998
ce544b5b
SP
10999 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11000 Include mpa.h and declare __MPEXP.
11001 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11002 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11003 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11004 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11005 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11006 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11007 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11008
4cc149fd
SP
11009 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11010 (__slowpow): Use long double EXPL and LOGL functions to
11011 compute POW.
11012 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11013 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11014 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11015 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11016 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11017 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11018
e6ebd4a7
SP
11019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11020 intermediate variable to calculate exponent.
11021 (__sqr): Likewise.
11022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11023 Likewise.
11024 (__sqr): Likewise.
11025
82a9811d
SP
11026 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11027 [!NO__SQR]: Define __sqr.
11028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11029 and NO__SQR. Remove all code except __mul and __sqr. Include
11030 sysdeps/ieee754/dbl-64/mpa.c.
11031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11032
adbb8027
SP
11033 [BZ #12723]
11034 * posix/Makefile (tests): Add tst-pathconf.
11035 * posix/tst-pathconf.c: New test case.
11036 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11037 _PC_PIPE_BUF.
11038 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11039
39120df9
PF
110402013-03-06 Patsy Franklin <pfrankli@redhat.com>
11041
11042 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11043
67525cb8
AJ
110442013-03-06 Andreas Jaeger <aj@suse.de>
11045
664a9ce4
AJ
11046 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11047 definition via __MAP_ANONYMOUS.
11048
8e39047d
AJ
11049 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11050 it's not part of Linux headers.
11051
67525cb8
AJ
11052 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11053 (MAP_HUGE_MASK): Define.
11054
11055 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11056 Define.
11057 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11059 Define.
11060 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11061 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11062 Define.
11063 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11065 Define.
11066 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11067
11068 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11069 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11070 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11071 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11072 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11073 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11074
11075 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11076 Handle f2fs.
11077
11078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11079 Handle f2fs and efivarfs.
11080
11081 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11082 f2fs.
11083
11084 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11085 (EFIVARFS_MAGIC): Add.
11086 (F2FS_LINK_MAX): Add.
11087
e1b42695
PP
110882013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11089
11090 * stdio-common/vfprintf.c: Replace __builtin_expect with
11091 __glibc_unlikely.
11092
2d67d91a
JM
110932013-03-06 Joseph Myers <joseph@codesourcery.com>
11094
11095 [BZ #13550]
11096 * sysdeps/generic/bp-sym.h: Remove file.
11097 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11098 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11099 <bp-sym.h> and <bp-asm.h>.
11100 (__longjmp): Don't use BP_SYM.
11101 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11102 and <bp-asm.h>.
11103 (memcpy): Don't use BP_SYM.
11104 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11105 <bp-sym.h> and <bp-asm.h>.
11106 (memcpy): Don't use BP_SYM.
11107 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11108 <bp-asm.h>.
11109 (memcpy): Don't use BP_SYM.
11110 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11111 <bp-asm.h>.
11112 (memset): Don't use BP_SYM.
11113 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11114 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11115 (__bzero): Don't use BP_SYM.
11116 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11117 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11118 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11119 <bp-sym.h> and <bp-asm.h>.
11120 (memcmp): Don't use BP_SYM. Remove comment about bounded
11121 pointers.
11122 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11123 <bp-sym.h> and <bp-asm.h>.
11124 (memcpy): Don't use BP_SYM.
11125 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11126 <bp-sym.h> and <bp-asm.h>.
11127 (memset): Don't use BP_SYM.
11128 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11129 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11130 (__bzero): Don't use BP_SYM.
11131 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11132 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11133 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11134 <bp-sym.h> and <bp-asm.h>.
11135 (strncmp): Don't use BP_SYM. Remove comment about bounded
11136 pointers.
11137 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11138 <bp-sym.h> and <bp-asm.h>.
11139 (memcpy): Don't use BP_SYM.
11140 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11141 <bp-sym.h> and <bp-asm.h>.
11142 (memset): Don't use BP_SYM.
11143 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11144 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11145 (__bzero): Don't use BP_SYM.
11146 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11147 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11149 <bp-sym.h> and <bp-asm.h>.
11150 (__memchr): Don't use BP_SYM.
11151 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11152 <bp-sym.h> and <bp-asm.h>.
11153 (memcmp): Don't use BP_SYM. Remove comment about bounded
11154 pointers.
11155 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11156 <bp-sym.h> and <bp-asm.h>.
11157 (memcpy): Don't use BP_SYM.
11158 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11159 <bp-sym.h> and <bp-asm.h>.
11160 (__mempcpy): Don't use BP_SYM.
11161 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11162 <bp-sym.h> and <bp-asm.h>.
11163 (__memrchr): Don't use BP_SYM.
11164 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11165 <bp-sym.h> and <bp-asm.h>.
11166 (memset): Don't use BP_SYM.
11167 (__bzero): Likewise.
11168 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11169 <bp-sym.h> and <bp-asm.h>.
11170 (__rawmemchr): Don't use BP_SYM.
11171 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11172 <bp-sym.h> and <bp-asm.h>.
11173 (__STRCMP): Don't use BP_SYM.
11174 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11175 <bp-sym.h> and <bp-asm.h>.
11176 (strchr): Don't use BP_SYM.
11177 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11178 <bp-sym.h> and <bp-asm.h>.
11179 (__strchrnul): Don't use BP_SYM.
11180 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11181 <bp-sym.h> and <bp-asm.h>.
11182 (strlen): Don't use BP_SYM.
11183 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11184 <bp-sym.h> and <bp-asm.h>.
11185 (strncmp): Don't use BP_SYM. Remove comment about bounded
11186 pointers.
11187 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11188 <bp-sym.h> and <bp-asm.h>.
11189 (__strnlen): Don't use BP_SYM.
11190 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11191 <bp-sym.h> and <bp-asm.h>.
11192 (__GI__setjmp): Don't use BP_SYM.
11193 (_setjmp): Likewise.
11194 (__sigsetjmp): Likewise.
11195 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11196 (L(start_addresses)): Don't use BP_SYM.
11197 (_start): Likewise.
11198 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11199 <bp-asm.h>.
11200 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11201 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11202 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11203 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11204 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11205 <bp-asm.h>.
11206 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11207 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11208 about bounded pointers.
11209 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11210 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11211 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11212 <bp-asm.h>.
11213 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11214 about bounded pointers. Remove GKM FIXME comments.
11215 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11216 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11217 <bp-asm.h>.
11218 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11219 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11220 Remove GKM FIXME comments.
11221 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11222 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11223 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11224 <bp-asm.h>.
11225 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11226 about bounded pointers. Remove GKM FIXME comment.
11227 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11228 and <bp-asm.h>.
11229 (strncmp): Don't use BP_SYM. Remove comment about bounded
11230 pointers.
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11232 <bp-sym.h> and <bp-asm.h>.
11233 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11235 <bp-sym.h> and <bp-asm.h>.
11236 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11237 comment.
11238
cdcf361f
PP
112392013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11240
11241 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11242 call free(NULL).
11243
3c4a2b15
DM
112442013-03-05 David S. Miller <davem@davemloft.net>
11245
11246 * po/es.po: Update from translation team.
11247
cdcf361f 112482013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11249
11250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11251 <bits/mman-linux.h>.
11252 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11253 is fine.
11254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11255 <bits/mman-linux.h> to end of file.
11256 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11257 is fine.
11258 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11259 <bits/mman-linux.h> to end of file.
11260 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11261 is fine.
11262 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11263 <bits/mman-linux.h> to end of file.
11264
11265 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11266 (MCL_CURRENT, MCL_FUTURE): Define here.
11267
5f67c04f
AK
112682013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11269
8a4473cc 11270 [BZ #15232]
5f67c04f
AK
11271 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11272 attribute_hidden.
11273 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11274
c3e94a95
AK
112752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11276
11277 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11278 fourth parameter needed for rt_sigprocmask syscall.
11279 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11280 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11281 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11282 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11283 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11284 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11285
cfb6382a
JM
112862013-03-04 Joseph Myers <joseph@codesourcery.com>
11287
11288 [BZ #13550]
11289 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11290 comment about bounded pointers.
11291 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11292 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11293
539d8e01
AJ
112942013-03-04 Andreas Jaeger <aj@suse.de>
11295
11296 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11297 common definitions.
11298
11299 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11300 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11301 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11302 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11304 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11305
2e167a70 113062013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11307
11308 [BZ #15055]
11309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11310 __ieee754_sqrl instead of __sqrl.
11311
68508633
JM
113122013-03-01 Joseph Myers <joseph@codesourcery.com>
11313
11314 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11315 * sysdeps/powerpc/fpu_control.h: ... here.
11316 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11317 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11318 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11319 * sysdeps/powerpc/bits/mathinline.h: ... here.
11320
7775448e
RM
113212013-03-01 Roland McGrath <roland@hack.frob.com>
11322
11323 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11324 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11325 to just [NEED_DL_SYSINFO_DSO].
11326 * elf/dl-support.c: Likewise.
11327 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11328 * elf/rtld.c (dl_main): Likewise.
11329 * elf/setup-vdso.h (setup_vdso): Likewise.
11330 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11331 * sysdeps/unix/sysv/linux/dl-sysdep.c
11332 (_dl_discover_osversion): Likewise.
11333
4e9b5995
CD
113342013-03-01 Carlos O'Donell <carlos@redhat.com>
11335
11336 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11337 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11338
e23872c8
SP
113392013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11340
e5c74c63
SP
11341 * NEWS: Mention libm performance improvements and non-x86 PI
11342 futex support.
11343
e23872c8
SP
11344 * csu/libc-start.c (__pthread_initialize_minimal): Change
11345 function arguments.
11346 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11347
b5510883
JM
113482013-02-28 Joseph Myers <joseph@codesourcery.com>
11349
11350 [BZ #13550]
11351 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11352 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11353 <bp-sym.h> and <bp-asm.h>.
11354 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11355 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11356 and <bp-asm.h>.
11357 (memcpy): Don't use BP_SYM.
11358 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11359 <bp-asm.h>.
11360 (__mpn_add_n): Don't use BP_SYM.
11361 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11362 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11363 and <bp-asm.h>.
11364 (__mpn_addmul_1): Don't use BP_SYM.
11365 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11366 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11367 <bp-sym.h>.
11368 (_setjmp): Don't use BP_SYM.
11369 (__novmx_setjmp): Likewise.
11370 (__GI__setjmp): Likewise.
11371 (__vmx_setjmp): Likewise.
11372 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11373 <bp-sym.h>.
11374 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11375 (__bzero): Don't use BP_SYM.
11376 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11377 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11378 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11379 <bp-sym.h> and <bp-asm.h>.
11380 (memcpy): Don't use BP_SYM.
11381 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11382 <bp-sym.h> and <bp-asm.h>.
11383 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11384 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11385 <bp-sym.h> and <bp-asm.h>.
11386 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11387 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11388 <bp-asm.h>.
11389 (__mpn_lshift): Don't use BP_SYM.
11390 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11391 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11392 <bp-asm.h>.
11393 (memset): Don't use BP_SYM.
11394 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11395 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11396 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11397 <bp-asm.h>.
11398 (__mpn_mul_1): Don't use BP_SYM.
11399 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11400 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11401 <bp-sym.h> and <bp-asm.h>.
11402 (memcmp): Don't use BP_SYM.
11403 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11404 <bp-sym.h> and <bp-asm.h>.
11405 (memcpy): Don't use BP_SYM.
11406 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11407 <bp-sym.h> and <bp-asm.h>.
11408 (memset): Don't use BP_SYM.
11409 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11410 <bp-sym.h> and <bp-asm.h>.
11411 (strncmp): Don't use BP_SYM.
11412 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11413 <bp-sym.h> and <bp-asm.h>.
11414 (memcpy): Don't use BP_SYM.
11415 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11416 <bp-sym.h> and <bp-asm.h>.
11417 (memset): Don't use BP_SYM.
11418 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11419 <bp-sym.h> and <bp-asm.h>.
11420 (__memchr): Don't use BP_SYM.
11421 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11422 <bp-sym.h> and <bp-asm.h>.
11423 (memcmp): Don't use BP_SYM.
11424 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11425 <bp-sym.h> and <bp-asm.h>.
11426 (memcpy): Don't use BP_SYM.
11427 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11428 <bp-sym.h> and <bp-asm.h>.
11429 (__mempcpy): Don't use BP_SYM.
11430 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11431 <bp-sym.h> and <bp-asm.h>.
11432 (__memrchr): Don't use BP_SYM.
11433 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11434 <bp-sym.h> and <bp-asm.h>.
11435 (memset): Don't use BP_SYM.
11436 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11437 <bp-sym.h> and <bp-asm.h>.
11438 (__rawmemchr): Don't use BP_SYM.
11439 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11440 <bp-sym.h> and <bp-asm.h>.
11441 (__STRCMP): Don't use BP_SYM.
11442 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11443 <bp-sym.h> and <bp-asm.h>.
11444 (strchr): Don't use BP_SYM.
11445 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11446 <bp-sym.h> and <bp-asm.h>.
11447 (__strchrnul): Don't use BP_SYM.
11448 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11449 <bp-sym.h> and <bp-asm.h>.
11450 (strlen): Don't use BP_SYM.
11451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11452 <bp-sym.h> and <bp-asm.h>.
11453 (strncmp): Don't use BP_SYM.
11454 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11455 <bp-sym.h> and <bp-asm.h>.
11456 (__strnlen): Don't use BP_SYM.
11457 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11458 <bp-asm.h>.
11459 (__mpn_rshift): Don't use BP_SYM.
11460 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11461 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11462 <bp-sym.h> and <bp-asm.h>.
11463 (__sigsetjmp): Don't use BP_SYM.
11464 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11465 (L(start_addresses)): Don't use BP_SYM.
11466 (_start): Likewise.
11467 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11468 <bp-asm.h>.
11469 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11470 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11471 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11472 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11473 <bp-asm.h>.
11474 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11475 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11476 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11477 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11478 <bp-asm.h>.
11479 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11480 comments.
11481 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11482 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11483 <bp-asm.h>.
11484 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11485 FIXME comments.
11486 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11487 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11488 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11489 <bp-asm.h>.
11490 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11491 comment.
11492 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11493 and <bp-asm.h>.
11494 (strncmp): Don't use BP_SYM,
11495 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11496 <bp-asm.h>.
11497 (__mpn_sub_n): Don't use BP_SYM.
11498 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11499 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11500 and <bp-asm.h>.
11501 (__mpn_submul_1): Don't use BP_SYM.
11502 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11504 <bp-sym.h> and <bp-asm.h>.
11505 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11507 <bp-sym.h> and <bp-asm.h>.
11508 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11509 comment.
11510
8d19fe64
SP
115112013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11512
11513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11514 Use ZK to minimize writes to Z.
11515 (sub_magnitudes): Simplify code a bit.
11516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11517 Use ZK to minimize writes to Z.
11518 (sub_magnitudes): Simplify code a bit.
11519
85bd816a
RM
115202013-02-27 Roland McGrath <roland@hack.frob.com>
11521
11522 * csu/gmon-start.c: Add special exception to license text.
11523
b5977bf2
RH
115242013-02-27 Richard Henderson <rth@redhat.com>
11525
11526 * scripts/config.guess: Update from config.git.
11527 * scripts/config.sub: Likewise.
11528
11d6e2f2
SP
115292013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11530
09c14ed2
SP
11531 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11532
a688864e
SP
11533 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11534
6295157a
SP
11535 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11536
b8de2202
SP
11537 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11538
11d6e2f2
SP
11539 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11540
7e80ddb8
RM
115412013-02-26 Roland McGrath <roland@hack.frob.com>
11542
11543 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11544 [$(build-shared = yes].
7e80ddb8 11545
7da6d9ed
SP
115462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11547
45f05884
SP
11548 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11549 (__mul): Reduce iterations for calculating mantissa.
11550
2236d359
SP
11551 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11552 MPTWO.
11553 (__mpranred): Likewise.
11554
7da6d9ed
SP
11555 [BZ #15160]
11556 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11557 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11558
b7688c42
PE
115592013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11560
11561 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11562 Define __attribute__.
11563
53a5c423
SP
115642013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11565
11566 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11567 unused.
11568 * posix/regex_internal.h (__attribute): Remove.
11569 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11570 (re_string_context_at): Likewise.
11571 (bitset_not): Use __attribute__ and mark function as possibly
11572 unused.
11573 (bitset_merge): Likewise.
11574 (bitset_mask): Likewise.
11575 (re_string_char_size_at): Likewise.
11576 (re_string_wchar_at): Likewise.
11577 (re_string_elem_size_at): Likewise.
11578
60f5a8b5
SP
115792013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11580
2a983a2e
SP
11581 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11582 code.
11583 (cc32): Likewise.
11584
e69804d1
SP
11585 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11586 (__acr): Likewise.
11587 (__cpy): Likewise.
11588 (norm): Likewise.
11589 (denorm): Likewise.
11590 (__dbl_mp): Likewise.
11591 (add_magnitudes): Likewise.
11592 (sub_magnitudes): Likewise.
11593 (__mul): Likewise.
11594 (__inv): Likewise.
11595
2f22a1e8
SP
11596 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11597 style.
11598
8930ddc7
SP
11599 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11600 style.
11601
dc60cb11
SP
11602 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11603 code.
11604
60f5a8b5
SP
11605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11606 up changes with default code.
11607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11608 Likewise.
11609
b4d1fd33
AM
116102013-02-24 Allan McRae <allan@archlinux.org>
11611
faf6f8bc
AM
11612 * manual/socket.texi (The Internet Namespace): Order menu items
11613 to match that in the file.
11614
b4d1fd33
AM
11615 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11616 node listing of the info page menu.
11617
2366713d
JM
116182013-02-21 Joseph Myers <joseph@codesourcery.com>
11619
11620 [BZ #13550]
11621 * sysdeps/i386/bp-asm.h: Remove file.
11622 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11623 (PARMS): Do not use macros from bp-asm.h.
11624 (S1): Likewise.
11625 (S2): Likewise.
11626 (SIZE): Likewise.
11627 (__mpn_add_n): Do not use BP_SYM
11628 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11629 "bp-asm.h".
11630 (PARMS): Do not use macros from bp-asm.h.
11631 (S1): Likewise.
11632 (SIZE): Likewise.
11633 (__mpn_addmul_1): Do not use BP_SYM
11634 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11635 "bp-asm.h".
11636 (PARMS): Do not use macros from bp-asm.h.
11637 (SIGMSK): Likewise.
11638 (_setjmp): Likewise. Do not use BP_SYM.
11639 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11640 "bp-asm.h".
11641 (PARMS): Do not use macros from bp-asm.h.
11642 (SIGMSK): Likewise.
11643 (setjmp): Likewise. Do not use BP_SYM.
11644 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11645 "bp-asm.h".
11646 (PARMS): Do not use macros from bp-asm.h.
11647 (__frexp): Do not use BP_SYM.
11648 (frexp): Likewise.
11649 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11650 "bp-asm.h".
11651 (PARMS): Do not use macros from bp-asm.h.
11652 (__frexpf): Do not use BP_SYM.
11653 (frexpf): Likewise.
11654 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11655 "bp-asm.h".
11656 (PARMS): Do not use macros from bp-asm.h.
11657 (__frexpl): Do not use BP_SYM.
11658 (frexpl): Likewise.
11659 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11660 "bp-asm.h".
11661 (PARMS): Do not use macros from bp-asm.h.
11662 (__remquo): Do not use BP_SYM.
11663 (remquo): Likewise.
11664 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11665 "bp-asm.h".
11666 (PARMS): Do not use macros from bp-asm.h.
11667 (__remquof): Do not use BP_SYM.
11668 (remquof): Likewise.
11669 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11670 "bp-asm.h".
11671 (PARMS): Do not use macros from bp-asm.h.
11672 (__remquol): Do not use BP_SYM.
11673 (remquol): Likewise.
11674 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11675 "bp-asm.h".
11676 (PARMS): Do not use macros from bp-asm.h.
11677 (DEST): Likewise.
11678 (SRC): Likewise.
11679 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11680 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11681 "bp-asm.h".
11682 (PARMS): Do not use macros from bp-asm.h.
11683 (strlen): Do not use BP_SYM.
11684 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11685 "bp-asm.h".
11686 (PARMS): Do not use macros from bp-asm.h.
11687 (S1): Likewise.
11688 (S2): Likewise.
11689 (SIZE): Likewise.
11690 (__mpn_add_n): Do not use BP_SYM.
11691 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11692 "bp-asm.h".
11693 (PARMS): Do not use macros from bp-asm.h.
11694 (S1): Likewise.
11695 (SIZE): Likewise.
11696 (__mpn_addmul_1): Do not use BP_SYM.
11697 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11698 weak_alias.
11699 (bzero): Likewise.
11700 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11701 "bp-asm.h".
11702 (PARMS): Do not use macros from bp-asm.h.
11703 (S): Likewise.
11704 (SIZE): Likewise.
11705 (__mpn_lshift): Do not use BP_SYM.
11706 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11707 "bp-asm.h".
11708 (PARMS): Do not use macros from bp-asm.h.
11709 (DEST): Likewise.
11710 (SRC): Likewise.
11711 (LEN): Likewise.
11712 (memcpy): Likewise. Do not use BP_SYM.
11713 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11714 libc_hidden_def and weak_alias.
11715 (mempcpy): Do not use BP_SYM in weak_alias.
11716 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11717 "bp-asm.h".
11718 (PARMS): Do not use macros from bp-asm.h.
11719 (DEST): Likewise.
11720 (LEN): Likewise.
11721 [!BZERO_P] (CHR): Likewise.
11722 (memset): Likewise. Do not use BP_SYM.
11723 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11724 "bp-asm.h".
11725 (PARMS): Do not use macros from bp-asm.h.
11726 (S1): Likewise.
11727 (SIZE): Likewise.
11728 (__mpn_mul_1): Do not use BP_SYM.
11729 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11730 "bp-asm.h".
11731 (PARMS): Do not use macros from bp-asm.h.
11732 (S): Likewise.
11733 (SIZE): Likewise.
11734 (__mpn_rshift): Do not use BP_SYM.
11735 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11736 "bp-asm.h".
11737 (PARMS): Do not use macros from bp-asm.h.
11738 (STR): Likewise.
11739 (CHR): Likewise.
11740 (strchr): Likewise. Do not use BP_SYM.
11741 (index): Do not use BP_SYM in weak_alias.
11742 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11743 "bp-asm.h".
11744 (PARMS): Do not use macros from bp-asm.h.
11745 (DEST): Likewise.
11746 (SRC): Likewise.
11747 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11748 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11749 "bp-asm.h".
11750 (PARMS): Do not use macros from bp-asm.h.
11751 (strlen): Do not use BP_SYM.
11752 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11753 "bp-asm.h".
11754 (PARMS): Do not use macros from bp-asm.h.
11755 (S1): Likewise.
11756 (S2): Likewise.
11757 (SIZE): Likewise.
11758 (__mpn_sub_n): Do not use BP_SYM.
11759 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11760 "bp-asm.h".
11761 (PARMS): Do not use macros from bp-asm.h.
11762 (S1): Likewise.
11763 (SIZE): Likewise.
11764 (__mpn_submul_1): Do not use BP_SYM.
11765 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11766 "bp-asm.h".
11767 (PARMS): Do not use macros from bp-asm.h.
11768 (S1): Likewise.
11769 (S2): Likewise.
11770 (SIZE): Likewise.
11771 (__mpn_add_n): Do not use BP_SYM.
11772 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11773 weak_alias.
11774 (bzero): Likewise.
11775 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11776 "bp-asm.h".
11777 (PARMS): Do not use macros from bp-asm.h.
11778 (BLK2): Likewise.
11779 (LEN): Likewise.
11780 (memcmp): Do not use BP_SYM.
11781 (bcmp): Do not use BP_SYM in weak_alias.
11782 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11783 "bp-asm.h".
11784 (PARMS): Do not use macros from bp-asm.h.
11785 (DEST): Likewise.
11786 (SRC): Likewise.
11787 (LEN): Likewise.
11788 (memcpy): Likewise. Do not use BP_SYM.
11789 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11790 "bp-asm.h".
11791 (PARMS): Do not use macros from bp-asm.h.
11792 (DEST): Likewise.
11793 (SRC): Likewise.
11794 (LEN): Likewise.
11795 (memmove): Likewise. Do not use BP_SYM.
11796 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11797 "bp-asm.h".
11798 (PARMS): Do not use macros from bp-asm.h.
11799 (DEST): Likewise.
11800 (SRC): Likewise.
11801 (LEN): Likewise.
11802 (__mempcpy): Likewise. Do not use BP_SYM.
11803 (mempcpy): Do not use BP_SYM in weak_alias.
11804 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11805 "bp-asm.h".
11806 (PARMS): Do not use macros from bp-asm.h.
11807 (DEST): Likewise.
11808 (LEN): Likewise.
11809 [!BZERO_P] (CHR): Likewise.
11810 (memset): Likewise. Do not use BP_SYM.
11811 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11812 "bp-asm.h".
11813 (PARMS): Do not use macros from bp-asm.h.
11814 (STR2): Likewise.
11815 (strcmp): Do not use BP_SYM.
11816 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11817 "bp-asm.h".
11818 (PARMS): Do not use macros from bp-asm.h.
11819 (STR): Likewise.
11820 (DELIM): Likewise.
11821 [USE_AS_STRTOK_R] (SAVE): Likewise.
11822 (FUNCTION): Likewise. Do not use BP_SYM.
11823 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11824 aliases.
11825 (strtok_r): Likewise.
11826 (__GI___strtok_r): Likewise.
11827 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11828 (PARMS): Do not use macros from bp-asm.h.
11829 (S): Likewise.
11830 (SIZE): Likewise.
11831 (__mpn_lshift): Do not use BP_SYM.
11832 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11833 (PARMS): Do not use macros from bp-asm.h.
11834 (STR): Likewise.
11835 (CHR): Likewise.
11836 (__memchr): Do not use BP_SYM.
11837 (memchr): Do not use BP_SYM in weak_alias.
11838 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11839 (PARMS): Do not use macros from bp-asm.h.
11840 (BLK2): Likewise.
11841 (LEN): Likewise.
11842 (memcmp): Do not use BP_SYM.
11843 (bcmp): Do not use BP_SYM in weak_alias.
11844 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11845 (PARMS): Do not use macros from bp-asm.h.
11846 (S1): Likewise.
11847 (SIZE): Likewise.
11848 (__mpn_mul_1): Do not use BP_SYM.
11849 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11850 "bp-asm.h".
11851 (PARMS): Do not use macros from bp-asm.h.
11852 (STR): Likewise.
11853 (CHR): Likewise.
11854 (__rawmemchr): Do not use BP_SYM.
11855 (rawmemchr): Do not use BP_SYM in weak_alias.
11856 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11857 (PARMS): Do not use macros from bp-asm.h.
11858 (S): Likewise.
11859 (SIZE): Likewise.
11860 (__mpn_rshift): Do not use BP_SYM.
11861 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11862 (PARMS): Do not use macros from bp-asm.h.
11863 (SIGMSK): Likewise.
11864 (__sigsetjmp): Likewise. Do not use BP_SYM.
11865 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11866 (_start): Do not use BP_SYM.
11867 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11868 (PARMS): Do not use macros from bp-asm.h.
11869 (DEST): Likewise.
11870 (SRC): Likewise.
11871 (__stpcpy): Likewise. Do not use BP_SYM.
11872 (stpcpy): Do not use BP_SYM in weak_alias.
11873 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11874 "bp-asm.h".
11875 (PARMS): Do not use macros from bp-asm.h.
11876 (DEST): Likewise.
11877 (SRC): Likewise.
11878 (LEN): Likewise.
11879 (__stpncpy): Likewise. Do not use BP_SYM.
11880 (stpncpy): Do not use BP_SYM in weak_alias.
11881 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11882 (PARMS): Do not use macros from bp-asm.h.
11883 (STR): Likewise.
11884 (CHR): Likewise.
11885 (strchr): Likewise. Do not use BP_SYM.
11886 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11887 "bp-asm.h".
11888 (PARMS): Do not use macros from bp-asm.h.
11889 (STR): Likewise.
11890 (CHR): Likewise.
11891 (__strchrnul): Likewise. Do not use BP_SYM.
11892 (strchrnul): Do not use BP_SYM in weak_alias.
11893 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11894 "bp-asm.h".
11895 (PARMS): Do not use macros from bp-asm.h.
11896 (STOP): Likewise.
11897 (strcspn): Do not use BP_SYM.
11898 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11899 "bp-asm.h".
11900 (PARMS): Do not use macros from bp-asm.h.
11901 (STR): Likewise.
11902 (STOP): Likewise.
11903 (strpbrk): Likewise. Do not use BP_SYM.
11904 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11905 "bp-asm.h".
11906 (PARMS): Do not use macros from bp-asm.h.
11907 (STR): Likewise.
11908 (CHR): Likewise.
11909 (strrchr): Likewise. Do not use BP_SYM.
11910 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11911 (PARMS): Do not use macros from bp-asm.h.
11912 (SKIP): Likewise.
11913 (strspn): Do not use BP_SYM.
11914 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11915 (PARMS): Do not use macros from bp-asm.h.
11916 (STR): Likewise.
11917 (DELIM): Likewise.
11918 (SAVE): Likewise.
11919 (FUNCTION): Likewise. Do not use BP_SYM.
11920 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11921 aliases.
11922 (strtok_r): Likewise.
11923 (__GI___strtok_r): Likewise.
11924 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11925 (PARMS): Do not use macros from bp-asm.h.
11926 (S1): Likewise.
11927 (S2): Likewise.
11928 (SIZE): Likewise.
11929 (__mpn_sub_n): Do not use BP_SYM.
11930 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11931 "bp-asm.h".
11932 (PARMS): Do not use macros from bp-asm.h.
11933 (S1): Likewise.
11934 (SIZE): Likewise.
11935 (__mpn_submul_1): Do not use BP_SYM.
11936 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11937 <bp-sym.h>.
11938 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11939 and <bp-asm.h>.
11940 (PARMS): Do not use macros from bp-asm.h.
11941 (FLAGS): Likewise.
11942 (PTID): Likewise.
11943 (TLS): Likewise.
11944 (CTID): Likewise.
11945 (__clone): Do not use BP_SYM.
11946 (clone): Do not use BP_SYM in weak_alias.
11947 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11948 and <bp-asm.h>.
11949 (PARMS): Do not use macros from bp-asm.h.
11950 (LEN): Likewise.
11951 (__mmap64): Do not use BP_SYM.
11952 (mmap64): Do not use BP_SYM in weak_alias.
11953 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11954 <bp-sym.h> and <bp-asm.h>.
11955 (PARMS): Do not use macros from bp-asm.h.
11956 (__posix_fadvise64_l64): Do not use BP_SYM.
11957 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11958 (PARMS): Do not use macros from bp-asm.h.
11959 (NSOPS): Likewise.
11960 (semtimedop): Do not use BP_SYM.
11961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11962 and <bp-asm.h>.
11963
582a3cff
AM
119642013-02-21 Allan McRae <allan@archlinux.org>
11965
11966 * manual/message.texi (Charset conversion in gettext):
11967 Move @end statement to beginning of line.
11968
bab8a695
SP
119692013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11970
80945231
SP
11971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11972 static.
11973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11974 Likewise.
11975
bab8a695
SP
11976 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11977 (denorm): Likewise.
11978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11980
e21d7aa7
AK
119812013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11982
11983 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11984 tail-call to the resolved function if pltexit isn't needed.
11985
4c7a4263
SP
119862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11987
11988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11989 or Y being zero as being unlikely.
11990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11991 Likewise.
11992
41f49342
CD
119932013-02-20 Carlos O'Donell <carlos@redhat.com>
11994
11995 * manual/nss.texi (System Databases and Name Service Switch):
11996 Remove frobnicate @pxref.
11997
50022a93
TS
119982013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11999
12000 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12001 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12002
08cbd996
PM
120032013-02-20 Petr Machata <pmachata@redhat.com>
12004
12005 * elf/elf.h (R_ARM_TARGET1): New macro.
12006 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12007 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12008 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12009 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12010 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12011 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12012 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12013 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12014 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12015 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12016 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12017 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12018 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12019 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12020 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12021 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12022 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12023 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12024 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12025 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12026 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12027 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12028 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12029 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12030 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12031 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12032 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12033 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12034 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12035 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12036 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12037 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12038 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12039 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12040 (R_ARM_THM_GOT_BREL12): Likewise.
12041 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12042 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12043 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12044 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12045 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12046 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12047 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12048 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12049 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12050
c7b275d6
TS
120512013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12052
12053 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12054 __attribute_used__ to __attribute__ ((unused)).
12055
20cd7fb3
SP
120562013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12057
12058 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12059 powerpc mpa.c.
12060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12061 comment formatting.
12062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12063
92945b52
JM
120642013-02-19 Joseph Myers <joseph@codesourcery.com>
12065
12066 [BZ #13550]
12067 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12068 Remove macro.
12069 (ENTER): Remove both macro definitions.
12070 (LEAVE): Likewise.
12071 (CHECK_BOUNDS_LOW): Likewise.
12072 (CHECK_BOUNDS_HIGH): Likewise.
12073 (CHECK_BOUNDS_BOTH): Likewise.
12074 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12075 (RETURN_BOUNDED_POINTER): Likewise.
12076 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12077 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12078 (POP_ERRNO_LOCATION_RETURN): Likewise.
12079 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12080 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12081 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12082 macros.
12083 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12084 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12085 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12086 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12087 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12088 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12089 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12090 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12091 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12092 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12093 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12094 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12095 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12096 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12097 removed macros.
12098 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12099 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12100 macros.
12101 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12102 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12103 * sysdeps/i386/i586/memset.S (memset): Likewise.
12104 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12105 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12106 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12107 macros.
12108 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12109 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12110 Change uses of L(2) to L(out).
12111 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12112 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12113 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12114 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12115 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12116 removed macros.
12117 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12118 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12119 macros.
12120 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12121 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12122 (RETURN): Do not use macro LEAVE.
12123 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12124 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12125 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12126 * sysdeps/i386/i686/memset.S (memset): Likewise.
12127 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12128 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12129 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12130 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12131 Likewise.
12132 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12133 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12134 L(1_2) and L(1_3) into L(1).
12135 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12136 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12137 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12138 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12139 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12140 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12141 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12142 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12143 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12144 macros.
12145 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12146 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12147 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12148 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12149 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12150 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12151 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12152 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12153 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12154 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12155 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12156 * sysdeps/i386/strspn.S (strspn): Likewise.
12157 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12158 conditional code.
12159 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12160 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12161 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12162 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12163 L(1_3) into L(1_1).
12164 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12165 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12166 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12167 macros.
12168 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12169
2389741a
JJ
121702013-02-19 Jakub Jelinek <jakub@redhat.com>
12171
12172 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12173 macro.
12174
2016b3cd
SP
121752013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12176
e4f22324
SP
12177 * math/atest-exp.c (exp_mpn): Remove ROUND.
12178 * math/atest-exp2.c (exp_mpn): Likewise.
12179 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12180
2016b3cd
SP
12181 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12182 * stdlib/tst-tls-atexit-lib.c: Likewise.
12183 * stdlib/tst-tls-atexit.c: Likewise.
12184
4be9b544
MF
121852013-02-18 Mike Frysinger <vapier@gentoo.org>
12186
12187 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12188 and __attribute_alloc_size__.
12189
2f62b9ee
MF
121902013-02-18 Mike Frysinger <vapier@gentoo.org>
12191
12192 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12193 __attribute_alloc_size__.
12194 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12195 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12196
6ff444c4
MF
121972013-02-18 Mike Frysinger <vapier@gentoo.org>
12198
12199 * include/programs/xmalloc.h: New file.
12200 * catgets/gencat.c: Include it.
12201 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12202 * elf/pldd.c: Likewise.
12203 * iconv/iconv_charmap.c: Likewise.
12204 * iconv/iconvconfig.c: Likewise.
12205 * iconv/strtab.c: Likewise.
12206 * locale/programs/locale.c: Likewise.
12207 * locale/programs/localedef.h: Likewise.
12208 * locale/programs/simple-hash.c: Likewise.
12209 * nscd/nscd.h: Likewise.
12210 * nss/makedb.c: Likewise.
12211 * sysdeps/generic/ldconfig.h: Likewise.
12212
be179c8a
SP
122132013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12214
ba384f6e
SP
12215 * Versions.def: Add GLIBC_2.18.
12216 * include/link.h (struct link_map): New member l_tls_dtor_count.
12217 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12218 (__call_tls_dtors): Likewise.
12219 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12220 __cxa_thread_atexit_impl.
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12222 Likewise.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12224 Likewise.
12225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12226 Likewise.
12227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12228 Likewise.
12229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12231 Likewise.
12232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12233 Likewise.
12234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12236 Likewise.
12237 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12238 (tests): Add test case tst-tls-atexit.
12239 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12240 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12241 (GLIBC_PRIVATE): Add __call_tls_dtors.
12242 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12243 for libstdc++.
12244 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12245 * stdlib/tst-tls-atexit.c: New test case.
12246 * stdlib/tst-tls-atexit-lib.c: New test case.
12247
ffaa74cf 12248 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12249
be179c8a
SP
12250 * elf/Versions (ld): Add _dl_find_dso_for_object.
12251 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12252 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12253 (dl_open_worker): Use _dl_find_dso_for_object.
12254 * elf/dl-sym.c (do_sym): Likewise.
12255 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12256
f78b5caa
AK
122572013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12258
12259 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12260 Syntactic changes only.
12261 (_dl_runtime_profile): Do a tail-call to the resolved function.
12262
29691210
JM
122632013-02-17 Joseph Myers <joseph@codesourcery.com>
12264
12265 [BZ #13550]
12266 * sysdeps/x86_64/bp-asm.h: Remove file.
12267 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12268 <bp-sym.h> and <bp-asm.h>.
12269 (__clone): Do not use BP_SYM.
12270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12271 <bp-sym.h> and <bp-asm.h>.
12272 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12273 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12274 "bp-asm.h".
12275 (_setjmp): Do not use BP_SYM.
12276 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12277 "bp-asm.h".
12278 (setjmp): Do not use BP_SYM.
12279 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12280 libc_hidden_def.
12281 (mempcpy): Do not use BP_SYM in weak_alias.
12282 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12283 "bp-asm.h".
12284 (strchr): Do not use BP_SYM.
12285 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12286 "bp-asm.h".
12287 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12288 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12289 (_start): Do not use BP_SYM.
12290 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12291 "bp-asm.h".
12292 (strcat): Do not use BP_SYM.
12293 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12294 "bp-asm.h".
12295 (STRCMP): Do not use BP_SYM.
12296 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12297 "bp-asm.h".
12298 (STRCPY): Do not use BP_SYM.
12299 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12300 "bp-asm.h".
12301 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12302 "bp-asm.h".
12303 (FUNCTION): Do not use BP_SYM.
12304 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12305 weak_alias.
12306 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12307
f238fd19
AJ
123082013-02-17 Andreas Jaeger <aj@suse.de>
12309
12310 * time/Versions: Sort entries.
12311 * string/Versions: Likewise.
12312 * resolv/Versions: Likewise.
12313 * posix/Versions: Likewise.
12314 * iconv/Versions: Likewise.
12315 * elf/Versions: Likewise.
12316 * wcsmbs/Versions: Likewise.
12317
bd07f23c 123182013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12319
22af19f9
SP
12320 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12321 loop termination condition.
12322
4709fe76
SP
12323 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12324 variable to calculate EZ.
12325 (__sqr): Likewise.
2d0e0f29
SP
12326
12327 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12328 the lower precision input.
12329
daaa7713
JM
123302013-02-15 Joseph Myers <joseph@codesourcery.com>
12331
12332 [BZ #13550]
12333 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12334 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12335 (run-via-rtld-prefix): Do not handle %-bp tests.
12336 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12337 (all-object-suffixes): Remove .ob.
12338 (bppfx): Remove variable.
12339 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12340 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12341 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12342 [$(build-bounded) = yes] (libtype.ob): Likewise.
12343 * Makerules (elide-routines.ob): Remove variable.
12344 (do-tests-clean): Do not handle *-bp.out.
12345 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12346 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12347 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12348 (tests): Do not include $(tests-bp.out).
12349 (xtests): Do not include $(xtests-bp.out).
12350 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12351 [$(build-bounded) = yes] ($(addprefix
12352 $(objpfx),$(binaries-bounded))): Remove rule.
12353 ($(objpfx)%-bp.out): Remove rule.
12354 * config.make.in (build-bounded): Remove variable.
12355 * crypt/Makefile [$(build-bounded) = yes]
12356 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12357 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12358 append to variable.
12359 [$(build-bounded) = yes] (install-lib): Likewise.
12360 [$(build-bounded) = yes] (generated): Likewise.
12361 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12362 Remove rule.
12363 * intl/Makefile [$(build-bounded) = yes]
12364 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12365 * math/Makefile [$(build-bounded) = yes]
12366 ($(tests:%=$(objpfx)%-bp): Likewise.
12367 * misc/Makefile [$(build-bounded) = yes]
12368 ($(objpfx)tst-tsearch-bp): Likewise.
12369 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12370 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12371 Remove dependency.
12372 * string/Makefile (o-objects.ob): Remove variable.
12373 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12374 (CFLAGS-.ob): Remove variable.
12375 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12376 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12377 both definitions of variable.
12378 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12379 (ASFLAGS-.ob): Remove variable.
12380
e97ed6dd
JM
123812013-02-14 Joseph Myers <joseph@codesourcery.com>
12382
2bdd4ca6
JM
12383 [BZ #13550]
12384 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12385 Remove __BOUNDED_POINTERS__ from condition.
12386 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12387 * string/bits/string2.h [!__NO_STRING_INLINES &&
12388 !__BOUNDED_POINTERS__]: Likewise.
12389 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12390 Likewise.
12391 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12392 Remove conditional code.
12393 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12394 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12395 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12396 condition.
12397
e97ed6dd
JM
12398 [BZ #13550]
12399 * csu/libc-start.c: Do not include <bp-sym.h>.
12400 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12401 * elf/dl-open.c: Do not include <bp-sym.h>.
12402 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12403 * math/fegetenv.c: Do not include <bp-sym.h>.
12404 (fegetenv): Do not use BP_SYM in versioned symbols.
12405 * nptl/sysdeps/pthread/bits/libc-lockP.h
12406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12407 <bp-sym.h>.
12408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12409 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12411 (__pthread_mutex_destroy): Likewise.
12412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12413 (__pthread_mutex_lock): Likewise.
12414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12415 (__pthread_mutex_trylock): Likewise.
12416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12417 (__pthread_mutex_unlock): Likewise.
12418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12419 (__pthread_mutexattr_init): Likewise.
12420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12421 (__pthread_mutexattr_destroy): Likewise.
12422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12423 (__pthread_mutexattr_settype): Likewise.
12424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12425 (__pthread_rwlock_init): Likewise.
12426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12427 (__pthread_rwlock_destroy): Likewise.
12428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12429 (__pthread_rwlock_rdlock): Likewise.
12430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12431 (__pthread_rwlock_tryrdlock): Likewise.
12432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12433 (__pthread_rwlock_wrlock): Likewise.
12434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12435 (__pthread_rwlock_trywrlock): Likewise.
12436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12437 (__pthread_rwlock_unlock): Likewise.
12438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12439 (__pthread_key_create): Likewise.
12440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12441 (__pthread_setspecific): Likewise.
12442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12443 (__pthread_getspecific): Likewise.
12444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12445 Likewise.
12446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12447 (_pthread_cleanup_push_defer): Likewise.
12448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12449 (_pthread_cleanup_pop_restore): Likewise.
12450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12451 (pthread_setcancelstate): Likewise.
12452 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12453 <bp-sym.h>.
12454 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12455 (memchr): Do not use BP_SYM in weak_alias.
12456 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12457 (fegetenv): Do not use BP_SYM in versioned symbols.
12458 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12459 (fesetenv): Do not use BP_SYM in versioned symbols.
12460 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12461 (feupdateenv): Do not use BP_SYM in versioned symbols.
12462 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12463 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12464 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12465 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12466 (open64): Do not use BP_SYM in weak_alias.
12467 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12468 (fegetenv): Do not use BP_SYM in versioned symbols.
12469 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12470 (fesetenv): Do not use BP_SYM in versioned symbols.
12471 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12472 (feupdateenv): Do not use BP_SYM in versioned symbols.
12473 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12474 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12475 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12476 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12477 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12478 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12479 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12480 <bp-sym.h>.
12481 (__libc_start_main): Do not use BP_SYM.
12482
d6752ccd
SP
124832013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12484
cb57ce60
SP
12485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12486 redundant return line.
12487 (norm): Likewise.
12488 (denorm): Likewise.
12489 (dbl_mp): Likewise.
12490 (sub_magnitudes): Likewise.
12491 (__add): Likewise.
12492 (__sub): Likewise.
12493 (__mul): Likewise.
12494 (__inv): Likewise.
12495 (__dvd): Likewise.
12496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12497 (norm): Likewise.
12498 (denorm): Likewise.
12499 (dbl_mp): Likewise.
12500 (sub_magnitudes): Likewise.
12501 (__add): Likewise.
12502 (__sub): Likewise.
12503 (__mul): Likewise.
12504 (__inv): Likewise.
12505 (__dvd): Likewise.
12506
f414520d
SP
12507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12508 instead of __mul.
12509 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12510 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12511 (cc32): Likewise.
12512
d6752ccd
SP
12513 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12514 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12516 of __mul for squares.
12517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12518 function
12519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12520 Likewise.
12521 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12522 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12523
70d9946a
JM
125242013-02-13 Joseph Myers <joseph@codesourcery.com>
12525
12526 [BZ #13550]
12527 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12528 code.
12529 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12530 prototype or function definition. Rename ubp_* variables and
12531 parameters. Remove argv definitions conditional on
12532 [__BOUNDED_POINTERS__].
12533 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12534 * elf/dl-runtime.c (_dl_fixup): Likewise.
12535 * include/set-hooks.h (RUN_HOOK): Likewise.
12536 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12537 definition.
12538 * string/strcpy.c (strcpy): Do not use __unbounded.
12539 * sysdeps/generic/frame.h (struct layout): Likewise.
12540 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12541 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12542 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12543 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12544 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12545 (__backtrace): Likewise.
12546 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12547 use __ptrvalue.
12548 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12549 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12550 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12551 Likewise.
12552 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12553 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12554 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12555 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12556 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12557 Do not use __unbounded.
12558 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12559 Rename __unboundedrlimits parameter to rlimits in prototype.
12560 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12561 Do not use __unbounded.
12562 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12563 not use __ptrvalue.
12564 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12565 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12566 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12567 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12568 __ptrvalue or __unbounded.
12569 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12570 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12571 use __unbounded.
12572 (__new_msgctl): Do not use __ptrvalue.
12573 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12574 __unbounded.
12575 (__libc_msgrcv): Do not use __ptrvalue.
12576 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12577 startup_info): Do not use __unbounded.
12578 (__libc_start_main): Likewise. Rename ubp_* variables and
12579 parameters. Remove argv definitions conditional on
12580 [__BOUNDED_POINTERS__].
12581 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12582 __ptrvalue.
12583 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12584 use __unbounded.
12585 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12586 or __ptrvalue.
12587 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12588 use __unbounded.
12589 (__new_shmctl): Do not use __ptrvalue.
12590 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12591 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12592 Likewise.
12593 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12594 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12595 (__libc_sigaction): Likewise.
12596 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12597 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12598 Likewise.
12599 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12600
cc7834d6
OB
126012013-02-13 Ondřej Bílka <neleai@seznam.cz>
12602
ffb1ec7b 12603 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12604
12605 * string/mempcpy.c: Implement by calling memcpy.
12606
bdf02814
SP
126072013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12608
c2af38aa
SP
12609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12610
4e92d59e
SP
12611 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12612 evaluation.
12613
909279a5
SP
12614 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12615 values in the mantissa.
12616
bdf02814
SP
12617 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12618 minimize writes to Z.
12619 (sub_magnitudes): Simplify code a bit.
12620
cd525923
RM
126212013-02-12 Roland McGrath <roland@hack.frob.com>
12622
12623 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12624 from the message. The linker prefixes all warnings with that already.
12625
7e2f0d2d
AS
126262013-02-12 Andreas Schwab <schwab@suse.de>
12627
a445af0b
AS
12628 [BZ #15078]
12629 * posix/regexec.c (extend_buffers): Add parameter min_len.
12630 (check_matching): Pass minimum needed length.
12631 (clean_state_log_if_needed): Likewise.
12632 (get_subexp): Likewise.
12633 * posix/Makefile (tests): Add bug-regex34.
12634 (bug-regex34-ENV): Define.
12635 * posix/bug-regex34.c: New file.
12636
7e2f0d2d
AS
12637 [BZ #11561]
12638 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12639 elements compare against the byte sequence of it, not its name.
12640 * posix/Makefile (tests): Add bug-regex35.
12641 (bug-regex35-ENV): Define.
12642 * posix/bug-regex35.c: New file.
12643
a175b684
TV
126442013-02-11 Tom de Vries <tom@codesourcery.com>
12645
12646 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12647 comment.
12648 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12649 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12650 (CHECK_EOL): Add undef.
12651
310998fe 126522013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12653
12654 * bits/stdlib-bsearch.h: New file.
12655 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12656 * stdlib/stdlib.h: Likewise.
41eda41d 12657
8ded91fb
RM
126582013-02-11 Roland McGrath <roland@hack.frob.com>
12659
12660 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12661 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12662 declaration.
12663 * manual/search.texi (Array Search Function): Add missing const in
12664 lfind prototype.
12665 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12666 declaration to use rlim_t.
12667 (Basic Scheduling Functions): Remove erroneous const from
12668 sched_getparam prototype. Remove erroneous * from
12669 sched_get_priority_max and sched_get_priority_min prototypes.
12670 (Resource Usage): Fix summary @comment on vtimes to refer to
12671 sys/vtimes.h rather than vtimes.h.
12672 Add missing *s in vtimes prototype.
12673 (Limits on Resources): Fix ulimit prototype to return long int.
12674 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12675 prototypes to use long int rather than double.
12676 (BSD Random): Fix initstate and setstate to use char *, not void *.
12677 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12678 prototype to make second argument 'struct aiocb64 *const[]'.
12679 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12680 (Status of AIO Operations): Remove erroneous const in aio_return and
12681 aio_return64 prototypes.
12682 (Synchronizing I/O): Fix sync prototype to return void.
12683 * manual/startup.texi (Suboptions): Remove an erroneous const in
12684 getsubopt prototype.
12685 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12686 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12687 use size_t rather than int.
12688 (Scanning All Users): Likewise for getpwent_r.
12689 (Setting Groups): Add missing const to setgroups prototype.
12690 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12691 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12692 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12693 'const void *' rather than 'const char *'.
12694 (Host Address Functions): Likewise for inet_ntop.
12695 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12696 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12697 ssize_t for return value.
12698 (Sending Data): Likewise for send, sendto, sendmsg.
12699 (Socket Option Functions): Add a missing const in setsockopt prototype.
12700 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12701 use wchar_t for the argument.
12702 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12703 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12704 take no arguments.
12705 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12706 double/float/long double for second argument.
12707 Fix return types of significand, significandf, significandl.
12708 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12709 argument in fchmod prototype.
12710 (File Owner): Use uid_t and gid_t in fchown prototype.
12711 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12712 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12713 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12714 use 'const struct dirent **' as argument types to CMP function pointer
12715 argument.
12716 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12717 (File Times): Fix summary magic @comment for struct utimbuf and utime
12718 to refer to utime.h, not time.h.
12719 * manual/string.texi (Argz Functions): Add missing const in
12720 argz_extract and argz_next prototypes.
12721 (Finding Tokens in a String): Likewise for basename.
12722 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12723 (Copying and Concatenation): Fix typo in wmemmove prototype.
12724 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12725 (Signal Stack): Remove erroneous const in sigstack prototype.
12726 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12727 prototype.
12728 (Simple Calendar Time): Likewise for stime.
12729 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12730 prototype.
12731 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12732 say sys/sysctl.h instead.
12733 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12734 and vsyslog prototypes.
12735
fe77fe6d
TV
127362013-02-11 Tom de Vries <tom@codesourcery.com>
12737
12738 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12739 Remove.
12740
3a09b620
RM
127412013-02-11 Roland McGrath <roland@hack.frob.com>
12742
12743 * misc/sys/mman.h: Fix typo in mremap comment.
12744
550a0b89
RM
127452013-02-08 Roland McGrath <roland@hack.frob.com>
12746
12747 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12748 the '\0' terminator.
12749
a2da1673
JM
127502013-02-08 Joseph Myers <joseph@codesourcery.com>
12751
12752 [BZ #13550]
12753 * debug/segfault.c: Don't include <bp-checks.h>.
12754 * sysdeps/generic/bp-checks.h: Remove file.
12755 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12756 (__GETDENTS): Don't use CHECK_N.
12757 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12758 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12759 (__getgroups): Don't use CHECK_N.
12760 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12761 (setgroups): Don't use CHECK_N.
12762 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12763 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12764 (__libc_msgrcv): Don't use CHECK_N.
12765 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12766 (__libc_msgsnd): Don't use CHECK_N.
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12768 <bp-checks.h>.
12769 (__libc_pread): Don't use CHECK_N.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12771 include <bp-checks.h>.
12772 (__libc_pread64): Don't use CHECK_N.
12773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12774 include <bp-checks.h>.
12775 (__libc_pwrite): Don't use CHECK_N.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12777 include <bp-checks.h>.
12778 (__libc_pwrite64): Don't use CHECK_N.
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12780 <bp-checks.h>.
12781 (__libc_pread): Don't use CHECK_N.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12783 include <bp-checks.h>.
12784 (__libc_pread64): Don't use CHECK_N.
12785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12786 include <bp-checks.h>.
12787 (__libc_pwrite): Don't use CHECK_N.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12789 include <bp-checks.h>.
12790 (__libc_pwrite64): Don't use CHECK_N.
12791 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12792 (do_pread): Don't use CHECK_N.
12793 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12794 (do_pread64): Don't use CHECK_N.
12795 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12796 (do_pwrite): Don't use CHECK_N.
12797 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12798 (do_pwrite64): Don't use CHECK_N.
12799 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12800 (__libc_readv): Don't use CHECK_N.
12801 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12802 (semop): Don't use CHECK_N.
12803 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12804 <bp-checks.h>.
12805 (semtimedop): Don't use CHECK_N.
12806 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12807 (__libc_pread): Don't use CHECK_N.
12808 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12809 <bp-checks.h>.
12810 (__libc_pread64): Don't use CHECK_N.
12811 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12812 <bp-checks.h>.
12813 (__libc_pwrite): Don't use CHECK_N.
12814 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12815 <bp-checks.h>.
12816 (__libc_pwrite64): Don't use CHECK_N.
12817 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12818 <bp-checks.h>.
12819 (__libc_msgrcv): Don't use CHECK_N.
12820 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12821 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12822 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12823 (__libc_writev): Don't use CHECK_N.
12824
b84660a8
RM
128252013-02-08 Roland McGrath <roland@hack.frob.com>
12826
7f3e75f8
RM
12827 * string/strcpy.c: Removed unused variable.
12828
b84660a8
RM
12829 * Makeconfig (+sysdep-includes): Define with := rather than =.
12830 Use an existing include/ subdir of each sysdeps dir before it.
12831
471514d3
CD
128322013-02-08 Carlos O'Donell <carlos@redhat.com>
12833
12834 * nscd/connection.c (register_traced_file): Comment function.
12835 [HAVE_INOTIFY] (union __inev): Define.
12836 [HAVE_INOTIFY] (inotify_check_files): New function.
12837 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12838 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12839 clear_db_cache.
12840 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12841
b2d3c3be
CD
128422013-02-08 Carlos O'Donell <carlos@redhat.com>
12843
12844 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12845 loaded if not already and that a failure is permanent.
12846
b39949d2
CD
128472013-02-08 Carlos O'Donell <carlos@redhat.com>
12848
ddacd1db 12849 [BZ #15006]
b39949d2
CD
12850 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12851 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12852
b2c9eff4
JM
128532013-02-08 Joseph Myers <joseph@codesourcery.com>
12854
f3aae3f3
JM
12855 [BZ #13550]
12856 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12857 (CHECK_1_NULL_OK): Likewise.
12858 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12859 (__fxstat): Do not use CHECK_1.
12860 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12861 <bp-checks.h>.
12862 (___fxstat64): Do not use CHECK_1.
12863 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12864 <bp-checks.h>.
12865 (__fxstatat): Do not use CHECK_1.
12866 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12867 <bp-checks.h>.
12868 (__fxstatat64): Do not use CHECK_1.
12869 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12870 <bp-checks.h>.
12871 (__fxstat): Do not use CHECK_1.
12872 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12873 <bp-checks.h>.
12874 (__fxstatat): Do not use CHECK_1.
12875 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12876 <bp-checks.h>.
12877 (__getresgid): Do not use CHECK_1.
12878 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12879 <bp-checks.h>.
12880 (__getresuid): Do not use CHECK_1.
12881 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12882 <bp-checks.h>.
12883 (__lxstat): Do not use CHECK_1.
12884 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12885 <bp-checks.h>.
12886 (__old_msgctl): Do not use CHECK_1.
12887 (__new_msgctl): Likewise.
12888 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12889 <bp-checks.h>.
12890 (__new_setrlimit): Do not use CHECK_1.
12891 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12892 <bp-checks.h>.
12893 (__old_shmctl): Do not use CHECK_1.
12894 (__new_shmctl): Likewise.
12895 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12896 <bp-checks.h>.
12897 (__xstat): Do not use CHECK_1.
12898 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12899 (__lxstat): Do not use CHECK_1.
12900 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12901 <bp-checks.h>.
12902 (___lxstat64): Do not use CHECK_1.
12903 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12904 (__old_msgctl): Do not use CHECK_1.
12905 (__new_msgctl): Likewise.
12906 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12907 <bp-checks.h>.
12908 (__gettimeofday): Do not use CHECK_1.
12909 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12910 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12911 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12912 <bp-checks.h>.
12913 (__gettimeofday): Do not use CHECK_1.
12914 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12915 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12916 (__new_shmctl): Do not use CHECK_1.
12917 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12918 <bp-checks.h>.
12919 (do_sigtimedwait): Do not use CHECK_1.
12920 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12921 <bp-checks.h>.
12922 (do_sigwaitinfo): Do not use CHECK_1.
12923 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12924 <bp-checks.h>.
12925 (msgctl): Do not use CHECK_1.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12927 <bp-checks.h>.
12928 (shmctl): Do not use CHECK_1.
12929 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12930 (ustat): Do not use CHECK_1.
12931 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12932 <bp-checks.h>.
12933 (__fxstat): Do not use CHECK_1.
12934 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12935 <bp-checks.h>.
12936 (__fxstatat): Do not use CHECK_1.
12937 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12938 <bp-checks.h>.
12939 (__lxstat): Do not use CHECK_1.
12940 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12941 <bp-checks.h>.
12942 (__xstat): Do not use CHECK_1.
12943 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12944 (__xstat): Do not use CHECK_1.
12945 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12946 (___xstat64): Do not use CHECK_1.
12947
b2c9eff4
JM
12948 [BZ #13550]
12949 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12950 definitions.
12951 (CHECK_BOUNDS_HIGH): Likewise.
12952 * string/strcpy.c: Do not include <bp-checks.h>.
12953 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12954
f1d70dad
RM
129552013-02-07 Roland McGrath <roland@hack.frob.com>
12956
12957 * nscd/nscd-client.h (__nscd_drop_map_ref):
12958 Add __attribute__ ((unused)).
12959 * nis/nss-nisplus.h (niserr2nss): Likewise.
12960
12961 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12962 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12963
12964 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12965 Remove inline keyword.
12966 * include/rounding-mode.h (round_away): Likewise.
12967 * libio/wfileops.c (adjust_wide_data): Likewise.
12968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12969 (__m128i_strloadu_tolower): Likewise.
12970 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12971 (__m128i_strloadu_tolower): Likewise.
12972 * time/mktime.c (ydhms_diff): Likewise.
12973 * locale/elem-hash.h (elem_hash): Likewise.
12974 * locale/setlocale.c (setdata): Likewise.
12975 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12976 (re_string_wchar_at): Likewise.
12977 (bitset_not, bitset_merge, bitset_mask): Likewise.
12978 [!(__GNUC__ > 3)] (inline): Remove macro.
12979 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12980 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12981 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12982 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12983 * string/memcmp.c (memcmp_bytes): Likewise.
12984 * locale/programs/locarchive.c (compute_hashval): Likewise.
12985 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12986 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12987 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12988 * nss/getent.c (print_rpc, print_protocols): Likewise.
12989 (print_passwd, print_group, print_aliases): Likewise.
12990 * nis/nss-nisplus.h (niserr2nss): Likewise.
12991 * nscd/connections.c (restart_p): Likewise.
12992 Change return type to bool.
12993
eab55bfb
RM
129942013-02-05 Roland McGrath <roland@hack.frob.com>
12995
7bd642f5
RM
12996 * Makeconfig (all-Depend-files): Add existing
12997 $(sorted-subdirs:=/Depend) files.
12998 (all-subdirs): Remove nss.
12999 * sysdeps/unix/inet/Subdirs: Add it here instead.
13000 * hesiod/Depend: New file.
13001
573c29b2
RM
13002 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13003 instead of calling alloca.
13004
b2e25af0
RM
13005 * io/lseek.c (__lseek): Rename to __libc_lseek.
13006 Define __lseek as an alias.
13007
eab55bfb
RM
13008 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13009
9a0d1941
CD
130102013-02-04 Carlos O'Donell <carlos@redhat.com>
13011
13012 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13013 else clause and remove check for non-standard endianness.
13014
b83bbec4
DM
130152013-02-04 David S. Miller <davem@davemloft.net>
13016
13017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13018
6277fdab
JM
130192013-02-04 Joseph Myers <joseph@codesourcery.com>
13020
13021 [BZ #13550]
13022 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13023 (__ubp_memchr): Remove prototype.
13024 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13025 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13026 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13027 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13028 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13029 Remove alias.
13030 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13031 (__ubp_memchr): Likewise.
13032 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13033 (__ubp_memchr): Likewise.
13034 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13035 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13036 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13037 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13038 CHECK_STRING.
13039 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13040 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13041 (__getcwd): Do not use CHECK_STRING.
13042 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13043 <bp-checks.h>.
13044 (__real_chown): Do not use CHECK_STRING.
13045 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13046 <bp-checks.h>.
13047 (fchownat): Do not use CHECK_STRING.
13048 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13049 CHECK_STRING.
13050 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13051 <bp-checks.h>.
13052 (__lchown): Do not use CHECK_STRING.
13053 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13054 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13055 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13056 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13058 include <bp-checks.h>.
13059 (truncate64): Do not use CHECK_STRING.
13060 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13061 <bp-checks.h>.
13062 (__real_chown): Do not use CHECK_STRING.
13063 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13064 <bp-checks.h>.
13065 (__lchown): Do not use CHECK_STRING.
13066 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13067 <bp-checks.h>.
13068 (__chown): Do not use CHECK_STRING.
13069 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13070 <bp-checks.h>.
13071 (truncate64): Do not use CHECK_STRING.
13072 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13073 Likewise.
13074 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13075 (__xmknod): Do not use CHECK_STRING.
13076 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13077 <bp-checks.h>.
13078 (__xmknodat): Do not use CHECK_STRING.
13079 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13080 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13081
903ae060
AS
130822013-02-04 Andreas Schwab <schwab@suse.de>
13083
13084 [BZ #14142]
13085 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13086 * include/netdb.h: Likewise for h_errno.
13087 * elf/tst-stackguard1.c: Include <tls.h>.
13088
542f9466
JK
130892013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13090
13091 * elf/link.h (struct link_map): Extend the l_addr comment.
13092 * include/link.h (struct link_map): Likewise.
13093
e782a927
JM
130942013-02-01 Joseph Myers <joseph@codesourcery.com>
13095
13096 [BZ #13550]
13097 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13098 (BOUNDED_1): Remove macro.
13099 * debug/backtrace.c: Don't include <bp-checks.h>.
13100 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13101 (__backtrace): Likewise.
13102 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13103 <bp-checks.h>.
13104 (__backtrace): Don't use BOUNDED_1.
13105 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13106 <bp-checks.h>.
13107 (__backtrace): Don't use BOUNDED_1.
13108 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13109 (__backtrace): Don't use BOUNDED_1.
13110 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13111 (shmat): Don't use BOUNDED_N.
13112
8cf28c5e
JM
131132013-01-31 Joseph Myers <joseph@codesourcery.com>
13114
3a7ac8a0
JM
13115 [BZ #13550]
13116 * sysdeps/generic/bp-start.h: Remove file.
13117 * csu/libc-start.c: Don't include <bp-start.h>.
13118 (LIBC_START_MAIN): Set up __environ directly instead of using
13119 INIT_ARGV_and_ENVIRON.
13120 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13121 <bp-start.h>.
13122
f3499f95
JM
13123 [BZ #13550]
13124 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13125 definitions.
13126 (CHECK_FCNTL): Likewise.
13127 (CHECK_N_PAGES): Likewise.
13128
32a45bea
JM
13129 [BZ #13550]
13130 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13131 definitions.
13132 (CHECK_SIGSET_NULL_OK): Likewise.
13133 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13134 <bp-checks.h>.
13135 (sigpending): Don't use CHECK_SIGSET.
13136 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13137 <bp-checks.h>.
13138 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13139 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13140 <bp-checks.h>.
13141 (do_sigsuspend): Don't use CHECK_SIGSET.
13142 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13143 use CHECK_SIGSET.
13144 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13145 (do_sigwait): Don't use CHECK_SIGSET.
13146 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13147 use CHECK_SIGSET.
13148 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13149 include <bp-checks.h>.
13150 (sigpending): Don't use CHECK_SIGSET.
13151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13152 include <bp-checks.h>.
13153 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13154 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13155 <bp-checks.h>.
13156 (sigpending): Don't use CHECK_SIGSET.
13157 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13158 <bp-checks.h>.
13159 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13160
2e8a5c8c
JM
13161 [BZ #13550]
13162 * sysdeps/generic/bp-semctl.h: Remove file.
13163 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13164 <bp-checks.h> and <bp-semctl.h>.
13165 (__old_semctl): Don't use CHECK_SEMCTL.
13166 (__new_semctl): Likewise.
13167 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13168 and <bp-semctl.h>.
13169 (__old_semctl): Don't use CHECK_SEMCTL.
13170 (__new_semctl): Likewise.
13171 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13172 <bp-checks.h> and <bp-semctl.h>.
13173 (__old_semctl): Don't use CHECK_SEMCTL.
13174 (__new_semctl): Likewise.
13175 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13176 <bp-checks.h> and <bp-semctl.h>.
13177 (semctl): Don't use CHECK_SEMCTL.
13178
c2d54929
JM
13179 [BZ #13550]
13180 * Makerules (elide-bp-thunks): Remove variable.
13181 (elide-routines.oS): Don't use $(elide-bp-thunks).
13182 (elide-routines.os): Likewise.
13183 (elide-routines.o): Likewise.
13184 (elide-routines.op): Likewise.
13185 (elide-routines.og): Likewise.
13186 (objects): Don't use $(bp-thunks).
13187 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13188 include.
13189 (common-generated): Do not add s-proto-bp.d.
13190 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13191 (int): Likewise.
13192 (typ): Likewise.
13193 Do not generate makefile rules for bounded-pointer thunks.
13194 * sysdeps/generic/bp-thunks.h: Remove file.
13195 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13196 * sysdeps/unix/s-proto-bp.S: Likewise.
13197
8cf28c5e
JM
13198 [BZ #15062]
13199 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13200 parts of result separately when argument is not close to line from
13201 -i to i and one part of argument is small.
13202 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13203 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13204 * math/libm-test.inc (cacos_test): Add more tests.
13205 (casin_test): Likewise.
13206 (casinh_test): Likewise.
13207 * sysdeps/i386/fpu/libm-test-ulps: Update.
13208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13209
c4e33b8d
DM
132102013-01-31 David S. Miller <davem@davemloft.net>
13211
13212 * po/de.po: Update from translation team.
13213
3b60b421
MK
132142013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13215
13216 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13217
bb931195
TS
132182013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13219
b5a5da23
TS
13220 * configure.in (_AC_PROG_CC_C89): New definition.
13221 * configure: Regenerate.
13222
bb931195
TS
13223 * configure.in (AC_PROG_CPP): New definition.
13224 * configure: Regenerate.
13225
8c53a12c
JM
132262013-01-23 Joseph Myers <joseph@codesourcery.com>
13227
13228 * debug/tst-backtrace.h: New file.
13229 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13230 (ret): Remove variable.
13231 (x): Likewise.
13232 (FAIL): Remove macro.
13233 (NO_INLINE): Likewise.
13234 (fn1): Use match function instead of strstr.
13235 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13236 (ret): Remove variable.
13237 (x): Likewise.
13238 (FAIL): Remove macro.
13239 (NO_INLINE): Likewise.
13240 (fn): Use match function instead of strstr.
13241 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13242 (ret): Remove variable.
13243 (x): Likewise.
13244 (FAIL): Remove macro.
13245 (NO_INLINE): Likewise.
13246 (handle_signal): Use match function instead of strstr.
13247 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13248 (ret): Remove variable.
13249 (x): Likewise.
13250 (FAIL): Remove macro.
13251 (NO_INLINE): Likewise.
13252 (handle_signal): Use match function instead of strstr.
13253
4858fa2a
RM
132542013-01-23 Roland McGrath <roland@hack.frob.com>
13255
13256 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13257
bae8e7f5
DM
132582013-01-23 David S. Miller <davem@davemloft.net>
13259
13260 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13261 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13262 argument of CAS if possible.
13263 * sysdeps/sparc/sparc64/bits/atomic.h
13264 (__arch_compare_and_exchange_val_32_acq): Likewise.
13265 (__arch_compare_and_exchange_val_64_acq): Likewise.
13266
9cbbc4ae
PT
132672013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13268
13269 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13270 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13271 Include <limits.h>.
67b3f58c 13272 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13273
5655a0b5
AC
132742013-01-23 Adam Conrad <adconrad@0c3.net>
13275
13276 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13277 (LDFLAGS-tst-array5): Likewise.
13278
052aff95
JM
132792013-01-23 Joseph Myers <joseph@codesourcery.com>
13280
13281 [BZ #15036]
13282 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13283 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13284 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13285 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13286
7c1e01aa
DM
132872013-01-21 David S. Miller <davem@davemloft.net>
13288
13289 * sysdeps/sparc/backtrace.c: New file.
13290 * sysdeps/sparc/sparc32/backtrace.h: New file.
13291 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13292 * sysdeps/sparc/sparc64/backtrace.h: New file.
13293 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13294 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13295 -funwind-tables.
13296
ab087e0a
AS
132972013-01-21 Andreas Schwab <schwab@suse.de>
13298
13299 [BZ #15020]
13300 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13301 closed its stdout.
13302
ed689c2f
AS
133032013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13304
13305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13306 "mpa2.h".
13307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13308
31d470ac
JM
133092013-01-18 Joseph Myers <joseph@codesourcery.com>
13310 Mark Mitchell <mark@codesourcery.com>
13311 Tom de Vries <tom@codesourcery.com>
13312 Paul Pluzhnikov <ppluzhnikov@google.com>
13313
13314 * debug/tst-backtrace2.c: New file.
13315 * debug/tst-backtrace3.c: Likewise.
13316 * debug/tst-backtrace4.c: Likewise.
13317 * debug/tst-backtrace5.c: Likewise.
13318 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13319 (CFLAGS-tst-backtrace3.c): Likewise.
13320 (CFLAGS-tst-backtrace4.c): Likewise.
13321 (CFLAGS-tst-backtrace5.c): Likewise.
13322 (LDFLAGS-tst-backtrace2): Likewise.
13323 (LDFLAGS-tst-backtrace3): Likewise.
13324 (LDFLAGS-tst-backtrace4): Likewise.
13325 (LDFLAGS-tst-backtrace5): Likewise.
13326 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13327 tst-backtrace4 and tst-backtrace5.
13328
90567f30 133292013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13330 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13331
13332 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13333 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13334 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13335 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13337 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13338 "+r" and remove output regs list as redundant. Add explicit inline
13339 asm to specify register of return val to work around compiler codegen
13340 bug. Remove (int) cast on return value. Add return type parameter to
13341 use in macro so that this macro does not truncate return value for
13342 64-bit values.
13343 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13344 pass to INTERNAL_VSYSCALL_NCS.
13345 (INLINE_VSYSCALL): Add 'long int' as return type to
13346 INTERNAL_VSYSCALL_NCS macro invocation.
13347 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13348 INTERNAL_VSYSCALL_NCS macro invocation.
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13350
d3b9ea61
SP
133512013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13352
0b57daeb
SP
13353 [BZ #14496]
13354 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13355 Fix application of SIMD FP exception mask.
13356
caa99d06
SP
13357 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13358 mp_no from a power of two.
13359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13360 __mpexp_twomm1. Use __pow_mp.
13361
d3b9ea61
SP
13362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13363 multiplication.
13364
1dbaee3c
DM
133652013-01-17 David S. Miller <davem@davemloft.net>
13366
13367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13368
728d7b43
JM
133692013-01-17 Joseph Myers <joseph@codesourcery.com>
13370
13371 [BZ #15023]
13372 * include/complex.h: Condition contents on [!_COMPLEX_H].
13373 (__kernel_casinhf): New prototype.
13374 (__kernel_casinh): Likewise.
13375 (__kernel_casinhl): Likewise.
13376 * math/Makefile (libm_calls): Add k_casinh.
13377 * math/k_casinh.c: New file.
13378 * math/k_casinhf.c: Likewise.
13379 * math/k_casinhl.c: Likewise.
13380 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13381 finite nonzero arguments.
13382 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13383 finite nonzero arguments.
13384 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13385 finite nonzero arguments.
13386 * math/s_casinh.c: Do not include <float.h>.
13387 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13388 * math/s_casinhf.c: Do not include <float.h>.
13389 (__casinhf): Move code for finite nonzero arguments to
13390 k_casinhf.c.
13391 * math/s_casinhl.c: Do not include <float.h>.
13392 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13393 redefine.
13394 (__casinhl): Move code for finite nonzero arguments to
13395 k_casinhl.c.
13396 * math/libm-test.inc (cacos_test): Add more tests.
13397 * sysdeps/i386/fpu/libm-test-ulps: Update.
13398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13399
2a26ef3a
PT
134002013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13401
13402 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13403 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13404 [!HAVE_MREMAP]: Remove [defined linux] case.
13405 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13406
a897655d
SP
134072013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13408
13409 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13410
881ebe89 134112013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13412
13413 * elf/elf.h (R_386_SIZE32): New relocation.
13414 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13415 R_386_SIZE32.
13416 (elf_machine_rela): Likewise.
13417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13418 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13419
59981e9b
JM
134202013-01-17 Joseph Myers <joseph@codesourcery.com>
13421
13422 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13423 (FP_FAST_FMA): Do not define.
13424 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13425 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13426 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13427 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13428 !_SOFT_FLOAT]: Likewise.
13429 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13430 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13431 value.
13432 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13433 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13434 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13435 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13436 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13437 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13438 file.
13439
cfa8054f
AS
134402013-01-16 Andreas Schwab <schwab@suse.de>
13441
13442 [BZ #14327]
13443 * include/stdlib.h (__mktemp): Add declaration.
13444 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13445 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13446
dd930cc5
SP
134472013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13448
881ebe89
SP
13449 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13450 definitions.
13451 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13452 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13453 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13454 definitions here.
13455 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13456 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13457 definitions.
13458 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13459 and ONE.
13460 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13461 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13462 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13463 definitions.
13464 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13465 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13466 definitions.
13467 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13468
dd930cc5
SP
13469 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13470
c19a9f89
DM
134712013-01-15 David S. Miller <davem@davemloft.net>
13472
1aa61767
DM
13473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13474 trunc{,f} to libm-sysdep_routes.
13475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13477 file.
13478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13480 file.
13481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13482 file.
13483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13485 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13486 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13487 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13488 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13489 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13490 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13491
c42d5e98
DM
13492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13493 nearbyint{,f} to libm-sysdep_routes.
13494 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13496 New file.
13497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13498 file.
13499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13500 New file.
13501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13502 file.
13503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13505 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13506 file.
13507 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13509 file.
13510 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13511 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13512 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13513
c19a9f89
DM
13514 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13515 libc_feholdexcept and libc_fesetenv.
13516
357679d2
MF
135172013-01-15 Mike Frysinger <vapier@gentoo.org>
13518
13519 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13520
65a82e3d
DM
135212013-01-14 David S. Miller <davem@davemloft.net>
13522
8b954ab9
DM
13523 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13524 (SPARC_ASM_VIS2_IFUNC): Likewise.
13525 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13527 use of 'siam' instruction.
13528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13529 Likewise.
13530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13531 Likewise.
13532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13533 Likewise.
13534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13539 file.
13540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13541 file.
13542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13543 file.
13544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13545 file.
13546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13551 new VIS2 routines.
13552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13555 Likewise.
13556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13561 routines to libm-sysdep_routines.
13562 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13563
65a82e3d
DM
13564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13565 fdim/fdimf to libm-sysdep_routines.
13566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13567 file.
13568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13570 file.
13571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13574 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13575 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13576 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13577 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13578
e34ab705
SP
135792013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13580
2a91b573
SP
13581 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13582 to optimize copies.
13583
1066a534
SP
13584 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13587
e34ab705
SP
13588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13589 local variable MPTWO.
13590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13591 Likewise.
13592
aba5e596
MF
135932013-01-13 Mike Frysinger <vapier@gentoo.org>
13594
13595 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13596 GLOB_NOESCAPE.
13597
e557e9e5
MF
135982013-01-13 Mike Frysinger <vapier@gentoo.org>
13599
13600 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13601
0428cec9
MF
136022013-01-13 Mike Frysinger <vapier@gentoo.org>
13603
13604 * manual/pattern.texi (glob_t): Document gl_flags.
13605 (glob64_t): Likewise.
13606
8794a964
DM
136072013-01-11 David S. Miller <davem@davemloft.net>
13608
66438c3f
RM
13609 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13610 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13611 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13612 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13613 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13614 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13615 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13616 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13617 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13618 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13619 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13620 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13621 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13622
4ae4244d
DM
13623 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13624 sparc V9 rather than using V8 code.
13625 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13626 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13627
8794a964
DM
13628 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13629 Move to...
13630 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13631 Here.
13632
6270516e
RM
136332013-01-11 Roland McGrath <roland@hack.frob.com>
13634
13635 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13636 not in the main loop.
13637 * configure: Regenerated.
13638
6a57d931
JM
136392013-01-11 Joseph Myers <joseph@codesourcery.com>
13640
13641 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13642 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13643 to just #else.
13644 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13645 [!__GLIBC_HAVE_LONG_LONG] case.
13646 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13647 condition to just #else.
13648 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13649 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13650 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13651 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13652 unconditional.
13653 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13654 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13655 #elif condition to just #else.
13656 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13657 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13658 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13659 #elif condition to just #else.
13660
0e8529e9
SE
136612013-01-11 Steve Ellcey <sellcey@mips.com>
13662
13663 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13664 (EF_MIPS_ARCH_64): Fix value.
13665 (EF_MIPS_ARCH_32R2): New.
13666 (EF_MIPS_ARCH_64R2): New.
13667
740b3dbe
L
136682013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13669
13670 * Makeconfig (+link-pie-before-libc): New.
13671 (+link-pie-after-libc): Likewise.
13672 (+link-pie-tests): Likewise.
13673 (+link-pie): Rewritten.
13674 (link-before-libc): Remove $(config-LDFLAGS).
13675 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13676 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13677 (config-LDFLAGS): Renamed to ...
13678 (rtld-LDFLAGS): This.
13679 (rtld-tests-LDFLAGS): New macro.
13680 (link-libc-rpath-link): Likewise.
13681 (link-libc-tests-rpath-link): Likewise.
13682 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13683 (link-libc): Prepand $(link-libc-rpath-link).
13684 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13685 (test-program-prefix): New macro.
13686 (test-via-rtld-prefix): Likewise.
13687 (test-program-cmd): Likewise.
13688 (host-test-program-cmd): Likewise.
13689 * Makefile ($(common-objpfx)testrun.sh): Replace
13690 $(run-program-prefix) with $(test-program-prefix).
13691 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13692 $(rtld-LDFLAGS).
13693 ($(common-objpfx)shlib.lds): Likewise.
13694 (build-module-helper): Likewise.
13695 ($(common-objpfx)format.lds): Likewise.
13696 * Rules (binaries-pie-tests): New.
13697 (binaries-pie-notests): Likewise.
13698 (binaries-pie): Rewritten.
13699 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13700 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13701 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13702 (make-test-out): Replace $(host-built-program-cmd) with
13703 $(host-test-program-cmd).
13704 * config.make.in (build-hardcoded-path-in-tests): New variable.
13705 * configure.in (--enable-hardcoded-path-in-tests): New configure
13706 option.
13707 (hardcoded_path_in_tests): New AC_SUBST.
13708 * configure: Regenerated.
13709 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13710 $(built-program-cmd) with $(test-program-cmd).
13711 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13712 (test_program_cmd): This.
13713 * elf/Makefile ($(objpfx)order.out): Run test with
13714 $(test-program-prefix).
13715 ($(objpfx)order2.out): Likewise.
13716 ($(objpfx)tst-initorder.out): Likewise.
13717 ($(objpfx)tst-initorder2.out): Likewise.
13718 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13719 $(test-program-cmd).
13720 ($(objpfx)tst-array1-static.out): Likewise.
13721 ($(objpfx)tst-array2.out): Likewise.
13722 ($(objpfx)tst-array3.out): Likewise.
13723 ($(objpfx)tst-array4.out): Likewise.
13724 ($(objpfx)tst-array5.out): Likewise.
13725 ($(objpfx)tst-array5-static.out): Likewise.
13726 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13727 $(test-program-cmd).
13728 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13729 $(run-program-prefix) with $(test-program-prefix).
13730 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13731 (test_program_prefix): This.
13732 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13733 $(run-program-prefix) with $(test-program-prefix).
13734 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13735 (test_program_prefix): This.
13736 * iconvdata/tst-tables.sh: Likewise.
13737 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13738 $(run-program-prefix) with $(test-program-prefix).
13739 ($(objpfx)tst-translit.out): Likewise.
13740 ($(objpfx)tst-gettext2.out): Likewise.
13741 ($(objpfx)tst-gettext4.out): Likewise.
13742 ($(objpfx)tst-gettext6.out): Likewise.
13743 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13744 (test_program_prefix): This.
13745 * intl/tst-gettext2.sh: Likewise.
13746 * intl/tst-gettext4.sh Likewise.
13747 * intl/tst-gettext6.sh: Likewise.
13748 * intl/tst-translit.sh: Likewise.
13749 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13750 with $(test-program-cmd).
13751 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13752 $(run-program-prefix) with $(test-program-prefix).
13753 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13754 (test_program_prefix): This.
13755 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13756 $(run-program-prefix) with $(test-program-prefix).
13757 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13758 (test_program_prefix): This.
13759 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13760 * posix/Makefile ($(objpfx)globtest.out): Replace
13761 $(run-via-rtld-prefix) and $(test-wrapper) with
13762 $(test-program-prefix) and $(test-via-rtld-prefix).
13763 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13764 $(test-program-prefix).
13765 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13766 $(host-test-program-cmd).
13767 (tst-spawn-ARGS): Likewise.
13768 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13769 $(test-program-prefix).
13770 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13771 (test_via_rtld_prefix): This.
13772 (test_wrapper): Renamed to ...
13773 (test_program_prefix): This.
13774 (run_program_prefix): Replaced by test_program_prefix.
13775 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13776 (test_program_prefix): This.
13777 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13778 with $(host-test-program-cmd).
13779 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13780 $(run-program-prefix) with $(test-program-prefix).
13781 ($(objpfx)tst-printf.out): Likewise.
13782 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13783 $(test-program-cmd).
13784 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13785 (test_program_prefix): This.
13786 * stdio-common/tst-unbputc.sh: Likewise.
13787 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13788 $(run-program-prefix) with $(test-program-prefix).
13789 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13790 (test_program_prefix): This.
13791 * string/Makefile ($(objpfx)tst-svc.out): Replace
13792 $(built-program-cmd) with $(test-program-cmd).
13793
c6fe55cf
AJ
137942013-01-11 Andreas Jaeger <aj@suse.de>
13795
13796 [BZ #15003]
13797 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13798 value. Sync with Linux 3.7.
13799
9e6919c8
DM
138002013-01-10 David S. Miller <davem@davemloft.net>
13801
13802 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13803 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13804 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13805
1c9f1a02
RM
138062013-01-10 Roland McGrath <roland@hack.frob.com>
13807
13808 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13809 never set.
13810 * configure: Regenerated.
13811
b9de2dde
DM
138122013-01-10 David S. Miller <davem@davemloft.net>
13813
13814 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13815 sparc V9 rather than using V8 code.
13816 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13817 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13818
e7f68ef4
RM
138192013-01-10 Roland McGrath <roland@hack.frob.com>
13820
13821 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13822 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13823 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13824 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13825 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13826 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13827 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13828 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13829 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13830 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13831 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13832 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13833 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13834 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13835 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13836 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13837 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13838 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13839 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13840 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13841 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13842 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13843 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13844 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13845 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13846 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13847 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13848
5a47cc9c
DM
138492013-01-10 David S. Miller <davem@davemloft.net>
13850
13851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13852
4cf8f209
L
138532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13854
13855 * posix/Makefile (tests-static): New variable.
13856 (tests): Add $(tests-static).
13857 (tst-exec-static-ARGS): New variable.
13858 (tst-spawn-static-ARGS): Likewise.
13859 * posix/tst-exec-static.c: New file.
13860 * posix/tst-spawn-static.c: Likewise.
13861 * posix/tst-exec.c: Support run directly.
13862 * posix/tst-spawn.c: Likewise.
13863
fed0faa1
JM
138642013-01-10 Joseph Myers <joseph@codesourcery.com>
13865
828beb13
JM
13866 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13867 long.
13868 * math/bits/mathcalls.h (llrint): Likewise.
13869 (llround): Likewise.
13870 * stdlib/stdlib.h (struct drand48_data): Likewise.
13871 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13872 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13873 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13874 Likewise.
13875 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13876 Likewise.
13877 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13878 (elf_greg_t): Likewise.
13879 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13880 (__jmp_buf): Likewise.
13881 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13882 definitions.
13883 (llrint): Likewise, for all definitions.
13884 (llrintl): Likewise.
13885
fed0faa1
JM
13886 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13887 Remove [__GNUC__] condition.
13888 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13889 condition to just [__USE_ISOC99].
13890 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13891
1a20cb20
L
138922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13893
13894 [BZ #14200]
13895 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13896 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13897 defined.
13898 (_POSIX_V6_ILP32_OFF32): Likewise.
13899 (_XBS5_ILP32_OFF32): Likewise.
13900 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13901 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13902
751b85f7
SP
139032013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13904
7490eb81
SP
13905 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13906
751b85f7
SP
13907 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13908 doubles __mpexp_twomm1. Adjust usage.
13909 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13910 Remove.
13911
988197f0
AS
139122013-01-10 Andreas Schwab <schwab@suse.de>
13913
13914 [BZ #14964]
13915 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13916 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13917
e83d7298
DM
139182013-01-09 David S. Miller <davem@davemloft.net>
13919
034ed64b 13920 [BZ #15003]
e83d7298
DM
13921 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13922 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13923 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13924 TCP_FASTOPEN): Define.
13925 (tcp_repair_opt): New structure.
13926 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13927 enum values.
13928 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13929 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13930 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13931 (tcp_cookie_transactions): New structure.
13932
d5e0b9bd
AB
139332013-01-09 Anton Blanchard <anton@samba.org>
13934
13935 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13936 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13937 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13938 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13939
0c07e3ea
JM
139402013-01-09 Joseph Myers <joseph@codesourcery.com>
13941
13942 * include/features.h (__USE_ANSI): Remove.
13943
232f7002
RM
139442013-01-09 Roland McGrath <roland@hack.frob.com>
13945
ad98e30c
RM
13946 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13947
232f7002
RM
13948 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13949
950c99ca
SP
139502013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13951
b5792741
SP
13952 * sysdeps/s390/fpu/libm-test-ulps: Update.
13953
47cf2278
SP
13954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13955
950c99ca
SP
13956 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13957 (__acr): Likewise.
13958 (__cpy): Likewise.
13959 (norm): Likewise.
13960 (denorm): Likewise.
13961 (__mp_dbl): Likewise.
13962 (__dbl_mp): Likewise.
13963 (add_magnitudes): Likewise.
13964 (sub_magnitudes): Likewise.
13965 (__add): Likewise.
13966 (__sub): Likewise.
13967 (__mul): Likewise.
13968 (__inv): Likewise.
13969 (__dvd): Likewise.
13970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13971 (__acr): Likewise.
13972 (__cpy): Likewise.
13973 (norm): Likewise.
13974 (denorm): Likewise.
13975 (__mp_dbl): Likewise.
13976 (__dbl_mp): Likewise.
13977 (add_magnitudes): Likewise.
13978 (sub_magnitudes): Likewise.
13979 (__add): Likewise.
13980 (__sub): Likewise.
13981 (__mul): Likewise.
13982 (__inv): Likewise.
13983 (__dvd): Likewise.
13984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13985 (__acr): Likewise.
13986 (__cpy): Likewise.
13987 (norm): Likewise.
13988 (denorm): Likewise.
13989 (__mp_dbl): Likewise.
13990 (__dbl_mp): Likewise.
13991 (add_magnitudes): Likewise.
13992 (sub_magnitudes): Likewise.
13993 (__add): Likewise.
13994 (__sub): Likewise.
13995 (__mul): Likewise.
13996 (__inv): Likewise.
13997 (__dvd): Likewise.
13998
eede9df9
JM
139992013-01-08 Joseph Myers <joseph@codesourcery.com>
14000
14001 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14002 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14003 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14004 2 && __USE_EXTERN_INLINES]: Likewise.
14005
c40ea3d9
AJ
140062013-01-08 Andreas Jaeger <aj@suse.de>
14007
14008 [BZ# 14985]
14009 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14010 Remove.
14011 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14012 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14013
2ccdea26
AB
140142013-01-07 Anton Blanchard <anton@samba.org>
14015
14016 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14017 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14018 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14019 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14020 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14021 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14022 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14023 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14025 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14026 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14028 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14029 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14030 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14031 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14032 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14033 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14034 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14035 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14036 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14037 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14038 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14039 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14040 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14041 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14042 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14043 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14045 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14046 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14048 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14049 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14050 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14051 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14052 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14054 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14055 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14056 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14057 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14058 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14059
a9708fed
JM
140602013-01-07 Joseph Myers <joseph@codesourcery.com>
14061
375607b9
JM
14062 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14063 (__MALLOC_PMT): Likewise.
14064 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14065 [__GNUC__], only on [_LIBC].
14066 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14067 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14068 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14069 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14070 forward declaration.
14071 (realloc_hook_ini): Likewise.
14072 (memalign_hook_ini): Likewise.
14073 (__libc_memalign): Do not use __MALLOC_PMT in variable
14074 declaration.
14075 (__libc_valloc): Likewise.
14076 (__libc_pvalloc): Likewise.
14077 (__libc_calloc): Likewise.
14078 (__posix_memalign): Likewise.
14079
a9708fed
JM
14080 [BZ #14996]
14081 * math/s_casinh.c: Include <float.h>.
14082 (__casinh): Do not do computation with squaring and square root
14083 for large arguments.
14084 * math/s_casinhf.c: Include <float.h>.
14085 (__casinhf): Do not do computation with squaring and square root
14086 for large arguments.
14087 * math/s_casinhl.c: Include <float.h>.
14088 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14089 (__casinhl): Do not do computation with squaring and square root
14090 for large arguments.
14091 * math/libm-test.inc (casin_test): Add more tests.
14092 (casinh_test): Likewise.
14093 * sysdeps/i386/fpu/libm-test-ulps: Update.
14094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14095
afec409a
L
140962013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14097
14098 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14099 (__x86_64_raw_data_cache_size): Likewise.
14100 (__x86_64_data_cache_size_half): Likewise.
14101 (__x86_64_raw_data_cache_size_half): Likewise.
14102 (__x86_64_shared_cache_size): Likewise.
14103 (__x86_64_raw_shared_cache_size): Likewise.
14104 (__x86_64_shared_cache_size_half): Likewise.
14105 (__x86_64_raw_shared_cache_size_half): Likewise.
14106 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14107 to ...
14108 (__x86_data_cache_size): This.
14109 (__x86_64_raw_data_cache_size): Renamed to ...
14110 (__x86_raw_data_cache_size): This.
14111 (__x86_64_data_cache_size_half): Renamed to ...
14112 (__x86_data_cache_size_half): This.
14113 (__x86_64_raw_data_cache_size_half): Renamed to ...
14114 (__x86_raw_data_cache_size_half): This.
14115 (__x86_64_shared_cache_size): Renamed to ...
14116 (__x86_shared_cache_size): This.
14117 (__x86_64_raw_shared_cache_size): Renamed to ...
14118 (__x86_raw_shared_cache_size): This.
14119 (__x86_64_shared_cache_size_half): Renamed to ...
14120 (__x86_shared_cache_size_half): This.
14121 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14122 (__x86_raw_shared_cache_size_half): This.
14123 * sysdeps/x86_64/memcpy.S: Updated.
14124 * sysdeps/x86_64/memset.S: Likewise.
14125 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14128
0b3986d0
DM
141292013-01-04 David S. Miller <davem@davemloft.net>
14130
14131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14132
e47686e9
AS
141332013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14134
d643bac1
AS
14135 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14136 1 to avoid redefinition warning.
14137 (__USE_GNU): Don't define.
14138 (init_signaling_nan): Protoize.
14139
e47686e9
AS
14140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14141
b18decba
SP
141422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14143
fffb407f
SP
14144 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14146 (__cpymn): Likewise.
14147 (norm): Remove commented code.
14148 (denorm): Likewise.
14149 (__mp_dbl): Likewise.
14150 (__inv): Likewise.
14151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14152 (__cpymn): Likewise.
14153 (norm): Remove commented code.
14154 (denorm): Likewise.
14155 (__mp_dbl): Likewise.
14156 (__inv): Likewise.
14157
b18decba
SP
14158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14159 mp_no value for 1.0 and 2.0.
14160 (norm): Use RADIXI instead of radixi.d.
14161 (denorm): Likewise.
14162 (__mul): Use 0.0 instead of zero.d.
14163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14164 mp_no value for 1.0 and 2.0.
14165 (norm): Use RADIXI instead of radixi.d.
14166 (denorm): Likewise.
14167 (__mul): Use 0.0 instead of zero.d.
14168
cdc1c96f
JM
141692013-01-04 Joseph Myers <joseph@codesourcery.com>
14170
14171 [BZ #14994]
14172 * math/s_casinh.c (__casinh): Reduce finite argument to first
14173 quadrant then set signs of results at the end.
14174 * math/s_casinhf.c (__casinhf): Likewise.
14175 * math/s_casinhl.c (__casinhl): Likewise.
14176 * math/libm-test.inc (casin_test): Add more tests.
14177 (casinh_test): Likewise.
14178 * sysdeps/i386/fpu/libm-test-ulps: Update.
14179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14180
302913e1
SP
141812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14182
6420d207
SP
14183 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14184
a9e48ab4
SP
14185 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14186
b7837264
SP
14187 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14188 declarations.
14189 (denorm): Likewise.
14190 (__mp_dbl): Likewise.
14191 (__inv): Likewise.
14192
f8af25d2
SP
14193 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14194 and adjust the header comment.
14195
302913e1
SP
14196 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14197 variable name from declaration.
14198
5d7dd1ca
L
141992013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14200
14201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14202 Initialize COMMON_CPUID_INDEX_7 element.
14203 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14204 (CPUID_RTM): Likewise.
14205 (HAS_RTM): Likewise.
14206 (COMMON_CPUID_INDEX_7): New enum.
14207
2f5f40f4
AS
142082013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14209
14210 [BZ #14981]
14211 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14212 size is zero, record memory as freed.
14213
4056f4a0
AJ
142142013-01-03 Andreas Jaeger <aj@suse.de>
14215
14216 * po/ia.po: Add new Interlingua translation.
14217
ab15736f 142182012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14219
14220 * locale/programs/localedef.c: Fix description of '--posix' flag.
14221
568035b7
JM
142222013-01-02 Joseph Myers <joseph@codesourcery.com>
14223
e6898b8d
JM
14224 * NEWS: Update dates in second copyright notice.
14225 * README: Update copyright dates in example.
14226 * manual/libc.texinfo: Update copyright dates.
14227 * scripts/test-installation.pl: Update copyright date in --version
14228 output.
14229
0e2f9562
JM
14230 * hurd/ctty-input.c: Fix copyright notice formatting.
14231 * hurd/ctty-output.c: Likewise.
14232 * hurd/dtable.c: Likewise.
14233 * hurd/hurd-raise.c: Likewise.
14234 * hurd/hurdprio.c: Likewise.
14235 * hurd/msgportdemux.c: Likewise.
14236 * misc/sys/file.h: Likewise.
14237 * misc/sys/ioctl.h: Likewise.
14238 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14239 * sysdeps/mach/hurd/chdir.c: Likewise.
14240 * sysdeps/mach/hurd/fchdir.c: Likewise.
14241 * sysdeps/mach/hurd/rename.c: Likewise.
14242 * sysdeps/mach/hurd/rmdir.c: Likewise.
14243 * sysdeps/mach/hurd/seekdir.c: Likewise.
14244 * sysdeps/mach/hurd/setsid.c: Likewise.
14245 * sysdeps/posix/wait3.c: Likewise.
14246
568035b7
JM
14247 * All files with FSF copyright notices: Update copyright dates
14248 using scripts/update-copyrights.
14249 * intl/plural.c: Regenerated.
14250 * locale/programs/charmap-kw.h: Likewise.
14251 * locale/programs/locfile-kw.h: Likewise.
14252
da08f647
SP
142532013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14254
0f5477af
SP
14255 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14256 four values.
14257
44e0d4c2
SP
14258 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14259 calculation loop and add branch prediction.
14260
4d55b4e5
SP
14261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14262 check access beyond bounds of m1np.
14263
da08f647
SP
14264 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14265 MPTWO.
14266 (__inv): Remove local variable MPTWO to use the global
14267 constant.
14268 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14269 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14270 variable MPTWO.
14271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14272 MP3HALFS static const.
14273
8e051029
DM
142742013-01-01 David S. Miller <davem@davemloft.net>
14275
14276 * po/ca.po: Update from translation team.
14277
f4cf5f2d
JM
142782013-01-01 Joseph Myers <joseph@codesourcery.com>
14279
14280 * scripts/update-copyrights: New file.
14281 * Makeconfig: Reformat copyright notice.
14282 * ctype/ctype.h: Likewise.
14283 * debug/swprintf_chk.c: Likewise.
14284 * elf/dl-cache.c: Likewise.
14285 * elf/dl-debug.c: Likewise.
14286 * elf/dl-object.c: Likewise.
14287 * grp/initgroups.c: Likewise.
14288 * hurd/Makefile: Likewise.
14289 * hurd/hurd/signal.h: Likewise.
14290 * hurd/hurdfault.c: Likewise.
14291 * hurd/hurdioctl.c: Likewise.
14292 * hurd/hurdlookup.c: Likewise.
14293 * hurd/intr-msg.c: Likewise.
14294 * iconv/gconv_open.c: Likewise.
14295 * libio/swprintf.c: Likewise.
14296 * locale/lc-ctype.c: Likewise.
14297 * locale/nl_langinfo.c: Likewise.
14298 * mach/Machrules: Likewise.
14299 * mach/Makefile: Likewise.
14300 * malloc/obstack.h: Likewise.
14301 * manual/Makefile: Likewise.
14302 * manual/tsort.awk: Likewise.
14303 * misc/bits/stab.def: Likewise.
14304 * nis/nis_print_group_entry.c: Likewise.
14305 * nis/nis_table.c: Likewise.
14306 * nis/nss_compat/compat-pwd.c: Likewise.
14307 * nis/nss_compat/compat-spwd.c: Likewise.
14308 * po/Makefile: Likewise.
14309 * posix/fnmatch.c: Likewise.
14310 * posix/regex.h: Likewise.
14311 * resolv/Makefile: Likewise.
14312 * resolv/nss_dns/dns-network.c: Likewise.
14313 * resolv/res_hconf.c: Likewise.
14314 * scripts/gen-sorted.awk: Likewise.
14315 * soft-fp/soft-fp.h: Likewise.
14316 * stdio-common/printf.h: Likewise.
14317 * stdlib/monetary.h: Likewise.
14318 * stdlib/random.c: Likewise.
14319 * stdlib/random_r.c: Likewise.
14320 * sysdeps/generic/Makefile: Likewise.
14321 * sysdeps/gnu/Makefile: Likewise.
14322 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14338 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14343 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14350 * sysdeps/mach/hurd/errnos.awk: Likewise.
14351 * sysdeps/mach/hurd/fork.c: Likewise.
14352 * sysdeps/mach/hurd/getcwd.c: Likewise.
14353 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14354 * sysdeps/mach/hurd/mmap.c: Likewise.
14355 * sysdeps/mach/hurd/utimes.c: Likewise.
14356 * sysdeps/mach/hurd/xmknod.c: Likewise.
14357 * sysdeps/posix/profil.c: Likewise.
14358 * sysdeps/posix/readdir_r.c: Likewise.
14359 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14360 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14361 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14362 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14364 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14365 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14366 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14368 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14369 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14370 * sysdeps/pthread/lio_listio.c: Likewise.
14371 * sysdeps/sparc/dl-procinfo.h: Likewise.
14372 * sysdeps/unix/i386/sysdep.S: Likewise.
14373 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14374 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14375 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14376 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14378 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14379 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14380 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14381 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14382 * sysdeps/wordsize-32/divdi3.c: Likewise.
14383 * time/sys/time.h: Likewise.
14384 * wcsmbs/Makefile: Likewise.
14385
0549fbba
DM
143862013-01-01 David S. Miller <davem@davemloft.net>
14387
a141f1a7
DM
14388 * po/fr.po: Update from translation team.
14389
0549fbba
DM
14390 * catgets/gencat.c: Update copyright year.
14391 * csu/version.c: Likewise.
14392 * debug/catchsegv.sh: Likewise.
14393 * debug/pcprofiledump.c: Likewise.
14394 * debug/xtrace.sh: Likewise.
14395 * elf/ldconfig.c: Likewise.
14396 * elf/ldd.bash.in: Likewise.
14397 * elf/pldd.c: Likewise.
14398 * elf/sotruss.ksh: Likewise.
14399 * elf/sprof.c: Likewise.
14400 * iconv/iconv_prog.c: Likewise.
14401 * iconv/iconvconfig.c: Likewise.
14402 * locale/programs/locale.c: Likewise.
14403 * locale/programs/localedef.c: Likewise.
14404 * login/programs/pt_chown.c: Likewise.
14405 * malloc/memusage.sh: Likewise.
14406 * malloc/memusagestat.c: Likewise.
14407 * malloc/mtrace.pl: Likewise.
14408 * nscd/nscd.c: Likewise.
14409 * nss/getent.c: Likewise.
14410 * nss/makedb.c: Likewise.
14411 * posix/getconf.c: Likewise.
14412
18ea052c
SP
144132012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14414
14415 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14416 numbers.
14417
9c89fca6
MF
144182012-12-30 Mike Frysinger <vapier@gentoo.org>
14419
14420 * math/bits/mathcalls.h (modf): Use __nonnull.
14421
085ec079
SP
144222012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14423
14424 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14425 (split): Use macro CN instead of the bare value.
14426 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14427 could be used.
14428 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14429 instead of the bare value.
14430 (power1): Likewise.
14431
6d9f97e1
SP
144322012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14433
d63f73be
SP
14434 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14435 __ATAN_TWOM.
14436 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14437
6d9f97e1
SP
14438 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14439 their values.
14440 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14441 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14442 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14443 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14444
4c4febf5
AJ
144452012-12-28 Andreas Jaeger <aj@suse.de>
14446
af5843ef
AJ
14447 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14448 values are from Linux 3.7.
14449
4c4febf5
AJ
14450 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14451 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14452
99136f82
SP
144532012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14454
2f216c3c 14455 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14456 TRUE case.
14457
99136f82
SP
14458 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14459 (norm): Likewise.
14460 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14461 variables with preprocessor constants.
14462 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14463 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14464 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14465
7fffbdff
BH
144662012-12-27 Bruno Haible <bruno@clisp.org>
14467
14468 [BZ #14317]
14469 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14470 only if needed.
14471
b76eb5f0
SP
144722012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14473
31a7fe5c
SP
14474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14475 and use variable directly.
14476 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14477
b76eb5f0
SP
14478 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14479 MPONE.
14480 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14481 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14482 variable MPONE.
14483 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14485 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14486 include directive. Remove local variable MPONE.
14487 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14488 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14489 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14490
2c8bfe7d
DM
144912012-12-25 David S. Miller <davem@davemloft.net>
14492
14493 * version.h (RELEASE): Set to "development".
14494 (VERSION): Set to "2.17.90".
14495 * NEWS: Add 2.18 section.
14496
147d03b0
DM
144972012-12-21 David S. Miller <davem@davemloft.net>
14498
14499 * po/hr.po: Update from translation team.
14500
a8ebb2b9
AK
145012012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14502
14503 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14504
95b4f1b6
SE
145052012-12-19 Steve Ellcey <sellcey@mips.com>
14506
b2d94007 14507 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14508
cedb2a90
MS
145092012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14510
14511 * manual/contrib.texi (Contributors): Spelling correction.
14512
bbf527d6
DM
145132012-12-15 David S. Miller <davem@davemloft.net>
14514
14515 * po/ru.po: Update from translation team.
14516
bc38c906
DM
145172012-12-13 David S. Miller <davem@davemloft.net>
14518
85429b1a
DM
14519 * NEWS: Mention IFUNC testsuite enhancements.
14520
d283e353
DM
14521 * po/pl.po: Update from translation team.
14522 * po/bg.po: Likewise.
14523
bc38c906
DM
14524 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14525 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14526
a181b0d7
DM
145272012-12-11 David S. Miller <davem@davemloft.net>
14528
4641d57e
DM
14529 * po/sv.po: Update from translation team.
14530
f7bc6495
DM
14531 * po/vi.po: Update from translation team.
14532
6fc9048f
DM
14533 * po/cs.po: Update from translation team.
14534
a181b0d7
DM
14535 * po/de.po: Update from translation team.
14536 * po/eo.po: Likewise.
14537 * po/nl.po: Likewise.
14538
f70bfe80
SP
145392012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14540
3c8b4190
SP
14541 [BZ #14246]
14542 * manual/argp.texi (Argp Helper Functions): Move node to follow
14543 Argp Parsing State.
14544
f70bfe80
SP
14545 [BZ #14872]
14546 * manual/conf.texi (Limits on File System Capacity): Mention if
14547 terminating null is included in the max size.
14548
188f0adf
AJ
145492012-12-10 Andreas Jaeger <aj@suse.de>
14550
14551 * po/cs.po: Update from translation team.
14552
56e7d3ad
SP
145532012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14554
14555 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14556 void pointer and cast to uintptr_t.
14557 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14558 path.
14559 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14560 * sysdeps/s390/s390-64/memset.S: Likewise.
14561
76f2d2ea 145622012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14563
14564 [BZ #14833]
14565 * menual/message.texi (Message Translation): Fix typos.
14566 (Helper programs for gettext): Likewise.
14567
67cbf9a2
AS
145682012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14569
14570 [BZ #14898]
14571 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14572 Change to -1.
14573
682d0e9a
DM
145742012-12-07 David S. Miller <davem@davemloft.net>
14575
14576 * po/libc.pot: Update.
14577
573cd484
RH
145782012-12-07 Richard Henderson <rth@redhat.com>
14579
7e9da188 14580 [BZ #10114]
573cd484
RH
14581 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14582 normal/normal case to before the switch.
14583 (_FP_DIV): Likewise.
14584
e933a943
MF
145852012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14586 Mike Frysinger <vapier@gentoo.org>
14587
14588 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14589 check for __NR_fadvise64_64.
14590
82123268
CM
145912012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14592
14593 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14594 0, not just to plain "0" as a statement.
14595 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14596 with cw.
14597
d9814526
JM
145982012-12-06 Joseph Myers <joseph@codesourcery.com>
14599
14600 * NEWS: Use sourceware.org in Bugzilla URL.
14601
7728c574
SP
146022012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14603
f16946dd
SP
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14605 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14606
5704bbcb
SP
14607 * stdio-common/tst-put-error.c (do_test): Add newline to the
14608 padded test to ensure flush.
14609
17aa0516
JL
146102012-12-05 Jeff Law <law@redhat.com>
14611
14612 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14613
363313b5
JM
146142012-12-05 Joseph Myers <joseph@codesourcery.com>
14615
effbd42a
JM
14616 * README: Don't refer to ports add-on as distributed separately.
14617 Mention AArch64 in list of systems supported in the ports add-on.
14618
87600365
JM
14619 * LICENSES: Add more non-FSF copyright and license notices.
14620
a0d7066a
JM
14621 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14622 ((unused)).
14623
66ca5a5b
JM
14624 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14625
363313b5
JM
14626 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14627 10000 as width of padded output.
14628
b37984ad
JM
146292012-12-04 Joseph Myers <joseph@codesourcery.com>
14630
9003570a
JM
14631 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14632
b37984ad
JM
14633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14634 variable LX with __attribute__ ((unused)).
14635 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14636 Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14639 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14640 with __attribute__ ((unused)).
14641
c8df52ec
DM
146422012-12-04 David S. Miller <davem@abraco.davemloft.net>
14643
14644 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14645
b3b099af
JM
146462012-12-04 Joseph Myers <joseph@codesourcery.com>
14647
c33aa6e3
JM
14648 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14649 (CFLAGS-nldbl-acos.c): New variable.
14650 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14651 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14652 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14653 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14654 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14655 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14656 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14657 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14658 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14659 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14660 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14661 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14662 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14663 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14664 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14665 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14666 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14667 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14668 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14669 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14670 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14671 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14672 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14673 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14674 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14675 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14676 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14677 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14678 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14679 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14680 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14681 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14682 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14683 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14684 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14685 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14686 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14687 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14688 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14689 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14690 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14691 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14692 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14693 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14694 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14695 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14696 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14697 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14698 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14699 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14700 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14701 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14702 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14703 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14704 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14705 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14706 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14707 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14708 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14709 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14710 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14711 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14712 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14713 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14714 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14715 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14716 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14717 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14718 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14719 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14720 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14721 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14722 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14723 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14724 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14725 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14726 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14727 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14728 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14729 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14730 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14731 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14732 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14733 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14734 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14735 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14736 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14737 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14738 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14739 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14740 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14741 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14742 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14743 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14744 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14745 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14746 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14747
20f0018d
JM
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14749 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14750
b3b099af
JM
14751 [BZ #14914]
14752 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14753 whole low double instead of just low 47 bits when splitting values
14754 into two parts.
14755
029264d1
AM
147562012-12-03 Allan McRae <allan@archlinux.org>
14757
14758 * manual/stdio.texi (Predefined Printf Handlers): Remove
14759 @hsep and @vsep usage.
14760
c9d6789e
MF
147612012-12-03 Mike Frysinger <vapier@gentoo.org>
14762
14763 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14764 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14765
4b7634a5
JL
147662012-12-03 Jeff Law <law@redhat.com>
14767
14768 * time/sys/time.h (settimeofday): Do not mark TV argument
14769 as __nonnull.
14770
eb6cbd24
MF
147712012-12-01 Mike Frysinger <vapier@gentoo.org>
14772
14773 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14774 when currently writing and seek to current position when not.
14775 * libio/Makefile (tests): Remove bug-fclose1.
14776 * libio/bug-fclose1.c: Delete.
14777
f638872a
JM
147782012-12-01 Joseph Myers <joseph@codesourcery.com>
14779
14780 * manual/arith.texi (feenableexcept): Fix typo.
14781 (fedisableexcept): Likewise.
14782
48085d14
RM
147832012-11-30 Roland McGrath <roland@hack.frob.com>
14784
14785 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14786 second, differently-typed declaration, rather than a cast.
14787
1a538b9f
SP
147882012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14789
14790 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14791 * include/rpc/svc.h: ... here.
14792
d07f2ff1 147932012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14794
14795 [BZ #13013]
14796 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14797 depending n and resplen2 to catch cases where answer
14798 equals answerp2.
14799
c93ec1f0
CD
148002012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14801
14802 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14803 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14804
37db69de
MF
148052012-11-29 Mike Frysinger <vapier@gentoo.org>
14806
14807 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14808
e10c4e4f
RM
148092012-11-29 Roland McGrath <roland@hack.frob.com>
14810
14811 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14812
2af1b328
JL
148132012-11-28 Jeff Law <law@redhat.com>
14814
14815 [BZ #13761]
14816 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14817 dataset_temporary. Track alloca usage into alloca_used.
14818 If dataset is large allocate and release it via malloc/free.
14819
111db5b1
FW
148202012-06-04 Florian Weimer <fweimer@redhat.com>
14821
f06cc227 14822 [BZ #14197]
111db5b1
FW
14823 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14824
dd694abd
DM
148252012-11-28 David S. Miller <davem@davemloft.net>
14826
14827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14828
9984dd01
JM
148292012-11-28 Joseph Myers <joseph@codesourcery.com>
14830
14831 [BZ #14803]
14832 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14833 of pi/2 rounded to nearest to 64 bits.
14834 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14835 nearest to 64 bits.
14836 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14837 bits.
14838
14bc93a9
JL
148392012-11-28 Jeff Law <law@redhat.com>
14840 Martin Osvald <mosvald@redhat.com>
14841
14842 [BZ #14889]
14843 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14844 * sunrpc/svc.c: Include time.h.
14845 (__svc_accept_failed): New function.
14846 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14847 any reason other than EINTR, call __svc_accept_failed.
14848 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14849 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14850
e3c6aa3a
AS
148512012-11-28 Andreas Schwab <schwab@suse.de>
14852
14853 * scripts/abilist.awk: Also handle indirect functions in .opd
14854 section.
14855
1bead169
JM
148562012-11-28 Joseph Myers <joseph@codesourcery.com>
14857
14858 [BZ #13881]
14859 * sysdeps/x86/fpu/powl_helper.c: New file.
14860 * sysdeps/x86/fpu/Makefile: Likewise.
14861 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14862 (p3): New object.
14863 (__ieee754_powl): Use __powl_helper for finite arguments except
14864 integer exponents below 8.
14865 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14866 (p3): New object.
14867 (__ieee754_powl): Use __powl_helper for finite arguments except
14868 integer exponents below 8.
14869 * math/libm-test.inc (pow_test): Add more tests and enable some
14870 previously disabled tests.
14871 * sysdeps/i386/fpu/libm-test-ulps: Update.
14872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14873
0817d63d
SP
148742012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14875 Carlos O'Donell <carlos_odonell@mentor.com>
14876
14877 * nss/makedb.c (is_prime): Assert that input is odd and greater
14878 than 4. Note that fact in a comment too.
14879 (next_prime): Add 4 to input.
14880
de2fd463
SP
148812012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14882
14883 [BZ #11741]
14884 * libio/Makefile (tests): Add test case tst-fwrite-error.
14885 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14886 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14887 * libio/tst-fwrite-error.c: New test case.
14888
c515fb51
L
148892012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14890
14891 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14892 before casting to void *.
14893 * include/libc-internal.h (__pointer_type): New macro.
14894 (__integer_if_pointer_type_sub): Likewise.
14895 (__integer_if_pointer_type): Likewise.
14896 (cast_to_integer): Likewise.
14897 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14898 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14899 before casting to atomic64_t.
14900 (atomic_exchange_acq): Likewise.
14901 (__arch_exchange_and_add_body): Likewise.
14902 (__arch_add_body): Likewise.
14903 (atomic_add_negative): Likewise.
14904 (atomic_add_zero): Likewise.
14905
4cf77aa9
JM
149062012-11-26 Joseph Myers <joseph@codesourcery.com>
14907
14908 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14909 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14910 (add_fdes): Likewise.
14911 (linear_search_fdes): Likewise.
14912 (binary_search_unencoded_fdes): Likewise.
14913
d260b3b4
AS
149142012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14915
14916 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14917
67060746
AC
149182012-11-24 Adam Conrad <adconrad@0c3.net>
14919
14920 * configure.in: Autodetect C++ header directories.
14921 * configure: Regenerated.
14922
800938a1
MF
149232012-11-23 Mike Frysinger <vapier@gentoo.org>
14924
14925 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14926
4e6e34e6
AS
149272012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14928
14929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14930
7c7feb47
JM
149312012-11-22 Joseph Myers <joseph@codesourcery.com>
14932
7184dcdf
JM
14933 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14934 LDBL_MANT_DIG == 106]: Disable some tests.
14935 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14936 Likewise.
14937 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14938 Likewise.
14939
0a42601f
JM
14940 [BZ #14871]
14941 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14942 input for small inputs. Return +/- pi/2 for large inputs.
14943 * math/libm-test.inc (atan_test): Add more tests.
14944
79c9b9fe
JM
14945 * sysdeps/generic/unwind-dw2-fde-glibc.c
14946 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14947 __attribute__ ((unused)).
14948
c60d3bf2
JM
14949 [BZ #14645]
14950 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14951 x * y if x and y are nonzero and z is zero.
14952
ef1e0867
JM
14953 [BZ #14811]
14954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14955 nonzero exponents with absolute value below 0x1p-117 to +/-
14956 0x1p-117.
14957
1468ded3
JM
14958 [BZ #14869]
14959 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14960 up arguments below 2**-450, not just those below 2**-500.
14961 * math/libm-test.inc (hypot_test): Add another test.
14962
8e27e3cc
JM
14963 [BZ #14868]
14964 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14965 Return a+b for ratio over 2**120, not 2**60.
14966 * math/libm-test.inc (hypot_test): Add another test.
14967
c9c0279b
JM
14968 * math/libm-test.inc (clog_test): Use
14969 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14970 (clog10_test): Likewise.
14971
7c7feb47
JM
14972 [BZ #6778]
14973 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14974
fff1530e
AS
149752012-11-22 Andreas Schwab <schwab@suse.de>
14976
14977 * sysdeps/i386/fpu/libm-test-ulps: Update.
14978
94558d30
PT
149792012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14980
14981 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14982 printf output with newline.
14983
7e1be741
L
149842012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14985
6bfea974
L
14986 [BZ #14865]
14987 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14988 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14989 -z nodlopen, -z initfirst and -z execstack support.
14990 * configure: Regenerated.
14991
7e1be741
L
14992 * elf/elf.h (DF_1_NODIRECT): New macro.
14993 (DF_1_IGNMULDEF): Likewise.
14994 (DF_1_NOKSYMS): Likewise.
14995 (DF_1_NOHDR): Likewise.
14996 (DF_1_EDITED): Likewise.
14997 (DF_1_NORELOC): Likewise.
14998 (DF_1_SYMINTPOSE): Likewise.
14999 (DF_1_GLOBAUDIT): Likewise.
15000 (DF_1_SINGLETON): Likewise.
15001 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15002 DT_1_SUPPORTED_MASK bits.
15003 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15004
105ce2ce
CD
150052012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15006
15007 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15008
123be9de
TS
150092012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15010
d072f3f7
TS
15011 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15012 macro.
15013
123be9de
TS
15014 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15015 (sendmmsg): Move declarations...
15016 * socket/sys/socket.h: ... here.
15017 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15018 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15019 include it from...
15020 * socket/recvmmsg.c: ... this new file.
15021 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15022 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15023 definition of __sendmmsg hidden.
15024 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15025 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15026 Move ENOSYS stub into and include it from...
15027 * socket/sendmmsg.c: ... this new file.
15028 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15029 (sysdep_routines): Move recvmmsg and sendmmsg...
15030 * socket/Makefile (routines): ... here.
15031 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15032 (GLIBC_PRIVATE): Add __sendmmsg.
15033 * include/sys/socket.h (__sendmmsg): Add declarations.
15034 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15035 sendmmsg.
15036
cf9a5d18
JM
150372012-11-20 Joseph Myers <joseph@codesourcery.com>
15038
15039 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15040 variable I1 with __attribute__ ((unused)).
15041 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15042
ecd4caf9
JM
150432012-11-19 Joseph Myers <joseph@codesourcery.com>
15044
be14d48f
JM
15045 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15046 DUMMY variables with __attribute__ ((unused)).
15047
ecd4caf9
JM
15048 * bits/byteswap.h: Include <bits/types.h>.
15049 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15050
986cab95
PT
150512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15052
15053 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15054 string_t. Do not manually set errno.
15055 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15056 length with __strnlen. Make sure to both set errno and return it on
15057 failure.
15058
6d33cc9d
DM
150592012-11-19 David S. Miller <davem@davemloft.net>
15060
15061 With help from Joseph Myers.
15062 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15063 very large arguments properly.
15064 * math/libm-test.inc (atan_test): New tests.
15065 (atan2_test): New tests.
15066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15068
ee663277
JM
150692012-11-19 Joseph Myers <joseph@codesourcery.com>
15070
877f2d8e
JM
15071 [BZ #14856]
15072 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15073 Define to 3.
15074
116fc08a
JM
15075 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15076 [POSIX] (EADDRNOTAVAIL): Likewise.
15077 [POSIX] (EAFNOSUPPORT): Likewise.
15078 [POSIX] (EALREADY): Likewise.
15079 [POSIX] (ECONNABORTED): Likewise.
15080 [POSIX] (ECONNREFUSED): Likewise.
15081 [POSIX] (ECONNRESET): Likewise.
15082 [POSIX] (EDESTADDRREQ): Likewise.
15083 [POSIX] (EDQUOT): Likewise.
15084 [POSIX] (EHOSTUNREACH): Likewise.
15085 [POSIX] (EIDRM): Likewise.
15086 [POSIX] (EISCONN): Likewise.
15087 [POSIX] (ELOOP): Likewise.
15088 [POSIX] (EMULTIHOP): Likewise.
15089 [POSIX] (ENETDOWN): Likewise.
15090 [POSIX] (ENETUNREACH): Likewise.
15091 [POSIX] (ENOBUFS): Likewise.
15092 [POSIX] (ENODATA): Likewise.
15093 [POSIX] (ENOLINK): Likewise.
15094 [POSIX] (ENOMSG): Likewise.
15095 [POSIX] (ENOPROTOOPT): Likewise.
15096 [POSIX] (ENOSR): Likewise.
15097 [POSIX] (ENOSTR): Likewise.
15098 [POSIX] (ENOTCONN): Likewise.
15099 [POSIX] (ENOTSOCK): Likewise.
15100 [POSIX] (EOPNOTSUPP): Likewise.
15101 [POSIX] (EOVERFLOW): Likewise.
15102 [POSIX] (EPROTO): Likewise.
15103 [POSIX] (EPROTONOSUPPORT): Likewise.
15104 [POSIX] (EPROTOTYPE): Likewise.
15105 [POSIX] (ESTALE): Likewise.
15106 [POSIX] (ETIME): Likewise.
15107 [POSIX] (ETXTBSY): Likewise.
15108 [POSIX] (EWOULDBLOCK): Likewise.
15109 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15110 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15111 [POSIX] (SEEK_CUR): Likewise.
15112 [POSIX] (SEEK_END): Likewise.
15113 [POSIX || UNIX98] (mode_t): Do not require.
15114 [POSIX] (off_t): Likewise.
15115 [POSIX] (pid_t): Likewise.
15116 [POSIX] (sys/stat.h): Do not allow header.
15117 [POSIX] (unistd.h): Likewise.
15118 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15119 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15120 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15121 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15122 require.
15123 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15124 sigevent): Specify elements.
15125 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15126 entry.
15127 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15128 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15129
a483863f
JM
15130 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15131 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15132 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15133 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15134 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15135 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15136 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15137 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15138 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15139 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15140 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15141 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15142 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15143 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15144 Likewise.
15145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15146 Likewise.
15147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15148 Likewise.
15149 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15150 Likewise.
15151 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15152 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15153 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15154 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15155 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15156 Specify lower bound on value.
15157 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15158 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15159 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15160 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15161 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15162 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15163 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15164 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15165 value.
15166 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15167 as optional.
15168 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15169 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15170 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15171 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15172 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15173 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15174 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15175 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15176 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15177 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15178 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15179 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15180 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15181 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15182 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15183 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15184 entry.
15185 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15186 optional.
15187 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15188 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15189 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15190 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15191 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15192 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15193 Likewise.
15194 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15197 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15198 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15199 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15201 as optional.
15202 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15203 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15205 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15206 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15207 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15208 specify as optional.
15209 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15210 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15211 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15212 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15213 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15214 [XPG3] (NL_LANGMAX): Likewise.
15215 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15216 [POSIX || XPG3] (NL_NMAX): Likewise.
15217 [POSIX || XPG3] (NL_SETMAX): Likewise.
15218 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15219 [XPG3] (NZERO): Likewise.
15220 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15221 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15222 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15223 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15224 (REG_ERANGE): Expect.
15225 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15226 optional-constant.
15227 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15228 Use (void) in prototype.
15229 [POSIX] (*_t): Allow.
15230 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15231 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15232 (WRDE_BADVAL): Expect.
15233
5ba924e3
JM
15234 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15235 expect.
15236 [XPG3 || XPG4] (O_RSYNC): Likewise.
15237 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15238 Likewise.
15239 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15240 [XPG3 || XPG4] (sigqueue): Likewise.
15241 [XPG3 || XPG4] (sigtimedwait): Likewise.
15242 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15243 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15244 [XPG3 || XPG4] (vsnprintf): Likewise.
15245 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15246 Likewise.
15247 [XPG3 || XPG4] (blksize_t): Likewise.
15248 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15249 Likewise.
15250 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15251 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15252 [XPG3 || XPG4] (struct itimerspec): Likewise.
15253 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15254 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15255 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15256 [XPG3 || XPG4] (clockid_t): Likewise.
15257 [XPG3 || XPG4] (timer_t): Likewise.
15258 [XPG3 || XPG4] (clock_getres): Likewise.
15259 [XPG3 || XPG4] (clock_gettime): Likewise.
15260 [XPG3 || XPG4] (clock_settime): Likewise.
15261 [XPG3 || XPG4] (nanosleep): Likewise.
15262 [XPG3 || XPG4] (timer_create): Likewise.
15263 [XPG3 || XPG4] (timer_delete): Likewise.
15264 [XPG3 || XPG4] (timer_gettime): Likewise.
15265 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15266 [XPG3 || XPG4] (timer_settime): Likewise.
15267 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15268 [XPG3 || XPG4] (getlogin_r): Likewise.
15269 [XPG3 || XPG4] (pread): Likewise.
15270 [XPG3 || XPG4] (pthread_atfork): Likewise.
15271 [XPG3 || XPG4] (pwrite): Likewise.
15272
ee663277
JM
15273 [BZ #14835]
15274 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15275 <bits/siginfo.h>.
15276
942caa16
PT
152772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15278
e19af380
PT
15279 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15280 finalizing MALLSTREAM.
15281
942caa16
PT
15282 * sysdeps/mach/hurd/syncfs.c: New file.
15283
cfde9b46
SP
152842012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15285
15286 [BZ #14719]
15287 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15288 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15289 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15290 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15291 (_nss_dns_gethostbyname4_r): Likewise.
15292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15293 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15294
f6da27e5
PH
152952012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15296
15297 [BZ #13763]
15298 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15299
6665d4a2
SM
153002012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15301
1f51ee92
SM
15302 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15303 * elf/cache.c (print_entry): Print ",AArch64" for
15304 FLAG_AARCH64_LIB64
15305
6665d4a2
SM
15306 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15307 * elf/cache.c (print_entry): Print ",hard-float" for
15308 FLAG_ARM_LIBHF.
15309
05b227bd
DM
153102012-11-18 David S. Miller <davem@davemloft.net>
15311
15312 With help from Joseph Myers.
15313 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15314 cutoff to 2**-13.
15315 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15316 cutoff to 2**-25.
15317 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15318 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15319 small.
15320 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15321 * math/libm-test.inc (y0_test): New tests.
15322 (y1_test): New tests.
15323 * sysdeps/i386/fpu/libm-test-ulps: Update.
15324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15326
786b0b67
AS
153272012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15328
15329 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15330 64-bit targets.
15331 * configure: Regenerated.
15332
8e18b86d
DM
153332012-11-17 David S. Miller <davem@davemloft.net>
15334
15335 [BZ #14811]
15336 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15337 nonzero exponents with absolute value below 0x1p-128 to +/-
15338 0x1p-128.
15339
531f1ae0
JM
153402012-11-17 Joseph Myers <joseph@codesourcery.com>
15341
12df29e2
JM
15342 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15343
150dc1a0
JM
15344 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15345
531f1ae0
JM
15346 * posix/getconf-speclist.c: New file.
15347 * posix/posix-envs.def: Likewise.
15348 * posix/confstr.c (START_ENV_GROUP): New macro.
15349 (END_ENV_GROUP): Likewise.
15350 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15351 (KNOWN_PRESENT_ENV_STRING): Likewise.
15352 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15353 (UNKNOWN_ENVIRONMENT): Likewise.
15354 (confstr): Include posix-envs.def instead of handling
15355 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15356 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15357 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15358 (END_ENV_GROUP): Likewise.
15359 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15360 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15361 (UNKNOWN_ENVIRONMENT): Likewise.
15362 (__sysconf): Include posix-envs.def instead of handling associated
15363 cases directly here.
15364 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15365 preprocessing getconf-speclist.c rather than running getconf or
15366 generating empty file.
15367
a93f9cbc
PT
153682012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15369
15370 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15371
d64d9f87
AL
153722012-11-16 Andrej Lajovic <natrij@gmail.com>
15373
15374 [BZ #14672]
15375 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15376
447885eb
DM
153772012-11-16 David S. Miller <davem@davemloft.net>
15378
15379 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15380 smaller than LDBL_EPSILON/2.0L, just return xm1.
15381
bcbf9830
L
153822012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15383
15384 * elf/tst-array1.c (init): Set constructor priority to 1000.
15385 (fini): Set destructor priority to 1000.
15386 * elf/tst-array2dep.c: Likewise.
15387
2b766585
SP
153882012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15389
15390 [BZ #11741]
15391 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15392 (_IO_new_file_xsputn): Also return EOF if none of the input
15393 data was written when overflow failed.
15394 * libio/iopadn.c (_IO_padn): Likewise.
15395 * libio/iowpadn.c (_IO_wpadn): Likewise.
15396 * stdio-common/tst-put-error.c: Add copyright notice.
15397 (do_test): Add case for printing padded string.
15398 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15399 _IO_padn returned error.
15400 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15401 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15402 return EOF.
15403
b1848fde
SP
154042012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15405
15406 * libio/libioP.h: Add comment note that the references to C++
15407 bits are now obsolete.
15408
2fd89785
MS
154092012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15410
15411 * math/libm-test.inc (check_complex): Use asprintf.
15412
e3ea5409
JM
154132012-11-14 Joseph Myers <joseph@codesourcery.com>
15414
15415 * debug/pcprofiledump.c (print_version): Update copyright year.
15416 * malloc/memusagestat.c (print_version): Likewise.
15417
2e64d265
L
154182012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15419
15420 [BZ #14831]
15421 * elf/Makefile (tests): Add tst-audit8.
15422 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15423 ($(objpfx)tst-audit8.out): New target.
15424 (tst-audit8-ENV): New variable.
15425 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15426 audit if l_reloc_result is NULL.
15427 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15428 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15429 * elf/tst-audit8.c: New file.
15430
c485e4d2
MS
154312012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15432
15433 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15434 * misc/Makefile (CFLAGS-select.c): Define.
15435 * posix/Makefile (CFLAGS-pause.c): Define.
15436
3a0d900a
DM
154372012-11-13 David S. Miller <davem@davemloft.net>
15438
15439 * crypt/Makefile: Move test targets after toplevel Rules
15440 inclusion. Grab any necessary sysdep routines when linking.
15441 * crypt/md5.c (md5_process_block): Remove define, we will always
15442 name it __md5_process_block.
15443 (md5_finish_ctx): Update md5_process_block call.
15444 (md5_stream): Likewise.
15445 (md5_process_bytes): Likewise.
15446 (md5_process_block): Rename to __md5_process_block and move to ...
15447 * crypt/md5-block.c: ... here.
15448 * crypt/sha256.c (sha256_process_block): Move to ...
15449 * crypt/sha256-block.c: ... here.
15450 * crypt/sha512.c (sha512_process_block): Move to ...
15451 * crypt/sha512-block.c: ... here.
15452 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15453 path.
15454 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15455 * sysdeps/sparc/sparc64/multiarch/Makefile
15456 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15457 crypt subdir.
15458 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15459 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15460 multiarch changes.
15461 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15462 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15463 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15464 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15465 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15466 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15467 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15468 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15469 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15470 file.
15471 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15473 file.
15474 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15475
8ca89318
JM
154762012-11-13 Joseph Myers <joseph@codesourcery.com>
15477
e27d476a
JM
15478 * timezone/tzselect.ksh: Update from tzcode git revision
15479 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15480 * timezone/zdump.c: Likewise.
15481 * timezone/zic.c: Likewise.
15482 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15483 in TZVERSION setting, not $(PKGVERSION).
15484 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15485 REPORT_BUGS_TO settings.
15486
8ca89318
JM
15487 [BZ #14838]
15488 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15489 macro.
15490
47594329
MS
154912012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15492
15493 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15494 detection to immediately after _FP_ROUND().
15495 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15496 bits are 0.
15497
640ac3f1
DM
154982012-11-11 David S. Miller <davem@davemloft.net>
15499
15500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15501 inttypes.h
15502 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15503 __close rather than their public counterparts.
15504
3d2577bb
JM
155052012-11-10 Joseph Myers <joseph@codesourcery.com>
15506
15507 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15508 file.
15509 [UNIX98] (sem_timedwait): Do not expect.
15510 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15511 [XPG4 || UNIX98] (sockatmark): Do not expect.
15512 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15513 (clock_getcpuclockid): Do not expect.
15514 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15515 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15516 Do not expect.
15517 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15518 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15519 [UNIX98] (vwscanf): Likewise.
15520 [UNIX98] (vswscanf): Likewise.
15521
fb1ae1ee
JM
155222012-11-09 Joseph Myers <joseph@codesourcery.com>
15523
9ec6f8bd
JM
15524 * timezone/version.h: Remove file.
15525 * timezone/README: Do not refer to version.h.
15526 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15527 $(objpfx)version.h.
15528 ($(objpfx)zdump.o): Likewise.
c3f81911 15529 ($(objpfx)version.h): New target.
9ec6f8bd 15530
0aa8f8a1
JM
15531 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15532 2012i.
15533 * timezone/README: Don't mention modification to tzselect.ksh.
15534 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15535 work on unmodified tzselect.ksh. Substitute version numbers in
15536 tzselect.ksh.
15537
4e87147f
JM
15538 * Makefile (format-me): Remove.
15539 (INSTALL): Adjust indentation. Use commands directly instead of
15540 using $(format-me).
15541
8b748aed
JM
15542 * aclocal.m4 (ACX_PKGVERSION): New macro.
15543 (ACX_BUGURL): Likewise.
15544 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15545 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15546 (REPORT_BUGS_TO): Likewise.
15547 * configure: Regenerated.
15548 * config.h.in (PKGVERSION): New macro.
15549 (REPORT_BUGS_TO): Likewise.
15550 * config.make.in (PKGVERSION): New variable.
15551 (PKGVERSION_TEXI): Likewise.
15552 (REPORT_BUGS_TO): Likewise.
15553 (REPORT_BUGS_TEXI): Likewise.
15554 * Makefile (format-me): Use -I$(common-objpfx)manual.
15555 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15556 ($(common-objpfx)manual/%): New target.
15557 (manual/%): Remove target.
15558 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15559 (print_version): Use PKGVERSION.
15560 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15561 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15562 and REPORT_BUGS_TO.
15563 ($(objpfx)xtrace): Likewise.
15564 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15565 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15566 (print_version): Use PKGVERSION.
15567 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15568 (do_version): Use PKGVERSION.
15569 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15570 REPORT_BUGS_TO.
15571 (common-ldd-rewrite): Likewise.
15572 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15573 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15574 (print_version): Use PKGVERSION.
15575 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15576 * elf/pldd.c (argp_program_bug_address): Remove variable.
15577 (more_help): New function.
15578 (argp): Use more_help.
15579 (print_version): Use PKGVERSION.
15580 * elf/sln.c (main): Use PKGVERSION.
15581 (usage): Use REPORT_BUGS_TO.
15582 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15583 (top level): Use PKGVERSION.
15584 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15585 (print_version): Use PKGVERSION.
15586 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15587 (print_version): Use PKGVERSION.
15588 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15589 (print_version): Use PKGVERSION.
15590 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15591 (print_version): Use PKGVERSION.
15592 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15593 (print_version): Use PKGVERSION.
15594 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15595 (print_version): Use PKGVERSION.
15596 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15597 and BUGURL.
15598 ($(objpfx)memusage): Likewise.
15599 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15600 (do_version): Use PKGVERSION.
15601 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15602 (print_version): Use PKGVERSION.
15603 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15604 ($PKGVERSION): New variable.
15605 ($REPORT_BUGS_TO): Likewise.
15606 (usage): Use $REPORT_BUGS_TO.
15607 (top level): Use $PKGVERSION.
15608 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15609 ($(objpfx)pkgvers.texi): New rule.
15610 ($(objpfx)stamp-pkgvers): Likewise.
15611 * manual/install.texi: Include pkgvers.texi.
15612 (--with-pkgversion): Document new configure option.
15613 (--with-bugurl): Likewise.
15614 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15615 than necessarily for this particular distribution. Use
15616 REPORT_BUGS_TO for where to report bugs.
15617 * INSTALL: Regenerated.
15618 * manual/libc.texinfo: Include pkgvers.texi.
15619 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15620 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15621 (print_version): Use PKGVERSION.
15622 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15623 (print_version): Use PKGVERSION.
15624 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15625 (print_version): Use PKGVERSION.
15626 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15627 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15628 macro.
15629 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15630 (print_version): Use PKGVERSION.
15631 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15632 (print_version): Use PKGVERSION.
15633 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15634 and PKGVERSION.
15635
92e4b6a9
JM
15636 * timezone/checktab.awk: Update from tzcode 2012i.
15637 * timezone/ialloc.c: Likewise.
15638 * timezone/private.h: Likewise.
15639 * timezone/scheck.c: Likewise.
15640 * timezone/tzfile.h: Likewise.
15641 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15642 (TZVERSION): Hardcode tzcode version number.
15643 * timezone/zdump.c: Update from tzcode 2012i.
15644 * timezone/zic.c: Likewise.
15645 * timezone/version.h: New file.
15646 * timezone/README: Describe version.h. Update upstream location.
15647
9bde902c
JM
15648 [BZ #14824]
15649 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15650 (mktemp): Enable declaration.
15651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15655 Likewise.
15656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15657 Likewise.
15658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15659 Likewise.
15660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15661 Likewise.
15662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15663 Likewise.
15664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15665 Likewise.
15666
fb1ae1ee
JM
15667 [BZ #14821]
15668 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15669 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15670 for copies of such integer values.
15671 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15672 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15673
2c1adbcb
AJ
156742012-11-09 Andreas Jaeger <aj@suse.de>
15675
15676 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15677 definitions and declarations that are provided by
15678 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15679
d0f8457e
AK
156802012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15681
3a235abb 15682 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15683 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15684 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15685 definition.
15686
57241e26
MS
156872012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15688
15689 * elf/elf.h: Update comment before AArch64 relocations.
15690
60e8270d
DM
156912012-11-07 David S. Miller <davem@davemloft.net>
15692
15693 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15694 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15695 (__start_context): Declare.
15696 (__makecontext_ret): Delete.
15697 (__makecontext): Hook up __start_context instead of
15698 __makecontext_ret.
15699 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15700 (sysdep_routines): Add __start_context when in stdlib.
15701
0fbb0fbc
JM
157022012-11-07 Joseph Myers <joseph@codesourcery.com>
15703
15704 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15705 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15706 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15707 hardcoded "nm".
15708 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15709 (READELF): New variable. Use it instead of hardcoded "readelf".
15710
eb48db7e
L
157112012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15712
15713 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15714 * sysdeps/x86/Makefile: Here.
15715 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15716 * sysdeps/x86/tst-xmmymm.sh: This.
15717
05bcf62a
JM
157182012-11-07 Joseph Myers <joseph@codesourcery.com>
15719
c4b6cf53
JM
15720 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15721 expectations.
15722 [UNIX98] (pthread_barrier_t): Do not expect.
15723 [UNIX98] (pthread_barrierattr_t): Likewise.
15724 [UNIX98] (pthread_spinlock_t): Likewise.
15725 [UNIX98] (pthread_barrier_destroy): Likewise.
15726 [UNIX98] (pthread_barrier_init): Likewise.
15727 [UNIX98] (pthread_barrier_wait): Likewise.
15728 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15729 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15730 [UNIX98] (pthread_barrierattr_init): Likewise.
15731 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15732 [UNIX98] (pthread_getcpuclockid): Likewise.
15733 [UNIX98] (pthread_mutex_timedlock): Likewise.
15734 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15735 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15736 [UNIX98] (pthread_sigmask): Likewise.
15737 [UNIX98] (pthread_spin_destroy): Likewise.
15738 [UNIX98] (pthread_spin_init): Likewise.
15739 [UNIX98] (pthread_spin_lock): Likewise.
15740 [UNIX98] (pthread_spin_trylock): Likewise.
15741 [UNIX98] (pthread_spin_unlock): Likewise.
15742 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15743 Do not expect.
15744 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15745 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15746 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15747 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15748 [XPG3 || XPG4] (pthread_key_t): Likewise.
15749 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15750 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15751 [XPG3 || XPG4] (pthread_once_t): Likewise.
15752 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15753 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15754 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15755 [XPG3 || XPG4] (pthread_t): Likewise.
15756
cbe6e120
JM
15757 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15758 not expect.
15759 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15760
1b126443
JM
15761 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15762 Change function return type to int.
15763
b961a573
JM
15764 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15765 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15766 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15767 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15768 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15769 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15770 [!POSIX] (posix_madvise): Likewise.
15771 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15772 && !UNIX98].
15773 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15774 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15775 (mode_t): Likewise.
15776 (posix_mem_offset): Likewise.
15777 (posix_typed_mem_get_info): Likewise.
15778 (posix_typed_mem_open): Likewise.
15779
9e188909
JM
15780 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15781 Change condition to [XOPEN2K8].
15782
05bcf62a
JM
15783 * conform/conformtest.pl: Preprocess allow-header data with -x c
15784 instead of from stdin.
15785 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15786 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15787 [C99-based standards] (cerfc): Likewise.
15788 [C99-based standards] (cexp2): Likewise.
15789 [C99-based standards] (cexpm1): Likewise.
15790 [C99-based standards] (clog10): Likewise.
15791 [C99-based standards] (clog1p): Likewise.
15792 [C99-based standards] (clog2): Likewise.
15793 [C99-based standards] (clgamma): Likewise.
15794 [C99-based standards] (ctgamma): Likewise.
15795 [C99-based standards] (cerff): Likewise.
15796 [C99-based standards] (cerfcf): Likewise.
15797 [C99-based standards] (cexp2f): Likewise.
15798 [C99-based standards] (cexpm1f): Likewise.
15799 [C99-based standards] (clog10f): Likewise.
15800 [C99-based standards] (clog1pf): Likewise.
15801 [C99-based standards] (clog2f): Likewise.
15802 [C99-based standards] (clgammaf): Likewise.
15803 [C99-based standards] (ctgammaf): Likewise.
15804 [C99-based standards] (cerfl): Likewise.
15805 [C99-based standards] (cerfcl): Likewise.
15806 [C99-based standards] (cexp2l): Likewise.
15807 [C99-based standards] (cexpm1l): Likewise.
15808 [C99-based standards] (clog10l): Likewise.
15809 [C99-based standards] (clog1pl): Likewise.
15810 [C99-based standards] (clog2l): Likewise.
15811 [C99-based standards] (clgammal): Likewise.
15812 [C99-based standards] (ctgammal): Likewise.
15813 * conform/data/inttypes.h-data [C99-based standards]: Include
15814 stdint.h-data. Remove all expectations for stdint.h contents.
15815 [C99-based standards] (PRI*): Do not allow.
15816 [C99-based standards] (SCN*): Likewise.
15817 [C99-based standards] (*_t): Likewise.
15818 [C99-based-standards] (PRId8): Expect macro.
15819 [C99-based-standards] (PRIi8): Likewise.
15820 [C99-based-standards] (PRIo8): Likewise.
15821 [C99-based-standards] (PRIu8): Likewise.
15822 [C99-based-standards] (PRIx8): Likewise.
15823 [C99-based-standards] (PRIX8): Likewise.
15824 [C99-based-standards] (SCNd8): Likewise.
15825 [C99-based-standards] (SCNi8): Likewise.
15826 [C99-based-standards] (SCNo8): Likewise.
15827 [C99-based-standards] (SCNu8): Likewise.
15828 [C99-based-standards] (SCNx8): Likewise.
15829 [C99-based-standards] (PRIdLEAST8): Likewise.
15830 [C99-based-standards] (PRIiLEAST8): Likewise.
15831 [C99-based-standards] (PRIoLEAST8): Likewise.
15832 [C99-based-standards] (PRIuLEAST8): Likewise.
15833 [C99-based-standards] (PRIxLEAST8): Likewise.
15834 [C99-based-standards] (PRIXLEAST8): Likewise.
15835 [C99-based-standards] (SCNdLEAST8): Likewise.
15836 [C99-based-standards] (SCNiLEAST8): Likewise.
15837 [C99-based-standards] (SCNoLEAST8): Likewise.
15838 [C99-based-standards] (SCNuLEAST8): Likewise.
15839 [C99-based-standards] (SCNxLEAST8): Likewise.
15840 [C99-based-standards] (PRIdFAST8): Likewise.
15841 [C99-based-standards] (PRIiFAST8): Likewise.
15842 [C99-based-standards] (PRIoFAST8): Likewise.
15843 [C99-based-standards] (PRIuFAST8): Likewise.
15844 [C99-based-standards] (PRIxFAST8): Likewise.
15845 [C99-based-standards] (PRIXFAST8): Likewise.
15846 [C99-based-standards] (SCNdFAST8): Likewise.
15847 [C99-based-standards] (SCNiFAST8): Likewise.
15848 [C99-based-standards] (SCNoFAST8): Likewise.
15849 [C99-based-standards] (SCNuFAST8): Likewise.
15850 [C99-based-standards] (SCNxFAST8): Likewise.
15851 [C99-based-standards] (PRId16): Likewise.
15852 [C99-based-standards] (PRIi16): Likewise.
15853 [C99-based-standards] (PRIo16): Likewise.
15854 [C99-based-standards] (PRIu16): Likewise.
15855 [C99-based-standards] (PRIx16): Likewise.
15856 [C99-based-standards] (PRIX16): Likewise.
15857 [C99-based-standards] (SCNd16): Likewise.
15858 [C99-based-standards] (SCNi16): Likewise.
15859 [C99-based-standards] (SCNo16): Likewise.
15860 [C99-based-standards] (SCNu16): Likewise.
15861 [C99-based-standards] (SCNx16): Likewise.
15862 [C99-based-standards] (PRIdLEAST16): Likewise.
15863 [C99-based-standards] (PRIiLEAST16): Likewise.
15864 [C99-based-standards] (PRIoLEAST16): Likewise.
15865 [C99-based-standards] (PRIuLEAST16): Likewise.
15866 [C99-based-standards] (PRIxLEAST16): Likewise.
15867 [C99-based-standards] (PRIXLEAST16): Likewise.
15868 [C99-based-standards] (SCNdLEAST16): Likewise.
15869 [C99-based-standards] (SCNiLEAST16): Likewise.
15870 [C99-based-standards] (SCNoLEAST16): Likewise.
15871 [C99-based-standards] (SCNuLEAST16): Likewise.
15872 [C99-based-standards] (SCNxLEAST16): Likewise.
15873 [C99-based-standards] (PRIdFAST16): Likewise.
15874 [C99-based-standards] (PRIiFAST16): Likewise.
15875 [C99-based-standards] (PRIoFAST16): Likewise.
15876 [C99-based-standards] (PRIuFAST16): Likewise.
15877 [C99-based-standards] (PRIxFAST16): Likewise.
15878 [C99-based-standards] (PRIXFAST16): Likewise.
15879 [C99-based-standards] (SCNdFAST16): Likewise.
15880 [C99-based-standards] (SCNiFAST16): Likewise.
15881 [C99-based-standards] (SCNoFAST16): Likewise.
15882 [C99-based-standards] (SCNuFAST16): Likewise.
15883 [C99-based-standards] (SCNxFAST16): Likewise.
15884 [C99-based-standards] (PRId32): Likewise.
15885 [C99-based-standards] (PRIi32): Likewise.
15886 [C99-based-standards] (PRIo32): Likewise.
15887 [C99-based-standards] (PRIu32): Likewise.
15888 [C99-based-standards] (PRIx32): Likewise.
15889 [C99-based-standards] (PRIX32): Likewise.
15890 [C99-based-standards] (SCNd32): Likewise.
15891 [C99-based-standards] (SCNi32): Likewise.
15892 [C99-based-standards] (SCNo32): Likewise.
15893 [C99-based-standards] (SCNu32): Likewise.
15894 [C99-based-standards] (SCNx32): Likewise.
15895 [C99-based-standards] (PRIdLEAST32): Likewise.
15896 [C99-based-standards] (PRIiLEAST32): Likewise.
15897 [C99-based-standards] (PRIoLEAST32): Likewise.
15898 [C99-based-standards] (PRIuLEAST32): Likewise.
15899 [C99-based-standards] (PRIxLEAST32): Likewise.
15900 [C99-based-standards] (PRIXLEAST32): Likewise.
15901 [C99-based-standards] (SCNdLEAST32): Likewise.
15902 [C99-based-standards] (SCNiLEAST32): Likewise.
15903 [C99-based-standards] (SCNoLEAST32): Likewise.
15904 [C99-based-standards] (SCNuLEAST32): Likewise.
15905 [C99-based-standards] (SCNxLEAST32): Likewise.
15906 [C99-based-standards] (PRIdFAST32): Likewise.
15907 [C99-based-standards] (PRIiFAST32): Likewise.
15908 [C99-based-standards] (PRIoFAST32): Likewise.
15909 [C99-based-standards] (PRIuFAST32): Likewise.
15910 [C99-based-standards] (PRIxFAST32): Likewise.
15911 [C99-based-standards] (PRIXFAST32): Likewise.
15912 [C99-based-standards] (SCNdFAST32): Likewise.
15913 [C99-based-standards] (SCNiFAST32): Likewise.
15914 [C99-based-standards] (SCNoFAST32): Likewise.
15915 [C99-based-standards] (SCNuFAST32): Likewise.
15916 [C99-based-standards] (SCNxFAST32): Likewise.
15917 [C99-based-standards] (PRId64): Likewise.
15918 [C99-based-standards] (PRIi64): Likewise.
15919 [C99-based-standards] (PRIo64): Likewise.
15920 [C99-based-standards] (PRIu64): Likewise.
15921 [C99-based-standards] (PRIx64): Likewise.
15922 [C99-based-standards] (PRIX64): Likewise.
15923 [C99-based-standards] (SCNd64): Likewise.
15924 [C99-based-standards] (SCNi64): Likewise.
15925 [C99-based-standards] (SCNo64): Likewise.
15926 [C99-based-standards] (SCNu64): Likewise.
15927 [C99-based-standards] (SCNx64): Likewise.
15928 [C99-based-standards] (PRIdLEAST64): Likewise.
15929 [C99-based-standards] (PRIiLEAST64): Likewise.
15930 [C99-based-standards] (PRIoLEAST64): Likewise.
15931 [C99-based-standards] (PRIuLEAST64): Likewise.
15932 [C99-based-standards] (PRIxLEAST64): Likewise.
15933 [C99-based-standards] (PRIXLEAST64): Likewise.
15934 [C99-based-standards] (SCNdLEAST64): Likewise.
15935 [C99-based-standards] (SCNiLEAST64): Likewise.
15936 [C99-based-standards] (SCNoLEAST64): Likewise.
15937 [C99-based-standards] (SCNuLEAST64): Likewise.
15938 [C99-based-standards] (SCNxLEAST64): Likewise.
15939 [C99-based-standards] (PRIdFAST64): Likewise.
15940 [C99-based-standards] (PRIiFAST64): Likewise.
15941 [C99-based-standards] (PRIoFAST64): Likewise.
15942 [C99-based-standards] (PRIuFAST64): Likewise.
15943 [C99-based-standards] (PRIxFAST64): Likewise.
15944 [C99-based-standards] (PRIXFAST64): Likewise.
15945 [C99-based-standards] (SCNdFAST64): Likewise.
15946 [C99-based-standards] (SCNiFAST64): Likewise.
15947 [C99-based-standards] (SCNoFAST64): Likewise.
15948 [C99-based-standards] (SCNuFAST64): Likewise.
15949 [C99-based-standards] (SCNxFAST64): Likewise.
15950 [C99-based-standards] (PRIdMAX): Likewise.
15951 [C99-based-standards] (PRIiMAX): Likewise.
15952 [C99-based-standards] (PRIoMAX): Likewise.
15953 [C99-based-standards] (PRIuMAX): Likewise.
15954 [C99-based-standards] (PRIxMAX): Likewise.
15955 [C99-based-standards] (PRIXMAX): Likewise.
15956 [C99-based-standards] (SCNdMAX): Likewise.
15957 [C99-based-standards] (SCNiMAX): Likewise.
15958 [C99-based-standards] (SCNoMAX): Likewise.
15959 [C99-based-standards] (SCNuMAX): Likewise.
15960 [C99-based-standards] (SCNxMAX): Likewise.
15961 [C99-based-standards] (PRIdPTR): Likewise.
15962 [C99-based-standards] (PRIiPTR): Likewise.
15963 [C99-based-standards] (PRIoPTR): Likewise.
15964 [C99-based-standards] (PRIuPTR): Likewise.
15965 [C99-based-standards] (PRIxPTR): Likewise.
15966 [C99-based-standards] (PRIXPTR): Likewise.
15967 [C99-based-standards] (SCNdPTR): Likewise.
15968 [C99-based-standards] (SCNiPTR): Likewise.
15969 [C99-based-standards] (SCNoPTR): Likewise.
15970 [C99-based-standards] (SCNuPTR): Likewise.
15971 [C99-based-standards] (SCNxPTR): Likewise.
15972 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15973 allow.
15974 * conform/data/stdint.h-data: Update comments to clarify
15975 requirements.
15976 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15977 type.
15978 [C99-based standards] (INT8_MAX): Likewise.
15979 [C99-based standards] (INT16_MIN): Likewise.
15980 [C99-based standards] (INT16_MAX): Likewise.
15981 [C99-based standards] (INT32_MIN): Likewise.
15982 [C99-based standards] (INT32_MAX): Likewise.
15983 [C99-based standards] (INT64_MIN): Likewise.
15984 [C99-based standards] (INT64_MAX): Likewise.
15985 [C99-based standards] (UINT8_MAX): Likewise.
15986 [C99-based standards] (UINT16_MAX): Likewise.
15987 [C99-based standards] (UINT32_MAX): Likewise.
15988 [C99-based standards] (UINT64_MAX): Likewise.
15989 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15990 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15991 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15992 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15993 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15994 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15995 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15996 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15997 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15998 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15999 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16000 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16001 [C99-based standards] (INT_FAST8_MIN): Likewise.
16002 [C99-based standards] (INT_FAST8_MAX): Likewise.
16003 [C99-based standards] (INT_FAST16_MIN): Likewise.
16004 [C99-based standards] (INT_FAST16_MAX): Likewise.
16005 [C99-based standards] (INT_FAST32_MIN): Likewise.
16006 [C99-based standards] (INT_FAST32_MAX): Likewise.
16007 [C99-based standards] (INT_FAST64_MIN): Likewise.
16008 [C99-based standards] (INT_FAST64_MAX): Likewise.
16009 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16010 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16011 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16012 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16013 [C99-based standards] (INTPTR_MIN): Likewise.
16014 [C99-based standards] (INTPTR_MAX): Likewise.
16015 [C99-based standards] (UINTPTR_MAX): Likewise.
16016 [C99-based standards] (INTMAX_MIN): Likewise.
16017 [C99-based standards] (INTMAX_MAX): Likewise.
16018 [C99-based standards] (UINTMAX_MAX): Likewise.
16019 [C99-based standards] (PTRDIFF_MIN): Likewise.
16020 [C99-based standards] (PTRDIFF_MAX): Likewise.
16021 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16022 [C99-based standards] (SIZE_MAX): Likewise.
16023 [C99-based standards] (WCHAR_MAX): Likewise.
16024 [C99-based standards] (WINT_MAX): Likewise.
16025 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16026 constraint on value.
16027 [C99-based standards] (WCHAR_MIN): Likewise.
16028 [C99-based standards] (WINT_MIN): Likewise.
16029 [C99-based standards] (*_t): Allow.
16030 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16031 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16032 Include math.h-data and complex.h-data. Remove all expectations
16033 of math.h and complex.h contents.
16034 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16035 at end of line.
16036 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16037 (struct tm): Expect tag.
16038 [C99-based-standards] (wcstof): Expect function.
16039 [C99-based-standards] (wcstold): Likewise.
16040 [C99-based-standards] (wcstoll): Likewise.
16041 [C99-based-standards] (wcstoull): Likewise.
16042 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16043 macro-int-constant. Specify type.
16044 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16045 constraint on value.
16046 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16047 Specify type.
16048 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16049 Specify value.
16050 [ISO C standards]: Do not allow headers.
16051 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16052 wcs[abcdefghijklmnopqrstuvwxyz]*.
16053 [ISO C standards] (*_t): Do not allow.
16054 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16055 Expect function.
16056 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16057 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16058 Specify type.
16059 [ISO C standards]: Do not allow headers.
16060 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16061 is[abcdefghijklmnopqrstuvwxyz]*.
16062 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16063 to[abcdefghijklmnopqrstuvwxyz]*.
16064 [ISO C standards] (*_t): Do not allow.
16065 * conform/data/stdalign.h-data: New file.
16066 * conform/data/stdbool.h-data: Likewise.
16067 * conform/data/stdnoreturn.h-data: Likewise.
16068
7514feb8
RM
160692012-11-07 Roland McGrath <roland@hack.frob.com>
16070
16071 [BZ #14815]
16072 * manual/filesys.texi (Directory Entries): Typo fix.
16073 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16074
19b2ecfc
MS
160752012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16076
16077 * elf/elf.h (EM_AARCH64): New macro.
16078 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16079 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16080 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16081 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16082 (R_AARCH64_TLSDESC): Likewise.
16083 (NT_ARM_TLS): Likewise.
16084 (NT_ARM_HW_BREAK): Likewise.
16085 (NT_ARM_HW_WATCH): Likewise.
16086
60e235ee
JM
160872012-11-07 Joseph Myers <joseph@codesourcery.com>
16088
16089 [BZ #14811]
16090 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16091 (__ieee754_powl): Saturate nonzero exponents with absolute value
16092 below 0x1p-79 to +/- 0x1p-79.
16093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16094 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16095 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16096 nonzero exponents with absolute value below 0x1p-32 to +/-
16097 0x1p-32.
16098 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16099 (__ieee754_powl): Saturate nonzero exponents with absolute value
16100 below 0x1p-79 to +/- 0x1p-79.
16101 * math/libm-test.inc (pow_test): Add more tests.
16102
0ab234b7
AK
161032012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16104
16105 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16106 _dl_s390_cap_flags with kernel. Increase string length.
16107 (_dl_s390_platforms): Add z196 and zEC12.
16108
45832f74
JM
161092012-11-07 Joseph Myers <joseph@codesourcery.com>
16110
16111 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16112 Change XOPEN21K to XOPEN2K.
16113
19218757
MK
161142012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16115
16116 * string/memmove.c: Use memcpy when possible.
16117
c5f45721
AJ
161182012-11-06 Andreas Jaeger <aj@suse.de>
16119
16120 * po/eo.po: Update from translation team.
16121
82477c28
JM
161222012-11-06 Joseph Myers <joseph@codesourcery.com>
16123
16124 [BZ #14793]
16125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16126 exponent and small x and y exponents, scale x or y up. Increase
16127 by 2 the exponent used in scaling up.
16128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16129 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16130 * math/libm-test.inc (fma_test): Add more tests.
16131 (fma_test_towardzero): Likewise.
16132 (fma_test_downward): Likewise.
16133 (fma_test_upward): Likewise.
16134
99252c8c
JM
161352012-11-05 Joseph Myers <joseph@codesourcery.com>
16136
acfa885f
JM
16137 [BZ #14805]
16138 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16139 fenv_t *.
16140
99252c8c
JM
16141 [BZ #14801]
16142 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16143 namespace for names of struct fields.
16144 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16145 fenv_t fields.
16146 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16147 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16148
d6d98dea
ST
161492012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16150
16151 [BZ #3665]
16152 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16153
e10bb107
TS
161542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16155
16156 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16157 PTR_DEMANGLE.
16158
16159 [BZ #5246]
16160 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16161 PTR_DEMANGLE.
16162
a0c2940d
JM
161632012-11-04 Joseph Myers <joseph@codesourcery.com>
16164
16165 [BZ #14797]
16166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16167 definitely overflow as x * y not x * y + z.
16168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16170 * math/libm-test.inc (fma_test): Add more tests.
16171 (fma_test_towardzero): Likewise.
16172 (fma_test_downward): Likewise.
16173 (fma_test_upward): Likewise.
16174
b830319d
TS
161752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16176
16177 [BZ #157]
16178
16179 * include/stub-tag.h: Remove file.
16180 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16181 '#include' of it.
16182 * manual/maint.texi (Porting): Don't reference it.
16183 * Makerules ($(objpfx)stubs): Likewise.
16184 * dirent/closedir.c: Don't include <stub-tag.h>.
16185 * dirent/dirfd.c: Likewise.
16186 * dirent/fdopendir.c: Likewise.
16187 * dirent/getdents.c: Likewise.
16188 * dirent/getdents64.c: Likewise.
16189 * dirent/opendir.c: Likewise.
16190 * dirent/readdir.c: Likewise.
16191 * dirent/readdir64.c: Likewise.
16192 * dirent/readdir64_r.c: Likewise.
16193 * dirent/readdir_r.c: Likewise.
16194 * dirent/rewinddir.c: Likewise.
16195 * dirent/seekdir.c: Likewise.
16196 * dirent/telldir.c: Likewise.
16197 * gmon/profil.c: Likewise.
16198 * grp/setgroups.c: Likewise.
16199 * inet/if_index.c: Likewise.
16200 * io/access.c: Likewise.
16201 * io/chdir.c: Likewise.
16202 * io/chmod.c: Likewise.
16203 * io/chown.c: Likewise.
16204 * io/close.c: Likewise.
16205 * io/dup.c: Likewise.
16206 * io/dup2.c: Likewise.
16207 * io/dup3.c: Likewise.
16208 * io/euidaccess.c: Likewise.
16209 * io/faccessat.c: Likewise.
16210 * io/fchdir.c: Likewise.
16211 * io/fchmod.c: Likewise.
16212 * io/fchmodat.c: Likewise.
16213 * io/fchown.c: Likewise.
16214 * io/fchownat.c: Likewise.
16215 * io/fcntl.c: Likewise.
16216 * io/flock.c: Likewise.
16217 * io/fstatfs.c: Likewise.
16218 * io/fstatfs64.c: Likewise.
16219 * io/fstatvfs.c: Likewise.
16220 * io/fstatvfs64.c: Likewise.
16221 * io/futimens.c: Likewise.
16222 * io/fxstat.c: Likewise.
16223 * io/fxstat64.c: Likewise.
16224 * io/fxstatat.c: Likewise.
16225 * io/fxstatat64.c: Likewise.
16226 * io/getcwd.c: Likewise.
16227 * io/isatty.c: Likewise.
16228 * io/lchmod.c: Likewise.
16229 * io/lchown.c: Likewise.
16230 * io/link.c: Likewise.
16231 * io/linkat.c: Likewise.
16232 * io/lseek.c: Likewise.
16233 * io/lseek64.c: Likewise.
16234 * io/lxstat64.c: Likewise.
16235 * io/mkdir.c: Likewise.
16236 * io/mkdirat.c: Likewise.
16237 * io/mkfifo.c: Likewise.
16238 * io/mkfifoat.c: Likewise.
16239 * io/open.c: Likewise.
16240 * io/open64.c: Likewise.
16241 * io/openat.c: Likewise.
16242 * io/openat64.c: Likewise.
16243 * io/pipe.c: Likewise.
16244 * io/pipe2.c: Likewise.
16245 * io/poll.c: Likewise.
16246 * io/posix_fadvise.c: Likewise.
16247 * io/posix_fadvise64.c: Likewise.
16248 * io/posix_fallocate.c: Likewise.
16249 * io/posix_fallocate64.c: Likewise.
16250 * io/read.c: Likewise.
16251 * io/readlink.c: Likewise.
16252 * io/readlinkat.c: Likewise.
16253 * io/rmdir.c: Likewise.
16254 * io/sendfile.c: Likewise.
16255 * io/sendfile64.c: Likewise.
16256 * io/statfs.c: Likewise.
16257 * io/statfs64.c: Likewise.
16258 * io/statvfs.c: Likewise.
16259 * io/statvfs64.c: Likewise.
16260 * io/symlink.c: Likewise.
16261 * io/symlinkat.c: Likewise.
16262 * io/ttyname.c: Likewise.
16263 * io/ttyname_r.c: Likewise.
16264 * io/umask.c: Likewise.
16265 * io/unlink.c: Likewise.
16266 * io/unlinkat.c: Likewise.
16267 * io/utime.c: Likewise.
16268 * io/utimensat.c: Likewise.
16269 * io/write.c: Likewise.
16270 * io/xmknod.c: Likewise.
16271 * io/xmknodat.c: Likewise.
16272 * io/xstat.c: Likewise.
16273 * io/xstat64.c: Likewise.
16274 * login/getpt.c: Likewise.
16275 * login/grantpt.c: Likewise.
16276 * login/unlockpt.c: Likewise.
16277 * math/e_acoshl.c: Likewise.
16278 * math/e_acosl.c: Likewise.
16279 * math/e_asinl.c: Likewise.
16280 * math/e_atan2l.c: Likewise.
16281 * math/e_atanhl.c: Likewise.
16282 * math/e_coshl.c: Likewise.
16283 * math/e_expl.c: Likewise.
16284 * math/e_fmodl.c: Likewise.
16285 * math/e_gammal_r.c: Likewise.
16286 * math/e_hypotl.c: Likewise.
16287 * math/e_j0l.c: Likewise.
16288 * math/e_j1l.c: Likewise.
16289 * math/e_jnl.c: Likewise.
16290 * math/e_lgammal_r.c: Likewise.
16291 * math/e_log10l.c: Likewise.
16292 * math/e_log2l.c: Likewise.
16293 * math/e_logl.c: Likewise.
16294 * math/e_powl.c: Likewise.
16295 * math/e_rem_pio2l.c: Likewise.
16296 * math/e_sinhl.c: Likewise.
16297 * math/e_sqrtl.c: Likewise.
16298 * math/fclrexcpt.c: Likewise.
16299 * math/fedisblxcpt.c: Likewise.
16300 * math/feenablxcpt.c: Likewise.
16301 * math/fegetenv.c: Likewise.
16302 * math/fegetexcept.c: Likewise.
16303 * math/fegetround.c: Likewise.
16304 * math/feholdexcpt.c: Likewise.
16305 * math/fesetenv.c: Likewise.
16306 * math/fesetround.c: Likewise.
16307 * math/feupdateenv.c: Likewise.
16308 * math/fgetexcptflg.c: Likewise.
16309 * math/fraiseexcpt.c: Likewise.
16310 * math/fsetexcptflg.c: Likewise.
16311 * math/ftestexcept.c: Likewise.
16312 * math/k_cosl.c: Likewise.
16313 * math/k_rem_pio2l.c: Likewise.
16314 * math/k_sinl.c: Likewise.
16315 * math/k_tanl.c: Likewise.
16316 * math/s_asinhl.c: Likewise.
16317 * math/s_atanl.c: Likewise.
16318 * math/s_cbrtl.c: Likewise.
16319 * math/s_erfl.c: Likewise.
16320 * math/s_expm1l.c: Likewise.
16321 * math/s_log1pl.c: Likewise.
16322 * math/s_tanhl.c: Likewise.
16323 * misc/acct.c: Likewise.
16324 * misc/brk.c: Likewise.
16325 * misc/chflags.c: Likewise.
16326 * misc/chroot.c: Likewise.
16327 * misc/fchflags.c: Likewise.
16328 * misc/fgetxattr.c: Likewise.
16329 * misc/flistxattr.c: Likewise.
16330 * misc/fremovexattr.c: Likewise.
16331 * misc/fsetxattr.c: Likewise.
16332 * misc/fsync.c: Likewise.
16333 * misc/ftruncate.c: Likewise.
16334 * misc/futimes.c: Likewise.
16335 * misc/futimesat.c: Likewise.
16336 * misc/getdomain.c: Likewise.
16337 * misc/getdtsz.c: Likewise.
16338 * misc/gethostid.c: Likewise.
16339 * misc/gethostname.c: Likewise.
16340 * misc/getloadavg.c: Likewise.
16341 * misc/getpagesize.c: Likewise.
16342 * misc/getsysstats.c: Likewise.
16343 * misc/getxattr.c: Likewise.
16344 * misc/gtty.c: Likewise.
16345 * misc/ioctl.c: Likewise.
16346 * misc/lgetxattr.c: Likewise.
16347 * misc/listxattr.c: Likewise.
16348 * misc/llistxattr.c: Likewise.
16349 * misc/lremovexattr.c: Likewise.
16350 * misc/lsetxattr.c: Likewise.
16351 * misc/lutimes.c: Likewise.
16352 * misc/madvise.c: Likewise.
16353 * misc/mincore.c: Likewise.
16354 * misc/mlock.c: Likewise.
16355 * misc/mlockall.c: Likewise.
16356 * misc/mmap.c: Likewise.
16357 * misc/mprotect.c: Likewise.
16358 * misc/msync.c: Likewise.
16359 * misc/munlock.c: Likewise.
16360 * misc/munlockall.c: Likewise.
16361 * misc/munmap.c: Likewise.
16362 * misc/preadv.c: Likewise.
16363 * misc/preadv64.c: Likewise.
16364 * misc/ptrace.c: Likewise.
16365 * misc/pwritev.c: Likewise.
16366 * misc/pwritev64.c: Likewise.
16367 * misc/readv.c: Likewise.
16368 * misc/reboot.c: Likewise.
16369 * misc/remap_file_pages.c: Likewise.
16370 * misc/removexattr.c: Likewise.
16371 * misc/revoke.c: Likewise.
16372 * misc/select.c: Likewise.
16373 * misc/setdomain.c: Likewise.
16374 * misc/setegid.c: Likewise.
16375 * misc/seteuid.c: Likewise.
16376 * misc/sethostid.c: Likewise.
16377 * misc/sethostname.c: Likewise.
16378 * misc/setregid.c: Likewise.
16379 * misc/setreuid.c: Likewise.
16380 * misc/setxattr.c: Likewise.
16381 * misc/sstk.c: Likewise.
16382 * misc/stty.c: Likewise.
16383 * misc/swapoff.c: Likewise.
16384 * misc/swapon.c: Likewise.
16385 * misc/sync.c: Likewise.
16386 * misc/syncfs.c: Likewise.
16387 * misc/syscall.c: Likewise.
16388 * misc/truncate.c: Likewise.
16389 * misc/ualarm.c: Likewise.
16390 * misc/usleep.c: Likewise.
16391 * misc/ustat.c: Likewise.
16392 * misc/utimes.c: Likewise.
16393 * misc/vhangup.c: Likewise.
16394 * misc/writev.c: Likewise.
16395 * posix/_exit.c: Likewise.
16396 * posix/alarm.c: Likewise.
16397 * posix/execve.c: Likewise.
16398 * posix/fexecve.c: Likewise.
16399 * posix/fork.c: Likewise.
16400 * posix/fpathconf.c: Likewise.
16401 * posix/getaddrinfo.c: Likewise.
16402 * posix/getegid.c: Likewise.
16403 * posix/geteuid.c: Likewise.
16404 * posix/getgid.c: Likewise.
16405 * posix/getgroups.c: Likewise.
16406 * posix/getlogin.c: Likewise.
16407 * posix/getlogin_r.c: Likewise.
16408 * posix/getpgid.c: Likewise.
16409 * posix/getpid.c: Likewise.
16410 * posix/getppid.c: Likewise.
16411 * posix/getresgid.c: Likewise.
16412 * posix/getresuid.c: Likewise.
16413 * posix/getsid.c: Likewise.
16414 * posix/getuid.c: Likewise.
16415 * posix/glob64.c: Likewise.
16416 * posix/nanosleep.c: Likewise.
16417 * posix/pathconf.c: Likewise.
16418 * posix/pause.c: Likewise.
16419 * posix/posix_madvise.c: Likewise.
16420 * posix/pread.c: Likewise.
16421 * posix/pread64.c: Likewise.
16422 * posix/pwrite.c: Likewise.
16423 * posix/pwrite64.c: Likewise.
16424 * posix/sched_getaffinity.c: Likewise.
16425 * posix/sched_getp.c: Likewise.
16426 * posix/sched_gets.c: Likewise.
16427 * posix/sched_primax.c: Likewise.
16428 * posix/sched_primin.c: Likewise.
16429 * posix/sched_rr_gi.c: Likewise.
16430 * posix/sched_setaffinity.c: Likewise.
16431 * posix/sched_setp.c: Likewise.
16432 * posix/sched_sets.c: Likewise.
16433 * posix/sched_yield.c: Likewise.
16434 * posix/setgid.c: Likewise.
16435 * posix/setlogin.c: Likewise.
16436 * posix/setpgid.c: Likewise.
16437 * posix/setresgid.c: Likewise.
16438 * posix/setresuid.c: Likewise.
16439 * posix/setsid.c: Likewise.
16440 * posix/setuid.c: Likewise.
16441 * posix/sleep.c: Likewise.
16442 * posix/spawni.c: Likewise.
16443 * posix/sysconf.c: Likewise.
16444 * posix/times.c: Likewise.
16445 * posix/wait.c: Likewise.
16446 * posix/wait3.c: Likewise.
16447 * posix/wait4.c: Likewise.
16448 * posix/waitpid.c: Likewise.
16449 * resolv/gai_sigqueue.c: Likewise.
16450 * resource/getpriority.c: Likewise.
16451 * resource/getrlimit.c: Likewise.
16452 * resource/getrusage.c: Likewise.
16453 * resource/nice.c: Likewise.
16454 * resource/setpriority.c: Likewise.
16455 * resource/setrlimit.c: Likewise.
16456 * resource/ulimit.c: Likewise.
16457 * rt/aio_cancel.c: Likewise.
16458 * rt/aio_fsync.c: Likewise.
16459 * rt/aio_read.c: Likewise.
16460 * rt/aio_sigqueue.c: Likewise.
16461 * rt/aio_suspend.c: Likewise.
16462 * rt/aio_write.c: Likewise.
16463 * rt/clock_getres.c: Likewise.
16464 * rt/clock_gettime.c: Likewise.
16465 * rt/clock_nanosleep.c: Likewise.
16466 * rt/clock_settime.c: Likewise.
16467 * rt/lio_listio.c: Likewise.
16468 * rt/mq_close.c: Likewise.
16469 * rt/mq_getattr.c: Likewise.
16470 * rt/mq_notify.c: Likewise.
16471 * rt/mq_open.c: Likewise.
16472 * rt/mq_receive.c: Likewise.
16473 * rt/mq_send.c: Likewise.
16474 * rt/mq_setattr.c: Likewise.
16475 * rt/mq_timedreceive.c: Likewise.
16476 * rt/mq_timedsend.c: Likewise.
16477 * rt/mq_unlink.c: Likewise.
16478 * rt/shm_open.c: Likewise.
16479 * rt/shm_unlink.c: Likewise.
16480 * rt/timer_create.c: Likewise.
16481 * rt/timer_delete.c: Likewise.
16482 * rt/timer_getoverr.c: Likewise.
16483 * rt/timer_gettime.c: Likewise.
16484 * rt/timer_settime.c: Likewise.
16485 * setjmp/__longjmp.c: Likewise.
16486 * setjmp/setjmp.c: Likewise.
16487 * signal/kill.c: Likewise.
16488 * signal/killpg.c: Likewise.
16489 * signal/raise.c: Likewise.
16490 * signal/sigaction.c: Likewise.
16491 * signal/sigaltstack.c: Likewise.
16492 * signal/sigblock.c: Likewise.
16493 * signal/sigignore.c: Likewise.
16494 * signal/sigintr.c: Likewise.
16495 * signal/signal.c: Likewise.
16496 * signal/sigpause.c: Likewise.
16497 * signal/sigpending.c: Likewise.
16498 * signal/sigqueue.c: Likewise.
16499 * signal/sigreturn.c: Likewise.
16500 * signal/sigset.c: Likewise.
16501 * signal/sigsetmask.c: Likewise.
16502 * signal/sigstack.c: Likewise.
16503 * signal/sigsuspend.c: Likewise.
16504 * signal/sigtimedwait.c: Likewise.
16505 * signal/sigvec.c: Likewise.
16506 * signal/sigwait.c: Likewise.
16507 * signal/sigwaitinfo.c: Likewise.
16508 * signal/sysv_signal.c: Likewise.
16509 * socket/accept.c: Likewise.
16510 * socket/accept4.c: Likewise.
16511 * socket/bind.c: Likewise.
16512 * socket/connect.c: Likewise.
16513 * socket/getpeername.c: Likewise.
16514 * socket/getsockname.c: Likewise.
16515 * socket/getsockopt.c: Likewise.
16516 * socket/isfdtype.c: Likewise.
16517 * socket/listen.c: Likewise.
16518 * socket/recv.c: Likewise.
16519 * socket/recvfrom.c: Likewise.
16520 * socket/recvmsg.c: Likewise.
16521 * socket/send.c: Likewise.
16522 * socket/sendmsg.c: Likewise.
16523 * socket/sendto.c: Likewise.
16524 * socket/setsockopt.c: Likewise.
16525 * socket/shutdown.c: Likewise.
16526 * socket/sockatmark.c: Likewise.
16527 * socket/socket.c: Likewise.
16528 * socket/socketpair.c: Likewise.
16529 * stdio-common/ctermid.c: Likewise.
16530 * stdio-common/cuserid.c: Likewise.
16531 * stdio-common/remove.c: Likewise.
16532 * stdio-common/rename.c: Likewise.
16533 * stdio-common/renameat.c: Likewise.
16534 * stdio-common/tempname.c: Likewise.
16535 * stdlib/getcontext.c: Likewise.
16536 * stdlib/makecontext.c: Likewise.
16537 * stdlib/setcontext.c: Likewise.
16538 * stdlib/swapcontext.c: Likewise.
16539 * stdlib/system.c: Likewise.
16540 * streams/fattach.c: Likewise.
16541 * streams/fdetach.c: Likewise.
16542 * streams/getmsg.c: Likewise.
16543 * streams/getpmsg.c: Likewise.
16544 * streams/putmsg.c: Likewise.
16545 * streams/putpmsg.c: Likewise.
16546 * sysdeps/unix/bsd/getpt.c: Likewise.
16547 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16548 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16549 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16551 Likewise.
16552 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16553 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16554 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16555 * sysvipc/msgctl.c: Likewise.
16556 * sysvipc/msgget.c: Likewise.
16557 * sysvipc/msgrcv.c: Likewise.
16558 * sysvipc/msgsnd.c: Likewise.
16559 * sysvipc/semctl.c: Likewise.
16560 * sysvipc/semget.c: Likewise.
16561 * sysvipc/semop.c: Likewise.
16562 * sysvipc/semtimedop.c: Likewise.
16563 * sysvipc/shmat.c: Likewise.
16564 * sysvipc/shmctl.c: Likewise.
16565 * sysvipc/shmdt.c: Likewise.
16566 * sysvipc/shmget.c: Likewise.
16567 * termios/tcdrain.c: Likewise.
16568 * termios/tcflow.c: Likewise.
16569 * termios/tcflush.c: Likewise.
16570 * termios/tcgetattr.c: Likewise.
16571 * termios/tcgetpgrp.c: Likewise.
16572 * termios/tcsendbrk.c: Likewise.
16573 * termios/tcsetattr.c: Likewise.
16574 * termios/tcsetpgrp.c: Likewise.
16575 * time/adjtime.c: Likewise.
16576 * time/clock.c: Likewise.
16577 * time/getitimer.c: Likewise.
16578 * time/gettimeofday.c: Likewise.
16579 * time/setitimer.c: Likewise.
16580 * time/settimeofday.c: Likewise.
16581 * time/stime.c: Likewise.
16582 * time/time.c: Likewise.
16583
165842012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16585
a20492cf
PT
16586 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16587 /usr/old/bin.
16588
72e182e3
PT
16589 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16590 instead of spaces.
16591 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16592
fbeafede
JM
165932012-11-03 Joseph Myers <joseph@codesourcery.com>
16594
5b5b04d6
JM
16595 [BZ #14796]
16596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16597 FE_TONEAREST before applying Dekker multiplication and Knuth
16598 addition. Clear inexact exceptions and check for exact zero
16599 results afterwards.
16600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16601 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16603 * math/libm-test.inc (fma_test): Add more tests.
16604 (fma_test_towardzero): Likewise.
16605 (fma_test_downward): Likewise.
16606 (fma_test_upward): Likewise.
16607 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16608 function.
16609 (libc_fesetround): New macro.
16610 (libc_fesetroundf): Likewise.
16611 (libc_fesetroundl): Likewise.
16612 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16613 function.
16614 (libc_fesetround_387): Likewise.
16615 (libc_fesetroundf): New macro.
16616 (libc_fesetround): Likewise.
16617 (libc_fesetroundl): Likewise.
16618 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16619 function.
16620 (libc_fesetroundf): New macro.
16621 (libc_fesetround): Likewise.
16622 (libc_fesetroundl): Likewise.
16623 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16624 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16625 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16626 libm_hidden_ver.
16627 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16628 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16629 libm_hidden_def.
16630 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16631 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16632 libm_hidden_ver.
16633 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16634 libm_hidden_def.
16635
fbeafede
JM
16636 [BZ #3439]
16637 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16638 integer constant usable in #if and use that to give value to enum
16639 constant.
16640 (FE_DIVBYZERO): Likewise.
16641 (FE_UNDERFLOW): Likewise.
16642 (FE_OVERFLOW): Likewise.
16643 (FE_INVALID): Likewise.
16644 (FE_INVALID_SNAN): Likewise.
16645 (FE_INVALID_ISI): Likewise.
16646 (FE_INVALID_IDI): Likewise.
16647 (FE_INVALID_ZDZ): Likewise.
16648 (FE_INVALID_IMZ): Likewise.
16649 (FE_INVALID_COMPARE): Likewise.
16650 (FE_INVALID_SOFTWARE): Likewise.
16651 (FE_INVALID_SQRT): Likewise.
16652 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16653 (FE_TONEAREST): Likewise.
16654 (FE_TOWARDZERO): Likewise.
16655 (FE_UPWARD): Likewise.
16656 (FE_DOWNWARD): Likewise.
16657 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16658 (FE_DIVBYZERO): Likewise.
16659 (FE_OVERFLOW): Likewise.
16660 (FE_UNDERFLOW): Likewise.
16661 (FE_INEXACT): Likewise.
16662 (FE_TONEAREST): Likewise.
16663 (FE_DOWNWARD): Likewise.
16664 (FE_UPWARD): Likewise.
16665 (FE_TOWARDZERO): Likewise.
16666 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16667 (FE_UNDERFLOW): Likewise.
16668 (FE_OVERFLOW): Likewise.
16669 (FE_DIVBYZERO): Likewise.
16670 (FE_INVALID): Likewise.
16671 (FE_TONEAREST): Likewise.
16672 (FE_TOWARDZERO): Likewise.
16673 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16674 (FE_OVERFLOW): Likewise.
16675 (FE_UNDERFLOW): Likewise.
16676 (FE_DIVBYZERO): Likewise.
16677 (FE_INEXACT): Likewise.
16678 (FE_TONEAREST): Likewise.
16679 (FE_TOWARDZERO): Likewise.
16680 (FE_UPWARD): Likewise.
16681 (FE_DOWNWARD): Likewise.
16682 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16683 (FE_DIVBYZERO): Likewise.
16684 (FE_OVERFLOW): Likewise.
16685 (FE_UNDERFLOW): Likewise.
16686 (FE_INEXACT): Likewise.
16687 (FE_TONEAREST): Likewise.
16688 (FE_DOWNWARD): Likewise.
16689 (FE_UPWARD): Likewise.
16690 (FE_TOWARDZERO): Likewise.
16691
105ca950
CM
166922012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16693
16694 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16695
a542b389
AS
166962012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16697
16698 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16699 commands. Quote $PWD.
16700 (blacklist_exports): Don't use remove_newlines. Replace "declare
16701 -x" by "export".
16702 (remove_newlines): Remove.
16703
f62c8abc
L
167042012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16705
16706 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16707 * stdlib/stdlib.h (atof): Moved to ...
16708 * include/bits/stdlib-float.h: Here. New file.
16709 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16710 * stdlib/bits/stdlib-float.h: New file.
16711 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16712 -mno-sse -mno-mmx.
16713 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16714 <xmmintrin.h>.
16715
0155d5b2
JM
167162012-11-02 Joseph Myers <joseph@codesourcery.com>
16717
a68d0680
JM
16718 * conform/conformtest.pl (@headers): Add fenv.h.
16719 * conform/data/fenv.h-data: New file.
16720 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16721 include of <math/fenv.h>.
16722
caf7f573
JM
16723 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16724 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16725 && !UNIX98]. Enables tests for XOPEN2K8.
16726 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16727 POSIX2008]: Likewise.
16728
6c073ad6
JM
16729 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16730 (struct rusage): Do not expect type or its members.
16731
0155d5b2
JM
16732 [BZ #3439]
16733 * math/math.h (FP_NAN): Define macro to integer constant usable in
16734 #if and use that to give value to enum constant.
16735 (FP_INFINITE): Likewise.
16736 (FP_ZERO): Likewise.
16737 (FP_SUBNORMAL): Likewise.
16738 (FP_NORMAL): Likewise.
16739
b5dcacb4
AS
167402012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16741
16742 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16743 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16744 arguments.
16745
f7934be8
RM
167462012-11-02 Roland McGrath <roland@hack.frob.com>
16747
16748 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16749 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16750 autoconf-time if not.
16751 * configure.in: Remove AC_PREREQ.
16752
d7d08bde
TMQMF
167532012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16754
16755 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16756 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16757 of the internal implementation.
16758
dcdae19a
JM
167592012-11-02 Joseph Myers <joseph@codesourcery.com>
16760
16761 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16762 except include of <misc/sys/syslog.h>.
16763
d6cffd3e
AS
167642012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16765
16766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16767 function returns with a NULL context exit with zero.
16768
b3563932
TMQMF
167692012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16770
16771 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16772
b288a93d
L
167732012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16774
16775 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16776 (run_program_cmd): This.
16777 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16778 (tst_langinfo): New variable. Use it.
16779
a2421a68
SAS
167802012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16781
16782 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16783 floating point opcodes.
16784
6f796e1b
TS
167852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16786
7402596b
TS
16787 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16788 variable.
16789
d0d4f868
TS
16790 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16791
6f796e1b
TS
16792 * sysdeps/mach/hurd/powerpc: Remove directory.
16793 * sysdeps/mach/powerpc: Likewise.
16794
4da224a2
AS
167952012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16796
16797 * scripts/check-local-headers.sh: Ignore c++ headers.
16798
341dd673
TS
167992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16800
16801 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16802 __libc_cleanup_region_start argument.
16803
473611b2
JM
168042012-11-01 Joseph Myers <joseph@codesourcery.com>
16805
16806 [BZ #14784]
16807 [BZ #14785]
16808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16809 x * y using scaling, not as x * y + z.
16810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16811 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16812 * math/libm-test.inc (fma_test): Add more tests.
16813 (fma_test_towardzero): Likewise.
16814 (fma_test_downward): Likewise.
16815 (fma_test_upward): Likewise.
16816
4078da3d
TS
168172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16818
16819 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16820
903252aa
JM
168212012-10-31 Joseph Myers <joseph@codesourcery.com>
16822
16823 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16824 New variable.
16825
cbc818d0
TS
168262012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16827
16828 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16829
5a03cb1e
AS
168302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16831
16832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16833 Fix sort order.
16834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16835 Likewise.
16836
90aff2ff
TMQMF
168372012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16838
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16840 Fix the order of the list for glibc 2.17.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16842 Likewise.
16843
1818fcb7
AS
168442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16845
16846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16847
ef82f4da
JM
168482012-10-31 Joseph Myers <joseph@codesourcery.com>
16849
16a0e2ec
JM
16850 [BZ #14610]
16851 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16852 for low part of x being zero before using __atanl (y).
16853 * math/libm-test.inc (atan2_test): Add another test.
16854
0eb69512
JM
16855 * manual/install.texi (Configuring and compiling): Document
16856 general use of test-wrapper and test-wrapper-env.
16857 * INSTALL: Regenerated.
16858
ef82f4da
JM
16859 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16860 (__fma): Do not extract and scale down low bits on after-rounding
16861 systems when result rounded to normal precision would have normal
16862 exponent.
16863 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16864 (__fmal): Do not extract and scale down low bits on after-rounding
16865 systems when result rounded to normal precision would have normal
16866 exponent.
16867 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16868 (__fmal): Do not extract and scale down low bits on after-rounding
16869 systems when result rounded to normal precision would have normal
16870 exponent.
16871 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16872 macro.
16873 (fma_test): Add more tests.
16874 (fma_test_towardzero): Likewise.
16875 (fma_test_downward): Likewise.
16876 (fma_test_upward): Likewise.
16877
954ef0d9
L
168782012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16879
16880 * sysdeps/i386/tininess.h: Renamed to ...
16881 * sysdeps/x86/tininess.h: This.
16882 * sysdeps/x86_64/tininess.h: Removed.
16883
df61ffb2
JM
168842012-10-30 Joseph Myers <joseph@codesourcery.com>
16885
16886 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16887 input. Use $(build-program-cmd).
16888 ($(objpfx)tst-array1-static.out): Likewise.
16889 ($(objpfx)tst-array2.out): Likewise.
16890 ($(objpfx)tst-array3.out): Likewise.
16891 ($(objpfx)tst-array4.out): Likewise.
16892 ($(objpfx)tst-array5.out): Likewise.
16893 ($(objpfx)tst-array5-static.out): Likewise.
16894
01767843
CM
168952012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16896
47cc1490
CM
16897 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16898 if defined.
16899
01767843
CM
16900 * nss/nsswitch.h (nss_interface_function): Provide new
16901 macro for use with NSS functions.
16902 * grp/initgroups.c: Use new macro.
16903 * nss/getXXbyYY.c: Likewise.
16904 * nss/getXXbyYY_r.c: Likewise.
16905 * nss/getXXent.c: Likewise.
16906 * nss/getXXent_r.c: Likewise.
16907 * sysdeps/posix/getaddrinfo.c: Likewise.
16908
8321aa97
AJ
169092012-10-30 Andreas Jaeger <aj@suse.de>
16910
16911 * po/ru.po: Update Russion translation from translation project.
16912
2a27fd6d
JM
169132012-10-30 Joseph Myers <joseph@codesourcery.com>
16914
8627a232
JM
16915 [BZ #14152]
16916 [BZ #14783]
16917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16918 result and shift together with sticky bit instead of replicating
16919 round-to-nearest rounding.
16920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16921 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16922 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16923 missing underflow exceptions.
16924 (fma_test_towardzero): Add more tests.
16925 (fma_test_downward): Likewise.
16926 (fma_test_upward): Likewise.
16927
2a27fd6d
JM
16928 [BZ #14047]
16929 * sysdeps/generic/tininess.h: New file.
16930 * sysdeps/i386/tininess.h: Likewise.
16931 * sysdeps/sh/tininess.h: Likewise.
16932 * sysdeps/x86_64/tininess.h: Likewise.
16933 * stdlib/tst-strtod-underflow.c: Likewise.
16934 * stdlib/tst-tininess.c: Likewise.
16935 * stdlib/strtod_l.c: Include <tininess.h>.
16936 (round_and_return): Do not set errno for exact underflow cases.
16937 Force an underflow exception when setting errno for underflow.
16938 Determine underflow based on rounding to normal precision if
16939 TININESS_AFTER_ROUNDING.
16940 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16941 ERANGE for exact underflow cases.
16942 * stdlib/Makefile (tests): Add tst-tininess and
16943 tst-strtod-underflow.
16944 ($(objpfx)tst-tininess): Use $(link-libm).
16945 ($(objpfx)tst-strtod-underflow): Likewise.
16946
e7170363
AJ
169472012-10-30 Andreas Jaeger <aj@suse.de>
16948
e5088dc6
AJ
16949 [BZ#14767]
16950 * elf/Makefile (tests): Remove conditional for have-initfini-array
16951 since this is now always required and the variable does not exist
16952 anymore.
16953 (tests-static): Likewise.
16954 (modules-names): Likewise.
16955
e7170363 16956 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16957
16958 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16959 merged with constructor/destructor.
16960 (init_array): Likewise.
16961 * elf/tst-array2dep.c (fini_array): Likewise.
16962 (init_array): Likewise.
16963
60457d8a
MF
169642012-10-29 Mike Frysinger <vapier@gentoo.org>
16965
16966 * manual/message.texi: Delete @cartouche tags.
16967
8bece752
PT
169682012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16969
94ce799f
PT
16970 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16971 EOPNOTSUPP.
16972 * sysdeps/mach/hurd/fsync.c: Likewise.
16973
8bece752
PT
16974 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16975 [_POSIX_REALTIME_SIGNALS]: Change condition to
16976 [_POSIX_REALTIME_SIGNALS > 0].
16977
86ebe6b1
AJ
169782012-10-27 Andreas Jaeger <aj@suse.de>
16979
16980 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16981 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16983 [__WORDSIZE != 64]: Likewise.
16984
54399c08
L
169852012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16986
16987 * iconvdata/tst-table.sh: Remove ${SHELL}.
16988 * iconvdata/tst-tables.sh: Likewise.
16989
e2211bed
DM
169902012-10-25 David S. Miller <davem@davemloft.net>
16991
16992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16993 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16994 of strtoull.
16995
f303f97c
DM
16996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16997 ifunc-impl-list.c
16998 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16999 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17000 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17001 file.
17002
1e9d84cd
RM
170032012-10-25 Roland McGrath <roland@hack.frob.com>
17004
17005 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17006 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17007 __getdirentries.
17008
df381762
JM
170092012-10-25 Joseph Myers <joseph@codesourcery.com>
17010 Jim Blandy <jimb@codesourcery.com>
17011
17012 * scripts/cross-test-ssh.sh: New file.
17013 * manual/install.texi (Configuring and compiling): Document use of
17014 cross-test-ssh.sh.
17015 * INSTALL: Regenerated.
17016
bff64913
PT
170172012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17018
17019 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17020 EOPNOTSUPP.
17021
25fe8932
JM
170222012-10-25 Joseph Myers <joseph@codesourcery.com>
17023
17024 * Makeconfig (run-program-prefix): Fix comment.
17025
cc1290d0
JM
170262012-10-24 Joseph Myers <joseph@codesourcery.com>
17027 Jim Blandy <jimb@codesourcery.com>
17028
17029 * Makeconfig (test-wrapper): New variable,
17030 (test-wrapper-env): Likewise.
17031 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17032 (run-built-tests): Define to yes.
17033 (run-program-prefix): Use $(test-wrapper).
17034 (built-program-cmd): Likewise.
17035 * Rules (make-test-out): Use $(test-wrapper-env) and
17036 $(host-built-program-cmd).
17037 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17038 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17039 tst-pathopt.sh.
17040 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17041 $(test-wrapper-env) to tst-rtld-load-self.sh.
17042 ($(objpfx)order2.out): Use $(test-wrapper).
17043 ($(objpfx)tst-initorder.out): Likewise.
17044 ($(objpfx)tst-initorder2.out): Likewise.
17045 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17046 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17047 (test_wrapper_env): New variable. Use it to run ld.so.
17048 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17049 Use it to run ld.so.
17050 (test_wrapper_env): Likewise.
17051 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17052 $(test-wrapper) to run-iconv-test.sh.
17053 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17054 (ICONV): Use $test_wrapper.
17055 * posix/Makefile ($(objpfx)globtest.out): Pass
17056 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17057 globtest.sh, not $(run-program-prefix).
17058 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17059 (test_wrapper): Likewise.
17060 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17061 set together with run_via_rtld_prefix.
17062 (run_program_prefix): Define in terms of test_wrapper and
17063 run_via_rtld_prefix.
17064
6e6249d0
RM
170652012-10-24 Roland McGrath <roland@hack.frob.com>
17066
17067 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17068 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17069 Targets removed.
17070
17071 [BZ #14743]
17072 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17073 Declare __clock_getres, __clock_gettime, __clock_settime,
17074 __clock_nanosleep, and __clock_getcpuclockid.
17075 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17076 Remove librt_hidden_def (clock_gettime).
17077 * sysdeps/unix/clock_gettime.c: Likewise.
17078 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17079 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17080 * rt/clock_getres.c: Define __clock_getres as an alias.
17081 * sysdeps/posix/clock_getres.c: Likewise.
17082 * rt/clock_settime.c: Define __clock_settime as an alias.
17083 * sysdeps/unix/clock_settime.c: Likewise.
17084 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17085 * sysdeps/unix/clock_nanosleep.c: Likewise.
17086 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17087 * rt/clock-compat.c: New file.
17088 * rt/Makefile (librt-routines): Add clock-compat and move
17089 $(clock-routines) to ...
17090 (routines): ... here, new variable.
17091 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17092 Don't add get_clockfreq here.
17093 * rt/Versions (libc: GLIBC_2.17): New version set.
17094 Add clock_* symbols here.
17095 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17097 (GLIBC_2.17): Add clock_* symbols.
17098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17102 Likewise.
17103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17104 Likewise.
17105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17109 * NEWS: Mention the move.
17110
17111 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17112 Use __open, __read, __close rather than their public counterparts.
17113 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17114 (__get_clockfreq_via_cpuinfo): Likewise.
17115 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17116 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17117
17118 * config.h.in (HAVE_IFUNC): New #undef.
17119 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17120 was successful.
17121 * configure: Regenerated.
17122
0cae3f4b
MF
171232012-10-24 Mike Frysinger <vapier@gentoo.org>
17124
17125 * configure.in: Move READELF check to start of file.
17126 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17127 libc_cv_asm_gnu_indirect_function in the process.
17128 * configure: Regenerated.
17129
8175a253
MF
171302012-10-24 Mike Frysinger <vapier@gentoo.org>
17131
17132 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17133 send the output to /dev/null.
17134 (libc_cv_cc_with_libunwind): Likewise.
17135 (libc_cv_as_noexecstack): Likewise.
17136 * configure: Regenerate.
17137
0708a7d1
JM
171382012-10-24 Joseph Myers <joseph@codesourcery.com>
17139
10b40d85
JM
17140 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17141
0708a7d1
JM
17142 * posix/globtest.sh (TMPDIR): Do not set.
17143 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17144 (testout): Likewise.
17145
9fddec1a
AJ
171462012-10-24 Andreas Jaeger <aj@suse.de>
17147
3a8db22f
AJ
17148 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17149 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17150 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17151 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17152 posix_fadvise64, posix_fallocate64.
17153
9fddec1a
AJ
17154 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17155 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17156 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17157 Likewise.
17158 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17159 Likewise.
17160 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17161
17162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17163 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17164 <bits/fcntl-linux.h>.
17165 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17166
17167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17168 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17169 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17170 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17171 [__WORDSIZE != 64]: Likewise.
17172
ebfd1bbd
JM
171732012-10-23 Joseph Myers <joseph@codesourcery.com>
17174
03ac099f
JM
17175 * Makeconfig (run-built-tests): New variable.
17176 * Rules [$(cross-compiling) = yes]: Change condition to
17177 [$(run-built-tests) = no].
17178 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17179 to [$(run-built-tests) = yes].
17180 * elf/Makefile [$(cross-compiling) = no]: Likewise
17181 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17182 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17183 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17184 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17185 * io/Makefile [$(cross-compiling) = no]: Likewise.
17186 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17187 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17188 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17189 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17190 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17191 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17192 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17193 * string/Makefile [$(cross-compiling) = no]: Likewise.
17194
ebfd1bbd
JM
17195 * posix/Makefile ($(objpfx)globtest.out): Pass
17196 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17197 $(rtld-installed-name).
17198 * posix/globtest.sh (elf_objpfx): Remove variable.
17199 (rtld_installed_name): Likewise.
17200 (library_path): Likewise.
17201 (run_program_prefix): New variable. Use for running globtest
17202 binary.
17203
166bca24
JB
172042012-10-23 Jim Blandy <jimb@codesourcery.com>
17205 Joseph Myers <joseph@codesourcery.com>
17206
17207 * Makeconfig (host-built-program-cmd): New variable.
17208 * elf/Makefile (tst-stackguard1-ARGS): Use
17209 $(host-built-program-cmd).
17210 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17211 (tst-spawn-ARGS): Likewise.
17212 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17213
88866099
JM
172142012-10-23 Joseph Myers <joseph@codesourcery.com>
17215 Jim Blandy <jimb@codesourcery.com>
17216
17217 * Makeconfig (run-via-rtld-prefix): New variable.
17218 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17219 (built-program-cmd): Likewise.
17220
b4b4c296
AJ
172212012-10-22 Andreas Jaeger <aj@suse.de>
17222
17223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17224 __O_RSYNC if it exists, otherwise to O_SYNC.
17225
6fb54a22
JB
172262012-10-22 Jim Blandy <jimb@codesourcery.com>
17227 Joseph Myers <joseph@codesourcery.com>
17228
17229 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17230 /dev/null.
17231 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17232 from /dev/null
17233 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17234 /dev/null.
17235
481b90b9
AJ
172362012-10-22 Andreas Jaeger <aj@suse.de>
17237
2a0e2669
AJ
17238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17239 Define always.
17240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17241
76e38f9a
AJ
17242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17243 bits/fcntl-linux.h.
17244
7cd37b43
AJ
17245 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17246 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17247
481b90b9
AJ
17248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17249 to __O_LARGEFILE.
17250 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17251 to __O_LARGEFILE.
17252
aba75984
JB
172532012-10-21 Jim Blandy <jimb@codesourcery.com>
17254 Joseph Myers <joseph@codesourcery.com>
17255
17256 * config.make.in (NM): New variable.
17257
88d4247f
AJ
172582012-10-21 Andreas Jaeger <aj@suse.de>
17259
17260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17261 definitions and declarations that are provided by
17262 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17263
f2eed205
L
172642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17265
17266 [BZ #14683]
17267 * elf/Makefile (tests-static): Add tst-leaks1-static.
17268 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17269 ($(objpfx)tst-leaks1-static): New rule.
17270 ($(objpfx)tst-leaks1-static-mem): Likewise.
17271 (tst-leaks1-static-ENV): New macro.
17272 * elf/dl-open.c (dl_open_worker): Check the main application
17273 only if SHARED is defined.
17274 * elf/tst-leaks1-static.c: New file.
17275
335e6931
AJ
172762012-10-20 Andreas Jaeger <aj@suse.de>
17277
17278 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17279 generic values for Linux.
17280 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17281 and declarations that are provided by <bits/fcntl-linux.h> and
17282 include <bits/fcntl-linux.h>.
17283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17284 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17285
ac5c94d3
RM
172862012-10-20 Roland McGrath <roland@hack.frob.com>
17287
17288 * io/fcntl.h: Move include of <bits/types.h> to the top and
17289 include it unconditionally.
17290
de54b33a
L
172912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17292
228cfb01
L
17293 * wcsmbs/Makefile (tests-ifunc): New variable.
17294 (tests): Add $(tests-ifunc).
17295 * wcsmbs/test-wcschr-ifunc.c: New file.
17296 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17297 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17298 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17299 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17300 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17301
69f07e5f
L
17302 * string/Makefile (tests-ifunc): New variable.
17303 (tests): Add $(tests-ifunc).
17304 * string/test-memccpy.c (TEST_NAME): New macro.
17305 * string/test-memchr.c (TEST_NAME): Likewise.
17306 * string/test-memcmp.c (TEST_NAME): Likewise.
17307 * string/test-memcpy.c (TEST_NAME): Likewise.
17308 * string/test-memmem.c (TEST_NAME): Likewise.
17309 * string/test-memmove.c (TEST_NAME): Likewise.
17310 * string/test-memset.c (TEST_NAME): Likewise.
17311 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17312 * string/test-stpcpy.c (TEST_NAME): Likewise.
17313 * string/test-stpncpy.c (TEST_NAME): Likewise.
17314 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17315 * string/test-strcasestr.c (TEST_NAME): Likewise.
17316 * string/test-strcat.c (TEST_NAME): Likewise.
17317 * string/test-strchr.c (TEST_NAME): Likewise.
17318 * string/test-strcmp.c(TEST_NAME): Likewise.
17319 * string/test-strcpy.c (TEST_NAME): Likewise.
17320 * string/test-strcspn.c (TEST_NAME): Likewise.
17321 * string/test-strlen.c (TEST_NAME): Likewise.
17322 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17323 * string/test-strncmp.c (TEST_NAME): Likewise.
17324 * string/test-strncpy.c (TEST_NAME): Likewise.
17325 * string/test-strnlen.c (TEST_NAME): Likewise.
17326 * string/test-strpbrk.c (TEST_NAME): Likewise.
17327 * string/test-strrchr.c (TEST_NAME): Likewise.
17328 * string/test-strspn.c (TEST_NAME): Likewise.
17329 * string/test-strstr.c (TEST_NAME): Likewise.
17330 * string/test-bcopy-ifunc.c: New file.
17331 * string/test-bzero-ifunc.c: Likewise.
17332 * string/test-memccpy-ifunc.c: Likewise.
17333 * string/test-memchr-ifunc.c: Likewise.
17334 * string/test-memcmp-ifunc.c: Likewise.
17335 * string/test-memcpy-ifunc.c: Likewise.
17336 * string/test-memmem-ifunc.c: Likewise.
17337 * string/test-memmove-ifunc.c: Likewise.
17338 * string/test-mempcpy-ifunc.c: Likewise.
17339 * string/test-memset-ifunc.c: Likewise.
17340 * string/test-rawmemchr-ifunc.c: Likewise.
17341 * string/test-stpcpy-ifunc.c: Likewise.
17342 * string/test-stpncpy-ifunc.c: Likewise.
17343 * string/test-strcasecmp-ifunc.c: Likewise.
17344 * string/test-strcasestr-ifunc.c: Likewise.
17345 * string/test-strcat-ifunc.c: Likewise.
17346 * string/test-strchr-ifunc.c: Likewise.
17347 * string/test-strchrnul-ifunc.c: Likewise.
17348 * string/test-strcmp-ifunc.c: Likewise.
17349 * string/test-strcpy-ifunc.c: Likewise.
17350 * string/test-strcspn-ifunc.c: Likewise.
17351 * string/test-strlen-ifunc.c: Likewise.
17352 * string/test-strncasecmp-ifunc.c: Likewise.
17353 * string/test-strncat-ifunc.c: Likewise.
17354 * string/test-strncmp-ifunc.c: Likewise.
17355 * string/test-strncpy-ifunc.c: Likewise.
17356 * string/test-strnlen-ifunc.c: Likewise.
17357 * string/test-strpbrk-ifunc.c: Likewise.
17358 * string/test-strrchr-ifunc.c: Likewise.
17359 * string/test-strspn-ifunc.c: Likewise.
17360 * string/test-strstr-ifunc.c: Likewise.
17361
de54b33a
L
17362 * debug/Makefile (tests-ifunc): New variable.
17363 (tests): Add $(tests-ifunc).
17364 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17365 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17366 * debug/test-stpcpy_chk-ifunc.c: New file.
17367 * debug/test-strcpy_chk-ifunc.c: Likewise.
17368
88481c16
SP
173692012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17370
17371 [BZ #13601]
17372 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17373 header is not read in.
17374
135948bd
JM
173752012-10-19 Joseph Myers <joseph@codesourcery.com>
17376
89f1c388
JM
17377 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17378 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17379 directly. Pass built executable to script as
17380 $(built-program-cmd).
17381 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17382 $testprogram without using LD_LIBRARY_PATH and $ldso.
17383
e40a0d21
JM
17384 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17385 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17386 $(rtld-installed-name).
17387 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17388 (rtld_installed_name): Likewise.
17389 (library_path): Likewise.
17390 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17391 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17392 $(run-program-prefix) to tst-tables.sh.
17393 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17394 it to run tst-table-from and tst-table-to.
17395 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17396 Pass it to tst-table.sh.
17397 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17398 $(run-program-prefix) to tst-gettext.sh.
17399 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17400 tst-translit.sh.
17401 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17402 tst-gettext2.sh.
17403 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17404 to run tst-gettext.
17405 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17406 to run tst-gettext2.
17407 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17408 to run tst-translit.
17409 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17410 $(run-program-prefix) to tst-mtrace.sh.
17411 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17412 to run tst-mtrace.
17413 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17414 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17415 $(rtld-installed-name).
17416 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17417 (rtld_installed_name): Likewise.
17418 (run_program_prefix): New variable. Use it to run wordexp-test.
17419
728e272a
JM
17420 * Makeconfig (ARCH): Remove all definitions.
17421 (machine): Likewise.
17422 [ARCH]: Remove conditional code.
17423 [!objdir]: Give error.
17424 [!objdir] (objpfx): Remove.
17425 [!objdir] (common-objpfx): Likewise.
17426 [!objdir] (common-objdir): Likewise.
17427 * configure.in (config_makefile): Remove. Hardcode Makefile in
17428 AC_CONFIG_FILES call.
17429 * configure: Regenerated.
17430
d528cdcf
JM
17431 [BZ #13888]
17432 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17433 or TMPDIR.
17434 (testout): Likewise.
17435
135948bd
JM
17436 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17437 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17438 $(rtld-installed-name).
17439 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17440 (rtld_installed_name): Likwise.
17441 (runit): Remove function.
17442 (run_getconf): New variable, Use it for running getconf binary.
17443
38c78296
L
174442012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17445
17446 [BZ #14716]
17447 * string/test-memmem.c (check_result): New function.
17448 (do_one_test): Use it.
17449 (check1): New function.
17450 (test_main): Use it.
17451
d077f65f
MT
174522012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17453
17454 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17455
ced52c71
JM
174562012-10-18 Joseph Myers <joseph@codesourcery.com>
17457
17458 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17459 (_G_LSEEK64): Likewise.
17460 (_G_MMAP64): Likewise.
17461 (_G_FSTAT64): Likewise.
17462 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17463 (_G_LSEEK64): Likewise.
17464 (_G_MMAP64): Likewise.
17465 (_G_FSTAT64): Likewise.
17466 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17467 unconditional. Call __mmap64 directly.
17468 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17469 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17470 __lseek64 directly.
17471 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17472 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17473 __mmap64 directly.
17474 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17475 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17476 __lseek64 directly.
17477 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17478 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17479 __lseek64 directly.
17480 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17481 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17482 __lseek64 directly.
17483 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17484 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17485 __fxstat64 directly.
17486 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17487 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17488 unconditional.
17489 (freopen64) [!_G_OPEN64]: Remove conditional code.
17490 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17491 unconditional.
17492 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17493 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17494 unconditional.
17495 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17496 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17497 unconditional.
17498 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17499 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17500 unconditional.
17501 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17502 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17503 unconditional.
17504 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17505 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17506 unconditional.
17507 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17508 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17509 unconditional.
17510 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17511
b741de23
SP
175122012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17513
17514 [BZ #12140]
17515 * manual/memory.texi (Malloc Tunable Parameters): Add note
17516 about free list pointers overwriting some perturb bytes.
17517 Wording suggested by Roland McGrath.
17518
f9b9d9c9
JM
175192012-10-17 Joseph Myers <joseph@codesourcery.com>
17520
17521 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17522 (lgamma_test): Likewise.
17523 (tgamma_test): Likewise.
17524
172a631a
FW
175252012-10-16 Florian Weimer <fweimer@redhat.com>
17526
17527 [BZ #14700]
17528 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17529 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17530
e9f37252
MK
175312012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17532
17533 * NEWS: Mention BZ #14716.
17534 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17535 when removing AVAILABLE1_USES_J macro.
17536
d394eb74
L
175372012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17538
17539 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17540 (__bswap_64): __uint64_t for unsigned 64-bit int.
17541
ca38dc17
AS
175422012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17543
17544 * include/string.h (memmem): Declare libc hidden alias.
17545 * string/memmem.c (memmem): Define libc hidden alias.
17546 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17547 __read, __close instead of open, read, close.
17548
9a387d1f
L
175492012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17550
ac49ecaf
L
17551 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17552 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17553 global and hidden.
17554 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17555 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17556 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17557 Likewise.
17558 (__rawmemchr_sse2): Likewise.
17559 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17560 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17561 (__strchr_sse2): Likewise.
17562 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17563 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17564 (__strcasecmp_sse2): Likewise.
17565 (__strncasecmp_sse2): Likewise.
17566 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17567 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17568 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17569 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17570 (__strrchr_sse2): Likewise.
17571 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17572 ifunc-impl-list.c.
17573 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17574 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17575 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17576 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17577 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17578 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17579 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17580 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17581 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17582 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17583 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17584 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17585 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17586 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17587 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17588 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17589 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17590 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17591 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17592 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17593 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17594 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17595 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17596 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17597 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17598 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17599 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17600 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17601 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17602 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17603
b090e8ea
L
17604 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17605 global and hidden.
17606 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17607 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17608 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17609 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17610 Likewise.
17611 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17612 Likewise.
17613 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17614 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17615 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17616 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17617 ifunc-impl-list.c.
17618 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17619 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17620 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17621 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17622 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17623 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17624 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17625 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17626 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17627 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17628 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17629 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17630 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17631 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17632 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17633 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17634 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17635 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17636 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17637 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17638 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17639 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17640 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17641 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17642 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17643 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17644 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17645 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17646 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17647 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17648 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17649 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17650 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17651 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17652 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17653 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17654 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17655 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17656 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17657 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17658 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17659
11dd4af6
L
17660 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17661 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17662 * include/ifunc-impl-list.h: New file.
17663 * misc/ifunc-impl-list.c: Likewise.
17664 * misc/Makefile (routines): Add ifunc-impl-list.
17665 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17666 * string/test-string.h: Include <ifunc-impl-list.h>.
17667 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17668 impl_array): New variables.
17669 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17670 are defined.
17671 (test_init): Call __libc_ifunc_impl_list to initialize
17672 func_list if TEST_IFUNC and TEST_NAME are defined.
17673
9a387d1f
L
17674 * string/Makefile (strop-tests): Add bcopy and bzero.
17675 * string/test-bcopy.c: New file.
17676 * string/test-bzero.c: Likewise.
17677 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17678 defined.
17679 * string/test-memset.c: Support bzero test if TEST_BZERO is
17680 defined.
17681 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17682 __libc_memmove.
17683 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17684 __libc_memset.
17685 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17686 of memset.
17687
472371b9
JM
176882012-10-10 Joseph Myers <joseph@codesourcery.com>
17689
1e4a9536
JM
17690 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17691 * configure: Regenerated.
17692
d173d12e
JM
17693 * Makeconfig (+link-static-before-libc): Don't include
17694 $(link-static-libc).
17695
472371b9
JM
17696 * libio/libio.h (_IO_pos_t): Remove.
17697
89a3ad0b
AO
176982012-10-10 Alexandre Oliva <aoliva@redhat.com>
17699
17700 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17701 McGrath.
17702
e7451425
AO
177032012-10-10 Alexandre Oliva <aoliva@redhat.com>
17704
17705 * crypt/crypt-entry.c: Include fips-private.h.
17706 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17707 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17708 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17709 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17710
4ba74a35
AO
177112012-10-10 Alexandre Oliva <aoliva@redhat.com>
17712
17713 * crypt/crypt-private.h: Include stdbool.h.
17714 (_ufc_setup_salt_r): Return bool.
17715 * crypt/crypt-entry.c: Include errno.h.
17716 (__crypt_r): Return NULL with EINVAL for bad salt.
17717 * crypt/crypt_util.c (bad_for_salt): New.
17718 (_ufc_setup_salt_r): Check that salt is long enough and within
17719 the specified alphabet.
17720 * crypt/badsalttest.c: New file.
17721 * crypt/Makefile (tests): Add it.
17722 ($(objpfx)badsalttest): New.
17723
f96f1242
MK
177242012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17725
17726 * NEWS: Add entry for BZ #14602.
17727
0e8e0c1c
JM
177282012-10-09 Joseph Myers <joseph@codesourcery.com>
17729
17730 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17731 type-generic.
17732 * math/libm-test.inc: Update comment listing what functions and
17733 macros are tested.
17734 (isgreater_test): New function.
17735 (isgreaterequal_test): Likewise.
17736 (isless_test): Likewise.
17737 (islessequal_test): Likewise.
17738 (islessgreater_test): Likewise.
17739 (isunordered_test): Likewise.
17740 (main): Call the new functions.
17741
273edc5e
RM
177422012-10-09 Roland McGrath <roland@hack.frob.com>
17743
b8493de0
RM
17744 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17745 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17746 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17747 * sysdeps/i386/configure: Regenerated.
17748 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17749 * sysdeps/mach/configure: Regenerated.
17750 * sysdeps/mach/hurd/configure: Regenerated.
17751 * sysdeps/powerpc/configure: Regenerated.
17752 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17753 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17754 * sysdeps/s390/s390-32/configure: Regenerated.
17755 * sysdeps/s390/s390-64/configure: Regenerated.
17756 * sysdeps/sh/configure: Regenerated.
17757 * sysdeps/sparc/configure: Regenerated.
17758 * sysdeps/unix/sysv/linux/configure: Regenerated.
17759 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17760 * sysdeps/x86_64/configure: Regenerated.
17761
273edc5e
RM
17762 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17763 defined. Don't check if MAP is NULL.
17764
c8450f70
JM
177652012-10-09 Joseph Myers <joseph@codesourcery.com>
17766
17767 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17768 (_G_stat64): Likewise.
17769 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17770 (_G_stat64): Likewise.
17771 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17772 instead of struct _G_stat64.
17773 * libio/fileops.c (mmap_remap_check): Likewise.
17774 (decide_maybe_mmap): Likewise.
17775 (_IO_new_file_seekoff): Likewise.
17776 (_IO_file_stat): Likewise.
17777 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17778 _G_off64_t.
17779 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17780 instead of struct _G_stat64.
17781 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17782
57e605ba
MK
177832012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17784
17785 [BZ #14602]
17786 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17787 Replace with ...
17788 (CHECK_EOL): New macro.
17789 (two_way_short_needle): Check beginning of haystack for EOL. Use
17790 CHECK_EOL.
17791 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17792 Replace with CHECK_EOL.
17793 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17794 Replace with CHECK_EOL.
17795
ef1bb361
JM
177962012-10-08 Joseph Myers <joseph@codesourcery.com>
17797
17798 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17799 type-generic.
17800 * math/libm-test.inc: Update comment listing what functions and
17801 macros are tested.
17802 (finite_test): New function.
17803 (isinf_test): Likewise.
17804 (isnan_test): Likewise.
17805 (fpclassify_test): Test subnormal input.
17806 (isfinite_test): Likewise.
17807 (isnormal_test): Likewise.
17808 (main): Call the new functions.
17809
55f11534
JN
178102012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17811
17812 [BZ #14660]
17813 * Makerules (%.dynsym): Force C locale when running
17814 $(OBJDUMP) --dynamic-syms.
17815
1ab29350
AS
178162012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17817
17818 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17819 <stdint.h>.
17820
f1ecb7ef
DM
178212012-10-06 David S. Miller <davem@davemloft.net>
17822
17823 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17824 upper 32-bits of the length value in %o2 since we use branch-on-register
17825 tests which consider the entire 64-bit register.
17826
5d41d91a
L
178272012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17828
17829 * string/test-strstr.c (check2): Add a test for page boundary.
17830
3baddb72
DM
178312012-10-05 David S. Miller <davem@davemloft.net>
17832
17833 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17834 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17835 file.
17836 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17837 sysdep_routines.
17838 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17839 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17840 and bzero when HWCAP_SPARC_CRYPTO is present.
17841
9cee5585
L
178422012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17843
d7e0dab9
L
17844 [BZ #14602]
17845 * string/test-strstr.c (check2): New function.
17846 (test_main): Call check2.
17847
03759f47
L
17848 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17849 and bug-strchr1.
17850 * string/bug-strcasestr1.c (do_test): Moved to ...
17851 * string/test-strcasestr.c (check1): Here. New function.
17852 (do_one_test): Break out result checking code into ...
17853 (check_result): This. New function.
17854 (do_one_test): Call check_result.
17855 (test_main): Call check1.
17856 * string/bug-strchr1.c (do_test): Moved to ...
17857 * string/test-strchr.c (check1): Here. New function.
17858 (do_one_test): Break out result checking code into ...
17859 (check_result): This. New function.
17860 (do_one_test): Call check_result.
17861 (test_main): Call check1.
17862 * string/bug-strstr1.c (main): Moved to ...
046f153e 17863 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17864 (do_one_test): Break out result checking code into ...
17865 (check_result): This. New function.
17866 (do_one_test): Call check_result.
17867 (test_main): Call check1.
17868 * string/bug-strcasestr1.c: Removed.
17869 * string/bug-strchr1.c: Likewise.
17870 * string/bug-strstr1.c: Likewise.
17871
53cea63e
L
17872 * elf/Makefile (dl-routines): Add hwcaps.
17873 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17874 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17875 (_dl_important_hwcaps): Moved to ...
17876 * elf/dl-hwcaps.c: Here. New file.
17877 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17878
9cee5585 17879 [BZ #14557]
bb859b06
L
17880 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17881 if IS_IN_rtld isn't defined.
17882
9cee5585
L
17883 * elf/dl-support.c (_dl_sysinfo_map): New.
17884 Include "get-dynamic-info.h" and "setup-vdso.h".
17885 (_dl_non_dynamic_init): Call setup_vdso.
17886 * elf/dynamic-link.h: Don't include <assert.h>.
17887 (elf_get_dynamic_info): Moved to ...
17888 * elf/get-dynamic-info.h: Here. New file.
17889 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17890 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17891 * elf/setup-vdso.h: Here. New file.
17892 * elf/rtld.c: Include "setup-vdso.h".
17893 (dl_main): Call setup_vdso.
17894
23c31b76
JM
178952012-10-05 Joseph Myers <joseph@codesourcery.com>
17896
28234b07
JM
17897 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17898 creal in comment listing functions tested. List finite, isinf,
17899 isnan, isless, islessequal, isgreater, isgreaterequal,
17900 islessgreater, isunordered, lgamma_r and pow10 as functions and
17901 macros not tested. Mention which functions not tested are aliases
17902 for other functions. Fix typo. Note that signs of NaNs are not
17903 tested.
17904
23c31b76
JM
17905 * scripts/config.guess: Update from config.git.
17906 * scripts/config.sub: Likewise.
17907
9043e228
RM
179082012-10-04 Roland McGrath <roland@hack.frob.com>
17909
17910 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17911 * misc/madvise.c (madvise): Renamed to __madvise.
17912 Make madvise a weak alias.
17913 * include/sys/mman.h: Declare __madvise.
17914 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17915 * sysdeps/unix/syscalls.list
17916 (madvise): Make __madvise the strong name, and madvise a weak alias.
17917 * sysdeps/unix/sysv/linux/syscalls.list
17918 (madvise, mmap): Remove redundant entries.
17919 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17920 * malloc/malloc.c (mtrim): Likewise.
17921 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17922
f57f8055
RM
179232012-10-03 Roland McGrath <roland@hack.frob.com>
17924
17925 * sysdeps/mach/hurd/dl-cache.c: File removed.
17926 * config.h.in (USE_LDCONFIG): New #undef.
17927 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17928 * configure: Regenerated.
17929 * elf/Makefile (dl-routines): Add dl-cache only under
17930 [$(use-ldconfig) = yes].
17931 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17932 cache on [USE_LDCONFIG].
17933 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17934 [USE_LDCONFIG].
17935 * elf/rtld.c (dl_main): Likewise.
17936
5bb0c10a
PT
179372012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17938
17939 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17940 _SC_LEVEL4_CACHE_LINESIZE.
17941
010188c6
RM
179422012-10-03 Roland McGrath <roland@hack.frob.com>
17943
17944 * sysdeps/unix/bsd/confstr.h: File removed.
17945
b6c5ec07
AO
179462012-10-02 Alexandre Oliva <aoliva@redhat.com>
17947
17948 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17949 sys/sdt-config.h.
17950
408223d4
RM
179512012-10-02 Roland McGrath <roland@hack.frob.com>
17952
17953 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17954 Make 'mapoff' field ElfW(Off) rather than off_t.
17955
bb9510dc
DL
179562012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17957
fc997c6e
DL
17958 * nscd/Makefile: Remove nscd-cflags and all its users.
17959 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17960 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17961
bb9510dc
DL
17962 [BZ #10631]
17963 * malloc.c (malloc_printerr): Clarify error message.
17964
05699367
L
179652012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17966
17967 [BZ #14648]
17968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17969 Set bit_FMA_Usable if FMA is supported.
17970 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17971 macro.
17972 (bit_FMA4_Usable): Updated.
17973 (index_FMA_Usable): New macro.
17974 (CPUID_FMA): Likewise
17975 (HAS_FMA): Defined with bit_FMA_Usable.
17976
51367701
RM
179772012-10-01 Roland McGrath <roland@hack.frob.com>
17978
17979 * bits/types.h (__swblk_t): Type removed.
17980 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17981 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17982 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17983 (__SWBLK_T_TYPE): Likewise.
17984 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17985 (__SWBLK_T_TYPE): Likewise.
17986 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17987 (__SWBLK_T_TYPE): Likewise.
17988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17989 (__SWBLK_T_TYPE): Likewise.
17990
4d57bf63 179912012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17992 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17993
17994 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17995 (xdr_mapname): Use YPMAXMAP as maxsize.
17996 (xdr_peername): Use YPMAXPEER as maxsize.
17997 (xdr_keydat): Use YPAXRECORD as maxsize.
17998 (xdr_valdat): Use YPMAXRECORD as maxsize.
17999
93c65d43
RM
180002012-10-01 Roland McGrath <roland@hack.frob.com>
18001
497a03d6
RM
18002 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18003
93c65d43
RM
18004 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18005 * csu/init-first.c: ... here.
18006 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18007 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18008 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18009 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18010 * sysdeps/i386/init-first.c: File removed.
18011 * sysdeps/sh/init-first.c: File removed.
18012
bec749fd
JM
180132012-10-01 Joseph Myers <joseph@codesourcery.com>
18014
18015 [BZ #14645]
18016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18017 if x * y might underflow to zero and z is zero.
18018 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18019 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18020 * math/libm-test.inc (min_subnorm_value): New variable.
18021 (fma_test): Add more tests.
18022 (fma_test_towardzero): Likewise.
18023 (fma_test_downward): Likewise
18024 (fma_test_upward): Likewise.
18025 (initialize): Set min_subnorm_value.
18026
8ec5b013
JM
180272012-09-29 Joseph Myers <joseph@codesourcery.com>
18028
18029 [BZ #14638]
18030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18031 0 + 0.
18032 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18033 mode for addition resulting in exact zero.
18034 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18036 exact 0 + 0.
18037 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18038 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18039 * math/libm-test.inc (fma_test): Add more tests.
18040 (fma_test_towardzero): New function.
18041 (fma_test_downward): Likewise.
18042 (fma_test_upward): Likewise.
18043 (main): Call the new functions.
18044
b1fa802e
DM
180452012-09-28 David S. Miller <davem@davemloft.net>
18046
18047 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18048
d3b9fd9e
RM
180492012-09-28 Roland McGrath <roland@hack.frob.com>
18050
ea4d37b3
RM
18051 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18052 instead of SIGALRM.
18053
ac51c949
RM
18054 * sysdeps/gnu/_G_config.h: Moved to ...
18055 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18056 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18057 * sysdeps/generic/_G_config.h: ... here.
18058
28c195f7
RM
18059 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18060
848917f9
RM
18061 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18062
6bacf05b
RM
18063 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18064 Conditionalize target on [libnss_test1.so-version].
18065
91363dbb
RM
18066 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18067
cc87f7d8
RM
18068 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18069 (elfobjdir): Move out of conditionals.
18070
b1c608fe
RM
18071 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18072 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18073 (__nss_lookup_function): Conditionalize label remove_from_tree on
18074 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18075
1d9a6d96
DM
180762012-09-28 David S. Miller <davem@davemloft.net>
18077
18078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18079 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18080 file.
18081 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18082 sysdep_routines.
18083 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18085 when HWCAP_SPARC_CRYPTO is present.
18086
72581615
PT
180872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18088
18089 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18090
715a900c
JL
180912012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18092
18093 [BZ #6530]
18094 * stdio-common/vfprintf.c (process_string_arg): Revert
18095 2000-07-22 change.
18096
180972011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18098
18099 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18100 for testcase.
18101 * stdio-common/tst-sprintf.c: Include <locale.h>
18102 (main): Test sprintf's handling of incomplete multibyte
18103 characters.
18104
9bac1d86
L
181052012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18106
18107 * elf/dl-runtime.c (VERSYMIDX): Removed.
18108 * elf/dl-version.c (VERSYMIDX): Likewise.
18109 * elf/do-rel.h (VERSYMIDX): Likewise.
18110 (VALIDX): Likewise.
18111 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18112 * elf/rtld.c (VALIDX): Likewise.
18113 (ADDRIDX): Likewise.
9bac1d86
L
18114 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18115 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18116 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18117 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18118 (VALIDX): Likewise.
18119 (ADDRIDX): Likewise.
9bac1d86 18120
b31606c0
PT
181212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18122
18123 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18124
11541177
JL
181252012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18126
18127 [BZ #11438]
18128 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18129 to global scope.
18130 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18131 addresses are in the same scope as 192.0.2/24.
18132 * posix/gai.conf: Document new scope table defaults.
18133
adb26fae
SP
181342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18135
18136 [BZ #5298]
18137 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18138 for ftell. Compute offsets from write pointers instead.
18139 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18140
4573c6b0
SP
181412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18142
18143 [BZ #14543]
18144 * libio/Makefile (tests): New test case tst-fseek.
18145 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18146 combination works in wide mode.
18147 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18148 state when the external buffer state changes.
18149
aa9bbfe6
DM
181502012-09-27 David S. Miller <davem@davemloft.net>
18151
18152 [BZ #14376]
18153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18154 pass reloc->r_addend in as the 'high' argument to
18155 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18156
784421e7
DM
18157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18158
c39bc8b8
PT
181592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18160
18161 * rt/tst-aio2.c: Include <pthread.h>.
18162 * rt/tst-aio3.c: Likewise.
18163
1ccc2399
SE
181642012-09-27 Steve Ellcey <sellcey@mips.com>
18165
18166 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18167
31ed4153
L
181682012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18169
25f5f885
L
18170 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18171 contents on [SHARED].
31ed4153 18172
b7bfe116
MP
181732012-09-26 Marek Polacek <polacek@redhat.com>
18174
18175 [BZ #14530]
18176 [BZ #13741]
18177 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18178 for C++ and GCC <4.3 as well as for non GCC compilers.
18179
43c4edba
MT
181802012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18181
18182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18183
6a1bf82f
RM
181842012-09-25 Roland McGrath <roland@hack.frob.com>
18185
18186 * Makefile.in (all, install): Declare with .PHONY.
18187 Reported by Michael Hope <michael.hope@linaro.org>.
18188
8ad11b9a
TMQMF
181892012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18190
18191 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18192 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18193 system header.
18194 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18195 Likewise.
18196 (sydep_routines): Add the new and the internal functions.
18197 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18198 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18200 (GLIBC_2.17): Add the new function.
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18202 (GLIBC_2.17): Likewise.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18204 (GLIBC_2.17): Likewise.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18206 (GLIBC_2.17): Likewise.
18207 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18208
7e2fca8d
AM
182092012-09-25 Alan Modra <amodra@gmail.com>
18210
18211 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18212 Add release barrier before setting once_control to say
18213 initialisation is done. Add hints on lwarx. Use macro in
18214 place of isync.
18215 (clear_once_control): Add release barrier.
18216
b87c4b24
JM
182172012-09-25 Joseph Myers <joseph@codesourcery.com>
18218
d032e0d2
JM
18219 [BZ #13629]
18220 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18221 specially.
18222 * math/s_clog10.c (__clog10): Likewise.
18223 * math/s_clog10f.c (__clog10f): Likewise.
18224 * math/s_clog10l.c (__clog10l): Likewise.
18225 * math/s_clogf.c (__clogf): Likewise.
18226 * math/s_clogl.c (__clogl): Likewise.
18227 * math/Makefile (libm-calls): Add x2y2m1.
18228 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18229 (__x2y2m1): Likewise.
18230 (__x2y2m1l): Likewise.
18231 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18232 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18235 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18236 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18237 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18238 * sysdeps/i386/fpu/libm-test-ulps: Update.
18239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18240
b87c4b24
JM
18241 [BZ #14621]
18242 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18243 int as type of variable DEPTH.
18244 (glob): Use size_t instead of int as type of variables NEWCOUNT
18245 and OLD_PATHC.
18246
6d3bf199
LD
182472012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18248
22bf5c17
LD
18249 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18250 Add s_sincosf-sse2.
18251 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18252 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18253 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18254 macros for using routine as __sincosf_ia32.
18255 Use macro for function declaration and weak_alias.
18256 * sysdeps/i386/fpu/libm-test-ulps: Update.
18257
18258 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18260
18261 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18262 subnormal argument.
18263 * math/s_cexpf.c (__cexpf): Likewise.
18264 * math/s_csinf.c (__csinf): Likewise.
18265 * math/s_csinhf.c (__csinhf): Likewise.
18266 * math/s_ctanf.c (__ctanf): Likewise.
18267 * math/s_ctanhf.c (__ctanhf): Likewise.
18268 * math/s_ccosh.c (__ccoshf): Likewise.
18269 * math/s_cexp.c (__cexpl): Likewise.
18270 * math/s_csin.c (__csin): Likewise.
18271 * math/s_csinh.c (__csinh): Likewise.
18272 * math/s_ctan.c (__ctan): Likewise.
18273 * math/s_ctanh.c (ctanh): Likewise.
18274 * math/s_ccoshl.c (__ccoshl): Likewise.
18275 * math/s_cexpl.c (__cexpl): Likewise.
18276 * math/s_csinl.c (__csinl): Likewise.
18277 * math/s_csinhl.c (__csinhl): Likewise.
18278 * math/s_ctanl.c (__ctanl): Likewise.
18279 * math/s_ctanhl.c (__ctanhl): Likewise.
18280
203e5603
JM
182812012-09-25 Joseph Myers <joseph@codesourcery.com>
18282
18283 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18284 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18285 (_IO_off_t): Define to __off_t, not _G_off_t.
18286 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18287 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18288 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18289 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18290 type of __dummy and __dummy2 fields.
18291 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18292 (_G_ssize_t): Likewise.
18293 (_G_off_t): Likewise.
18294 (_G_pid_t): Likewise.
18295 (_G_uid_t): Likewise.
18296 (_G_wchar_t): Likewise.
18297 (_G_wint_t): Likewise.
18298 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18299 (_G_ssize_t): Likewise.
18300 (_G_off_t): Likewise.
18301 (_G_pid_t): Likewise.
18302 (_G_uid_t): Likewise.
18303 (_G_wchar_t): Likewise.
18304 (_G_wint_t): Likewise.
18305 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18306 (_G_ssize_t): Likewise.
18307 (_G_off_t): Likewise.
18308 (_G_pid_t): Likewise.
18309 (_G_uid_t): Likewise.
18310 (_G_wchar_t): Likewise.
18311 (_G_wint_t): Likewise.
18312
9fab36eb
SP
183132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18314
18315 * malloc/arena.c: Include malloc-sysdep.h.
18316 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18317 is sufficient to shrink the heap or an unmap is needed.
18318 * sysdeps/generic/malloc-sysdep.h: New file. Define
18319 new function check_may_shrink_heap.
18320 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18321 new function check_may_shrink_heap.
18322
2b4f00d1
SP
183232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18324
18325 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18326 comments.
18327
9a9028b1
DL
183282012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18329
57c69bef
DL
18330 * catgets/test-gencat.sh: Add "set -e".
18331 * elf/tst-pathopt.sh: Likewise.
18332 * grp/tst_fgetgrent.sh: Likewise.
18333 * iconvdata/run-iconv-test.sh: Likewise.
18334 * intl/tst-gettext.sh: Likewise.
18335 * intl/tst-gettext2.sh: Likewise.
18336 * intl/tst-gettext4.sh: Likewise.
18337 * intl/tst-gettext6.sh: Likewise.
18338 * intl/tst-translit.sh: Likewise.
18339 * io/ftwtest-sh: Likewise.
18340 * libio/test-freopen.sh: Likewise.
18341 * malloc/tst-mtrace.sh: Likewise.
18342 * posix/globtest.sh: Likewise.
18343 * posix/tst-getconf.sh: Likewise.
18344 * posix/wordexp-tst.sh: Likewise.
18345 * stdio-common/tst-printf.sh: Likewise.
18346 * stdio-common/tst-unbputc.sh: Likewise.
18347 * stdlib/tst-fmtmsg.sh: Likewise.
18348 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18349 * catgets/Makefile: Do not specify -e option when running
18350 testsuite shell scripts.
18351 * elf/Makefile: Likewise.
18352 * grp/Makefile: Likewise.
18353 * iconvdata/Makefile: Likewise.
18354 * intl/Makefile: Likewise.
18355 * io/Makefile: Likewise.
18356 * libio/Makefile: Likewise.
18357 * malloc/Makefile: Likewise.
18358 * posix/Makefile: Likewise.
18359 * stdio-common/Makefile: Likewise.
18360 * stdlib/Makefile: Likewise.
18361 * sysdeps/x86_64/Makefile: Likewise.
18362
9a9028b1
DL
18363 * io/ftwtest-sh: Add copyright header.
18364 * posix/globtest.sh: Likewise.
18365 * posix/tst-getconf.sh: Likewise.
18366 * posix/wordexp-tst.sh: Likewise.
18367 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18368
ced6f16e
L
183692012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18370
94b32c39
L
18371 [BZ #13679]
18372 * Makeconfig (+link): Defined as $(+link-static) if
18373 $(build-shared) isn't yes.
18374 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18375 isn't yes.
18376 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18377
189e935b
L
18378 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18379
ced6f16e
L
18380 [BZ #14562]
18381 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18382 new chunk size with MALLOC_ALIGN_MASK.
18383
a9f8e53a
JM
183842012-09-24 Joseph Myers <joseph@codesourcery.com>
18385
18386 [BZ #5044]
18387 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18388 <rounding-mode.h>.
18389 (__printf_fphex): Determine rounding using get_rounding_mode and
18390 round_away.
18391 * stdio-common/tst-printf-round.c (struct hex_test): New
18392 structure.
18393 (hex_tests): New variable.
18394 (test_hex_in_one_mode): New function.
18395 (do_test): Also run tests for hex float output.
18396
43153109
JM
183972012-09-21 Joseph Myers <joseph@codesourcery.com>
18398
18399 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18400 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18401 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18402 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18403 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18404 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18405 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18406 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18407
8a26625d
JM
184082012-09-20 Joseph Myers <joseph@codesourcery.com>
18409
18410 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18411 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18412 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18413 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18414
f3fd569c
DL
184152012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18416
18417 [BZ #14579]
18418 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18419 mode only.
18420 * elf/tst-rtld-load-self.sh: New test.
18421 * elf/Makefile: Run it.
18422
63bbedd4
JM
184232012-09-18 Joseph Myers <joseph@codesourcery.com>
18424
18425 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18426 (tst-writev-ENV): Remove.
18427 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18428
626f8b6a
CM
184292012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18430
18431 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18432
b7aaa4d6
JM
184332012-09-17 Joseph Myers <joseph@codesourcery.com>
18434
18435 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18436 unconditional.
18437 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18438 Likewise.
18439 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18440 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18441 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18442 Likewise.
18443
65513990
L
184442012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18445
18446 [BZ #14587]
18447 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18448 * config.make.in (have-cpp-asm-debuginfo): Removed.
18449 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18450 * configure: Regenerated.
18451
784761be
JM
184522012-09-14 Joseph Myers <joseph@codesourcery.com>
18453
18454 [BZ #5044]
18455 * stdio-common/printf_fp.c: Include <stdbool.h> and
18456 <rounding-mode.h>.
18457 (___printf_fp): Determine rounding using get_rounding_mode and
18458 round_away.
18459 * stdio-common/tst-printf-round.c: New file.
18460 * stdio-common/Makefile (tests): Add tst-printf-round.
18461 (link-libm): New variable.
18462 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18463
9503345f
L
184642012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18465
18466 [BZ #14576]
18467 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18468 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18469 Likewise.
18470 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18471 Likewise.
18472
ad35fc00
JM
184732012-09-13 Joseph Myers <joseph@codesourcery.com>
18474
18475 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18476 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18477 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18478 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18479
6c9b0f68
JM
184802012-09-12 Joseph Myers <joseph@codesourcery.com>
18481
18482 [BZ #14518]
18483 * include/rounding-mode.h: New file.
18484 * sysdeps/generic/get-rounding-mode.h: Likewise.
18485 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18486 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18487 (MAX_VALUE): New macro.
18488 (MIN_VALUE): Likewise.
18489 (overflow_value): New function.
18490 (underflow_value): Likewise.
18491 (round_and_return): Use overflow_value and underflow_value to
18492 determine return values in overflow and underflow cases. Use
18493 round_away to determine rounding depending on rounding mode.
18494 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18495 determine return values in overflow and underflow cases.
18496 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18497 (struct test_results): New structure.
18498 (struct test): Use struct test_results to store expected results
18499 for all rounding modes.
18500 (TEST): Include expected results for all rounding modes.
18501 (test_in_one_mode): New function.
18502 (do_test): Use test_in_one_mode to compute and check results.
18503 Check results for all rounding modes.
18504 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18505 $(link-libm).
18506
19fcedd5
AM
185072012-12-09 Allan McRae <allan@archlinux.org>
18508
1e9d84cd 18509 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18510
8bbfd2f1
JM
185112012-09-11 Joseph Myers <joseph@codesourcery.com>
18512
18513 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18514 (_G_int32_t): Likewise.
18515 (_G_uint16_t): Likewise.
18516 (_G_uint32_t): Likewise.
18517 (_G_HAVE_BOOL): Likewise.
18518 (_G_HAVE_ATEXIT): Likewise.
18519 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18520 (_G_HAVE_IO_FILE_OPEN): Likewise.
18521 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18522 (_G_int32_t): Likewise.
18523 (_G_uint16_t): Likewise.
18524 (_G_uint32_t): Likewise.
18525 (_G_HAVE_BOOL): Likewise.
18526 (_G_HAVE_ATEXIT): Likewise.
18527 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18528 (_G_HAVE_IO_FILE_OPEN): Likewise.
18529 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18530 (_G_int32_t): Likewise.
18531 (_G_uint16_t): Likewise.
18532 (_G_uint32_t): Likewise.
18533 (_G_HAVE_BOOL): Likewise.
18534 (_G_HAVE_ATEXIT): Likewise.
18535 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18536 (_G_HAVE_IO_FILE_OPEN): Likewise.
18537
b1dc5912
L
185382012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18539
18540 * csu/libc-tls.c: Update copyright years.
18541
0e886ef9
JM
185422012-09-10 Joseph Myers <joseph@codesourcery.com>
18543
28361c5e
JM
18544 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18545 [!_G_USING_THUNKS]: Remove conditional code.
18546 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18547 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18548
0e886ef9
JM
18549 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18550 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18551 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18552 (_G_VTABLE_LABEL_PREFIX): Likewise.
18553 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18554 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18555 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18556 (_G_VTABLE_LABEL_PREFIX): Likewise.
18557 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18558 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18559 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18560 (_G_VTABLE_LABEL_PREFIX): Likewise.
18561 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18562
bcba7aa2
L
185632012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18564
18565 * libio/Makefile: Include ../Makeconfig before tests.
18566 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18567 only if $(build-shared) is yes.
18568
06585ee8
L
18569 * iconv/gconv_db.c: Update copyright years.
18570
80ccd52c
LD
185712012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18572
18573 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18574 unwind info if defined PIC. Fix special cases description.
18575 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18576
18577 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18578 DP_HI_MASK entry.
18579 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18580
691bc9c1
L
185812012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18582
3d9b46b3
L
18583 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18584
de2139a9
L
18585 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18586 is NULL.
18587
5ca78dd0
L
18588 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18589 (LDLIBS-tst-chk4): This.
18590 (LDFLAGS-tst-chk5): Renamed to ...
18591 (LDLIBS-tst-chk5): This.
18592 (LDFLAGS-tst-chk6): Renamed to ...
18593 (LDLIBS-tst-chk6): This.
18594 (LDFLAGS-tst-lfschk4): Renamed to ...
18595 (LDLIBS-tst-lfschk4): This.
18596 (LDFLAGS-tst-lfschk5): Renamed to ...
18597 (LDLIBS-tst-lfschk5): This.
18598 (LDFLAGS-tst-lfschk6): Renamed to ...
18599 (LDLIBS-tst-lfschk6): This.
18600
691bc9c1
L
18601 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18602 on $(common-objpfx)soversions.mk.
18603
65cafb1c
JM
186042012-09-07 Joseph Myers <joseph@codesourcery.com>
18605
18606 [BZ #10014]
18607 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18608 example host name.
18609
c78ab094
SP
186102012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18611
18612 * malloc/arena.c (arena_get_retry): New function that gets
18613 another arena for the caller to try its request on.
18614 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18615 current arena cannot fulfill the request.
18616 (__libc_memalign): Likewise.
18617 (__libc_memalign): Likewise.
18618 (__libc_pvalloc): Likewise.
18619 (__libc_calloc): Likewise.
18620
01f49f59
JT
186212012-09-05 John Tobey <john.tobey@gmail.com>
18622
18623 [BZ #13542]
18624 * manual/arith.texi (Operations on Complex): Fix description
18625 of carg branch cut.
18626
4c23fed5
JM
186272012-09-06 Joseph Myers <joseph@codesourcery.com>
18628
1d3c8572
JM
18629 [BZ #10014]
18630 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18631 host name.
18632
4c23fed5
JM
18633 [BZ #10038]
18634 * manual/memory.texi (Memory): Make order of menu items match
18635 order of sections.
18636
04570aaa
L
186372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18638
18639 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18640 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18641 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18642
b80af2f4
L
186432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18644
18645 * csu/libc-tls.c (static_dtv): Renamed to ...
18646 (_dl_static_dtv): This. Make it global.
18647 (_dl_initial_dtv): Removed.
18648 (__libc_setup_tls): Updated.
18649 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18650 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18651 DL_INITIAL_DTV.
18652
2abe9f15
PM
186532012-09-06 Petr Machata <pmachata@redhat.com>
18654
18655 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18656 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18657 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18658 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18659
0948c3af
L
186602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18661
18662 [BZ #14545]
18663 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18664 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18665 freeing dtv[-1].
18666
a5055ad1
L
186672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18668
18669 [BZ #14544]
18670 * Makeconfig (link-static-before-libc): Replace $(+prector)
18671 with $(+prectorT).
18672 (link-static-after-libc): Replace $(+postctor) with
18673 $(+postctorT).
18674 (link-bounded): Replace $(+prector)/$(+postctor) with
18675 $(+prectorT)/$(+postctorT).
18676 (+prectorT): New macro.
18677 (+postctorT): Likewise.
18678
ed8c2ecd
JM
186792012-09-06 Joseph Myers <joseph@codesourcery.com>
18680
18681 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18682 (round_str): Handle values above the maximum for IBM long double
18683 as inexact.
18684 * stdlib/tst-strtod-round.c (tests): Regenerated.
18685
14c996c8
AK
186862012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18687
18688 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18689 assembler flag.
18690 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18691 zarch_nohighgprs around the zarch optimized routines.
18692 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18693 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18694 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18695 for zarch.
18696
430d6ce6
DM
186972012-09-05 David S. Miller <davem@davemloft.net>
18698
18699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18700
ff04dda4
DM
18701 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18702 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18703 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18704 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18705 entries.
18706
24d4e01b
AO
187072012-09-05 Alexandre Oliva <aoliva@redhat.com>
18708
18709 * malloc/arena.c: Fold copyright years.
18710 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18711
61d58174
AO
187122012-09-05 Alexandre Oliva <aoliva@redhat.com>
18713
18714 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18715
20196a5e
AO
187162012-09-05 Alexandre Oliva <aoliva@redhat.com>
18717
18718 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18719
5c447383
AO
187202012-09-05 Alexandre Oliva <aoliva@redhat.com>
18721
18722 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18723 change internal state upon failure.
18724
fad64255
AO
187252012-09-05 Alexandre Oliva <aoliva@redhat.com>
18726
18727 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18728 * malloc/memusage.c (mmap): Likewise.
18729 (mmap64, mremap): Likewise. Adjust name in comment.
18730
1ffb8c90
SP
187312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18732
18733 * libio/fileops.c: Fix typos in comments.
18734 * libio/oldfileops.c: Likewise.
18735 * libio/wfileops.c: Likewise.
18736
6ef9cc37
SP
187372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18738
18739 [BZ #1349]
18740 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18741 (tst-malloc-usable-ENV): Set environment for test case.
18742 * malloc/hooks.c (malloc_check_get_size): New function to get
18743 requested size.
18744 * malloc/malloc.c (musable): Use malloc_check_get_size.
18745 * malloc/tst-malloc-usable.c: New test case.
18746
4d038ae3
AS
187472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18748
18749 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18750
c4e85184
AM
187512012-09-05 Allan McRae <allan@archlinux.org>
18752
b9dafc56 18753 [BZ #13966]
c4e85184
AM
18754 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18755 determine header location.
18756 * configure: Regenerated.
18757
e1343020
AS
187582012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18759
18760 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18761 float format.
18762 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18763 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18764 format.
e1343020
AS
18765 (test): Regenerate.
18766
0a9f1987
DM
187672012-09-04 David S. Miller <davem@davemloft.net>
18768
18769 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18770 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18771 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18772
29237804
FW
187732012-09-04 Florian Weimer <fweimer@redhat.com>
18774
18775 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18776 failures.
18777
edb3cb88
FW
18778 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18779
60160d83
JM
187802012-09-04 Joseph Myers <joseph@codesourcery.com>
18781
18782 [BZ #9914]
18783 * libio/iogetdelim.c: Include <limits.h>.
18784 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18785 + len + 1 would overflow.
18786
bcd6c8dc
AJ
187872012-09-03 Andreas Jaeger <aj@suse.de>
18788
18789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18790 * sysdeps/i386/fpu/libm-test-ulps: Update.
18791
4ffffbd2
LD
187922012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18793
18794 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18795 Add s_sinf-sse2, s_conf-sse2.
18796
18797 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18798 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18799 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18800 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18801
18802 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18803 for using routine as __sinf_ia32.
18804 Use macro for function declaration and weak_alias.
18805 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18806 for using routine as __cosf_ia32.
18807 Use macro for function declaration and weak_alias.
18808
18809 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18810 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18811
18812 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18813 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18815
18816 * math/libm-test.inc (cos_test): Add more test cases.
18817 (sin_test): Likewise.
18818 (sincos_test): Likewise.
18819
511fa286
AK
188202012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18821
18822 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18823 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18824 hidden.
18825 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18826
5f30cfec
L
188272012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 [BZ #14538]
18830 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18831 first element of the GOT.
18832 (elf_machine_load_address): Return the difference between
18833 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18834
0786794f
AM
188352012-09-01 Allan McRae <allan@archlinux.org>
18836
5f30cfec
L
18837 [BZ #13412]
18838 * configure.in (AWK): Require gawk version 3.0 or later.
18839 * configure: Regenerated.
0786794f 18840
26889eac
JM
188412012-09-01 Joseph Myers <joseph@codesourcery.com>
18842
18843 * sysdeps/unix/sysv/linux/kernel-features.h
18844 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18845 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18846 [__NR_clock_getres]: Make code unconditional.
18847 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18848 (clock_getcpuclockid): Remove code left unreachable by removal of
18849 conditionals.
18850 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18851 code unconditional.
18852 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18853 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18854 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18855 Make code unconditional.
18856 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18857 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18858 * sysdeps/unix/sysv/linux/clock_settime.c
18859 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18860 conditional code.
18861 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18862 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18863
d22e28b0
L
188642012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18865
18866 [BZ #14476]
18867 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18868 scripts/test-installation.pl.
18869
18870 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18871 and $ld_so_version if it is set.
18872
050af9c4
SP
188732012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18874
18875 [BZ #14516]
18876 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18877 failure if reading from procfs failed.
18878 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18879
ad845c0b
JM
188802012-08-27 Joseph Myers <joseph@codesourcery.com>
18881
18882 * sysdeps/unix/sysv/linux/kernel-features.h
18883 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18884 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18885 Remove conditional code.
18886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18887 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18888 Remove conditional code.
18889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18890 * sysdeps/unix/sysv/linux/i386/fxstat.c
18891 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18893 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18894 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18896 * sysdeps/unix/sysv/linux/i386/lxstat.c
18897 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18899 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18900 Remove conditional code.
18901 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18902 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18903 Remove conditional code.
18904 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18905 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18906 <kernel-features.h>.
18907 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18908 Remove.
18909 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18910 Remove conditional code.
18911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18912 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18913 Remove conditional.
18914
5dbf56af
MF
189152012-08-27 Mike Frysinger <vapier@gentoo.org>
18916
18917 [BZ #5400]
18918 * NEWS: Add fixed bug number.
18919
d6e70f43
JM
189202012-08-27 Joseph Myers <joseph@codesourcery.com>
18921
7efb4737
JM
18922 [BZ #14519]
18923 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18924 underflowing exponent in case of negative sign.
18925 * stdlib/tst-strtod-round-data: Add more tests.
18926 * stdlib/tst-strtod-round.c (tests): Regenerated.
18927
af92131a
JM
18928 [BZ #3479]
18929 * stdlib/strtod_l.c (NDIG): Remove.
18930 (HEXNDIG): Likewise.
18931 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18932 smallest representable value.
18933 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18934 lie within an exact representation of 1/2 ulp of the result.
18935 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18936 unconditionally.
18937 (TENS_P9_IDX): Define unconditionally.
18938 (TENS_P9_SIZE): Likewise.
18939 (TENS_P10_IDX): Likewise.
18940 (TENS_P10_SIZE): Likewise.
18941 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18942 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18943 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18944 entries for 10^2^13 and 10^2^14.
18945 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18946 (TENS_P13_IDX): Define.
18947 (TENS_P13_SIZE): Likewise.
18948 (TENS_P14_IDX): Likewise.
18949 (TENS_P14_SIZE): Likewise.
18950 (_fpioconst_pow10): Change array size to
18951 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18952 unconditional.
18953 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18954 1024]: Add entries for 10^2^13 and 10^2^14.
18955 [LAST_POW10 > _LAST_POW10]: Remove #error.
18956 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18957 (_fpioconst_pow10): Change array size to
18958 FPIOCONST_POW10_ARRAY_SIZE.
18959 * stdlib/gen-fpioconst.c: New file.
18960 * stdlib/gen-tst-strtod-round.c: Likewise.
18961 * stdlib/tst-strtod-round-data: Likewise.
18962 * stdlib/tst-strtod-round.c: Likewise.
18963 * stdlib/Makefile (tests): Add tst-strtod-round.
18964
d6e70f43
JM
18965 [BZ #14459]
18966 * stdlib/strtod_l.c: Include <stdint.h>.
18967 (NDEBUG): Do not define.
18968 (round_and_return): Change EXPONENT parameter to type intmax_t.
18969 Rearrange calculations to avoid internal overflow possibilities.
18970 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18971 Rearrange calculations to avoid internal overflow possibilities.
18972 Assert that number fits inside MPNSIZE limbs.
18973 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18974 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18975 calculations and add assertions to avoid internal overflow
18976 possibilities. Add casts to avoid signed/unsigned operations.
18977 * stdlib/tst-strtod-overflow.c: New file.
18978 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18979
1f529f7d
MP
189802012-08-25 Marek Polacek <polacek@redhat.com>
18981
18982 * time/time.h: Fix some typos in comments.
18983
59a629f1
RM
189842012-08-23 Roland McGrath <roland@hack.frob.com>
18985
18986 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18987 * posix/tst-rfc3484-2.c: Likewise.
18988 * posix/tst-rfc3484-3.c: Likewise.
18989
d3bafbc9
SM
189902012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18991
18992 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18993 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18994
4efcc022
JM
189952012-08-23 Joseph Myers <joseph@codesourcery.com>
18996
18997 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18998 #include of fxstatat64.c.
18999
3cc3ef96
RM
190002012-08-22 Roland McGrath <roland@hack.frob.com>
19001
f04e2132
RM
19002 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19003 * shadow/getspent_r.c: Likewise.
19004 * shadow/getspnam.c: Likewise.
19005 * shadow/getspnam_r.c: Likewise.
19006 * gshadow/getsgent.c: Likewise.
19007 * gshadow/getsgent_r.c: Likewise.
19008 * gshadow/getsgnam.c: Likewise.
19009 * gshadow/getsgnam_r.c: Likewise.
19010 * inet/getnetbyad.c: Likewise.
19011 * inet/getnetbyad_r.c: Likewise.
19012 * inet/getnetbynm.c: Likewise.
19013 * inet/getnetbynm_r.c: Likewise.
19014 * inet/getnetent.c: Likewise.
19015 * inet/getnetent_r.c: Likewise.
19016 * inet/getproto.c: Likewise.
19017 * inet/getproto_r.c: Likewise.
19018 * inet/getprtent.c: Likewise.
19019 * inet/getprtent_r.c: Likewise.
19020 * inet/getprtname.c: Likewise.
19021 * inet/getprtname_r.c: Likewise.
19022 * inet/getrpcbyname.c: Likewise.
19023 * inet/getrpcbyname_r.c: Likewise.
19024 * inet/getrpcbynumber.c: Likewise.
19025 * inet/getrpcbynumber_r.c: Likewise.
19026 * inet/getrpcent.c: Likewise.
19027 * inet/getrpcent_r.c: Likewise.
19028 * inet/getaliasent.c: Likewise.
19029 * inet/getaliasent_r.c: Likewise.
19030 * inet/getaliasname.c: Likewise.
19031 * inet/getaliasname_r.c: Likewise.
19032 * nscd/getgrgid_r.c: Likewise.
19033 * nscd/getgrnam_r.c: Likewise.
19034 * nscd/gethstbyad_r.c: Likewise.
19035 * nscd/gethstbynm3_r.c: Likewise.
19036 * nscd/getpwnam_r.c: Likewise.
19037 * nscd/getpwuid_r.c: Likewise.
19038 * nscd/getsrvbynm_r.c: Likewise.
19039 * nscd/getsrvbypt_r.c: Likewise.
19040 * nscd/gai.c: Likewise.
19041
c53d909c
RM
19042 * configure.in (build_nscd): New substituted variable, set
19043 by --disable-build-nscd and defaults to $use_nscd.
19044 * configure: Regenerated.
19045 * config.make.in (build-nscd): New substituted variable.
19046 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19047 Change conditional to require [$(build-nscd) = yes] as well.
19048 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19049
3cc3ef96
RM
19050 [BZ# 13696]
19051 * configure.in (use_nscd): New substituted variable, set by
19052 --disable-nscd. If enabled, define USE_NSCD.
19053 * configure: Regenerated.
19054 * config.h.in: Add USE_NSCD.
19055 * config.make.in (use-nscd): New substituted variable.
19056 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19057 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19058 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19059 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19060 (CFLAGS-getgrnam_r.c): Likewise.
19061 (CFLAGS-initgroups.c): Likewise.
19062 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19063 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19064 Variables removed.
19065 * inet/getnetgrent_r.c
19066 (nscd_setnetgrent): New function, broken out of ...
19067 (setnetgrent): ... here. Call it.
19068 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19069 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19070 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19071 * nscd/Makefile (routines, aux): Move definitions after include of
19072 Makeconfig. Conditionalize on [$(use-nscd) != no].
19073 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19074 Conditionalize on [USE_NSCD].
19075 (is_nscd, nscd_init_cb): Likewise.
19076 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19077 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19078 * nss/nss_db/db-init.c: Likewise.
19079 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19080 [USE_NSCD].
19081 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19082 (make_request): Use it.
19083 (cache_valid_p): New function.
19084 (__check_pf): Use it.
19085 * NEWS: Add item for --disable-nscd.
19086
07e51550
DL
190872012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19088
19089 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19090 to support sed >= 4.2.1-20-ga9bf076.
19091 * configure: Regenerated.
19092
35a5b08b
RM
190932012-08-22 Roland McGrath <roland@hack.frob.com>
19094
19095 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19096 Conditionalize whole body on [IREL].
19097
8479f23a
JL
190982012-08-22 Jeff Law <law@redhat.com>
19099
19100 [BZ #14505]
19101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19102 if the family is PF_UNSPEC.
19103
48da0b21
MF
191042012-08-22 Mike Frysinger <vapier@gentoo.org>
19105
19106 * Makerules (lib-version): Rename from V.
19107 (install-lib-nosubdir): Change V to lib-version.
19108
15d0da8c
WS
191092012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19110
19111 [BZ #14252]
19112 * powerpc32/power6/wcschr.c: New file.
19113 * powerpc32/power6/wcscpy.c: New file.
19114 * powerpc32/power6/wcsrchr.c: New file.
19115 * powerpc64/power6/wcschr.c: New file.
19116 * powerpc64/power6/wcscpy.c: New file.
19117 * powerpc64/power6/wcsrchr.c: New file.
19118
bcca0895
MK
191192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19120
19121 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19122 (two_way_short_needle): Use it.
5a4aaa33
RM
19123 * string/strstr.c (AVAILABLE1_USES_J): Define.
19124 * string/strcasestr.c: Likewise.
99677e57
MK
19125
19126 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19127 array references.
19128 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19129
400726de
MK
19130 [BZ #11607]
19131 * NEWS: Add an entry.
19132 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19133 define their defaults.
19134 (two_way_short_needle): Detect end-of-string on-the-fly.
19135 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19136 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19137 * string/bug-strcasestr1.c: New test.
19138 * string/Makefile: Run it.
19139
20a71f2c
MK
191402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19141
19142 [BZ #11607]
19143 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19144 the first character.
19145
21ad0558
RM
191462012-08-21 Roland McGrath <roland@hack.frob.com>
19147
19148 * csu/elf-init.c (__libc_csu_irel): Function removed.
19149 * csu/libc-start.c (apply_irel): New function.
19150 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19151
0e1d9911
JM
191522012-08-21 Joseph Myers <joseph@codesourcery.com>
19153
19154 * sysdeps/unix/sysv/linux/kernel-features.h
19155 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19156 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19157 <kernel-features.h>.
19158 [__NR_fadvise64_64]: Make code unconditional.
19159 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19160 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19161 !__NR_fadvise64_64)]: Likewise.
19162 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19163 !__NR_fadvise64_64))]: Likewise.
19164 [__NR_fadvise64]: Make code unconditional.
19165 [!__NR_fadvise64]: Remove conditional code.
19166 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19167 <kernel-features.h>.
19168 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19169 unconditional.
19170 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19171 conditional code.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19173 not include <kernel-features.h>.
19174 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19175 unconditional.
19176 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19177 conditional code.
19178 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19179 include <kernel-features.h>.
19180 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19181 unconditional.
19182 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19183 conditional code.
19184
14a50c9d
WS
191852012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19186
19187 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19188 slight instruction rearrangements per scrollpipe analysis.
19189 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19190
c0f4faf0
RM
191912012-08-20 Roland McGrath <roland@hack.frob.com>
19192
696da859
RM
19193 * manual/syslog.texi (syslog; vsyslog, closelog):
19194 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19195 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19196
c0f4faf0
RM
19197 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19198 DSOCAPS to match condition on defining it.
19199
348363b2
JM
192002012-08-20 Joseph Myers <joseph@codesourcery.com>
19201
a35cbf28
JM
19202 * sysdeps/unix/sysv/linux/kernel-features.h
19203 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19205 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19206 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19208 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19209 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19211 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19212 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19213
445f7ecd
JM
19214 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19215 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19216
348363b2
JM
19217 * sysdeps/unix/sysv/linux/kernel-features.h
19218 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19219 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19220 unconditional.
19221 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19222 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19223 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19224 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19225 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19226 Make code unconditional.
19227 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19228 (__mmap64) [!__NR_mmap2]: Likewise.
19229 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19230 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19231 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19232 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19233 [__NR_mmap2]: Make code unconditional.
19234 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19235 (__mmap64) [!__NR_mmap2]: Likewise.
19236
bc5bc0e5
AK
192372012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19238
19239 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19240
88d506de
AJ
192412012-08-18 Andreas Jaeger <aj@suse.de>
19242
19243 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19244
493387d2
MF
192452012-08-18 Mike Frysinger <vapier@gentoo.org>
19246
19247 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19248 * include/unistd.h (__have_sock_cloexec): Likewise.
19249 (__have_pipe2): Likewise.
19250 (__have_dup3): Likewise.
19251
a277af22
MF
192522012-08-18 Mike Frysinger <vapier@gentoo.org>
19253
19254 [BZ #9685]
19255 * include/unistd.h (__have_pipe2): Change define into an extern int.
19256 (__have_dup3): Likewise.
19257 * socket/have_sock_cloexec.c: Include fcntl.h.
19258 (__have_pipe2): New variable.
19259 (__have_dup3): Likewise.
19260
fdab8fd3
MF
192612012-08-17 Mike Frysinger <vapier@gentoo.org>
19262
19263 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19264
31035e80
MP
192652012-08-17 Marek Polacek <polacek@redhat.com>
19266
19267 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19268 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19269
3bd9e993
RM
192702012-08-17 Roland McGrath <roland@hack.frob.com>
19271
c91c505f
RM
19272 * configure.in: Add AC_SUBST for sysheaders.
19273 * configure: Regenerated.
19274 * config.make.in (sysheaders): New substituted variable.
19275
7c6f9d53
RM
19276 * sysdeps/unix/mkfifo.c: Moved ...
19277 * sysdeps/posix/mkfifo.c: ... here.
19278 * sysdeps/unix/mkfifoat.c: Moved ...
19279 * sysdeps/posix/mkfifoat.c: ... here.
19280
19281 * sysdeps/unix/utime.c: Moved ...
19282 * sysdeps/posix/utime.c: ... here.
19283
19284 * sysdeps/unix/time.c: Moved ...
19285 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19286 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19287 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19288
19289 * sysdeps/unix/nice.c: Moved ...
19290 * sysdeps/posix/nice.c: ... here.
19291
19292 * sysdeps/unix/alarm.c: Moved ...
19293 * sysdeps/posix/alarm.c: ... here.
19294
3bd9e993
RM
19295 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19296
d1f09384
JL
192972012-08-17 Jeff Law <law@redhat.com>
19298
19299 * intl/Makefile (codeset_mo): New variable.
19300 ($(codeset_mo)): New target.
19301 (tst-codeset.out): Depend on that. Remove explicit rule.
19302 (tst-gettext3.out, tst-gettext5.out): Likewise.
19303 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19304 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19305 * intl/tst-codeset.sh: Remove.
19306 * intl/tst-gettext3.sh: Likewise.
19307 * intl/tst-gettext5.sh: Likewise.
19308
2ae1ae5c
RM
193092012-08-17 Roland McGrath <roland@hack.frob.com>
19310
c31fdb83
RM
19311 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19312 * sysdeps/unix/syscalls.list: ... here.
19313
a0844057
RM
19314 * sysdeps/posix/getaddrinfo.c
19315 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19316 (gaiconf_init, gaiconf_reload): Use them.
19317 [!_STATBUF_ST_NSEC]
19318 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19319 Define using time_t rather than struct timespec.
19320
750c1f2a
RM
19321 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19322 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19323 Macros removed.
19324 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19325 [!NO_THREADS].
19326 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19327 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19328 Likewise.
19329
2ae1ae5c
RM
19330 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19331 __libc_cleanup_push argument.
19332
e66a42f5
RM
19333 * bits/param.h: New file.
19334 * misc/sys/param.h: New file.
19335 * include/sys/param.h: New file.
19336 * misc/Makefile (headers): Add bits/param.h.
19337 * sysdeps/generic/sys/param.h: File removed.
19338 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19339 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19340 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19341 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19342
b7c08a66
RM
19343 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19344 last change.
19345
b2e1c562
RM
19346 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19347 [_IO_MTSAFE_IO].
19348 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19349 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19350 New macros.
19351
c75ccd4c
RM
19352 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19353 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19354 rather than -D_IO_MTSAFE_IO conditionally.
19355 * stdio-common/Makefile (CPPFLAGS): Likewise.
19356 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19357 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19358 Use $(libio-mtsafe).
19359 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19360 of -D_IO_MTSAFE_IO.
19361 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19362 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19363 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19364 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19365 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19366 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19367 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19368 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19369 (CFLAGS-fread_u_chk.c): Likewise.
19370 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19371 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19372 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19373 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19374 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19375 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19376 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19377 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19378 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19379
19380 * libio/Makefile: Test [$(libc-reentrant) = yes]
19381 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19382
19383 * Makeconfig
19384 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19385 * sysdeps/pthread/configure: File removed.
19386 * sysdeps/pthread/Makeconfig: New file.
19387 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19388 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19389
d9195db8
GB
193902012-08-16 Gary Benson <gbenson@redhat.com>
19391
19392 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19393 unmapping the first object in a namespace.
19394
86466cd9
RM
193952012-08-16 Roland McGrath <roland@hack.frob.com>
19396
19397 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19398 (__internal_setnetgrent): ... this. Add internal_function to
19399 definition. Add libc_hidden_def.
19400 (setnetgrent): Update caller.
19401 (internal_endnetgrent): Renamed to ...
19402 (__internal_endnetgrent): ... this. Add internal_function to
19403 definition. Add libc_hidden_def.
19404 (endnetgrent): Update caller.
19405 (internal_getnetgrent_r): Renamed to ...
19406 (__internal_getnetgrent_r): ... this. Add internal_function to
19407 definition. Add libc_hidden_def.
19408 (__getnetgrent_r): Update caller.
19409 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19410
c3c8283c
JM
194112012-08-16 Joseph Myers <joseph@codesourcery.com>
19412
19413 * stdlib/longlong.h: Update from GCC.
19414
db1ee0a8
RM
194152012-08-16 Roland McGrath <roland@hack.frob.com>
19416
19417 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19418 on _QL, which is set by umul_ppmm but never used.
19419 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19420 variables, which are set by GMP macros but never used.
19421 * stdio-common/_itowa.c (_itowa): Likewise.
19422 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19423 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19424
30f69637
CD
194252012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19426
19427 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19428 struct La_sh_regs is not constant.
19429 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19430 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19431 and struct La_sparc64_regs are not constant.
19432
93a78ac4
JM
194332012-08-16 Joseph Myers <joseph@codesourcery.com>
19434
19435 * sysdeps/unix/sysv/linux/kernel-features.h
19436 (__ASSUME_POSIX_TIMERS): Remove.
19437 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19438 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19439 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19440 Make code unconditional.
19441 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19442 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19443 Make code unconditional.
19444 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19445 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19446 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19447 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19448 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19449 Make code unconditional.
19450 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19451 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19452 (__libc_missing_posix_timers): Remove.
19453
dd924cd7
RM
194542012-08-15 Roland McGrath <roland@hack.frob.com>
19455
4b4f2771
RM
19456 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19457 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19458
601c888b
RM
19459 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19460
176790a7
RM
19461 * elf/dl-sym.c: Include <stdlib.h>.
19462
329bc018
RM
19463 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19464 constants, which avoids warnings in 32-bit builds.
19465
e04e272d
RM
19466 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19467 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19468
952bf94a
RM
19469 * misc/lseek.c: File moved to ...
19470 * io/lseek.c: ... here.
19471
7c99b50a
RM
19472 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19473
dd924cd7
RM
19474 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19475 shifting LEN more than 31 bits at once.
19476
b3f479a8
LD
194772012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19478
19479 [BZ #14195]
8c4ae0d4
RM
19480 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19481 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19482 * string/test-strncasecmp.c (check1): Renamed to...
19483 (bz12205): ...this.
19484 (bz14195): Add new testcase for two empty input strings and N > 0.
19485 (test_main): Call new testcase, adapt for renamed function.
19486
9c55864e
AJ
194872012-08-15 Andreas Jaeger <aj@suse.de>
19488
19489 [BZ #14090]
19490 * crypt/md5test2.c: New test, based on test supplied by Serge
19491 Belyshev <belyshev@depni.sinp.msu.ru>.
19492 * crypt/Makefile (xtests): Add md5test-giant..
19493 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19494
02dcb6c5
PE
194952012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19496
19497 [BZ #14090]
19498 * crypt/md5.c (md5_process_block): Don't assume the buffer
19499 length is less than 2**32.
19500 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19501 length is less than 2**64.
19502
a3f95dcc
RM
195032012-08-15 Roland McGrath <roland@hack.frob.com>
19504
be75d758
RM
19505 * string/str-two-way.h: Include <sys/param.h>.
19506 (MAX): Macro removed.
19507
7312ca90
RM
19508 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19509 Move #define and #undef of memmove to just before and after
19510 including <string.h>.
19511
9a0a5486
RM
19512 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19513 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19514 and after including <string.h>. Move declarations of
19515 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19516 to before #include "string/memmove.c".
19517
67cc348d
RM
19518 * include/dirent.h: Declare __getdirentries.
19519
a3f95dcc
RM
19520 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19521 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19522
ca98e171
MF
195232012-08-14 Mike Frysinger <vapier@gentoo.org>
19524
19525 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19526 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19527 * sysdeps/i386/configure: Regenerated.
19528 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19529 STABS_CURRENT_FILE, and STABS_FUN.
19530 (END): Remove call to STABS_FUN_END.
19531 (STABS_CURRENT_FILE1): Delete.
19532 (STABS_CURRENT_FILE): Likewise.
19533 (STABS_FUN): Likewise.
19534 (STABS_FUN_END): Likewise.
19535 (STABS_FUN2): Likewise.
19536 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19537 * sysdeps/x86_64/configure: Regenerated.
19538
5908bf46
RM
195392012-08-14 Roland McGrath <roland@hack.frob.com>
19540
19541 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19542 * elf/dl-lookup.c: Likewise.
5908bf46 19543
f2c05b9e
JM
195442012-08-14 Joseph Myers <joseph@codesourcery.com>
19545
19546 * sysdeps/unix/sysv/linux/kernel-features.h
19547 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19548 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19549 unconditionally.
19550 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19551 unconditionally.
19552 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19553 condition on __ASSUME_CLONE_THREAD_FLAGS.
19554
e11f5155
AJ
195552012-08-14 Andreas Jaeger <aj@suse.de>
19556
19557 * sysdeps/i386/fpu/libm-test-ulps: Update.
19558
51a9ba86
MK
195592012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19560
2fdd4f78
AJ
19561 * include/atomic.h (atomic_exchange_and_add): Split into ...
19562 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19563 New atomic macros.
51a9ba86 19564
ba6cba9e
MT
195652012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19566
19567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19568
42443a47
JL
195692012-08-13 Jeff Law <law@redhat.com>
19570
19571 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19572 null byte in the output string.
19573
121dce05
JM
195742012-08-10 Joseph Myers <joseph@codesourcery.com>
19575
19576 * sysdeps/unix/sysv/linux/kernel-features.h
19577 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19578 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19579 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19580 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19581 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19582 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19583 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19584
bf51f568
JL
195852012-08-09 Jeff Law <law@redhat.com>
19586
19587 [BZ #13939]
19588 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19589 When avoid_arena is set, don't retry in the that arena. Pick the
19590 next one, whatever it might be.
19591 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19592 (arena_lock): Pass in new parameter to arena_get2.
19593 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19594 arena_get2.
19595 (__libc_malloc): Unify retrying after main arena failure with
19596 __libc_memalign version.
19597 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19598
f85fa270
L
195992012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19600
19601 [BZ #14166]
19602 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19603 to __redirect_strstr.
19604 (__strstr_sse42): Use typeof __redirect_strstr.
19605 (__strstr_ia32): Likewise.
19606 (__libc_strstr): New prototype.
19607 (strstr): Renamed to ...
19608 (__libc_strstr): This.
19609 (strstr): New strong alias of __libc_strstr.
19610 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19611 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19612 __redirect_time.
19613 Include <time.h>.
19614 (__libc_time): New prototype.
19615 (time_ifunc): Replace time with __libc_time.
19616 (time): New strong alias and hidden definition of __libc_time.
19617 (__GI_time): Remove strong alias.
19618 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19619 Include <stddef.h>.
19620 (memmove): Redefined to __redirect_memmove.
19621 (__memmove_sse2): Use typeof __redirect_memmove.
19622 (__memmove_ssse3): Likewise.
19623 (__memmove_ssse3_back): Likewise.
19624 (__libc_memmove): New prototype.
19625 (memmove): Renamed to ...
19626 (__libc_memmove): This.
19627 (memmove): New strong alias of __libc_memmove.
19628
33b4a91e
MS
196292012-08-08 Mark Salter <msalter@redhat.com>
19630
19631 * elf/elf.h
19632 (R_MN10300_TLS_GD): Define.
19633 (R_MN10300_TLS_LD): Likewise.
19634 (R_MN10300_TLS_LDO): Likewise.
19635 (R_MN10300_TLS_GOTIE): Likewise.
19636 (R_MN10300_TLS_IE): Likewise.
19637 (R_MN10300_TLS_LE): Likewise.
19638 (R_MN10300_TLS_DTPMOD): Likewise.
19639 (R_MN10300_TLS_DTPOFF): Likewise.
19640 (R_MN10300_TLS_TPOFF): Likewise.
19641 (R_MN10300_SYM_DIFF): Likewise.
19642 (R_MN10300_ALIGN): Likewise.
19643 (R_MN10300_NUM): Update.
19644
b36137f1
JM
196452012-08-08 Joseph Myers <joseph@codesourcery.com>
19646
19647 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19648 Remove.
19649
cdd915fd
RM
196502012-08-08 Roland McGrath <roland@hack.frob.com>
19651
a2433aac
RM
19652 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19653
cdd915fd
RM
19654 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19655 sysdeps/unix -> sysdeps/posix move.
19656 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19657
bf9b740a
AM
196582012-08-07 Allan McRae <allan@archlinux.org>
19659
19660 [BZ #14303]
19661 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19662 (SUNOS_CPP): Likewise.
19663 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19664 not found.
19665 (open_input): Call CPP using execvp.
19666
93df14ee
JM
196672012-08-07 Joseph Myers <joseph@codesourcery.com>
19668
19669 * sysdeps/unix/sysv/linux/kernel-features.h
19670 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19671 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19672 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19673 (__ASSUME_WAITID_SYSCALL): Likewise.
19674 * sysdeps/unix/sysv/linux/dl-execstack.c
19675 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19676 code unconditional.
19677 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19678 conditional code.
19679 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19680 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19681 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19682 code.
19683 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19684 unconditional.
19685 [__ASSUME_WAITID_SYSCALL]: Likewise.
19686 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19687
d34689de
RM
196882012-08-07 Roland McGrath <roland@hack.frob.com>
19689
a281decc
RM
19690 * sysdeps/unix/closedir.c: Renamed to ...
19691 * sysdeps/posix/closedir.c: ... here.
19692 * sysdeps/unix/dirfd.c: Renamed to ...
19693 * sysdeps/posix/dirfd.c: ... here.
19694 * sysdeps/unix/dirstream.h: Renamed to ...
19695 * sysdeps/posix/dirstream.h: ... here.
19696 * sysdeps/unix/fdopendir.c: Renamed to ...
19697 * sysdeps/posix/fdopendir.c: ... here.
19698 * sysdeps/unix/opendir.c: Renamed to ...
19699 * sysdeps/posix/opendir.c: ... here.
19700 * sysdeps/unix/readdir.c: Renamed to ...
19701 * sysdeps/posix/readdir.c: ... here.
19702 * sysdeps/unix/readdir_r.c: Renamed to ...
19703 * sysdeps/posix/readdir_r.c: ... here.
19704 * sysdeps/unix/rewinddir.c: Renamed to ...
19705 * sysdeps/posix/rewinddir.c: ... here.
19706 * sysdeps/unix/seekdir.c: Renamed to ...
19707 * sysdeps/posix/seekdir.c: ... here.
19708 * sysdeps/unix/telldir.c: Renamed to ...
19709 * sysdeps/posix/telldir.c: ... here.
19710 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19711 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19712 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19713 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19714
22895b47
RM
19715 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19716 * bits/fcntl.h: ... here.
19717
707a53b6
RM
19718 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19719 not 0.
19720 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19721 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19722 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19723 (struct flock): Move l_start, l_len to the beginning.
19724 Use __pid_t for l_pid.
19725 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19726 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19727 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19728 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19729 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19730 [__USE_LARGEFILE64] (struct flock64): New type.
19731 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19732
f0bd3e25
RM
19733 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19734 * bits/dirent.h: ... here.
19735
d34689de
RM
19736 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19737 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19738
6dad2c06
JM
197392012-08-07 Joseph Myers <joseph@codesourcery.com>
19740
19741 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19742 Change from 2.6.0 to 2.6.16.
19743 * sysdeps/unix/sysv/linux/configure: Regenerated.
19744 * sysdeps/unix/sysv/linux/kernel-features.h
19745 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19746 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19747 version.
19748 (__ASSUME_UTIMES): Likewise.
19749 (__ASSUME_CLONE_STOPPED): Remove.
19750 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19751 architectures, not kernel version.
19752 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19753 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19754 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19755 (__ASSUME_WAITID_SYSCALL): Likewise.
19756 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19757 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19758 * README: State 2.6.16 as minimum Linux kernel version. Do not
19759 refer to older versions.
19760
03af9520
RM
197612012-08-06 Roland McGrath <roland@hack.frob.com>
19762
8e49df1d
RM
19763 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19764 Define alphasort64 as an alias.
19765 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19766 Define versionsort64 as an alias.
19767 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19768 Define scandir64 as an alias.
19769 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19770 Define scandirat64 as an alias.
19771 * dirent/alphasort64.c (alphasort64):
19772 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19773 * dirent/versionsort64.c: Likewise.
19774 * dirent/scandir64.c: Likewise.
19775 * dirent/scandirat64.c: Likewise.
19776 * sysdeps/wordsize-64/alphasort.c: File removed.
19777 * sysdeps/wordsize-64/alphasort64.c: File removed.
19778 * sysdeps/wordsize-64/scandir.c: File removed.
19779 * sysdeps/wordsize-64/scandir64.c: File removed.
19780 * sysdeps/wordsize-64/scandirat.c: File removed.
19781 * sysdeps/wordsize-64/scandirat64.c: File removed.
19782 * sysdeps/wordsize-64/versionsort.c: File removed.
19783 * sysdeps/wordsize-64/versionsort64.c: File removed.
19784 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19785 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19786 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19788 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19790 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19791 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19792
19793 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19795 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19797 [defined __arch64__ || defined __sparcv9]
19798 (__INO_T_MATCHES_INO64_T): New macro.
19799 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19800 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19801 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19802 * sysdeps/unix/sysv/linux/bits/dirent.h
19803 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19804 (_DIRENT_MATCHES_DIRENT64): New macro.
19805
03af9520
RM
19806 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19807 Define lockf64 as an alias.
19808 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19809 Define fseeko64 as an alias.
19810 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19811 Define ftello64 as an alias.
19812 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19813 Define _IO_fgetpos64 and fgetpos64 as aliases.
19814 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19815 Define _IO_fsetpos64 and fsetpos64 as aliases.
19816 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19817 Conditionalize body on this.
19818 * libio/fseeko64.c: Likewise.
19819 * libio/ftello64.c: Likewise.
19820 * libio/iofgetpos64.c: Likewise.
19821 * libio/iofsetpos64.c: Likewise.
19822 * sysdeps/wordsize-64/lockf.c: File removed.
19823 * sysdeps/wordsize-64/lockf64.c: File removed.
19824 * sysdeps/wordsize-64/fseeko.c: File removed.
19825 * sysdeps/wordsize-64/fseeko64.c: File removed.
19826 * sysdeps/wordsize-64/ftello.c: File removed.
19827 * sysdeps/wordsize-64/ftello64.c: File removed.
19828 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19829 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19830 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19831 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19832 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19834 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19836 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19838 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19839 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19840 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19842
19843 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19845 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19847 [defined __arch64__ || defined __sparcv9]
19848 (__OFF_T_MATCHES_OFF64_T): New macro.
19849 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19850 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19852 (__OFF_T_MATCHES_OFF64_T): New macro.
19853
c5757acd
L
198542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19855
19856 * stdlib/secure-getenv.c (__secure_getenv): Replace
19857 GLIBC_2_16 with GLIBC_2_17.
19858
3a31811e
L
198592012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19860
19861 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19863
faa2bccb
DM
198642012-08-03 David S. Miller <davem@davemloft.net>
19865
19866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19867
85fe1997
JM
198682012-08-03 Joseph Myers <joseph@codesourcery.com>
19869
19870 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19871 Remove.
19872 (__ASSUME_CORRECT_SI_PID): Likewise.
19873 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19874 (__ASSUME_TMPFS_NAME): Likewise.
19875 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19876 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19877 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19878 (HAVE_AUX_SECURE): Make definition unconditional.
19879 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19880 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19881
4f75b7a0
RM
198822012-08-03 Roland McGrath <roland@hack.frob.com>
19883
19884 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19885 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19886 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19887 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19888 __eloop_threshold instead of SYMLOOP_MAX.
19889
19890 * sysdeps/generic/eloop-threshold.h: New file.
19891 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19892 of MAXSYMLINKS.
19893 * elf/chroot_canon.c (chroot_canon): Likewise.
19894
7aab07e4
JM
198952012-08-03 Joseph Myers <joseph@codesourcery.com>
19896
19897 [BZ #13717]
19898 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19899 Change to 2.6.0 everywhere.
19900 * sysdeps/unix/sysv/linux/configure: Regenerated.
19901 * sysdeps/unix/sysv/linux/kernel-features.h
19902 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19903 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19904 kernel versions.
19905 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19906 (__ASSUME_FUTEX_REQUEUE): Remove.
19907 (__ASSUME_STATFS64): Define unconditionally.
19908 (__ASSUME_AT_SECURE): Likewise.
19909 (__ASSUME_CORRECT_SI_PID): Likewise.
19910 (__ASSUME_TGKILL): Define without depending on kernel version for
19911 i386.
19912 (__ASSUME_UTIMES): Likewise.
19913 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19914 kernel version.
19915 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19916 (__ASSUME_TMPFS_NAME): Likewise.
19917 * README: Update reference to Linux kernel versions.
19918
b67e9372
MP
199192012-08-02 Marek Polacek <polacek@redhat.com>
19920
1f529f7d 19921 [BZ# 14150]
b67e9372
MP
19922 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19923 libc_cv_asm_type_prefix with %.
19924 * configure: Regenerated.
d2441631
RM
19925 * include/libc-symbols.h: Remove comment about
19926 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19927 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19928 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19929 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19930 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19931 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19932 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19933 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19934 * elf/tst-unique2mod1.c: Likewise.
19935 * elf/tst-unique1mod2.c: Likewise.
19936 * elf/tst-unique1mod1.c: Likewise.
19937 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19938 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19939 Replace ASM_TYPE_DIRECTIVE with .type.
19940 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19941 * sysdeps/i386/sysdep.h: Likewise.
19942 * sysdeps/x86_64/sysdep.h: Likewise.
19943 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19945 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19946 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19947 * sysdeps/powerpc/powerpc32/sysdep.h:
19948 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19949 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19950 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19951 * sysdeps/i386/fpu/e_powf.S: Likewise.
19952 * sysdeps/i386/fpu/e_expl.S: Likewise.
19953 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19954 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19955 * sysdeps/i386/fpu/e_pow.S: Likewise.
19956 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19957 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19958 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19959 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19960 * sysdeps/i386/fpu/e_log2.S: Likewise.
19961 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19962 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19963 * sysdeps/i386/fpu/e_powl.S: Likewise.
19964 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19965 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19966 * sysdeps/i386/fpu/e_logl.S: Likewise.
19967 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19968 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19969 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19970 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19971 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19972 * sysdeps/i386/fpu/e_log.S: Likewise.
19973 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19974 * sysdeps/i386/fpu/e_logf.S: Likewise.
19975 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19976 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19977 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19978 * sysdeps/i386/fpu/e_log10.S: Likewise.
19979 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19980 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19981 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19982 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19983 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19984 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19985 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19986 * sysdeps/i386/i686/strtok.S: Likewise.
19987 * sysdeps/i386/i386-mcount.S: Likewise.
19988 * sysdeps/i386/strtok.S: Likewise.
19989 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19990 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19991 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19992 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19993 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19994 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19995 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19996 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19997 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19998 * sysdeps/x86_64/_mcount.S: Likewise.
19999 * sysdeps/x86_64/strtok.S: Likewise.
20000 * sysdeps/sh/_mcount.S: Likewise.
20001
2747bf9a
RM
200022012-08-01 Roland McGrath <roland@hack.frob.com>
20003
20004 * libio/iofopen.c: Include <fcntl.h>.
20005 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20006 (_IO_fopen64, fopen64): Define as aliases.
20007 * libio/iofopen64.c: Include <fcntl.h>.
20008 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20009 Conditionalize body on this.
20010 * sysdeps/wordsize-64/iofopen.c: File removed.
20011 * sysdeps/wordsize-64/iofopen64.c: File removed.
20012
3fb791b8
MP
200132012-08-01 Marek Polacek <polacek@redhat.com>
20014
20015 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20016 Use dlfcn directly instead of a variable.
20017 (binfmt-subdir): Do not define.
20018 (dlfcn): Likewise.
20019
a9f1039f
JM
200202012-08-01 Joseph Myers <joseph@codesourcery.com>
20021
23bddc06
JM
20022 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20023 Remove all definitions.
20024 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20025 <kernel-features.h>.
20026 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20027 (miss_F_GETOWN_EX): Remove all definitions.
20028 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20029 macro definition.
20030 [!__ASSUME_FCNTL64]: Remove conditional code.
20031 [__ASSUME_FCNTL64]: Make code unconditional.
20032 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20033 <kernel-features.h>.
20034 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20035 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20036 (lockf64) [__NR_fcntl64]: Make code unconditional.
20037 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20038
a9f1039f
JM
20039 * sysdeps/unix/sysv/linux/kernel-features.h
20040 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20041 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20042 Make code unconditional.
20043 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20044 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20046 [__NR_vfork]: Make code unconditional.
20047 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20048 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20050 [__NR_vfork]: Make code unconditional.
20051 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20052 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20053
09c0ee5f
RM
200542012-08-01 Roland McGrath <roland@hack.frob.com>
20055
48aec5b9
RM
20056 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20057 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20058
cd97c966
RM
20059 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20060 Define mkstemp64 as an alias.
3f55550c
RM
20061 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20062 Define mkstemps64 as an alias.
cd97c966
RM
20063 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20064 Define mkostemp64 as an alias.
b8625cfc
RM
20065 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20066 Define mkostemps64 as an alias.
cd97c966
RM
20067 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20068 Conditionalize body on this.
20069 * misc/mkostemp64.c: Likewise.
b8625cfc 20070 * misc/mkostemps64.c: Likewise.
3f55550c 20071 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20072 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20073 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20074 * sysdeps/wordsize-64/mkostemp.c: File removed.
20075 * sysdeps/wordsize-64/mkstemp.c: File removed.
20076 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20077 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20079 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20080
09c0ee5f
RM
20081 [BZ #14138]
20082 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20083 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20084 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20085 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20086
20087 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20088 compat_symbol macros from <shlib-compat.h> rather than the underlying
20089 default_symbol_version and symbol_version macros, so that DEFAULT
20090 lines in shlib-versions are respected.
20091 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20092
7e66ee51
FW
200932012-08-01 Florian Weimer <fweimer@redhat.com>
20094
20095 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20096 Declare with warn_unused_result.
20097 (setgid, setregid, setegid, setresgid): Likewise.
20098 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20099 Likewise.
20100 * WUR-REPORT: Remove set*id functions.
20101
d2a54255
PT
201022012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20103
20104 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20105
7ecdb005
RM
201062012-07-31 Roland McGrath <roland@hack.frob.com>
20107
b4180a5e 20108 [BZ #10191]
789bd351
RM
20109 * include/sys/socket.h (__libc_accept, __libc_accept4):
20110 Add attribute_hidden.
20111 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20112
40ce302d
RM
20113 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20114 use of PTR_MANGLE.
20115 * inet/getnetgrent_r.c (setup): Likewise.
20116
7ecdb005
RM
20117 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20118
e2eabb2c
DM
201192012-07-31 David S. Miller <davem@davemloft.net>
20120
20121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20122
d0419dbf
JM
201232012-07-31 Joseph Myers <joseph@codesourcery.com>
20124
20125 [BZ #13629]
20126 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20127 value between 1.0 and 2.0 and smaller part has absolute value less
20128 than 1.0.
20129 * math/s_clog10.c (__clog10): Likewise.
20130 * math/s_clog10f.c (__clog10f): Likewise.
20131 * math/s_clog10l.c (__clog10l): Likewise.
20132 * math/s_clogf.c (__clogf): Likewise.
20133 * math/s_clogl.c (__clogl): Likewise.
20134 * math/libm-test.inc (clog_test): Add more tests.
20135 (clog10_test): Likewise.
20136 * sysdeps/i386/fpu/libm-test-ulps: Update.
20137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20138
2bc13872
FW
201392012-07-31 Florian Weimer <fweimer@redhat.com>
20140
20141 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20142 Exit with zero in case no suitable GID is found, and write a
20143 message to standard error.
20144
bea9b193
RM
201452012-07-30 Roland McGrath <roland@hack.frob.com>
20146
20147 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20148 rather than to 1.
20149 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20150 (MAXPATHLEN): Removed.
20151 (NOGROUP, NODEV): New macros.
20152 (setbit, clrbit, isset, isclr): New macros.
20153 (howmany, roundup, powerof2): New macros.
20154 (DEV_BSIZE): New macro.
20155
20156 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20157 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20158
20159 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20160 definition on [!__NO_LONG_DOUBLE_MATH].
20161
20162 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20163 PTR_MANGLE and PTR_DEMANGLE.
20164
20165 * socket/accept4.c (accept4): Rename to __libc_accept4.
20166 Define accept4 as a weak alias.
20167
20168 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20169 on [_DIRENT_HAVE_D_TYPE].
20170 * io/ftw.c (ftw_dir): Likewise.
20171
20172 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20173
20174 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20175
20176 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20177 Use the BSD numbers rather than the arbitrary ones we had.
20178 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20179 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20180 (SIGXCPU, SIGXFSZ): New macros.
20181 (_NSIG): Now 32.
20182
20183 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20184 initializer on [_LIBC_REENTRANT].
20185
20186 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20187 definitions inside [_POSIX_MAPPED_FILES].
20188
20189 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20190
20191 * dirent/opendir.c: Include <fcntl.h>.
20192
20193 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20194 (__libc_getspecific): Likewise.
20195 (__libc_key_create): Likewise.
20196
20197 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20198 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20199 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20200 (tmpfile64): Define as alias.
20201 * sysdeps/wordsize-64/tmpfile.c: File removed.
20202 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20203 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20205
20206 * stdio-common/vfscanf.c: Include <stdbool.h>.
20207 * nss/makedb.c: Likewise.
20208 * stdio-common/_i18n_number.h: Likewise.
20209 * argp/argp-help.c: Likewise.
20210 * posix/wordexp.c: Likewise.
20211 * sysdeps/posix/spawni.c: Likewise.
20212 * nss/nss_files/files-initgroups.c: Likewise.
20213 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20214 * nss/nss_files/files-initgroups.c: Likewise.
20215 * nss/nss_db/db-netgrp.c: Likewise.
20216 * nss/nss_db/db-initgroups.c: Likewise.
20217 * io/fchmodat.c: Include <sys/stat.h>.
20218
20219 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20220 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20221
20222 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20223 [HAVE_MMAP].
20224
20225 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20226 Add multiple inclusion protection.
20227
e5abc686
DM
202282012-07-27 David S. Miller <davem@davemloft.net>
20229
20230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20231
815e6fa3
GB
202322012-07-27 Gary Benson <gbenson@redhat.com>
20233
20234 [BZ #14298]
20235 * elf/rtld.c: Include <stap-probe.h>.
20236 (dl_main): Added static probes "init_start" and "init_complete".
20237 * elf/dl-load.c: Include <stap-probe.h>.
20238 (lose): Take new parameter "nsid".
20239 Added static probe "map_failed".
20240 (_dl_map_object_from_fd): Pass namespace id to lose.
20241 Added static probe "map_start".
20242 (open_verify): Pass namespace id to lose.
20243 * elf/dl-open.c: Include <stap-probe.h>.
20244 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20245 and "reloc_complete".
20246 * elf/dl-close.c: Include <stap-probe.h>.
20247 (_dl_close_worker): Added static probes "unmap_start" and
20248 "unmap_complete".
20249 * elf/rtld-debugger-interface.txt: New file documenting the above.
20250
9f98c16c
RM
202512012-07-26 Roland McGrath <roland@hack.frob.com>
20252
20253 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20254 rather than a string variable.
20255 * sunrpc/rpc_main.c (h_output): Likewise.
20256 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20257
f3c22df3
PT
202582012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20259
20260 * inet/check_native.c: New file.
20261
3129cfc6
JM
202622012-07-26 Joseph Myers <joseph@codesourcery.com>
20263
da865e95
JM
20264 [BZ #13629]
20265 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20266 if larger part has absolute value 1.0.
20267 * math/s_clog10.c (__clog10): Likewise.
20268 * math/s_clog10f.c (__clog10f): Likewise.
20269 * math/s_clog10l.c (__clog10l): Likewise.
20270 * math/s_clogf.c (__clogf): Likewise.
20271 * math/s_clogl.c (__clogl): Likewise.
20272 * math/libm-test.inc (clog_test): Add more tests.
20273 (clog10_test): Likewise.
20274 * sysdeps/i386/fpu/libm-test-ulps: Update.
20275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20276
3129cfc6
JM
20277 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20278 (pltexit): Likewise.
20279 (La_regs): Likewise.
20280 (La_retval): Likewise.
20281 (int_retval): Likewise.
20282 Update #error for removed macros to refer only to definitions in
20283 tst-audit.h.
20284 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20285 macro.
20286 (pltexit): Likewise.
20287 (La_regs): Likewise.
20288 (La_retval): Likewise.
20289 (int_retval): Likewise.
20290 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20291 macro.
20292 (pltexit): Likewise.
20293 (La_regs): Likewise.
20294 (La_retval): Likewise.
20295 (int_retval): Likewise.
20296 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20297 macro.
20298 (pltexit): Likewise.
20299 (La_regs): Likewise.
20300 (La_retval): Likewise.
20301 (int_retval): Likewise.
20302 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20303 macro.
20304 (pltexit): Likewise.
20305 (La_regs): Likewise.
20306 (La_retval): Likewise.
20307 (int_retval): Likewise.
20308 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20309 macro.
20310 (pltexit): Likewise.
20311 (La_regs): Likewise.
20312 (La_retval): Likewise.
20313 (int_retval): Likewise.
20314 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20315 macro.
20316 (pltexit): Likewise.
20317 (La_regs): Likewise.
20318 (La_retval): Likewise.
20319 (int_retval): Likewise.
20320 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20321 macro definitions in tst-audit.h.
20322 * sysdeps/i386/tst-audit.h: New file.
20323 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20324 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20325 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20326 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20327 * sysdeps/sh/tst-audit.h: Likewise.
20328 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20329 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20330 * sysdeps/x86_64/tst-audit.h: Likewise.
20331
bfc07087
AJ
203322012-07-26 Andreas Jaeger <aj@suse.de>
20333
b1b2aaf8
AJ
20334 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20335 ptrace.
20336
20337 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20338 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20339 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20340 PTRACE_O_MASK.
20341 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20342 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20343 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20344
bfc07087
AJ
20345 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20346 value.
20347
20348 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20349 _sigsys.
20350 (si_call_addr, si_syscall, si_arch): Define new macro.
20351 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20352 _sigsys.
20353 (si_call_addr, si_syscall, si_arch): Define new marcro.
20354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20355 _sigsys.
20356 (si_call_addr, si_syscall, si_arch): Define new macro.
20357 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20358 _sigsys.
20359 (si_call_addr, si_syscall, si_arch): Define new macro.
20360
89b4b02f
JM
203612012-07-25 Joseph Myers <joseph@codesourcery.com>
20362
20363 [BZ #13717]
20364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20365 Change to 2.4.21 where previously 2.4.1.
20366 * sysdeps/unix/sysv/linux/configure: Regenerated.
20367 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20368 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20369 Linux kernel version.
20370 (__ASSUME_STD_AUXV): Remove.
20371 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20372 kernel version.
20373 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20374 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20375 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20376 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20377 (__ASSUME_NETLINK_SUPPORT): Likewise.
20378 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20379 (__no_netlink_support): Remove conditional definition.
20380 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20381 Remove.
20382 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20383 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20384 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20385 (if_nameindex_ioctl): Remove.
20386 (if_nameindex_netlink): Do not handle __no_netlink_support.
20387 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20388 code.
20389 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20390 Remove conditional code.
20391 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20392 code.
20393 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20394 unconditional.
20395 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20396 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20397 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20398 Remove.
20399 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20400 [!__ASSUME_STD_AUXV]: Remove conditional code.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20402 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20403 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20405 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20406 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20407 code.
20408 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20410 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20411 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20412 conditional code.
20413 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20415 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20416 code.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20419 conditional code.
20420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20421 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20422 code unconditional.
20423 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20424 conditional code.
20425 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20426 unconditional.
20427 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20428 conditional code.
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20430 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20431 unconditional.
20432 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20433 conditional code.
20434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20435 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20436 code unconditional.
20437 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20438 conditional code.
20439 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20440 unconditional.
20441 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20442 conditional code.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20444 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20445 code unconditional.
20446 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20447 conditional code.
20448 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20449 unconditional.
20450 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20451 conditional code.
20452
842a39cd
AS
204532012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20454
20455 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20456 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20457 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20458 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20459 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20460 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20461 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20462 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20463 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20464 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20465 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20466 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20467 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20468 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20470 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20471 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20472 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20473 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20475 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20476 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20477 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20478
84b3fd84
FW
204792012-07-25 Florian Weimer <fweimer@redhat.com>
20480
20481 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20482 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20483 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20484 Introduce __libc_secure_getenv.
0c7936d5
FW
20485 * stdlib/Versions (2.17): Add secure_getenv
20486 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20487 * stdlib/secure-getenv.c: Rename __secure_getenv to
20488 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20489 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20490 * stdlib/tst-secure-getenv.c: New.
20491 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20492 * manual/startup.texi (Environment Access): Document
20493 secure_getenv.
84b3fd84
FW
20494 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20495 __libc_secure_getenv.
20496 * inet/ruserpass.c (ruserpass): Likewise.
20497 * malloc/mtrace.c (mtrace): Likewise.
20498 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20499 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20500 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20501 * sysdeps/posix/tempname.c: Likewise. Evaluate
20502 HAVE_SECURE_GETENV.
20503 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20504 __secure_getenv to __libc_secure_getenv.
84b3fd84 20505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20507 Likewise.
20508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20509 Likewise.
20510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20512 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20517
56e49b71
JM
205182012-07-25 Joseph Myers <joseph@codesourcery.com>
20519
20520 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20521 (struct La_i86_retval): Likewise.
20522 (struct La_x86_64_regs): Likewise.
20523 (struct La_x86_64_retval): Likewise.
20524 (struct La_x32_regs): Likewise.
20525 (struct La_x32_retval): Likewise.
20526 (struct La_ppc32_regs): Likewise.
20527 (struct La_ppc32_retval): Likewise.
20528 (struct La_ppc64_regs): Likewise.
20529 (struct La_ppc64_retval): Likewise.
20530 (struct La_sh_regs): Likewise.
20531 (struct La_sh_retval): Likewise.
20532 (struct La_s390_32_regs): Likewise.
20533 (struct La_s390_32_retval): Likewise.
20534 (struct La_s390_64_regs): Likewise.
20535 (struct La_s390_64_retval): Likewise.
20536 (struct La_sparc32_regs): Likewise.
20537 (struct La_sparc32_retval): Likewise.
20538 (struct La_sparc64_regs): Likewise.
20539 (struct La_sparc64_retval): Likewise.
20540 (struct audit_ifaces): Remove architecture-specific pltenter and
20541 pltexit members.
20542 * sysdeps/i386/ldsodefs.h: New file.
20543 * sysdeps/powerpc/ldsodefs.h: Likewise.
20544 * sysdeps/s390/ldsodefs.h: Likewise.
20545 * sysdeps/sh/ldsodefs.h: Likewise.
20546 * sysdeps/sparc/ldsodefs.h: Likewise.
20547 * sysdeps/x86_64/ldsodefs.h: Likewise.
20548
354691b7
MP
205492012-07-25 Marek Polacek <polacek@redhat.com>
20550
20551 [BZ #6808]
20552 * math/libm-test.inc (yn_test): Add another test.
20553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20554 to ERANGE when the result is +-Inf.
20555 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20556 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20557 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20558 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20559
bf9e2071
JM
205602012-07-24 Joseph Myers <joseph@codesourcery.com>
20561
20562 * conform/data/time.h-data (NULL): Use macro-constant. Require
20563 equal to 0.
20564 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20565 clock_t.
20566 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20567
57633811
TS
205682012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20569
20570 * configure.in <sysdeps resolving>: Correct printing
20571 Implies_before.
20572 * configure: Regenerate.
20573
c23c33b0
TS
205742012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20575
20576 * math/w_ilogb.c: Include <limits.h>.
20577 * math/w_ilogbl.c: Likewise.
20578
b5982523
JM
205792012-07-20 Joseph Myers <joseph@codesourcery.com>
20580
20581 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20582 va_copy. Document allowing for unavailable va_copy only as
20583 pre-C99 compatibility.
20584 * manual/string.texi (Copying and Concatenation): Use va_copy
20585 instead of __va_copy in concat example.
20586
ac4ea442
PT
205872012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20588
20589 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20590 (__sendto): Use create_address_port. Initialize APORT and deallocate
20591 it if not null.
20592
f98eafbd
PT
20593 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20594 with O_NOLINK passed to __file_name_lookup.
20595
898c7aab
PT
20596 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20597 with O_NOLINK passed to __file_name_lookup.
20598
0ced335a
PT
20599 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20600 negative N or less than NGIDS.
20601
b3404dbd
PT
20602 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20603 type to string_t. Set ERANGE as errno and return it if NAME is not big
20604 enough. Use memcpy instead of strncpy.
20605
0f48659e
JM
206062012-07-20 Joseph Myers <joseph@codesourcery.com>
20607
20608 * elf/Makefile (check-data): Remove.
20609 (localplt.data): New vpath directive.
20610 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20611 instead of $(check-data).
20612 * scripts/data/localplt-generic.data: Move to ...
20613 * sysdeps/generic/localplt.data: ... here.
20614 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20615 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20616 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20618 ... here.
20619 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20621 ... here.
20622 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20624 ... here.
20625 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20627 ... here.
20628 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20630 ... here.
20631 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20633 ... here.
20634
d37cbdaa
AZ
206352012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20636
20637 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20638 PPC32 and PPC64 files.
20639 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20640 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20641
46f85fc2
AK
206422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20643
20644 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20645 __makecontext_ret to ...
20646 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20647 ... here and call exit if uc_link is NULL. New file.
20648 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20649 __makecontext_ret.S.
20650 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20651 __makecontext_ret to ...
20652 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20653 ... here and call exit if uc_link is NULL. New file.
20654 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20655 __makecontext_ret.S.
20656
08f43f9b
AK
206572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20658
20659 * elf/elf.h (R_390_IRELATIVE): New definition.
20660 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20661 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20662 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20663 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20664 (elf_machine_lazy_rel): Likewise.
20665 * sysdeps/s390/dl-irel.h: New file.
20666 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20667 * sysdeps/s390/s390-64/memset.S: New asm code.
20668 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20669 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20670 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20671 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20672 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20673 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20674 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20675 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20676 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20677 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20678 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20679 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20680 * sysdeps/s390/s390-32/memset.S: New asm code.
20681 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20682
3b05db33
MP
206832012-07-17 Marek Polacek <polacek@redhat.com>
20684
20685 [BZ #14349]
20686 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20687 * sysdeps/s390/s390-64/configure.in: Likewise.
20688 * sysdeps/sparc/configure.in: Likewise.
20689 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20690 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20691 * sysdeps/i386/configure.in: Likewise.
20692 * sysdeps/x86_64/configure.in: Likewise.
20693 * sysdeps/sh/configure.in: Likewise.
20694 * sysdeps/s390/s390-32/configure: Regenerated.
20695 * sysdeps/s390/s390-64/configure: Likewise.
20696 * sysdeps/x86_64/configure: Likewise.
20697 * sysdeps/sh/configure: Likewise.
20698 * sysdeps/powerpc/powerpc64/configure: Likewise.
20699 * sysdeps/powerpc/powerpc32/configure: Likewise.
20700 * sysdeps/sparc/configure: Likwise.
20701 * sysdeps/i386/configure: Likewise.
20702
a66877c6
MP
20703 * elf/dl-open.c: Comment fixes.
20704
cfc82fd8
JM
207052012-07-17 Joseph Myers <joseph@codesourcery.com>
20706
bd29910a
JM
20707 * Makefile [CXX] (check-data): Remove.
20708 [CXX] (c++-types.data): New vpath directive.
20709 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20710 vpath. Do not allow for C++ type data being missing.
20711 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20712 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20713 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20714 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20715 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20716 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20717 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20719 ... here.
20720 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20722 ... here.
20723 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20725 ... here.
20726 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20728 ... here.
20729 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20731 ... here.
20732 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20734 ... here.
20735 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20737 ... here.
20738 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20740
cfc82fd8
JM
20741 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20742 definitions to architecture-specific files.
20743 (TLS_IE): Likewise.
20744 (TLS_LD): Likewise.
20745 (TLS_GD): Likewise.
20746 * sysdeps/i386/tls-macros.h: New file.
20747 * sysdeps/powerpc/tls-macros.h: Likewise.
20748 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20749 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20750 * sysdeps/sh/tls-macros.h: Likewise.
20751 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20752 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20753 * sysdeps/x86_64/tls-macros.h: Likewise.
20754
f7db3170
TS
207552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20756
07cbfc23
TS
20757 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20758 zero value for regular exit case.
20759
f7db3170
TS
20760 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20761 (__start_context): Preserve zero value for regular exit case.
20762
dc97c227
TS
207632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20764 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20765
20766 * manual/setjmp.texi (setcontext): Clarify normal process
20767 termination when uc_link is the null pointer.
20768 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20769 exit call.
20770
d0cd7d02
AS
207712012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20772
20773 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20774 preprocessor. Test for each exception mask separately.
20775
dd318934
AJ
207762012-07-16 Andreas Jaeger <aj@suse.de>
20777
20778 * po/ru.po: Update from translation team.
20779
8048311a
JM
207802012-07-15 Joseph Myers <joseph@codesourcery.com>
20781
20782 * conform/data/string.h-data (NULL): Use macro-constant. Require
20783 equal to 0.
20784 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20785 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20786 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20787 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20789
b637d46e
AJ
207902012-07-13 Andreas Jaeger <aj@suse.de>
20791
20792 * po/fr.po: Update from translation team.
20793
541428fe
MP
207942012-07-12 Marek Polacek <polacek@redhat.com>
20795
20796 [BZ #14173]
20797 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20798 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20799 loop condition.
20800
ec332e94
JM
208012012-07-12 Joseph Myers <joseph@codesourcery.com>
20802
20803 [BZ #13717]
20804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20805 Change to 2.4.1 where previously 2.4.0.
20806 * sysdeps/unix/sysv/linux/configure: Regenerated.
20807 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20808 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20809 version.
20810 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20811 (__ASSUME_AT_CLKTCK): Remove.
20812 (__ASSUME_AT_PAGESIZE): Likewise.
20813 (__ASSUME_AT_XID): Likewise.
20814 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20815 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20816 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20817 unconditionally.
20818 (HAVE_AUX_PAGESIZE): Likewise.
20819 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20820 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20821 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20822
7b6e99be
JB
208232012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20824
20825 [BZ #14307]
20826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20827 the temporary buffer used to invoke __gethostbyname2_r,
20828 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20829 host_data / struct gaih_addrtuple.
20830 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20831 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20832 header file nss/nsswitch.h.
20833 * nss/nsswitch.h (global scope): Add definition of implementation
20834 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20835 resolv/nss_dns/dns-host.c).
20836
608404eb
AJ
208372012-07-11 Andreas Jaeger <aj@suse.de>
20838
20839 * po/fr.po: Update from translation team.
20840
71220aca
AJ
20841 * po/sv.po: Update from translation team
20842 * po/fr.po: Another update from translation team.
20843
28cfe843
AZ
208442012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20845
20846 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20847 for subnormals or multiply small sinh result by itself.
20848 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20850
6b90f981
DM
208512012-07-11 David S. Miller <davem@davemloft.net>
20852
20853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20854
c6825772
AS
208552012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20856
20857 [BZ #14347]
20858 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20859 (INTERNAL_MARK): Shift it here.
20860
7b8e0d49
MP
208612012-07-10 Marek Polacek <polacek@redhat.com>
20862
20863 [BZ #14151]
20864 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20865 libc_cv_asm_global_directive with .globl.
20866 * configure: Regenerated.
20867 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20868 with .globl.
20869 * sysdeps/i386/configure: Regenerated.
20870 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20871 with .globl.
20872 * sysdeps/x86_64/configure: Regenerated.
20873 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20874 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20875 * elf/tst-unique2mod2.c: Likewise.
20876 * elf/tst-unique2mod1.c: Likewise.
20877 * elf/tst-unique1mod2.c: Likewise.
20878 * elf/tst-unique1mod1.c: Likewise.
20879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20880 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20882 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20883 * sysdeps/mach/sysdep.h: Likewise.
20884 * sysdeps/i386/sysdep.h: Likewise.
20885 * sysdeps/i386/i386-mcount.S: Likewise.
20886 * sysdeps/x86_64/_mcount.S: Likewise.
20887 * sysdeps/x86_64/sysdep.h: Likewise.
20888 * sysdeps/sh/_mcount.S: Likewise.
20889 * sysdeps/sh/sysdep.h: Likewise.
20890 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20891 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20892 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20893 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20894 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20895 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20896 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20897 * locale/localeinfo.h: Likewise.
20898 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20899 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20900
6c55cda3
RM
209012012-07-09 Roland McGrath <roland@hack.frob.com>
20902
20903 [BZ #14336]
20904 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20905 system".
20906 * manual/message.texi (The Uniforum approach): Likewise.
20907 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20908 (glibc iconv Implementation): Likewise.
20909
638a572e
JM
209102012-07-09 Joseph Myers <joseph@codesourcery.com>
20911
20912 [BZ #14337]
20913 * math/s_clog.c (__clog): Avoid scaling a value down where that
20914 could result in underflow.
20915 * math/s_clog10.c (__clog10): Likewise.
20916 * math/s_clog10f.c (__clog10f): Likewise.
20917 * math/s_clog10l.c (__clog10l): Likewise.
20918 * math/s_clogf.c (__clogf): Likewise.
20919 * math/s_clogl.c (__clogl): Likewise.
20920 * math/libm-test.inc (clog_test): Add more tests.
20921 (clog10_test): Likewise.
20922 * sysdeps/i386/fpu/libm-test-ulps: Update.
20923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20924
261f4859
AS
209252012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20926
0abaf3e4
AS
20927 [BZ #14283]
20928 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20929 by 7 not 8 to examine high bit of fractional part.
20930
261f4859
AS
20931 [BZ #14042]
20932 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20933 for call to __mcount_internal.
20934 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20935 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20936 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20937
f17ac40d
JM
209382012-07-06 Joseph Myers <joseph@codesourcery.com>
20939
9ad63c23
JM
20940 [BZ #14154]
20941 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20942 approximation for values within 0x1p-13f of an odd multiple of
20943 pi/4.
20944 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20945 exception. Add more tests.
20946 * sysdeps/i386/fpu/libm-test-ulps: Update.
20947
f17ac40d
JM
20948 [BZ #6778]
20949 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20950 inputs and return -1 for them. Do not check for +Inf in case not
20951 reachable for +Inf.
20952 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20953 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20954 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20955 and return -1 for them. Do not check for +Inf in case not
20956 reachable for +Inf.
20957 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20958 define.
20959 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20960 and return -1 for them. Do not check for +Inf in case not
20961 reachable for +Inf.
20962 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20963 spurious underflow.
20964 * sysdeps/i386/fpu/libm-test-ulps: Update.
20965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20966
fb21f89b
MF
209672012-07-06 Mike Frysinger <vapier@gentoo.org>
20968
20969 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20970
cdfe2c5e
JM
209712012-07-05 Joseph Myers <joseph@codesourcery.com>
20972
20973 [BZ #14157]
20974 [BZ #14331]
20975 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20976 could result in spurious underflow. Scale down values above
20977 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20978 * math/s_csqrtf.c (__csqrtf): Likewise.
20979 * math/s_csqrtl.c (__csqrtl): Likewise.
20980 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20981 spurious underflow.
20982 * sysdeps/i386/fpu/libm-test-ulps: Update.
20983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20984
70d35b67
AS
209852012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20986
704bc459
AS
20987 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20988 xopen-msg.sed.
20989 * catgets/xopen-msg.awk: New file.
20990 * catgets/xopen-msg.sed: Removed.
20991
70d35b67
AS
20992 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20993 po2text.sed.
20994 * intl/po2test.awk: New file.
20995 * intl/po2test.sed: Removed.
20996
ca61cf32
JM
209972012-07-04 Joseph Myers <joseph@codesourcery.com>
20998
20999 [BZ #14328]
21000 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21001 or multiply small sinh result by itself.
21002 * math/s_ctanf.c (__ctanf): Likewise.
21003 * math/s_ctanh.c (__ctanh): Likewise.
21004 * math/s_ctanhf.c (__ctanhf): Likewise.
21005 * math/s_ctanhl.c (__ctanhl): Likewise.
21006 * math/s_ctanl.c (__ctanl): Likewise.
21007 * math/libm-test.inc (ctan_test_tonearest): New function.
21008 (ctan_test_towardzero): Likewise.
21009 (ctan_test_downward): Likewise.
21010 (ctan_test_upward): Likewise.
21011 (ctanh_test_tonearest): Likewise.
21012 (ctanh_test_towardzero): Likewise.
21013 (ctanh_test_downward): Likewise.
21014 (ctanh_test_upward): Likewise.
21015 (main): Call these new functions.
21016 * sysdeps/i386/fpu/libm-test-ulps: Update.
21017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21018
ca48a46a
MF
210192012-07-03 Mike Frysinger <vapier@gentoo.org>
21020
21021 * .gitignore: Delete /ports entry.
21022
9d63d37d
AJ
210232012-07-03 Andreas Jaeger <aj@suse.de>
21024
21025 * po/bg.po: Update from translation team.
21026 * po/cs.po: Likewise.
21027 * po/de.po: Likewise.
21028 * po/hr.po: Likewise.
21029 * po/nl.pl: Likewise.
21030 * po/pl.po: Likewise.
21031 * po/vi.po: Likewise.
21032
370ca3d2
JM
210332012-07-03 Joseph Myers <joseph@codesourcery.com>
21034
95f5a9a8
JM
21035 * Makeconfig [!+link] (+link-before-libc): New variable.
21036 [!+link] (+link-after-libc): Likewise.
21037 [!+link] (+link-tests): Likewise.
21038 [!+link] (+link): Define in terms of $(+link-before-libc) and
21039 $(+link-after-libc).
21040 [!+link-static] (+link-static-before-libc): New variable.
21041 [!+link-static] (+link-static-after-libc): Likewise.
21042 [!+link-static] (+link-static-tests): Likewise.
21043 [!+link-static] (+link-static): Define in terms of
21044 $(+link-static-before-libc) and $(+link-static-after-libc).
21045 [build-shared] (link-libc-before-gnulib): New variable.
21046 [build-shared] (link-libc-tests): Likewise.
21047 [build-shared] (link-libc): Define in terms of
21048 $(link-libc-before-gnulib).
21049 [!build-shared] (link-libc-tests): New variable.
21050 (link-libc-static-tests): New variable.
21051 [!gnulib] (gnulib-arch): New variable.
21052 [!gnulib] (gnulib-tests): Likewise.
21053 [!gnulib] (static-gnulib-arch): Likewise.
21054 [!gnulib] (static-gnulib-tests): Likewise.
21055 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21056 Define with "=" instead of ":=".
21057 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21058 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21059 * Rules (binaries-all-notests): New variable.
21060 (binaries-all-tests): Likewise.
21061 (binaries-static-notests): Likewise.
21062 (binaries-static-tests): Likewise.
21063 (binaries-all): Define using $(binaries-all-notests) and
21064 $(binaries-all-tests).
21065 (binaries-static): Define using $(binaries-static-notests) and
21066 $(binaries-static-tests).
21067 (binaries-shared-tests): New variable.
21068 (binaries-shared-notests): Likewise.
21069 (binaries-shared): Remove variable.
21070 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21071 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21072 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21073 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21074 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21075 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21076 * elf/Makefile (sln-modules): New variable.
21077 (extra-objs): Add $(sln-modules:=.o).
21078 (ldconfig-modules): Add static-stubs.
21079 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21080 * elf/static-stubs.c: New file.
21081
7a845b2c
JM
21082 [BZ #14283]
21083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21084 by 7 not 8 to examine high bit of fractional part. Use volatile
21085 variables when splitting into final array of floats if
21086 __FLT_EVAL_METHOD__ != 0.
21087 * math/libm-test.inc (cos_test): Add another test.
21088 (sin_test): Likewise.
21089 * sysdeps/i386/fpu/libm-test-ulps: Update.
21090
e2283f38
JM
21091 [BZ #14273]
21092 * math/libm-test.inc (cosh_test): Add more tests.
21093
370ca3d2
JM
21094 * version.h (RELEASE): Set to "development".
21095 (VERSION): Set to "2.16.90".
21096
ee9247c3
CD
210972012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21098
21099 * NEWS: Update copyright. Remove last-updated date.
21100 Mention math library bug fixes and timezone data changes.
21101 * README: Mention GNU/Hurd, x32, and HPPA support status.
21102
4648c381
TS
211032012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21104
21105 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21106
aac78a43
AJ
211072012-06-27 Andreas Jaeger <aj@suse.de>
21108
21109 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21110
ed3dbfad
AJ
211112012-06-25 Andreas Jaeger <aj@suse.de>
21112
21113 * sysdeps/s390/fpu/libm-test-ulps: Update.
21114
4d0ee855
AS
211152012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21116 Thomas Schwinge <thomas@codesourcery.com>
21117
21118 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21119 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21121 fanotify_mark.
21122
af1bce34
TS
211232012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21124
a9fa33ba
TS
21125 * sysdeps/mach/start.c: Remove file.
21126 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21127 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21128 * sysdeps/sh/init-first.c: Likewise.
21129
58f902b8
TS
21130 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21131 registers for frame unwinding purposes, add CFI directives.
21132 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21133 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21134 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21135 Likewise.
21136
1518f58b
TS
21137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21138 __fortify_fail returning.
21139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21140
db9b5059
TS
21141 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21142 sysdeps/sh/____longjmp_chk.S.
21143 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21144 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21145 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21146 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21147
967705fe
TS
21148 * sysdeps/sh/abort-instr.h: New file.
21149 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21150 process in case exit returns.
21151
a9def8c4
TS
21152 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21153 initialize the GOT register before use.
21154
2a649725
TS
21155 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21156 calculation of ARGC > 4.
21157
af1bce34
TS
21158 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21159 meaningful names to some local labels.
21160
d230f50a
KK
211612012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21162 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21163
21164 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21165 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21166 (__arch_compare_and_exchange_val_16_acq): Likewise.
21167 (__arch_compare_and_exchange_val_32_acq): Likewise.
21168 (atomic_exchange_and_add): Fix gUSA sequence.
21169 (atomic_add): Likewise.
21170 (atomic_add_negative): Likewise.
21171 (atomic_add_zero): Likewise.
21172 (atomic_bit_test_set): Likewise.
21173
0479b305
AS
211742012-06-22 Andreas Schwab <schwab@redhat.com>
21175
21176 [BZ #13579]
21177 * include/link.h (struct link_map): Add l_free_initfini.
21178 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21179 l_initfini.
21180 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21181 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21182 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21183 set.
21184
0e3933b9
CD
211852012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21186
21187 * configure.in: Use AC_LANG_SOURCE.
21188 * configure: Regenerate.
21189
4248b1b1
RM
211902012-06-22 Roland McGrath <roland@hack.frob.com>
21191
21192 * configure.in (libc_cv_localstatedir): New substituted variable.
21193 * configure: Regenerated.
21194 * config.make.in (localstatedir): New variable, substituted from
21195 libc_cv_localstatedir.
21196 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21197 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21198 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21199 * sysdeps/gnu/configure: Regenerated.
21200
006dd861
JL
212012012-06-21 Jeff Law <law@redhat.com>
21202
21203 [BZ #14277]
21204 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21205 free. Simplify list management for _LIBC case.
21206
79662d42
JM
212072012-06-21 Joseph Myers <joseph@codesourcery.com>
21208
b7abb4bf
JM
21209 [BZ #14273]
21210 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21211 Clear sign bit of 64-bit integer value before comparing against
21212 overflow value.
21213
79662d42
JM
21214 * sysdeps/mach/configure: Regenerated.
21215
1f150908
L
212162012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21217
21218 [BZ #14278]
21219 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21220
28363bbf
JL
212212012-06-21 Jeff Law <law@redhat.com>
21222
21223 [BZ #13882]
21224 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21225 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21226 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21227 * elf/dl-open.c (dl_open_worker): Likewise.
21228
09615db4
CD
212292012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21230
21231 * scripts/list-sources.sh: Scan PORTS for translations.
21232 * po/libc.pot: Regenerated.
21233
2174c6dd
AJ
212342012-06-21 Andreas Jaeger <aj@suse.de>
21235
21236 [BZ #12194]
21237 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21238 warning.
21239 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21240 * bits/byteswap-16.h (__bswap_16): Likewise.
21241 * bits/byteswap.h (__bswap_constant_16): Likewise.
21242
3ee947b1
L
212432012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21244
21245 [BZ #14117]
a2f34833
L
21246 * sysdeps/i386/fpu_control.h: Removed.
21247 * sysdeps/x86_64/fpu_control.h: Moved to ...
21248 * sysdeps/x86/fpu_control.h: Here.
21249
3ee947b1
L
21250 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21251 (_FPU_SETCW): Likewise.
21252
ed1825f8
L
212532012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21254
25f1282a
L
21255 [BZ #14117]
21256 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21257 * sysdeps/x86/fpu/bits/mathinline.h: This.
21258 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21259
ed1825f8
L
21260 [BZ #14050]
21261 [BZ #14117]
21262 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21263 functions if __x86_64__ is defined.
21264
36d54b74
CLT
212652012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21266
21267 * string/endian.h: Add !__ASSEMBLER__ condition for including
21268 conversion interfaces.
21269
10285c21
JM
212702012-06-15 Joseph Myers <joseph@codesourcery.com>
21271
21272 [BZ #14241]
21273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21274 of ABS(x) in calculating zero to negative powers other than odd
21275 integers.
21276 * math/libm-test.inc (pow_test): Add more tests.
21277
06c5abbd
AJ
212782012-06-15 Andreas Jaeger <aj@suse.de>
21279
21280 * manual/contrib.texi (Contributors): Update entry of Liubov
21281 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21282 Machado Filho.
21283
a3aeac40
CH
212842012-06-15 Cyril Hrubis <metan@ucw.cz>
21285
21286 * string/string.h: Add __wur to GNU version of strerror_r.
21287
49bdf4c1
L
212882012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21289
21290 [BZ #14229]
21291 * string/Makefile (tests): Add tst-strtok_r.
21292 * string/tst-strtok_r.c: New file.
21293 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21294 RAX_LP/RDX_LP on SAVE_PTR.
21295
834f9b8d
RM
212962012-06-14 Roland McGrath <roland@hack.frob.com>
21297
21298 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21299
75fa1921
JM
213002012-06-14 Joseph Myers <joseph@codesourcery.com>
21301
21302 * libm_test.inc (csqrt_test): Allow more spurious underflow
21303 exceptions.
21304 (j0_test): Likewise.
21305 (j1_test): Likewise.
21306 (y0_test): Likewise.
21307 (y1_test): Likewise.
21308
771766df
CD
213092012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21310
21311 * po/Makefile (libc.pot): Use UTF-8 charset.
21312
ceb9e56b
PP
213132012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21314
21315 [BZ #14210]
21316 Suppress sign-conversion warning from FD_SET.
21317 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21318 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21319 not unsigned long int.
21320 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21321
ddb28975
L
213222012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21323
21324 [BZ #14050]
21325 [BZ #14117]
21326 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21327 __extern_always_inline instead of __extern_inline.
21328 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21329 (__signbit): Likewise.
21330 (__signbitl): Support C++ namespace.
21331 (lrintf): New inline function.
21332 (lrint): Likewise.
21333 (llrintf): Likewise.
21334 (llrint): Likewise.
21335 (fmaxf): Likewise.
21336 (fmax): Likewise.
21337 (fminf): Likewise.
21338 (fmin): Likewise.
21339 (rint): Likewise.
21340 (rintf): Likewise.
21341 (ceil): Likewise.
21342 (ceilf): Likewise.
21343 (floor): Likewise.
21344 (floorf): Likewise.
21345 (nearbyint): Likewise.
21346 (nearbyintf): Likewise.
21347
d7b4fb26
TS
213482012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21349
21350 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21351 non-default versions.
21352
eb55f5c2
RM
213532012-06-11 Roland McGrath <roland@hack.frob.com>
21354
21355 [BZ #14218]
21356 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21357
366af02c
TS
213582012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21359
99ff6e5c
TS
21360 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21361 (FE_UPWARD, FE_DOWNWARD): Don't define.
21362 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21364
366af02c
TS
21365 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21366 reading it.
21367 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21368 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21369
793ea851
KK
213702012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21371
21372 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21374 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21375 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21376
a728a38f
L
213772012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21378
21379 [BZ #14117]
c08010c7
L
21380 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21381 * sysdeps/i386/fpu/Implies: New file.
21382 * sysdeps/x86_64/fpu/Implies: Likewise.
21383 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21384 * sysdeps/x86/fpu/bits/fenv.h: This.
21385
a728a38f
L
21386 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21387 __SSE_MATH__.
21388
6e230d11
SP
213892012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21390
21391 [BZ #14134]
21392 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21393 character 0xffff that matches the last element of the
21394 conversion table.
21395
1b671feb
AZ
213962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21397
21398 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21399 fmodl commit.
21400
6043738b
AZ
214012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21402
21403 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21404 values higher than 25.6283.
21405
34ae0b32
AZ
214062012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21407
21408 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21409 subnormal exponent extraction and add some __builtin_expect.
21410 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21411 Fix for subnormal mantissa calculation.
21412
1214ec8f
MF
214132012-06-04 Mike Frysinger <vapier@gentoo.org>
21414
21415 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21416 cpu2 is -1 and errno is not ENOSYS.
21417
f3d1f93c
L
214182012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21419
21420 [BZ #14117]
0e4a3cd7
L
21421 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21422 * sysdeps/x86/bits/string.h: This.
21423 * sysdeps/x86_64/bits/string.h: Removed.
21424
6704c645
L
21425 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21426 if not compiling for x86-64, but compiling for >= i486.
21427
48495318
L
21428 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21429 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21430
14adcbfc
L
21431 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21432 New macro from Linux kernel 3.4.0.
21433 (FP_XSTATE_MAGIC2): Likewise.
21434 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21435 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21436 (struct _fpx_sw_bytes): New struct.
21437 (struct _xsave_hdr): Likewise.
21438 (struct _ymmh_state): Likewise.
21439 (struct _xstate): Likewise.
21440
68e408ab
L
21441 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21442 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21444 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21445 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21446 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21447
f3d1f93c
L
21448 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21449 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21450 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21451 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21452 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21453 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21454
d9dc34cd
TMQMF
214552012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21456
21457 [BZ #13743]
21458 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21459 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21460 (sysdep_headers): Include sys/platform/ppc.h.
21461 * sysdeps/powerpc/test-gettimebase.c: Test for
21462 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21463 * manual/Makefile (appendices): Include platform.texi.
21464 * manual/contrib.texi (Contributors): Update @node pointers.
21465 * manual/maint.texi (Maintenance): Likewise.
21466 (Platform): New node.
21467 * manual/platform.texi: New file. Document the new features.
21468
4af3879c
SP
214692012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21470 Jakub Jelinek <jakub@redhat.com>
21471
21472 [BZ #14188]
21473 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21474 where __builtin_expect is unavailable.
21475
2fd6ff13
DM
214762012-06-03 David S. Miller <davem@davemloft.net>
21477
21478 * stdlib/longlong.h: Updated from GCC.
21479
173f7220
AS
214802012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21481
21482 [BZ #14042]
21483 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21484 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21485 __mcount_internal.
21486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21487 (GLIBC_2.16): Likewise.
21488
f34a1c6f
L
214892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21490
21491 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21492
88a4576f
JM
214932012-06-01 Joseph Myers <joseph@codesourcery.com>
21494
ea32bcdd
JM
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21496 (default-abi): New variable.
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21498 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21499 variable.
21500 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21501 Likewise.
21502 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21503 Likewise.
21504 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21505 Likewise.
21506
88a4576f
JM
21507 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21508 definition. Document in comment.
21509
402fe938
DM
215102012-06-01 David S. Miller <davem@davemloft.net>
21511
21512 * stdlib/longlong.h: Updated from GCC.
21513
3553723f
L
215142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21515
21516 [BZ #14117]
3bd872c4
L
21517 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21518 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21519 sys/debugreg.h sys/io.h here.
21520 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21521 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21522 sys/io.h.
21523 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21524 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21525 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21526 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21527 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21528 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21529
3553723f
L
21530 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21531 Define only if __x86_64__ is defined.
21532
4842e4fe
JM
215332012-06-01 Joseph Myers <joseph@codesourcery.com>
21534
c5bfe3d5
JM
21535 [BZ #14048]
21536 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21537 Use int64_t for variable i.
21538 * math/libm-test.inc (fmod_test): Add more tests.
21539
4842e4fe
JM
21540 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21541 z computation is not scheduled after fetestexcept.
21542 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21543 Use math_force_eval instead of asm to ensure calculation scheduled
21544 before exception test.
21545 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21546 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21547
efb73488
AJ
215482012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21549
21550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21551 computation is not scheduled after fetestexcept.
21552
29bcce7c
L
215532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21554
21555 [BZ #14117]
21556 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21557 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21558
73a68f94
AZ
215592012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21560
21561 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21562 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21563
67b6df78
L
215642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21565
edf2933a 21566 [BZ #14117]
ebc64a18
L
21567 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21568 <bits/wordsize.h>.
21569 (__WCHAR_MIN): Support __WORDSIZE == 64.
21570 (__WCHAR_MAX): Likewise.
21571
edf2933a
L
21572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21573 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21574
57c6cf40
L
21575 [BZ #14183]
21576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21577 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21578
67b6df78 21579 [BZ #14117]
8eb6281e
L
21580 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21581 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21582
aac639f4
L
21583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21584 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21585
67b6df78
L
21586 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21587 Defined to 1 if __x86_64__ isn't defined.
21588 (_STAT_VER_LINUX_OLD): New.
21589 (st_atime): Remove duplicate.
21590 (st_mtime): Likewise.
21591 (st_ctime): Likewise.
21592
1c2cfe81
DM
215932012-05-31 David S. Miller <davem@davemloft.net>
21594
21595 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21596 entries.
21597
5be8418c
AS
215982012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21599
e7725326
AS
21600 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21601 gen-libm-test.pl.
21602
5be8418c
AS
21603 [BZ #14132]
21604 * elf/dl-reloc.c: Include <_itoa.h>.
21605 (_dl_reloc_bad_type): Remove use of INTUSE.
21606 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21607 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21608 * stdio-common/psiginfo.c (psiginfo): Likewise.
21609 * stdio-common/psignal.c (psignal): Likewise.
21610 * string/strsignal.c (strsignal): Likewise.
21611 * include/signal.h (_sys_siglist): Declare hidden proto.
21612 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21613 INTVARDEF with libc_hidden_data_def.
21614 * stdio-common/itoa-udigits.c: Likewise.
21615 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21616 (_itoa_lower_digits_internal): Remove declaration.
21617 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21618 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21619 (_sys_sigabbrev_internal): Remove aliases.
21620 (_sys_siglist): Define hidden alias.
21621
507352f1
MT
216222012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21623
21624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21625 bits/sysctl.h.
21626
42bbb1c3
L
216272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21628
21629 [BZ #14117]
6bd784b6
L
21630 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21631 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21632
8bca20f0
L
21633 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21634 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21635 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21636 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21637 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21638 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21639
f9e890a9
L
21640 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21641 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21642 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21643
471101a1
L
21644 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21645 with __addr.
21646 (insw): Likewise.
21647 (insl): Likewise.
21648 (outsb): Likewise.
21649 (outsw): Likewise.
21650 (outsl): Likewise.
21651
6451c862
L
21652 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21653 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21654 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21655
a254b8c9
L
21656 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21657 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21658 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21659 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21660 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21661 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21662
b8dfdd92
L
21663 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21664 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21665
578cd270
L
21666 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21667 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21668
de662f5f
L
21669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21671 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21672
25653439
L
21673 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21674 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21675 to ...
21676 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21677
6bad24a0
L
21678 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21679 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21680 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21681
42bbb1c3
L
21682 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21683 for x86-64.
21684 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21685
2d10d547
JM
216862012-05-31 Joseph Myers <joseph@codesourcery.com>
21687
21688 * math/math.h (M_El): Use two more decimal places.
21689 (M_LOG2El): Likewise.
21690 (M_LOG10El): Likewise.
21691 (M_LN2l): Likewise.
21692 (M_LN10l): Likewise.
21693 (M_PIl): Likewise.
21694 (M_PI_2l): Likewise.
21695 (M_PI_4l): Likewise.
21696 (M_1_PIl): Likewise.
21697 (M_2_PIl): Likewise.
21698 (M_2_SQRTPIl): Likewise.
21699 (M_SQRT2l): Likewise.
21700 (M_SQRT1_2l): Likewise.
21701
f230c29b
DM
217022012-05-31 David S. Miller <davem@davemloft.net>
21703
21704 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21705 values between float registers.
21706 * sysdeps/sparc/sparc64/memset.S: Likewise.
21707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21708
fed806c3
MF
217092012-05-31 Mike Frysinger <vapier@gentoo.org>
21710
21711 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21712 -D_FORTIFY_SOURCE=1.
21713 (CPPFLAGS-tst-longjmp_chk.c): Define.
21714 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21715 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21716 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21717 CFLAGS-tst-wchar-h.c.
21718
30917259
MP
217192012-05-31 Marek Polacek <polacek@redhat.com>
21720
21721 [BZ #14132]
21722 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21723 __endmntent_internal): Remove declaration.
21724 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21725 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21726 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21727
1c58d5dc
DM
217282012-05-30 David S. Miller <davem@davemloft.net>
21729
21730 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21731 (___Q_simulate_exceptions): Use real FP ops rather than writing
21732 into the %fsr.
21733 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21734 Likewise.
21735
7dc00e0d
L
217362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21737
21738 [BZ #14117]
0bd53985
L
21739 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21740 * sysdeps/x86/bits/xtitypes.h: This.
21741
3a257e66
L
21742 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21743 * sysdeps/x86/bits/wordsize.h: This.
21744
62f62904
L
21745 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21746 * sysdeps/x86/bits/huge_vall.h: This.
21747
404fe9d9
L
21748 * sysdeps/i386/bits/select.h: Removed.
21749 * sysdeps/x86_64/bits/select.h: Renamed to ...
21750 * sysdeps/x86/bits/select.h: This.
21751
d48d0446
L
21752 * sysdeps/i386/bits/setjmp.h: Removed.
21753 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21754 * sysdeps/x86/bits/setjmp.h: This.
21755
7dc00e0d
L
21756 * sysdeps/i386/bits/mathdef.h: Removed.
21757 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21758 * sysdeps/x86/bits/mathdef.h: This.
21759
03277f8f
AS
217602012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21761
21762 [BZ #14132]
21763 * include/sys/socket.h (__connect_internal)
21764 (__libc_sa_len_internal): Remove declaration.
21765 (__connect, __libc_sa_len): Declare hidden_proto.
21766 (SA_LEN): Remove use of INTUSE.
21767 * socket/connect.c: Add libc_hidden_def.
21768 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21769 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21770 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21771 alias.
21772 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21773 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21774 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21775 of adding _internal alias.
21776
13764867
L
217772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21778
21779 [BZ #14117]
6bd97696
L
21780 * sysdeps/i386/bits/link.h: Removed.
21781 * sysdeps/i386/bits/linkmap.h: Likewise.
21782 * sysdeps/x86_64/bits/link.h: Renamed to ...
21783 * sysdeps/x86/bits/link.h: This.
21784 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21785 * sysdeps/x86/bits/linkmap.h: This.
21786
f726f0bb
L
21787 * sysdeps/i386/bits/endian.h: Removed.
21788 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21789 * sysdeps/x86/bits/endian.h: This.
21790
13764867
L
21791 * sysdeps/i386/bits/byteswap.h: Removed.
21792 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21793 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21794 * sysdeps/x86/bits/byteswap.h: This.
21795 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21796 * sysdeps/x86/bits/byteswap-16.h: This.
21797 * sysdeps/i386/Implies: Add x86.
21798 * sysdeps/x86_64/Implies: Likewise.
21799
ae251b0b
DM
218002012-05-30 David S. Miller <davem@davemloft.net>
21801
21802 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21803 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21804 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21805 (FP_TRAPPING_EXCEPTIONS): Define.
21806 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21807 (FP_TRAPPING_EXCEPTIONS): Define.
21808 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21809 subnormals only when inexact has been signalled or underflow
21810 exceptions are enabled.
21811 (_FP_PACK_CANONICAL): Likewise.
21812
d5c90867
L
218132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21814
21815 [BZ #14183]
21816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21817 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21818
63f1549e
RH
218192012-05-30 Richard Henderson <rth@twiddle.net>
21820
8d8f2279
RH
21821 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21822 with #ifndef NOT_IN_libc.
21823
63f1549e
RH
21824 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21825 marked to avoid plt entry.
21826
0ab0291b
L
218272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21828
21829 [BZ #14112]
21830 * Makeconfig (default-abi): New macro.
21831 (abi-includes): Likewise.
21832 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21833 $(abi-$(default-abi)-lib-soname) for soname if defined.
21834 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21835 abi-variants.
21836 * Makefile (installed-stubs): Likewise.
21837 * include/stubs-biarch.h: Removed.
21838 * scripts/lib-names.awk: Only handle one library at a time.
21839 * scripts/soversions.awk: Remove WORDSIZE support.
21840 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21841 entries.
21842 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21843 Removed.
21844 (syscall-list-default-condition): Likewise.
21845 (syscall-list-default-condition): Likewise.
21846 (syscall-list-includes): Likewise.
21847 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21848 syscall-list-* with abi-*. Handle undefined abi-variants.
21849 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21850 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21851 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21852 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21853 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21854 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21855 Removed.
21856 (syscall-list-32-options): Likewise.
21857 (syscall-list-32-condition): Likewise.
21858 (syscall-list-64-options): Likewise.
21859 (syscall-list-64-condition): Likewise.
21860 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21861 macro.
21862 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21863 Renamed to ...
21864 (abi-*): This.
21865 (abi-64-ld-soname): New macro.
21866 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21867 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21868 Renamed to ...
21869 (abi-*): This.
21870 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21871 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21872
4da0431d
JM
218732012-05-30 Joseph Myers <joseph@codesourcery.com>
21874
3a85279c
JM
21875 * sysdeps/unix/sysv/linux/kernel-features.h
21876 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21877 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21878 include <kernel-features.h>.
21879 [!__NR_ftruncate64]: Remove conditional code.
21880 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21881 [__NR_ftruncate64]: Make code unconditional.
21882 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21883 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21884 include <kernel-features.h>.
21885 [!__NR_ftruncate64]: Remove conditional code.
21886 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21887 [__NR_ftruncate64]: Make code unconditional.
21888 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21890 include <kernel-features.h>.
21891 [!__NR_ftruncate64]: Remove conditional code.
21892 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21893 [__NR_ftruncate64]: Make code unconditional.
21894 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21896 include <kernel-features.h>.
21897 [!__NR_ftruncate64]: Remove conditional code.
21898 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21899 [__NR_ftruncate64]: Make code unconditional.
21900 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21901
4da0431d
JM
21902 * configure.in (libc_cv_fpie): Weaken to a compile test using
21903 LIBC_TRY_CC_OPTION.
21904 * configure: Regenerated.
21905
11ef492c
AK
219062012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21907
21908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21912 Refreshed.
21913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21919 Refreshed.
21920
d66ef399
DM
219212012-05-27 David S. Miller <davem@davemloft.net>
21922
21923 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21924 (___Q_zero): New.
21925 (__Q_simulate_exceptions): Return void. Change to simulate
21926 exceptions by writing into the %fsr.
21927 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21928 (__Qp_handle_exceptions): Likewise.
21929 (numbers): Delete.
21930 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21931 __Qp_handle_exceptions.
21932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21933 __Qp_handle_exceptions.
21934 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21935 as unused and give dummy FP_RND_NEAREST initializer.
21936 (FP_INHIBIT_RESULTS): Define.
21937 (___Q_simulate_exceptions): Update declaration.
21938 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21939 formatting.
21940 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21941 as unused and give dummy FP_RND_NEAREST initializer.
21942 (__Qp_handle_exceptions): Update declaration.
21943 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21944 formatting.
21945
04fb54b5
TS
219462012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21947
21948 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21949 the temporary FPU control word.
21950 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21951 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21952 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21953 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21954 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21955 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21956 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21957 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21958 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21959 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21960 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21961
3f99608f
KK
219622012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21963
21964 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21965 fields.
21966
65a4de4e
CLT
219672012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21968
21969 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21970 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21971 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21972 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21973 Likewise.
21974 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21975 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21976 Likewise.
21977
15749d40
UD
219782012-05-27 Ulrich Drepper <drepper@gmail.com>
21979
21980 * po/h.po: Update from translation team.
21981
25dbcb27
AS
219822012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21983
3d3f8e55
AS
21984 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21985
25dbcb27
AS
21986 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21987 handling of denormals.
21988 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21989 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21990 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21991 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21995 Likewise.
21996
7ad47a80 219972012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21998
21999 [BZ #14152]
22000 * math/libm-test.inc (fma_test): Don't always expect underflow
22001 exception.
22002
9c6ea9fa
SP
220032012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22004
22005 [BZ #12416]
22006 * elf/tst-execstack.c: Include stackinfo.h.
22007 (do_test): Adjust test case to ensure that pthread_getattr_np
22008 behaviour remains the same after marking stack executable.
22009
a8239222
JM
220102012-05-25 Joseph Myers <joseph@codesourcery.com>
22011
22012 * sysdeps/unix/sysv/linux/kernel-features.h
22013 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22014 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22015 kernel-features.h.
22016 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22017 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22018 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22019 kernel-features.h.
22020 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22021 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22022
918b5606
L
220232012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22024
22025 * configure.in: Define the default includes to being none.
22026 * configure: Regenerated.
22027
3a097cc7
RM
220282012-05-25 Roland McGrath <roland@hack.frob.com>
22029
8422c9a5
RM
22030 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22031 * sysdeps/x86_64/setjmp.S: Likewise.
22032 * sysdeps/i386/bsd-setjmp.S: Likewise.
22033 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22034 * sysdeps/i386/setjmp.S: Likewise.
22035 * sysdeps/i386/__longjmp.S: Likewise.
22036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22037 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22038
3a097cc7
RM
22039 * include/stap-probe.h: New file.
22040 * configure.in: Handle --enable-systemtap.
22041 * configure: Regenerated.
22042 * config.h.in (USE_STAP_PROBE): New #undef.
22043 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22044 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22045 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22046
21708942
JM
220472012-05-25 Joseph Myers <joseph@codesourcery.com>
22048
22049 [BZ #13717]
22050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22051 to 2.4.0 where earlier.
22052 * sysdeps/unix/sysv/linux/configure: Regenerated.
22053 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22054 <kernel-features.h>.
22055 [__ASSUME_32BITUIDS]: Make code unconditional.
22056 [!__ASSUME_32BITUIDS]: Remove conditional code.
22057 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22058 <kernel-features.h>.
22059 [__ASSUME_32BITUIDS]: Make code unconditional.
22060 [!__ASSUME_32BITUIDS]: Remove conditional code.
22061 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22062 [__ASSUME_32BITUIDS]: Make code unconditional.
22063 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22064 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22065 <kernel-features.h>.
22066 [__ASSUME_32BITUIDS]: Make code unconditional.
22067 [!__ASSUME_32BITUIDS]: Remove conditional code.
22068 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22069 <kernel-features.h>.
22070 [__ASSUME_32BITUIDS]: Make code unconditional.
22071 [!__ASSUME_32BITUIDS]: Remove conditional code.
22072 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22073 <kernel-features.h>.
22074 [__ASSUME_32BITUIDS]: Make code unconditional.
22075 [!__ASSUME_32BITUIDS]: Remove conditional code.
22076 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22077 <kernel-features.h>.
22078 [__ASSUME_32BITUIDS]: Make code unconditional.
22079 [!__ASSUME_32BITUIDS]: Remove conditional code.
22080 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22081 <kernel-features.h>.
22082 [__ASSUME_32BITUIDS]: Make code unconditional.
22083 [!__ASSUME_32BITUIDS]: Remove conditional code.
22084 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22085 <kernel-features.h>.
22086 [__ASSUME_32BITUIDS]: Make code unconditional.
22087 [!__ASSUME_32BITUIDS]: Remove conditional code.
22088 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22089 <kernel-features.h>.
22090 [__ASSUME_32BITUIDS]: Make code unconditional.
22091 [!__ASSUME_32BITUIDS]: Remove conditional code.
22092 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22093 <kernel-features.h>.
22094 [__ASSUME_32BITUIDS]: Make code unconditional.
22095 [!__ASSUME_32BITUIDS]: Remove conditional code.
22096 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22097 <kernel-features.h>.
22098 [__ASSUME_32BITUIDS]: Make code unconditional.
22099 [!__ASSUME_32BITUIDS]: Remove conditional code.
22100 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22101 <kernel-features.h>.
22102 [__ASSUME_32BITUIDS]: Make code unconditional.
22103 [!__ASSUME_32BITUIDS]: Remove conditional code.
22104 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22105 <kernel-features.h>.
22106 [__NR_setresgid] (__setresgid): Do not declare.
22107 [__ASSUME_32BITUIDS]: Make code unconditional.
22108 [!__ASSUME_32BITUIDS]: Remove conditional code.
22109 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22110 <kernel-features.h>.
22111 [__NR_setresuid] (__setresuid): Do not declare.
22112 [__ASSUME_32BITUIDS]: Make code unconditional.
22113 [!__ASSUME_32BITUIDS]: Remove conditional code.
22114 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22115 <kernel-features.h>.
22116 [__ASSUME_32BITUIDS]: Make code unconditional.
22117 [!__ASSUME_32BITUIDS]: Remove conditional code.
22118 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22119 <kernel-features.h>.
22120 [__ASSUME_32BITUIDS]: Make code unconditional.
22121 [!__ASSUME_32BITUIDS]: Remove conditional code.
22122 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22123 <kernel-features.h>.
22124 [__ASSUME_32BITUIDS]: Make code unconditional.
22125 [!__ASSUME_32BITUIDS]: Remove conditional code.
22126 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22127 <kernel-features.h>.
22128 [__ASSUME_32BITUIDS]: Make code unconditional.
22129 [!__ASSUME_32BITUIDS]: Remove conditional code.
22130 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22131 <kernel-features.h>.
22132 [__ASSUME_32BITUIDS]: Make code unconditional.
22133 [!__ASSUME_32BITUIDS]: Remove conditional code.
22134 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22135 <kernel-features.h>.
22136 [__ASSUME_32BITUIDS]: Make code unconditional.
22137 [!__ASSUME_32BITUIDS]: Remove conditional code.
22138 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22139 <kernel-features.h>.
22140 [__ASSUME_32BITUIDS]: Make code unconditional.
22141 [!__ASSUME_32BITUIDS]: Remove conditional code.
22142 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22143 <kernel-features.h>.
22144 [__ASSUME_32BITUIDS]: Make code unconditional.
22145 [!__ASSUME_32BITUIDS]: Remove conditional code.
22146 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22147 <kernel-features.h>.
22148 [__ASSUME_32BITUIDS]: Make code unconditional.
22149 [!__ASSUME_32BITUIDS]: Remove conditional code.
22150 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22151 <kernel-features.h>.
22152 [__ASSUME_32BITUIDS]: Make code unconditional.
22153 [!__ASSUME_32BITUIDS]: Remove conditional code.
22154 * sysdeps/unix/sysv/linux/kernel-features.h
22155 (__ASSUME_SETRESUID_SYSCALL): Remove.
22156 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22157 (__ASSUME_32BITUIDS): Likewise.
22158 (__ASSUME_LDT_WORKS): Likewise.
22159 (__ASSUME_O_DIRECTORY): Likewise.
22160 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22161 architecture but not kernel version.
22162 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22163 (__ASSUME_MMAP2_SYSCALL): Likewise.
22164 (__ASSUME_STAT64_SYSCALL): Likewise.
22165 (__ASSUME_IPC64): Likewise.
22166 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22167 <kernel-features.h>.
22168 [__ASSUME_32BITUIDS]: Make code unconditional.
22169 [!__ASSUME_32BITUIDS]: Remove conditional code.
22170 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22171 <kernel-features.h>.
22172 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22173 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22174 132096]: Remove conditional code.
22175 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22176 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22177 <kernel-features.h>.
22178 [__ASSUME_32BITUIDS]: Make code unconditional.
22179 [!__ASSUME_32BITUIDS]: Remove conditional code.
22180 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22181 <kernel-features.h>.
22182 [__ASSUME_32BITUIDS]: Make code unconditional.
22183 [!__ASSUME_32BITUIDS]: Remove conditional code.
22184 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22185 <kernel-features.h>.
22186 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22187 unconditional.
22188 (__setresgid): Do not declare.
22189 [__ASSUME_32BITUIDS]: Make code unconditional.
22190 [!__ASSUME_32BITUIDS]: Remove conditional code.
22191 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22192 <kernel-features.h>.
22193 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22194 unconditional.
22195 (__setresuid): Do not declare.
22196 [__ASSUME_32BITUIDS]: Make code unconditional.
22197 [!__ASSUME_32BITUIDS]: Remove conditional code.
22198 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22199 <kernel-features.h>.
22200 [__ASSUME_32BITUIDS]: Make code unconditional.
22201 [!__ASSUME_32BITUIDS]: Remove conditional code.
22202 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22203 <kernel-features.h>.
22204 [__ASSUME_32BITUIDS]: Make code unconditional.
22205 [!__ASSUME_32BITUIDS]: Remove conditional code.
22206
a386f1cc
RH
222072012-05-25 Richard Henderson <rth@twiddle.net>
22208
22209 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22210 dl_hwcap to ifunc resolver.
22211 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22212 elf_ifunc_invoke.
22213 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22214 dl_hwcap to ifunc resolver.
22215 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22216
b6550497
JM
222172012-05-24 Joseph Myers <joseph@codesourcery.com>
22218
22219 [BZ #14153]
22220 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22221 for |x| <= 2**-26, not 2**-57.
22222 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22223 exception.
22224
b0bc23a1
JL
222252012-05-24 Jeff Law <law@redhat.com>
22226
22227 * stdio-common/Makefile (tests): Add bug25.
22228 * stdio-common/bug25.c: New test.
22229
347c92e9
L
222302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22231
22232 [BZ #13576]
22233 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22234 multiple of MALLOC_ALIGNMENT in size.
22235 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22236
6bcc8b3f
JM
222372012-05-24 Joseph Myers <joseph@codesourcery.com>
22238
22239 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22240 Require >= 256.
22241 (FILENAME_MAX): Use macro-int-constant.
22242 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22243 (_IOFBF): Use macro-int-constant.
22244 (_IOLBF): Likewise.
22245 (_IONBF): Likewise.
22246 (SEEK_CUR): Likewise.
22247 (SEEK_END): Likewise.
22248 (SEEK_SET): Likewise.
22249 (TMP_MAX): Likewise.
22250 (EOF): Use macro-int-constant. Require < 0.
22251 (NULL): Use macro-constant. Require == 0.
22252 (stdin): Require type to be FILE *.
22253 (stdout): Likewise.
22254 (stderr): Likewise.
22255 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22256 macro-int-constant.
22257 (EXIT_SUCCESS): Likewise.
22258 (NULL): Use macro-constant. Require == 0.
22259 (RAND_MAX): Use macro-int-constant.
22260 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22261 [C99-based standards] (strtof): Require function.
22262 [C99-based standards] (strtold): Likewise.
22263 [C99-based standards] (strtoll): Likewise.
22264 [C99-based standards] (strtoull): Likewise.
22265 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22266 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22267 [ISO || ISO99 || ISO11] (math.h): Likewise.
22268 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22269 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22271
d18ea0c5
AS
222722012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22273
22274 [BZ #14132]
56d25bb8
AS
22275 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22276 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22277 * intl/dgettext.c (DCGETTEXT): Likewise.
22278 * intl/gettext.c (DCGETTEXT): Likewise.
22279 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22280 * posix/regex_internal.h (gettext): Likewise.
22281 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22282 Remove declaration.
22283 * include/argz.h (__argz_count_internal)
22284 (__argz_stringify_internal): Remove declaration.
22285 (__argz_count, __argz_stringify): Declare hidden proto.
22286 * intl/dcgettext.c: Remove use of INTDEF.
22287 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22288 * string/argz-stringify.c: Likewise.
22289 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22290 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22291 Declare hidden proto.
d18ea0c5
AS
22292 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22293 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22294 Declare hidden proto.
22295 * include/stdio.h (__asprintf_internal): Don't declare.
22296 (__asprintf): Don't define as macro. Declare hidden proto.
22297 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22298 (__fsetlocking): Declare hidden proto.
22299 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22300 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22301 hidden proto.
22302 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22303 (_IO_setlinebuf): Remove use of INTUSE.
22304 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22305 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22306 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22307 Remove declaration.
22308 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22309 (_IO_do_flush): Remove use of INTUSE.
22310 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22311 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22312 (_IO_adjust_column, _IO_least_wmarker)
22313 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22314 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22315 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22316 (_IO_default_doallocate, _IO_wdefault_doallocate)
22317 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22318 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22319 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22320 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22321 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22322 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22323 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22324 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22325 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22326 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22327 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22328 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22329 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22330 proto.
22331 (_IO_flush_all_internal, _IO_adjust_column_internal)
22332 (_IO_default_uflow_internal, _IO_default_finish_internal)
22333 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22334 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22335 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22336 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22337 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22338 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22339 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22340 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22341 (_IO_file_close_internal, _IO_file_close_it_internal)
22342 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22343 (_IO_file_init_internal, _IO_file_attach_internal)
22344 (_IO_file_fopen_internal, _IO_file_read_internal)
22345 (_IO_file_sync_internal, _IO_file_seek_internal)
22346 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22347 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22348 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22349 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22350 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22351 (_IO_list_all_internal, _IO_link_in_internal)
22352 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22353 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22354 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22355 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22356 (_IO_do_write_internal, _IO_padn_internal)
22357 (_IO_getline_info_internal, _IO_getline_internal)
22358 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22359 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22360 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22361 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22362 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22363 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22364 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22365 with libc_hidden_ver, remove use of INTUSE.
22366 * libio/genops.c: Likewise.
22367 * libio/freopen.c: Likewise.
22368 * libio/freopen64.c: Likewise.
22369 * libio/iofclose.c: Likewise.
22370 * libio/iofdopen.c: Likewise.
22371 * libio/iofflush.c: Likewise.
22372 * libio/iofflush_u.c: Likewise.
22373 * libio/iofgets.c: Likewise.
22374 * libio/iofgets_u.c: Likewise.
22375 * libio/iofopen.c: Likewise.
22376 * libio/iofopncook.c: Likewise.
22377 * libio/iofread.c: Likewise.
22378 * libio/iofread_u.c: Likewise.
22379 * libio/ioftell.c: Likewise.
22380 * libio/iofwrite.c: Likewise.
22381 * libio/iogetline.c: Likewise.
22382 * libio/iogets.c: Likewise.
22383 * libio/iogetwline.c: Likewise.
22384 * libio/iopadn.c: Likewise.
22385 * libio/iopopen.c: Likewise.
22386 * libio/ioseekoff.c: Likewise.
22387 * libio/ioseekpos.c: Likewise.
22388 * libio/iosetbuffer.c: Likewise.
22389 * libio/iosetvbuf.c: Likewise.
22390 * libio/ioungetc.c: Likewise.
22391 * libio/ioungetwc.c: Likewise.
22392 * libio/iovdprintf.c: Likewise.
22393 * libio/iovsprintf.c: Likewise.
22394 * libio/iovsscanf.c: Likewise.
22395 * libio/memstream.c: Likewise.
22396 * libio/obprintf.c: Likewise.
22397 * libio/oldfileops.c: Likewise.
22398 * libio/oldiofclose.c: Likewise.
22399 * libio/oldiofdopen.c: Likewise.
22400 * libio/oldiofopen.c: Likewise.
22401 * libio/oldiopopen.c: Likewise.
22402 * libio/oldstdfiles.c: Likewise.
22403 * libio/putc.c: Likewise.
22404 * libio/setbuf.c: Likewise.
22405 * libio/setlinebuf.c: Likewise.
22406 * libio/stdfiles.c: Likewise.
22407 * libio/strops.c: Likewise.
22408 * libio/vasprintf.c: Likewise.
22409 * libio/vscanf.c: Likewise.
22410 * libio/vsnprintf.c: Likewise.
22411 * libio/vswprintf.c: Likewise.
22412 * libio/wfiledoalloc.c: Likewise.
22413 * libio/wfileops.c: Likewise.
22414 * libio/wgenops.c: Likewise.
22415 * libio/wmemstream.c: Likewise.
22416 * libio/wstrops.c: Likewise.
22417 * libio/__fpurge.c: Likewise.
22418 * libio/__fsetlocking.c: Likewise.
22419 * assert/assert.c: Likewise.
22420 * debug/fgets_chk.c: Likewise.
22421 * debug/fgets_u_chk.c: Likewise.
22422 * debug/fread_chk.c: Likewise.
22423 * debug/fread_u_chk.c: Likewise.
22424 * debug/gets_chk.c: Likewise.
22425 * debug/obprintf_chk.c: Likewise.
22426 * debug/vasprintf_chk.c: Likewise.
22427 * debug/vdprintf_chk.c: Likewise.
22428 * debug/vsnprintf_chk.c: Likewise.
22429 * debug/vsprintf_chk.c: Likewise.
22430 * malloc/mtrace.c: Likewise.
22431 * misc/error.c: Likewise.
22432 * misc/syslog.c: Likewise.
22433 * stdio-common/asprintf.c: Likewise.
22434 * stdio-common/fxprintf.c: Likewise.
22435 * stdio-common/getw.c: Likewise.
22436 * stdio-common/isoc99_fscanf.c: Likewise.
22437 * stdio-common/isoc99_scanf.c: Likewise.
22438 * stdio-common/isoc99_vfscanf.c: Likewise.
22439 * stdio-common/isoc99_vscanf.c: Likewise.
22440 * stdio-common/isoc99_vsscanf.c: Likewise.
22441 * stdio-common/printf-prs.c: Likewise.
22442 * stdio-common/printf_fp.c: Likewise.
22443 * stdio-common/printf_fphex.c: Likewise.
22444 * stdio-common/printf_size.c: Likewise.
22445 * stdio-common/putw.c: Likewise.
22446 * stdio-common/scanf.c: Likewise.
22447 * stdio-common/sprintf.c: Likewise.
22448 * stdio-common/tmpfile.c: Likewise.
22449 * stdio-common/vfprintf.c: Likewise.
22450 * stdio-common/vfscanf.c: Likewise.
22451 * stdlib/strfmon_l.c: Likewise.
22452 * sunrpc/openchild.c: Likewise.
22453 * sunrpc/xdr_stdio.c: Likewise.
22454 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22455 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22456
d6c33fda
RM
224572012-05-24 Roland McGrath <roland@hack.frob.com>
22458
c1487492
RM
22459 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22460
22461 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22462 in the third column, to generate for the shared library an IFUNC
22463 that uses _dl_vdso_vsym.
22464 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22465 * Makeconfig (object-suffixes-noshared): New variable.
22466
22467 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22468 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22469 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22470 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22471
d6c33fda
RM
22472 [BZ #14132]
22473 * include/sys/time.h (__gettimeofday): Remove macro.
22474 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22475 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22476 Remove INTDEF.
22477 (__gettimeofday): Add libc_hidden_def.
22478 (gettimeofday): Add libc_hidden_weak.
22479 * sysdeps/mach/gettimeofday.c: Likewise.
22480 * sysdeps/posix/gettimeofday.c: Likewise.
22481 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22482 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22484 (__gettimeofday_internal): Remove strong_alias.
22485 (__gettimeofday): Add libc_hidden_def.
22486 (gettimeofday): Add libc_hidden_weak.
22487 * sysdeps/unix/syscalls.list (gettimeofday):
22488 Remove __gettimeofday_internal alias.
22489
b5a2bbe6
L
224902012-05-24 Daniel Jacobowitz <drow@false.org>
22491 H.J. Lu <hongjiu.lu@intel.com>
22492
22493 [BZ #12495]
22494 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22495 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22496 (largebin_index_32_big): New.
22497 (largebin_index): Use it for 16-byte alignment.
22498 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22499 correction with front_misalign.
22500
cfba4fda
L
225012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22502
7f907421
L
22503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22505 Likewise.
22506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22507 Likewise.
22508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22509 Likewise.
22510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22511 Likewise.
22512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22513 Likewise.
22514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22515 Likewise.
22516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22517 Likewise.
22518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22519 Likewise.
22520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22521 Likewise.
22522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22523 Likewise.
22524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22525 Likewise.
22526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22527 Likewise.
22528
cfba4fda
L
22529 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22530 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22531
80bad0cc
JM
225322012-05-24 Joseph Myers <joseph@codesourcery.com>
22533
7a25eb06
JM
22534 [BZ #10846]
22535 [BZ #14036]
22536 * math/libm-test.inc (exp_test): Add test from bug 14036.
22537 (pow_test): Add test from bug 10846.
22538
795405f9
JM
22539 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22540 and other flags.
22541 (special_function): Do not include flags in test name.
22542 (parse_args): Likewise.
22543 * sysdeps/i386/fpu/libm-test-ulps: Update.
22544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22545 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22546 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22548
80bad0cc
JM
22549 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22550 exceptions.
22551 * math/libm-test.inc ("Philosophy"): Update comment about
22552 exception testing.
22553 (UNDERFLOW_EXCEPTION): New macro.
22554 (UNDERFLOW_EXCEPTION_OK): Likewise.
22555 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22556 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22557 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22558 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22559 (INVALID_EXCEPTION_OK): Update value.
22560 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22561 (OVERFLOW_EXCEPTION_OK): Likewise.
22562 (IGNORE_ZERO_INF_SIGN): Likewise.
22563 (test_exceptions): Handle underflow exceptions.
22564 (acos_test): Update for underflow exception expectations.
22565 (cexp_test): Likewise.
22566 (clog_test): Likewise.
22567 (clog10_test): Likewise.
22568 (csqrt_test): Likewise.
22569 (ctan_test): Likewise.
22570 (ctanh_test): Likewise.
22571 (exp_test): Likewise.
22572 (exp10_test): Likewise.
22573 (exp2_test): Likewise.
22574 (expm1_test): Likewise.
22575 (fma_test): Likewise.
22576 (j0_test): Likewise.
22577 (jn_test): Likewise.
22578 (nexttoward_test): Likewise.
22579 (pow_test): Likewise.
22580 (scalbn_test): Likewise.
22581 (scalbln_test): Likewise.
22582 (tan_test): Likewise.
22583 (y1_test): Likewise.
22584 * sysdeps/i386/fpu/libm-test-ulps: Update.
22585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22586
9e0e3d0b
DM
225872012-05-23 David S. Miller <davem@davemloft.net>
22588
22589 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22590 (__libc_sigaction): Remove unused local variables.
22591
ccd0a08f
L
225922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22593
22594 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22595
62bdf9a6
PE
225962012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22597
f8591f80
PE
22598 mktime: avoid signed integer overflow
22599 * time/mktime.c (__mktime_internal): Do not mishandle the case
22600 where diff == INT_MIN.
22601
94c7d826
PE
22602 mktime: simplify computation of average
22603 * time/mktime.c (ranged_convert): Use new time_t_avg function
22604 instead of rolling our own (probably-slower) code.
22605
ce73d683
PE
22606 mktime: do not assume signed right shift propagates sign bit
22607 * time/mktime.c (isdst_differ): New static function.
22608 (__mktime_internal): No need to normalize tm_isdst now.
22609 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22610 tm_isdst values.
22611
72a22e59
PE
22612 mktime: merge another wrapv change from gnulib
22613 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22614 from some compilers.
22615
68605433
PE
22616 mktime: remove incorrect attempt at unusual arithmetics
22617 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22618 The code didn't really work on such machines anyway.
22619 (TYPE_MINIMUM): Assume two's complement.
22620 (twos_complement_arithmetic): Verify that long_int and time_t
22621 are two's complement (or unsigned, in the latter case).
22622
03cf7fe3
PE
22623 mktime: check signed shifts on long_int and time_t, too
22624 * time/mktime.c (SHR): Check that shifts work as desired
22625 on the types long_int and time_t too, as SHR is used on
22626 such types.
22627
f04dfbc2
PE
22628 mktime: do not assume 'long' is wide enough
22629 * time/mktime.c (verify): Move decl up.
22630 (long_int): New type.
22631 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22632 to remove assumption in the code that 'long' is wide enough to
22633 store year values. This assumption is not true on x32 and on
22634 some non-glibc platforms.
22635
62bdf9a6
PE
22636 mktime: merge wrapv change from gnulib
22637 * time/mktime.c (WRAPV): New macro.
22638 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22639 (guess_time_tm, __mktime_internal): Do not assume that signed
22640 integer overflow wraps around; modern compilers generate code
22641 where this assumption is no longer valid.
22642
5e292e4f
L
226432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22644
22645 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22646 Replace "jmp L(pseudo_end)" with "ret".
22647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22648 Likewise.
22649
8caf8c87
AJ
226502012-05-23 Andreas Jaeger <aj@suse.de>
22651
22652 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22653 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22654
1a09dc56
AJ
226552012-05-23 Andreas Jaeger <aj@suse.de>
22656 Maximilian Attems <max@stro.at>
22657
22658 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22659 New macros.
22660
1c87aba0
L
226612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22662
22663 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22664 code so that pseudo_end is just ret and the stack pointer is
22665 correct also for static library in error case.
22666
40e45bd5
JM
226672012-05-23 Joseph Myers <joseph@codesourcery.com>
22668
c2670533
JM
22669 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22670 move to syscalls.list.
22671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22675
40e45bd5
JM
22676 * manual/install.texi (Running make install): Do not mention Linux
22677 kernel version for which pt_chown is not needed.
22678 (Linux): Do not mention problems with nscd with 2.0 kernels.
22679 * INSTALL: Regenerated.
22680
be08eda5
AJ
226812012-05-23 Andreas Jaeger <aj@suse.de>
22682
22683 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22684 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22685 macro.
22686 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22688 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22690 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22692 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22695 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22696 * sysdeps/unix/sysv/linux/bits/in.h
22697 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22698
a6a056bb
RM
226992012-05-22 Roland McGrath <roland@hack.frob.com>
22700
22701 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22702 (PREPARE_VERSION): Just use assert instead, it will be elided
22703 under [NDEBUG] anyway.
22704
c9009328
L
227052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22706
22707 * sysdeps/unix/sysv/linux/Makefile: Include
22708 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22709 (sysdep_routines): Remove sysctl.
c9009328
L
22710 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22711 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22712 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22713 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22714 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22715
73338355
AJ
227162012-05-22 Andreas Jaeger <aj@suse.de>
22717
22718 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22719 that pseudo_end is just ret and the stack pointer is correct also
22720 for static library in error case.
22721
d44638b0
PP
227222012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22723
22724 [BZ #14122]
22725 * nss/nsswitch.c (defconfig_entries): New variable.
22726 (__nss_database_lookup): Don't leak defconfig entries.
22727 (nss_parse_service_list): Don't leak on error paths.
22728 (free_database_entries): New function.
22729 (free_defconfig): New function.
22730 (free_mem): Move common code to free_database_entries.
22731
31a39bd8
L
227322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22733
da0331a8
L
22734 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22735 Add arch_prctl.
22736 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22737
31a39bd8
L
22738 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22739 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22741 New macro.
22742 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22743 (INTERNAL_SYSCALL_TYPES): Likewise.
22744 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22745 (LOAD_REGS_TYPES_[1-6]): Likewise.
22746 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22747 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22748
45470df3
AZ
227492012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22750
22751 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22752 copysignl for GLIBC_2_0.
22753 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22754 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22756 logbl for GLIBC_2_0.
22757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22758 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22759
98a61bcb
L
227602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22761
a4f6e481
L
22762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22763 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22764
f63d5db6
L
22765 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22766 Use "neg %eax".
22767
98a61bcb
L
22768 * time/mktime.c: Update copyright years.
22769
95770f14
PE
227702012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22771
6226efbd
PE
22772 mktime: merge comment-quoting-style change from gnulib
22773 * time/mktime.c: Quote 'like this' in comments.
22774 The GNU coding standards suggest that we no longer quote `like this',
22775 as "`" and "'" are typically rendered asymmetrically nowadays.
22776 The typical gnulib style is to quote 'like this' when quoting
22777 code, and "like this" when quoting English.
22778
b99e4f78
PE
22779 * time/mktime.c (compile-command): Add "-I.".
22780
643e01e6
PE
22781 mktime: merge mktime-internal.h change from gnulib
22782 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22783
2554247d
PE
22784 mktime: merge time_r change from gnulib
22785 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22786
826dd0ab
PE
22787 mktime: merge DEBUG change from gnulib
22788 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22789 case system <time.h> has a #define.
22790
bd83aabe
PE
22791 mktime: merge <sys/types.h> change from gnulib
22792 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22793 since <time.t> is now guaranteed to define time_t.
22794
95770f14
PE
22795 mktime: merge HAVE_CONFIG_H change from gnulib
22796 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22797
5e1a27a9
L
227982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22799
0e44a77e
L
22800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22801 Use "neg %eax".
22802
5e1a27a9
L
22803 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22804 __rlim_t cast.
22805 (struct rusage): Use anonymous union to pad each field to
22806 __syscall_slong_t.
22807
46259bec
DM
228082012-05-21 David S. Miller <davem@davemloft.net>
22809
22810 * Makefules (o-iterator): Remove .s cases.
22811 (compile-command.s): Delete.
22812 (COMPILE.s): Delete.
22813 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22814
59f0c22e
JM
228152012-05-21 Joseph Myers <joseph@codesourcery.com>
22816
22817 * configure.in (libc_cv_predef_stack_protector): Only consider
22818 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22819 * configure: Regenerated.
22820
20c07380
L
228212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22822
bbb3154b
L
22823 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22824 New macro. Use R*LP on int and pointer.
22825 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22826 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22827 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22828 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22829
20c07380
L
22830 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22831 [__WORDSIZE_TIME64_COMPAT32] instead of
22832 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22833 (struct utmp): Likewise.
22834 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22835 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22836 Renamed to ...
22837 (__WORDSIZE_TIME64_COMPAT32): This.
22838 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22839 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22840 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22841 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22842 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22843 (__WORDSIZE_TIME64_COMPAT32): New macro.
22844
d8d1017e
AJ
228452012-05-21 Andreas Jaeger <aj@suse.de>
22846
22847 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22848 only if [SHARED]. Add prototype for __wcschr_ia32.
22849
6c7fb145
RM
228502012-05-21 Roland McGrath <roland@hack.frob.com>
22851
22852 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22853 of %rbp unmolested in the jmp_buf while mangling the low bits.
22854 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22855 unmolested high bits of %rbp while demangling the low bits.
22856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22857
66274218
AJ
228582012-05-21 Andreas Jaeger <aj@suse.de>
22859
07c58f8f
AJ
22860 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22861 * sunrpc/svc_simple.c: Use it for registerrpc.
22862 * sunrpc/xcrypt.c: Use it for passwd2des.
22863
66274218
AJ
22864 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22865
61f65140
L
228662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22867
22868 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22869 Don't define if [__SYSCALL_WORDSIZE != 32].
22870 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22871 New macro.
22872
5fefb436
AJ
228732012-05-21 Bruno Haible <bruno@clisp.org>
22874 Andreas Jaeger <aj@suse.de>
22875
22876 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22877 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22878 inptr and inend for must_buffer_ch.
22879 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22880 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22881 * stdio-common/Makefile (tests): Remove bug15.
22882 (bug15-ENV): Remove macro.
22883 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22884 anymore.
22885
d8e272ab
AJ
228862012-05-19 Andreas Jaeger <aj@suse.de>
22887 Roland McGrath <roland@hack.frob.com>
22888
22889 * manual/contrib.texi: Completely rewritten. It contains now an
22890 alphabetical list of contributors and their contributions.
22891
4a56a162
RH
228922012-05-21 Richard Henderson <rth@twiddle.net>
22893
22894 * misc/getauxval.c (__getauxval): Use unsigned long int.
22895 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22896 (getauxval): Use unsigned long int.
22897
d024d23c
L
228982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22899
22900 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22901
cbc00a03
RM
229022012-05-21 Roland McGrath <roland@hack.frob.com>
22903
22904 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22905 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22906 __alignof__ (long double).
22907
478143fa
AZ
229082012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22909
22910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22911
c7683a6d
RH
229122012-05-20 Richard Henderson <rth@twiddle.net>
22913
22914 * misc/getauxval.c: New file.
22915 * misc/sys/auxv.h: New file.
22916 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22917 (routines): Add getauxval.
22918 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22919 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22920 * elf/dl-sysdep.c (_dl_auxv): Remove.
22921 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22922 * elf/dl-support.c (_dl_auxv): New variable.
22923 (_dl_aux_init): Initialize it.
22924 * manual/startup.texi (Auxiliary Vector): New node.
22925 * sysdeps/generic/bits/hwcap.h: New file.
22926 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22927 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22928 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22929 * sysdeps/sparc/sysdep.h: ... here. Include it.
22930 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22933 Update.
c7683a6d
RH
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22937 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22942
a6f1845d
AZ
229432012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22944
22945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22946
cbcbe830
DM
229472012-05-19 David S. Miller <davem@davemloft.net>
22948
22949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22950
e0b16cc2
JM
229512012-05-19 Joseph Myers <joseph@codesourcery.com>
22952
22953 [BZ #14123]
22954 * math/s_ccosh.c: Include <float.h>
22955 (__ccosh): Avoid internal overflow calculating sinh and cosh
22956 values before multiplying by sin and cos values.
22957 * math/s_ccoshf.c: Likewise.
22958 * math/s_ccoshl.c: Likewise.
22959 * math/s_csin.c: Likewise.
22960 * math/s_csinf.c: Likewise.
22961 * math/s_csinl.c: Likewise.
22962 * math/s_csinh.c: Likewise.
22963 * math/s_csinhf.c: Likewise.
22964 * math/s_csinhl.c: Likewise.
22965 * math/libm-test.inc (ccos_test): Add more tests.
22966 (ccosh_test): Likewise.
22967 (csin_test): Likewise.
22968 (csinh_test): Likewise.
22969 * sysdeps/i386/fpu/libm-test-ulps: Update.
22970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22971
6ad13e08
L
229722012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22973
f66f0ce8
L
22974 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22975 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22976
6ad13e08
L
22977 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22978
b1d072a7
JM
229792012-05-19 Joseph Myers <joseph@codesourcery.com>
22980
22981 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22982 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22983 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22984 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22985 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22986 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22987 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22988 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22989 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22990 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22991 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22992 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22993 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22994 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22995 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22996 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22997 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22998 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22999 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23000 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23001 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23002 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23003 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23004 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23005 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23006 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23007 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23008 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23009 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23010 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23011 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23012
9eae47cb
AJ
230132012-05-18 Andreas Jaeger <aj@suse.de>
23014
23015 * csu/.gitignore: Delete.
23016
bb07f69f
L
230172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23018
23019 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23020 (timex): Use __syscall_slong_t.
23021
e6bdb741
AJ
230222012-05-18 Andreas Jaeger <aj@suse.de>
23023 Carlos O'Donell <carlos_odonell@mentor.com>
23024
23025 * manual/install.texi (Configuring and compiling): Update
23026 description about files modified in the source directory.
d6c33fda 23027 * INSTALL: Regenerated.
e6bdb741 23028
1b74487e
L
230292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23030
23031 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23032 value. Use "or" to set return value to -1.
23033 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23034 negate return value.
23035
a88b64b9
TMQMF
230362012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23037
23038 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23039 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23040 failure if the compiler has Graphite support disabled.
23041 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23042 Likewise.
23043 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23044 CFLAGS-memmove.c): Likewise.
23045 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23046 Likewise.
23047
3707636e
L
230482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23049
610b8622
L
23050 * sysdeps/x86_64/x32/_itoa.h: New file.
23051
7cd195df
L
23052 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23053 getdents system call only if kernel and user dirents have the
23054 same d_ino and d_off.
23055
94b07d20
L
23056 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23057 LLONG_MAX != LONG_MAX.
23058 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23059 (_fitoa_word): Likewise.
23060
18298070
L
23061 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23062 years.
23063 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23064 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23065 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23066
553c7ea4
L
23067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23068 include <bits/wordsize.h>. Check __x86_64__ instead of
23069 __WORDSIZE.
23070 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23071 if __x86_64__ is defined. Use anonymous union on fpstate.
23072
3707636e
L
23073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23074 anonymous union.
23075
b53ef01a
AS
230762012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23077
37fb1dc0
AS
23078 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23079 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23080 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23081 Refer to _rtld_local_ro instead of _rtld_global_ro.
23082 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23083 Likewise.
23084 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23085 Likewise.
23086 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23087 Likewise.
23088 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23089 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23090 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23091
b53ef01a
AS
23092 * sysdeps/powerpc/powerpc32/dl-machine.c
23093 (__elf_machine_runtime_setup) [PROF]: Don't reference
23094 _dl_prof_resolve.
23095
7a185db2
AJ
230962012-05-18 Andreas Jaeger <aj@suse.de>
23097
23098 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23099 function only available for GCCs before 3.4 since GCC 3.4
23100 introduced a builtin.
23101 (lrint): Likewise.
23102 (llrintf): Likewise.
23103 (llrint): Likewise.
23104 (fmaxf): Likewise.
23105 (fmax): Likewise.
23106 (fminf): Likewise.
23107 (fmin): Likewise.
23108 (rint): Likewise.
23109 (rintf): Likewise.
23110 (nearbyint): Likewise.
23111 (nearbyintf): Likewise.
23112 (ceil): Likewise.
23113 (ceilf): Likewise.
23114 (floor): Likewise.
23115 (floorf): Likewise.
23116
3e5aef87
L
231172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23118
428bd707
L
23119 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23120 on both fields and cast pointer to __syscall_ulong_t.
23121
3e5aef87
L
23122 * bits/types.h (__fsword_t): New type.
23123 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23124 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23125 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23126 (__FSWORD_T_TYPE): Likewise.
23127 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23128 (__FSWORD_T_TYPE): Likewise.
23129 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23130 (__FSWORD_T_TYPE): Likewise.
23131 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23132 (__FSWORD_T_TYPE): Likewise.
23133 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23134 __SWORD_TYPE with __fsword_t.
23135 (statfs64): Likewise.
23136
1ba7c3dc
DM
231372012-05-17 David S. Miller <davem@davemloft.net>
23138
23139 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23140
59910343
AJ
231412012-05-17 Andreas Jaeger <aj@suse.de>
23142
23143 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23144 warning.
23145
2e4c1e9e
L
231462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23147
23148 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23149
de7f5ce7
AJ
231502012-05-17 Andreas Jaeger <aj@suse.de>
23151
23152 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23153 when it is used.
23154
286abc3d
CM
231552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23156
23157 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23158
477cc68e
L
231592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23160
23161 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23162 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23163
1a0994f5
CD
231642012-05-17 Andreas Jaeger <aj@suse.de>
23165 Carlos O'Donell <carlos_odonell@mentor.com>
23166
23167 [BZ #14059]
23168 * sysdeps/x86_64/multiarch/init-arch.h
23169 (bit_YMM_Usable): Rename to...
23170 (bit_AVX_Usable): ... this.
23171 (bit_FMA4_Usable): New macro.
23172 (bit_XMM_state): New macro.
23173 (bit_YMM_state): New macro.
23174 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23175 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23176 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23177 (CPUID_OSXSAVE): New macro.
23178 (CPUID_AVX): New macro.
23179 (CPUID_FMA4): New macro.
23180 (index_YMM_Usable): Rename to...
23181 (index_AVX_Usable): ... this.
23182 (HAS_AVX): Use HAS_ARCH_FEATURE.
23183 (HAS_FMA4): Likewise.
23184 (HAS_YMM_USABLE): Remove.
23185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23186 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23187 are present.
23188 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23189 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23190 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23191 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23192 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23193
0af797de
CM
231942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23195
23196 * math/libm-test.c: Support platforms without multiple rounding modes.
23197 * math/bug-nextafter.c: Support platforms without FP exceptions.
23198 * math/bug-nexttoward.c: Likewise.
23199 * math/test-fenv.c: Likewise.
23200 * math/test-misc.c: Likewise.
23201 * stdlib/bug-getcontext.c: Likewise.
23202
e39745ff
AJ
232032012-05-17 Andreas Jaeger <aj@suse.de>
23204
23205 * manual/examples/search.c (critter_cmp): Change signature to
23206 avoid warnings.
23207 * manual/string.texi (Collation Functions): Likewise.
23208
48970aba
L
232092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23210
23211 * bits/types.h: Fold copyright years.
23212 * bits/typesizes.h: Likewise.
23213 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23214 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23217 * time/time.h: Likewise.
23218
bedee953
PP
232192012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23220
23221 [BZ #208]
23222 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23223 in instead of returning them. Return void.
23224 (__libc_mallinfo): Accumulate over all arenas.
23225 (__malloc_stats): Adjust for change in int_mallinfo interface.
23226
61653dfb
RM
232272012-05-16 Roland McGrath <roland@hack.frob.com>
23228
30b99d79
RM
23229 [BZ #10375]
23230 * configure.in (NM): Add AC_CHECK_TOOL for it.
23231 (libc_extra_cflags): New substituted variable.
23232 Check for -fstack-protector being used implicitly.
23233 * configure: Regenerated.
23234 * config.make.in (config-extra-cflags): New variable,
23235 gets @libc_extra_cflags@.
23236 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23237
61653dfb
RM
23238 [BZ #10375]
23239 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23240 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23241 * configure: Regenerated.
23242 * config.make.in (CPPUNDEFS): New substituted variable.
23243 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23244 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23245 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23246
661768bb
L
232472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23248
23249 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23250 (mq_attr): Use __syscall_slong_t.
23251
d4261567
L
232522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23253
23254 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23255 Check __x86_64__ instead of __WORDSIZE.
23256 (_STAT_VER_LINUX): Likewise.
23257 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23258 __syscall_ulong_t and __syscall_slong_t.
23259 (stat64): Likewise.
23260
cf3ff365
L
232612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23262
23263 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23264
76cf3e4d
L
232652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23266
23267 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23268
a637753a
L
232692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23270
23271 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23272 __syscall_ulong_t.
23273
d5e05119
L
23274 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23275 include <bits/wordsize.h>. Check __x86_64__ instead of
23276 __WORDSIZE.
23277 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23278 defined.
23279 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23280
f62ee380
L
23281 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23282 include <bits/wordsize.h>. Check __x86_64__ instead of
23283 __WORDSIZE.
23284 (user_regs_struct): Use "__extension__ unsigned long long"
23285 instead of "unsigned long" if __x86_64__ is defined.
23286 (user): Likewise. Pad after pointer field if __ILP32__ is
23287 defined.
23288
4e124ced
JM
232892012-05-16 Joseph Myers <joseph@codesourcery.com>
23290
6a3951a0
JM
23291 * configure.in (makeinfo): Require version 4.5 or later. Allow
23292 versions 5 to 9.
23293 * configure: Regenerated.
23294 * manual/install.texi (texinfo): Increase version requirement to
23295 4.5 or later.
23296 * INSTALL: Regenerated.
23297
4e124ced
JM
23298 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23299
953ca31a
L
233002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23301
23302 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23303
617aca05
L
23304 * sysdeps/x86_64/x32/ffs.c: New file.
23305
5762f7ae
L
23306 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23307 __syscall_ulong_t.
23308 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23309 defined. Use __syscall_ulong_t.
23310 (shminfo): Use __syscall_ulong_t.
23311 (shm_info): Likewise.
23312
a26b6856
L
23313 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23314 __syscall_ulong_t.
23315
cb2b9ef7
L
23316 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23317 <bits/wordsize.h>.
23318 (msgqnum_t): Use __syscall_ulong_t.
23319 (msglen_t): Likewise.
23320 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23321 __syscall_ulong_t.
23322
34683bb0
L
23323 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23324 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23325
84a68786
L
23326 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23327
48baa5f1
L
23328 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23329 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23330
180be88b
L
23331 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23332 __syscall_slong_t.
23333
5e90c8ad
L
23334 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23335 include <bits/wordsize.h>. Check __x86_64__ instead of
23336 __WORDSIZE.
23337
23dfb58b
L
23338 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23339 "unsigned long long int" if __x86_64__ is defined.
23340 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23341
ce5d54b0
L
23342 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23343 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23344 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23345
13dc9eac
L
23346 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23347 <stdint.h>.
23348 (GET_PC): Cast to uintptr_t first.
23349 (GET_FRAME): Likewise.
23350 (GET_STACK): Likewise.
23351
a7895d15
L
23352 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23354 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23356 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23358 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23359 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23360 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23361 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23363 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23365 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23367 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23368 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23369 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23371 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23373 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23375 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23377 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23379 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23381
656416c9
AS
233822012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23383
5bd66283
AS
23384 * Makerules (+depfiles): Also collect depfiles from .oS in
23385 $(extra-objs).
23386 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23387 .oS, $(libnldbl-routines)).
23388
656416c9
AS
23389 * Makerules (native-compile-mkdep-flags): Define.
23390 * sunrpc/Makefile (extra-objs): Add $(addprefix
23391 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23392 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23393 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23394 calling $(make-target-directory).
23395
a46f2169
L
233962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23397
23398 * bits/types.h (__snseconds_t): Removed.
23399 * time/time.h (struct timespec): Replace __snseconds_t with
23400 __syscall_slong_t.
23401 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23402 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23403 Likewise.
23404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23405 (__SNSECONDS_T_TYPE): Likewise.
23406 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23407 (__SNSECONDS_T_TYPE): Likewise.
23408 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23409 (__SNSECONDS_T_TYPE): Likewise.
23410
6af6528b
L
234112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23412
23413 * sysdeps/mach/hurd/bits/typesizes.h
23414 (__SYSCALL_SLONG_TYPE): New macro.
23415 (__SYSCALL_ULONG_TYPE): Likewise.
23416
de986b56
L
234172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23418
23419 * bits/types.h (__syscall_slong_t): New type.
23420 (__syscall_ulong_t): Likewise.
23421
23422 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23423 (__SYSCALL_ULONG_TYPE): Likewise.
23424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23425 (__SYSCALL_SLONG_TYPE): Likewise.
23426 (__SYSCALL_ULONG_TYPE): Likewise.
23427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23428 (__SYSCALL_SLONG_TYPE): Likewise.
23429 (__SYSCALL_ULONG_TYPE): Likewise.
23430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23431 (__SYSCALL_SLONG_TYPE): Likewise.
23432 (__SYSCALL_ULONG_TYPE): Likewise.
23433
85736dc7
L
234342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23435
23436 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23437 Add sigaltstack-offsets.sym.
23438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23439 <sigaltstack-offsets.h>.
23440 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23441 longjmp_msg pointer.
23442 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23443 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23444 signal stack.
23445 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23446
cc03b296
JM
234472012-05-15 Joseph Myers <joseph@codesourcery.com>
23448
a9538892
JM
23449 * elf/stackguard-macros.h: Remove file.
23450 * sysdeps/generic/stackguard-macros.h: New file.
23451 * sysdeps/i386/stackguard-macros.h: Likewise.
23452 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23453 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23454 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23455 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23456 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23457 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23458 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23459 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23460 <elf/stackguard-macros.h>.
23461
cc03b296
JM
23462 [BZ #14109]
23463 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23464 __aligned__ in attribute.
23465 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23466 (gregset_t): Likewise.
23467
93171016
L
234682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23469
23470 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23471 * sysdeps/x86_64/64/Implies-after: Here. New file.
23472 * sysdeps/x86_64/x32/Implies-after: New file.
23473
d86813a0
L
234742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23475
23476 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23477 and access return value for _dl_profile_fixup. Use R10_LP to
23478 load frame size.
23479
2953ec75
L
234802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23481
23482 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23483
3b550e9e
L
234842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23485
23486 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23487 * sysdeps/x86_64/x32/sysdep.h: New file.
23488
eda41706
L
234892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23490
23491 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23492 * sysdeps/x86_64/setjmp.S: Likewise.
23493
9ea01d93
AZ
234942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23495
23496 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23498 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23499 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23500 remove unused global constant.
23501
02a91938
CM
235022012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23503
23504 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23505 include of <not-cancel.h>.
23506
6540185f
RM
235072012-05-15 Roland McGrath <roland@hack.frob.com>
23508
23509 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23510
509072a0
AJ
235112012-05-15 Jeff Law <law@redhat.com>
23512 Andreas Jaeger <aj@suse.de>
23513
23514 [BZ #13594]
23515 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23516 out from...
23517 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23518 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23519 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23520 code changing __hst_map_handle.map.
23521
ba75122d
RM
235222012-05-15 Roland McGrath <roland@hack.frob.com>
23523
23524 * configure.in (sysnames): Look for Implies-before and Implies-after
23525 files.
23526 * configure: Regenerated.
23527
890d8bd8
L
235282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23529
23530 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23531 8-byte data alignment with LP_SIZE alignment.
23532
f6ee6623
L
235332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23534
23535 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23536 into R10_LP.
23537
ea2626f6
L
235382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23539
23540 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23541
085f715e
L
235422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23543
23544 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23545 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23546 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23547 Likewise.
23548 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23549
be8498fc
L
235502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23551
23552 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23553 (stackinfo_sub_sp): Likewise.
23554
70bc83b9
L
235552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23556
23557 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23558 RAX_LP.
23559
9bc0b730
L
235602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23561
23562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23563 into R*_LP.
23564
6d2850e7
L
235652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23566
23567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23568 sizes into R*_LP.
23569
3cb84561
L
235702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23571
23572 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23573
54e2ed81
L
235742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23575
23576 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23577 into R11_LP and load __x86_64_shared_cache_size_half into
23578 R8_LP.
23579
8a17f349
L
235802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23581
23582 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23583 R8_LP.
23584
777b1eea
AZ
235852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23586
23587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23588 logb for POWER7.
23589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23590 logbf for POWER7.
23591 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23592 logbl for POWER7.
23593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23594 powerpc32/power7/fpu/s_logb.c via #include.
23595 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23596 powerpc32/power7/fpu/s_logbf.c via #include.
23597 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23598 powerpc32/power7/fpu/s_logbl.c via #include.
23599
d20d4ac2
JM
236002012-05-15 Joseph Myers <joseph@codesourcery.com>
23601
23602 * README.libm: Remove file.
23603
6cdef1ab
L
236042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23605
23606 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23607 count for x32. Use R*_LP and omit operand-size suffix.
23608
0b254d8f
L
236092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23610
23611 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23612 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23613 * sysdeps/x86_64/x32/shlib-versions: New file.
23614
ceb809dc
RM
236152012-05-14 Roland McGrath <roland@hack.frob.com>
23616
23617 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23618 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23619 Use _dl_fatal_printf instead.
23620
37f1abd4
JM
236212012-05-14 Joseph Myers <joseph@codesourcery.com>
23622
23623 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23624 set if not set by the user. Do not allow for being unset.
23625 * sysdeps/unix/sysv/linux/configure: Regenerated.
23626
11de3a33
L
236272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23628
23629 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23630 the `q' suffix from lea and replace .quad with ASM_ADDR.
23631
e02f153a
L
236322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23633
23634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23635 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23636 instead of $17.
23637 (PTR_DEMANGLE): Likewise.
23638
520ae0fd
L
236392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23640
23641 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23642 (LP_OP): Likewise.
23643 (ASM_ADDR): Likewise.
23644 (RAX_LP): Likewise.
23645 (RBP_LP): Likewise.
23646 (RBX_LP): Likewise.
23647 (RCX_LP): Likewise.
23648 (RDI_LP): Likewise.
23649 (RSI_LP): Likewise.
23650 (RSP_LP): Likewise.
23651 (R8_LP): Likewise.
23652 (R9_LP): Likewise.
23653 (R10_LP): Likewise.
23654 (R10_LP): Likewise.
23655 (R11_LP): Likewise.
23656 (R12_LP): Likewise.
23657 (R13_LP): Likewise.
23658 (R14_LP): Likewise.
23659 (R15_LP): Likewise.
23660
b985be81
L
236612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23662
23663 * sysdeps/x86_64/x32/dl-machine.h: New file.
23664
6a4888ff
AJ
236652012-05-14 Andreas Jaeger <aj@suse.de>
23666
23667 * manual/Makefile (subdir): Remove export of subdir.
23668 (all): Remove target.
23669 (.PHONY): Remove all from list.
23670 (mkinstalldirs): Remove.
23671 (.PHONY): Remove installdirs from list.
23672 ($(inst_infodir)/libc.info): Use make-target-directory.
23673 (installdirs): Remove.
23674 (subdir_%): Remove.
23675 (glibc-targets): Remove.
23676 (lib): Remove.
23677 (stubs): Remove.
23678 ($(objpfx)stubs ../po/manual.pot): Remove.
23679 ($(objpfx)stamp%): Remove.
23680 (make-target-directory): Remove.
23681 (subdir_install): Remove.
23682 (routines): Remove.
23683 (aux): Remove.
23684 (sources): Remove.
23685 (objects): Remove.
23686 (headers): Remove.
23687
23688 [BZ #13750]
23689 * manual/.gitignore: Remove, it's not needed anymore.
23690 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23691 all files in it.
23692 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23693 directory.
23694 (texis): Renamed to $(objpfx)texis.
23695 (texis-path): New, contains path to generated files.
23696 (chapters.%): Use texis-path for complete path, add extra argument
23697 libc-texinfo.sh.
23698 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23699 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23700 (summary,texi, stamp-summary): Use complete path of
23701 files. Generate files in build dir.
23702 (dir-add.texi): Build in build dir.
23703 (libm-err.texi,stamp-libm-err): Likewise.
23704 (version.texi, stamp-version): Likewise.
23705 (.%c.texi): Likewise.
23706 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23707 (mostlyclean): Remove target.
23708 (realclean): Remove target.
23709 (generated): Add new variable with contents from mostlyclean and
23710 realclean, remove entries duplicated in common-mostlyclean, add
23711 stamp-libm-err and stamp-version.
23712 (generated-dirs): Add libc directory.
23713 ($(inst_infodir)/libc.info): Install files from build dir.
23714
23715 * manual/install.texi (Configuring and compiling): Adjust since
23716 the info files are not part of the tar ball anymore.
23717
7ac77294
AJ
237182012-05-14 Andreas Jaeger <aj@suse.de>
23719
23720 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23721 variable.
23722
ffb7875d
JM
237232012-05-14 Joseph Myers <joseph@codesourcery.com>
23724
23725 [BZ #13717]
23726 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23727 to 2.2.0 where earlier.
23728 * sysdeps/unix/sysv/linux/configure: Regenerated.
23729 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23730 Remove conditional code.
23731 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23732 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23733 Remove conditional code.
23734 [!__NR_lchown]: Likewise.
23735 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23736 [__NR_lchown]: Likewise.
23737 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23738 comment referencing __ASSUME_LCHOWN_SYSCALL.
23739 * sysdeps/unix/sysv/linux/i386/sigaction.c
23740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23742 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23743 Remove conditional code.
23744 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23745 (__protocol_available): Remove #if 0 code.
23746 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23747 conditional code.
23748 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23749 * sysdeps/unix/sysv/linux/kernel-features.h
23750 (__ASSUME_GETCWD_SYSCALL): Don't define.
23751 (__ASSUME_REALTIME_SIGNALS): Likewise.
23752 (__ASSUME_PREAD_SYSCALL): Likewise.
23753 (__ASSUME_PWRITE_SYSCALL): Likewise.
23754 (__ASSUME_POLL_SYSCALL): Likewise.
23755 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23756 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23757 non-SPARC.
23758 (__ASSUME_SIOCGIFNAME): Don't define.
23759 (__ASSUME_MSG_NOSIGNAL): Likewise.
23760 (__ASSUME_SENDFILE): Define unconditionally.
23761 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23762 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23763 conditional code.
23764 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23765 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23766 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23767 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23768 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23769 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23770 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23772 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23778 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23784 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23787 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23790 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23795 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23796 Remove conditional code.
23797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23798 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23799 Remove conditional code.
23800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23801 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23802 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23803 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23804 Remove conditional code.
23805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23806 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23807 Remove conditional code.
23808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23809 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23810 Remove conditional code.
23811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23812 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23813 Remove conditional code.
23814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23815 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23816 Remove conditional code.
23817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23818 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23819 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23821 * sysdeps/unix/sysv/linux/sigaction.c
23822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23824 * sysdeps/unix/sysv/linux/sigpending.c
23825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23827 * sysdeps/unix/sysv/linux/sigprocmask.c
23828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23830 * sysdeps/unix/sysv/linux/sigsuspend.c
23831 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23832 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23834 (__libc_missing_rt_sigs): Remove.
23835 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23836 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23837 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23838 Remove conditional code.
23839 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23840 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23841 return 1.
23842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23843 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23845 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23846
1bfb7291
AJ
238472012-05-14 Andreas Jaeger <aj@suse.de>
23848
caae5a81
AJ
23849 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23850 it's not used in glibc.
23851 (__coshm1): Likewise.
23852 (__acosh1p): Likewise.
23853 (__sgn): Likewise.
23854
1bfb7291
AJ
23855 * manual/string.texi (Copying and Concatenation): Add missing
23856 variable in concat example.
23857 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23858
c044d724
L
238592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23860
144c5467 23861 [BZ #14103]
c044d724
L
23862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23863 __builtin_clzl with __builtin_clzll.
23864
2523c62b
L
238652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23866
23867 [BZ #14104]
23868 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23869 libc_freeres_ptr.
23870
d7bb4c42
LD
238712012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23872
23873 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23874 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23875 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23876 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23877
9dc4e1fb
MF
238782012-05-14 Mike Frysinger <vapier@gentoo.org>
23879
23880 * NEWS: Update ia64 info.
23881
c7df0112
AS
238822012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23883
23884 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23885 used as bcopy.
23886
dc70356c
TS
238872012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23888
23889 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23890 * sysdeps/unix/syscalls.list (dup3): Likewise.
23891 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23892 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23893
9fb1a21f
L
238942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23895
23896 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23897 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23898
4822a2a5
L
238992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23900
23901 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23902 thread pointer.
23903 (TLS_IE): Use mov/add instead of movq/addq to load thread
23904 pointer.
23905 (TLS_GD_PREFIX): New.
23906 (TLS_GD): Use it.
23907
842b81d6
DM
239082012-05-11 David S. Miller <davem@davemloft.net>
23909
23910 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23911 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23912 (_FPU_SETCW): Likewise.
23913
1cf463cd
L
239142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23915
23916 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23917 is 32-byte aligned.
23918
60cc4a18
AS
239192012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23920
23921 [BZ #11837]
23922 * iconvdata/gb18030.c: Update tables.
23923 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23924 characters specially.
23925 (BODY for TO_LOOP): Add encoding of missing ranges.
23926
febb44a4
TS
239272012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23928
23929 [BZ #13673]
23930 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23931 * sysdeps/mach/hurd/dup3.c: Likewise.
23932 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23933 * sysdeps/powerpc/memmove.c:: Likewise.
23934
0a10fb9e
L
239352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23936
23937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23938 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23939
df8a552f
L
239402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23941
23942 * elf/elf.h (R_X86_64_RELATIVE64): New.
23943 (R_X86_64_NUM): Updated.
23944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23945 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23946 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23947 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23948 tst-quad1pie tst-quad2pie
23949 (modules-names): Add tst-quadmod1 tst-quadmod2.
23950 ($(objpfx)tst-quad1): New dependency.
23951 ($(objpfx)tst-quad2): Likewise.
23952 ($(objpfx)tst-quad1pie): Likewise.
23953 ($(objpfx)tst-quad2pie): Likewise.
23954 * sysdeps/x86_64/tst-quad1.c: New file.
23955 * sysdeps/x86_64/tst-quad1pie.c: New file.
23956 * sysdeps/x86_64/tst-quad2.c: Likewise.
23957 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23958 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23959 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23960 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23961 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23962
f34d6f84
ST
239632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23964
f42d41d1
ST
23965 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23966 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23967 * streams/stropts.h (t_scalar_t): Define type.
23968
3c3571fc
ST
23969 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23970 (_PATH_PRESERVE): Set to "/var/lib".
23971 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23972
61f06bd3
ST
23973 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23974 instead of int.
23975
918d4d71
ST
23976 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23977 if __dir_mkfile succeeded.
23978
f34d6f84
ST
23979 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23980 checking for _hurd_dtablesize. Unlock it right after having
23981 finished _hurd_dtable allocation.
23982
10589b4a
TS
239832012-05-10 Thomas Schwinge <thomas@schwinge.name>
23984
674cdbc7
TS
23985 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23986 * sysdeps/mach/hurd/configure: Regenerated.
23987 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23988 special-casing to...
23989 * sysdeps/gnu/configure.in: ... this new file.
23990 * sysdeps/unix/sysv/linux/configure: Regenerated.
23991 * sysdeps/gnu/configure: New generated file.
23992
8e41b99f
TS
23993 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23994 for Linux: use nsec instead of usec, as well as:
23995 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23996 members of type struct timespec.
23997 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23998 New macros.
23999 (struct stat64): Likewise.
24000 (_STATBUF_ST_NSEC): New macro.
24001 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24002
10589b4a
TS
24003 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24004 __strtoul_internal rather than strtoul.
24005
63643c85
PT
240062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24007
24008 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24009 and reject them.
24010
3faebe6a
ST
240112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24012
24013 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24014 which preserves existing values.
24015 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24016
c6474b07
PT
240172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24018
24019 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24020 TIMEOUT values. Return EINVAL for NFDS values either negative or
24021 greater than FD_SETSIZE.
24022
1043890b
ST
240232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24024
24025 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24026 allocated, call __vm_protect to finish enabling the existing space, and
24027 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24028 allocate the remainder.
24029
37ed8b9b
PT
240302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24031
24032 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24033 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24034
db653660
ST
240352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24036
37ed8b9b
PT
24037 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24038 sysdeps/mach/hurd/readlink.c.
b29d4053 24039
db653660
ST
24040 * posix/tst-sysconf.c (posix_options): Only use
24041 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24042 _POSIX_SYNCHRONIZED_IO when they are defined
24043 * sysdeps/mach/hurd/bits/posix_opt.h:
24044 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24045 (_XOPEN_REALTIME): Undefine macro.
24046 (_XOPEN_REALTIME_THREADS): Undefine macro.
24047 (_XOPEN_SHM): Undefine macro.
24048 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24049 macro to -1.
24050 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24051 macro to -1.
24052 (_POSIX_ASYNC_IO): Undefine macro.
24053 (_POSIX_PRIORITIZED_IO): Undefine macro.
24054 (_POSIX_SPIN_LOCKS): Define macro to -1.
24055
ee16e894
ST
24056 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24057 SA_NODEFER, SA_RESETHAND.
24058 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24059 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24060 F_DUPFD_CLOEXEC.
24061
6103ae3b
TS
240622012-05-10 Thomas Schwinge <thomas@schwinge.name>
24063
24064 * elf/Makefile (pldd-modules): Define unconditionally.
24065
80b4e5f3
TS
240662012-05-10 Thomas Schwinge <thomas@schwinge.name>
24067
24068 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24069
edadcbd6
ST
240702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24071
24072 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24073 Return ENOENT when name is empty.
24074 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24075
80694780
TS
240762012-05-10 Thomas Schwinge <thomas@schwinge.name>
24077
1792c087
TS
24078 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24079
80694780
TS
24080 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24081
6b645f0d
ST
240822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24083
80694780
TS
24084 Fix mlock in all cases except non-readable pages.
24085 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24086 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24087
6b645f0d
ST
24088 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24089 (__mkdir): When path is `/', just fail with EEXIST.
24090 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24091
e468f8a3
TS
240922012-05-10 Thomas Schwinge <thomas@schwinge.name>
24093
24094 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24095 <sys/uio.h> (for writev).
24096 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24097 and <sys/param.h> (for MIN).
24098
a4186cff
PT
240992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24100
24101 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24102 REQUESTED_TIME. Properly set the remaining time and return EINTR
24103 if interrupted.
24104
510bbf14
TS
241052012-05-10 Thomas Schwinge <thomas@schwinge.name>
24106
24107 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24108 Depend on against $(link-rpcuserlibs).
24109
5d5722e8
ST
241102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24111
a4186cff
PT
24112 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24113 (__libc_stack_end): Do not use attribute_relro.
24114 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24115 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24116 to libthread-provided value.
a4186cff
PT
24117 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24118 attribute_relro.
5d5722e8 24119
37233df9
TS
241202012-05-10 Thomas Schwinge <thomas@schwinge.name>
24121
be971a2b
TS
24122 [BZ #3748]
24123 * bits/libc-lock.h (__libc_once_get): New macro.
24124 * sysdeps/mach/bits/libc-lock.h: Likewise.
24125 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24127 instead of using implementation details.
24128
37233df9
TS
24129 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24130 * libio/freopen.c: Likewise.
24131 * libio/freopen64.c: Likewise.
24132 * misc/syslog.c: Likewise.
24133 * nscd/connections.c: Likewise.
24134 * nscd/netgroupcache.c: Likewise.
24135 * sysdeps/posix/getcwd.c: Likewise.
24136
38de94a5
RM
241372012-05-10 Roland McGrath <roland@hack.frob.com>
24138
24139 * math/w_ilogbf.c: Add #include <limits.h>.
24140
67530489
ST
241412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24142
a4186cff 24143 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24144 path instead of returning without unlocking.
24145
67530489
ST
24146 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24147 immediate-write ioctls.
24148 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24149
5aa3a74a
TS
241502012-05-10 Thomas Schwinge <thomas@schwinge.name>
24151
18bad2ae
TS
24152 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24153 __builtin_frame_address instead of making assumptions about the
24154 location of the return address relative to DATA. Force early load of
24155 the return address.
24156 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24157 __builtin_frame_address.
24158
5aa3a74a
TS
24159 dup3 for GNU Hurd.
24160 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24161 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24162 implement dup3 and do some further code clean-ups.
24163 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24164 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24165
ecd0de9a
ST
241662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24167
cd9fa985
ST
24168 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24169
a4186cff
PT
24170 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24171 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24172 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24173 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24174 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24175 d->port.lock.
802ca5a5 24176
a4186cff
PT
24177 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24178 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24179 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24180
bcf55240
TS
241812012-05-10 Thomas Schwinge <thomas@schwinge.name>
24182
6960eb42
TS
24183 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24184 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24185 definitions.
24186
eb43375f
TS
24187 accept4 for GNU Hurd.
24188 * include/sys/socket.h (__libc_accept4): New prototype.
24189 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24190 to implement __libc_accept4.
24191 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24192 __libc_accept4.
24193 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24194
bcf55240
TS
24195 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24196 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24197 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24198 signal-defines.sym.
24199
6178c55b
ST
242002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24201
a4186cff 24202 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24203
6f080c2f
TS
242042012-05-10 Thomas Schwinge <thomas@schwinge.name>
24205
24206 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24207 assertion on O_CLOEXEC flag.
24208 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24209 * hurd/intern-fd.c: Likewise.
24210 * hurd/port2fd.c: Likewise.
24211
bcfe3a54
ST
242122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24213
24214 [BZ #3906]
24215 * bits/in.h (IPV6_PKTINFO): Define new macro.
24216 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24217
89c9aa49
AZ
242182012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24219
24220 [BZ #13954]
24221 [BZ #13955]
24222 [BZ #13956]
24223 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24225 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24226 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24227 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24228 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24229 * math/libm-test.inc (logb_test) : Additional logb tests.
24230
021db4be
AJ
242312012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24232 Andreas Jaeger <aj@suse.de>
24233
24234 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24235 * configure: Regenerated.
24236 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24237 * config.make.in (link-obsolete-rpc): New substituted variable.
24238 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24239 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24240 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24241 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24242 so that libc.a contains the symbols.
24243 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24244 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24245 * sunrpc/auth_none.c: Likewise.
24246 * sunrpc/auth_unix.c: Likewise.
24247 * sunrpc/authdes_prot.c: Likewise.
24248 * sunrpc/authuxprot.c: Likewise.
24249 * sunrpc/clnt_gen.c: Likewise.
24250 * sunrpc/clnt_perr.c: Likewise.
24251 * sunrpc/clnt_raw.c: Likewise.
24252 * sunrpc/clnt_simp.c: Likewise.
24253 * sunrpc/clnt_tcp.c: Likewise.
24254 * sunrpc/clnt_udp.c: Likewise.
24255 * sunrpc/clnt_unix.c: Likewise.
24256 * sunrpc/des_crypt.c: Likewise.
24257 * sunrpc/des_soft.c: Likewise.
24258 * sunrpc/get_myaddr.c: Likewise.
24259 * sunrpc/key_call.c: Likewise.
24260 * sunrpc/key_prot.c: Likewise.
24261 * sunrpc/netname.c: Likewise.
24262 * sunrpc/pm_getmaps.c: Likewise.
24263 * sunrpc/pm_getport.c: Likewise.
24264 * sunrpc/pmap_clnt.c: Likewise.
24265 * sunrpc/pmap_prot.c: Likewise.
24266 * sunrpc/pmap_prot2.c: Likewise.
24267 * sunrpc/pmap_rmt.c: Likewise.
24268 * sunrpc/publickey.c: Likewise.
24269 * sunrpc/rpc_cmsg.c: Likewise.
24270 * sunrpc/rpc_common.c: Likewise.
24271 * sunrpc/rpc_dtable.c: Likewise.
24272 * sunrpc/rpc_prot.c: Likewise.
24273 * sunrpc/rpc_thread.c: Likewise.
24274 * sunrpc/rtime.c: Likewise.
24275 * sunrpc/svc.c: Likewise.
24276 * sunrpc/svc_auth.c: Likewise.
24277 * sunrpc/svc_raw.c: Likewise.
24278 * sunrpc/svc_run.c: Likewise.
24279 * sunrpc/svc_tcp.c: Likewise.
24280 * sunrpc/svc_udp.c: Likewise.
24281 * sunrpc/svc_unix.c: Likewise.
24282 * sunrpc/svcauth_des.c: Likewise.
24283 * sunrpc/xcrypt.c: Likewise.
24284 * sunrpc/xdr.c: Likewise.
24285 * sunrpc/xdr_array.c: Likewise.
24286 * sunrpc/xdr_float.c: Likewise.
24287 * sunrpc/xdr_intXX_t.c: Likewise.
24288 * sunrpc/xdr_mem.c: Likewise.
24289 * sunrpc/xdr_rec.c: Likewise.
24290 * sunrpc/xdr_ref.c: Likewise.
24291 * sunrpc/xdr_sizeof.c: Likewise.
24292 * sunrpc/xdr_stdio.c: Likewise.
24293
b5c086a2
RM
242942012-05-10 Roland McGrath <roland@hack.frob.com>
24295
24296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24297 change. Update copyright years.
24298
6d74dd09
JM
242992012-05-10 Joseph Myers <joseph@codesourcery.com>
24300
24301 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24302
28e72501
MK
243032012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24304 Joseph Myers <joseph@codesourcery.com>
24305 Paul Pluzhnikov <ppluzhnikov@google.com>
24306
24307 [BZ #14012]
24308 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24309 requiring rpcgen.
24310 [cross-compiling] (extra-libs): Likewise.
24311 [cross-compiling] (extra-libs-others): Likewise.
24312 [cross-compiling] (librpcsvc-routines): Likewise.
24313 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24314 [cross-compiling] (omit-deps): Likewise.
24315 (sunrpc-CPPFLAGS): New variable.
24316 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24317 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24318 (cross-rpcgen-objs): New variable.
24319 (extra-objs): Append $(cross-rpcgen-objs).
24320 ($(cross-rpcgen-objs)): New rule.
24321 ($(objpfx)cross-rpcgen): Likewise.
24322 (rpcgen-cmd): Define to use $(built-program-file). Expand
24323 comment.
24324 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24325 ($(objpfx)x%.stmp): Likewise.
24326 * sunrpc/proto.h [IS_IN_build] (_): Define.
24327 [IS_IN_build] (_libc_intl_domainname): Likewise.
24328
c8c59454
L
243292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24330
24331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24332 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24333 and R_X86_64_TPOFF64.
24334
6f27cd16
JM
243352012-05-10 Joseph Myers <joseph@codesourcery.com>
24336
24337 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24338 sysdeps/unix/sysv/syscalls.list.
24339 (stime): Likewise.
24340 (utime): Likewise.
24341 * sysdeps/unix/sysv/syscalls.list: Remove file.
24342
02467e1c
PE
243432012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24344
24345 [BZ #3440]
24346 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24347 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24348 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24349 (__LC_IDENTIFICATION): Make these macros useful in #if
24350 expressions, as required by C99.
24351
da392631
AS
243522012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24353
24354 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24355 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24356 after this.
24357
8115f29b
L
243582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24359
24360 * stdlib/longlong.h: Updated from GCC.
24361
bdd74070
AJ
243622012-05-09 Andreas Jaeger <aj@suse.de>
24363
edfe0dbe
AJ
24364 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24365 default is first entry.
24366 (run_mode): Set type.
24367 (main): Remove informal message about syslog.
24368 (options): Fix typo.
24369
bcfe3a54
ST
24370 [BZ #14053]
24371 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24372 to asm.
bcfe3a54
ST
24373 (lrint): Likewise.
24374 (llrintf): Likewise.
24375 (llrint): Likewise.
24376 (rint): Likewise.
24377 (rintf): Likewise.
24378 (nearbyint): Likewise.
24379 (nearbyintf): Likewise.
bdd74070 24380
91d8d69e
AJ
243812012-05-09 Andreas Jaeger <aj@suse.de>
24382 Pedro Alves <palves@redhat.com>
24383
24384 * nscd/nscd.c (run_mode): Use enum.
24385 (main): Cleanup coding style issue.
24386
bb90b80b
AJ
243872012-05-09 Alexandre Oliva <aoliva@redhat.com>
24388 Andreas Jaeger <aj@suse.de>
24389
bcfe3a54
ST
24390 * nscd/nscd.c (go_background): Replaced with...
24391 (run_mode): ... this.
bb90b80b 24392 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24393 (options): Add -F --foreground.
24394 (main): Implement it.
24395 (parse_opt): Parse it.
bb90b80b 24396
1a4b75a1
AJ
243972012-05-09 Andreas Jaeger <aj@suse.de>
24398
24399 [BZ #14083]
24400 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24401 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24402 -Wconversion warning.
24403 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24404 Likewise.
24405
b1cc2472
JM
244062012-05-09 Joseph Myers <joseph@codesourcery.com>
24407
24408 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24409 == 0.
24410 (LC_ALL): Use macro-int-constant.
24411 (LC_COLLATE): Likewise.
24412 (LC_CTYPE): Likewise.
24413 (LC_MESSAGES): Likewise.
24414 (LC_MONETARY): Likewise.
24415 (LC_NUMERIC): Likewise.
24416 (LC_TIME): Likewise.
24417 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24418 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24420 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24421 Specify type.
24422 [C99-based standards] (float_t): Expect type.
24423 [C99-based standards] (double_t): Expect type.
24424 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24425 type.
24426 [C99-based standards] (HUGE_VALL): Likewise.
24427 [C99-based standards] (INFINITY): Likewise.
24428 [C99-based standards] (NAN): Likewise.
24429 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24430 [C99-based standards] (FP_NAN): Likewise.
24431 [C99-based standards] (FP_NORMAL): Likewise.
24432 [C99-based standards] (FP_SUBNORMAL): Likewise.
24433 [C99-based standards] (FP_ZERO): Likewise.
24434 [C99-based standards] (FP_FAST_FMA): Use
24435 optional-macro-int-constant. Specify type. Require == 1.
24436 [C99-based standards] (FP_FAST_FMAF): Likewise.
24437 [C99-based standards] (FP_FAST_FMAL): Likewise.
24438 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24439 [C99-based standards] (FP_ILOGBNAN): Likewise.
24440 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24441 Specify type.
24442 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24443 [C99-based standards] (math_errhandling): Specify type.
24444 [ISO99 || ISO11] (signgam): Do not allow.
24445 [non-C99-based standards] (copysignf): Do not allow.
24446 [non-C99-based standards] (exp2f): Likewise.
24447 [non-C99-based standards] (log2f): Likewise.
24448 [non-C99-based standards] (modff): Allow.
24449 [non-C99-based standards] (erff): Do not allow.
24450 [non-C99-based standards] (erfcf): Likewise.
24451 [non-C99-based standards] (gammaf): Likewise.
24452 [non-C99-based standards] (hypotf): Likewise.
24453 [non-C99-based standards] (j0f): Likewise.
24454 [non-C99-based standards] (j1f): Likewise.
24455 [non-C99-based standards] (jnf): Likewise.
24456 [non-C99-based standards] (lgammaf): Likewise.
24457 [non-C99-based standards] (tgammaf): Likewise.
24458 [non-C99-based standards] (y0f): Likewise.
24459 [non-C99-based standards] (y1f): Likewise.
24460 [non-C99-based standards] (ynf): Likewise.
24461 [non-C99-based standards] (isnanf): Likewise.
24462 [non-C99-based standards] (acoshf): Likewise.
24463 [non-C99-based standards] (asinhf): Likewise.
24464 [non-C99-based standards] (atanhf): Likewise.
24465 [non-C99-based standards] (cbrtf): Likewise.
24466 [non-C99-based standards] (expm1f): Likewise.
24467 [non-C99-based standards] (ilogbf): Likewise.
24468 [non-C99-based standards] (log1pf): Likewise.
24469 [non-C99-based standards] (logbf): Likewise.
24470 [non-C99-based standards] (nextafterf): Likewise.
24471 [non-C99-based standards] (remainderf): Likewise.
24472 [non-C99-based standards] (rintf): Likewise.
24473 [non-C99-based standards] (scalbf): Likewise.
24474 [non-C99-based standards] (copysignl): Likewise.
24475 [non-C99-based standards] (exp2l): Likewise.
24476 [non-C99-based standards] (log2l): Likewise.
24477 [non-C99-based standards] (modfl): Allow.
24478 [non-C99-based standards] (erfl): Do not allow.
24479 [non-C99-based standards] (erfcl): Likewise.
24480 [non-C99-based standards] (gammal): Likewise.
24481 [non-C99-based standards] (hypotl): Likewise.
24482 [non-C99-based standards] (j0l): Likewise.
24483 [non-C99-based standards] (j1l): Likewise.
24484 [non-C99-based standards] (jnl): Likewise.
24485 [non-C99-based standards] (lgammal): Likewise.
24486 [non-C99-based standards] (tgammal): Likewise.
24487 [non-C99-based standards] (y0l): Likewise.
24488 [non-C99-based standards] (y1l): Likewise.
24489 [non-C99-based standards] (ynl): Likewise.
24490 [non-C99-based standards] (isnanl): Likewise.
24491 [non-C99-based standards] (acoshl): Likewise.
24492 [non-C99-based standards] (asinhl): Likewise.
24493 [non-C99-based standards] (atanhl): Likewise.
24494 [non-C99-based standards] (cbrtl): Likewise.
24495 [non-C99-based standards] (expm1l): Likewise.
24496 [non-C99-based standards] (ilogbl): Likewise.
24497 [non-C99-based standards] (log1pl): Likewise.
24498 [non-C99-based standards] (logbl): Likewise.
24499 [non-C99-based standards] (nextafterl): Likewise.
24500 [non-C99-based standards] (remainderl): Likewise.
24501 [non-C99-based standards] (rintl): Likewise.
24502 [non-C99-based standards] (scalbl): Likewise.
24503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24504 [non-C99-based standards] (FP_*): Do not allow.
24505 [C99-based standards] (FP_*): Change to
24506 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24507 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24508 allow.
24509 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24510 (SIG_ERR): Likewise.
24511 [X/Open-based standards] (SIG_HOLD): Likewise.
24512 (SIG_IGN): Likewise.
24513 (SIGABRT): Use macro-int-constant. Specify type. Require
24514 positive value.
24515 (SIGFPE): Likewise.
24516 (SIGILL): Likewise.
24517 (SIGINT): Likewise.
24518 (SIGSEGV): Likewise.
24519 (SIGTER): Likewise.
24520 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24521 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24522 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24523 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24524 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24525 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24526 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24527 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24528 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24529 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24530 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24531 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24532 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24533 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24534 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24535 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24536 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24537 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24538 [X/Open-based standards] (SIGTRAP): Likewise.
24539 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24540 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24541 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24542 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24543 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24544 allow.
24545
b9f1922d
IW
245462012-05-08 Ian Wienand <ianw@vmware.com>
24547
24548 [BZ #14080]
24549 * time/tzset.c (__tzset_parse_tz): Update default rules for
24550 daylight time changes in the Energy Policy Act of 2005.
24551
1db86e88
AJ
245522012-05-09 Andreas Jaeger <aj@suse.de>
24553
24554 [BZ #13983]
24555 * elf/ldconfig.c (parse_conf): Change string to make clear that
24556 ldconfig only issued a warning if ld.so.conf does not exist.
24557
dee4a4e3
DM
245582012-05-08 David S. Miller <davem@davemloft.net>
24559
ee0db190
DM
24560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24561 movxtod instead of popping the value on the stack.
24562
dee4a4e3
DM
24563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24564
6a43ec98
CD
245652012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24566
24567 * config.h.in: Add HAVE_ARM_PCS_VFP.
24568
05c2c961
RMG
245692012-05-08 Roland Mc Grath <roland@hack.frob.com>
24570
bcfe3a54
ST
24571 [BZ #13979]
24572 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24573 checking but the checks are disabled for any reason.
05c2c961 24574
4b30f61a
L
245752012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24576
24577 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24578 and ELF64_R_TYPE with ELFW(R_TYPE).
24579
eee2bc67
JM
245802012-05-08 Joseph Myers <joseph@codesourcery.com>
24581
7ea5391a
JM
24582 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24583 (ulimit): Likewise.
24584
eee2bc67
JM
24585 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24586 (settimeofday): Likewise.
24587
abb66a67
MF
245882012-05-08 Mike Frysinger <vapier@gentoo.org>
24589
24590 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24591 a struct th_u2 inside the union, and move tu_block/tu_code into
24592 a new th_u3 union of tu_block/tu_code inside of that. Move
24593 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24594 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24595 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24596 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24597 (th_stuff): Change to th_u1.tu_stuff.
24598 (th_data): Define.
24599 (th_msg): Change to th_u1.th_u2.tu_data.
24600
7f18b530
DM
246012012-05-07 David S. Miller <davem@davemloft.net>
24602
05760585
DM
24603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24604
7f18b530
DM
24605 [BZ #14074]
24606 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24607 (SETUP_PIC_REG): Use it.
24608 (SETUP_PIC_REG_LEAF): Use it.
24609
495fd99f
JM
246102012-05-07 Joseph Myers <joseph@codesourcery.com>
24611
24612 [BZ #13885]
24613 [BZ #13923]
24614 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24615 USE_AS_EXPM1L.
24616 (EXPL_FINITE): Likewise.
24617 (FLDLOG): Likewise.
24618 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24619 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24620 e_expl.S.
24621 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24622 USE_AS_EXPM1L.
24623 (EXPL_FINITE): Likewise.
24624 (FLDLOG): Likewise.
24625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24626 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24627 e_expl.S.
24628 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24629 test of -max_value argument for long double.
24630 * sysdeps/i386/fpu/libm-test-ulps: Update.
24631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24632
6693d694
DM
246332012-05-06 David S. Miller <davem@davemloft.net>
24634
24635 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24636 quad soft-float symbols whose references which are compiler
24637 generated.
24638 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24639
6c23e11c
JM
246402012-05-06 Joseph Myers <joseph@codesourcery.com>
24641
d8b82cad
JM
24642 [BZ #13884]
24643 [BZ #13914]
24644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24645 USE_AS_EXP10L.
24646 (EXPL_FINITE): Likewise.
24647 (FLDLOG): Likewise.
24648 (c0): Likewise.
24649 (c1): Likewise.
24650 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24651 Adjust comments for base varying.
24652 (__expl_finite): Change alias to EXPL_FINITE.
24653 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24654 e_expl.S.
24655 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24656 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24658 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24660 USE_AS_EXP10L.
24661 (EXPL_FINITE): Likewise.
24662 (FLDLOG): Likewise.
24663 (c0): Likewise.
24664 (c1): Likewise.
24665 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24666 Adjust comments for base varying.
24667 (__expl_finite): Change alias to EXPL_FINITE.
24668 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24669 tests for bugs.
24670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24671
6c23e11c
JM
24672 [BZ #14064]
24673 * math/libm-test.inc (check_float_internal): Correct ulp
24674 calculation for subnormal expected results.
24675
29ba805c
AJ
246762012-05-06 Andreas Jaeger <aj@suse.de>
24677
24678 * Makeconfig (+math-flags): New, set to -frounding-math.
24679 (+cflags): Add +math-flags so that all of glibc gets compiled with
24680 it.
24681
24682 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24683
7b17aeda
JM
246842012-05-05 Joseph Myers <joseph@codesourcery.com>
24685
5779f134
JM
24686 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24687 Disable one test.
24688
41498f4d
JM
24689 [BZ #13787]
24690 [BZ #13922]
24691 [BZ #14036]
24692 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24693 (__ieee754_expl): Allow for and saturate large arguments.
24694 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24695 (u_threshold): Likewise.
24696 (__exp): Call __ieee754_exp before checking for overflow and
24697 underflow.
24698 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24699 (u_threshold): Likewise.
24700 (__expf): Call __ieee754_expf before checking for overflow and
24701 underflow.
24702 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24703 (u_threshold): Likewise.
24704 (__expl): Call __ieee754_expl before checking for overflow and
24705 underflow.
24706 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24707 (__ieee754_expl): Allow for and saturate large arguments.
24708 * math/libm-test.inc (exp_test): Add another test. Do not allow
24709 missing overflow exception on overflow.
24710 (expm1_test): Do not allow missing overflow exception on overflow.
24711
6698b8bf
JM
24712 * sysdeps/i386/fpu/e_expl.c: Move to ...
24713 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24714 rather than using inline asm.
24715 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24716 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24717 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24718
7b17aeda
JM
24719 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24720 (nice): Likewise.
24721 (poll): Likewise.
24722 (signal): Likewise.
24723 (time): Likewise.
24724 (times): Likewise.
24725
f7c85819
JM
247262012-05-04 Joseph Myers <joseph@codesourcery.com>
24727
24728 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24729 sysdeps/unix/common/syscalls.list.
24730 (fchmod): Likewise.
24731 (fchown): Likewise.
24732 (ftruncate): Likewise.
24733 (getrusage): Likewise.
24734 (gettimeofday): Likewise.
24735 (setpgid): Likewise.
24736 (setregid): Likewise.
24737 (setreuid): Likewise.
24738 (sigaction): Likewise.
24739 (truncate): Likewise.
24740 (vhangup): Likewise.
24741 * sysdeps/unix/common/syscalls.list: Remove file.
24742 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24743 * sysdeps/unix/sysv/linux/Implies: Likewise.
24744
336270d0
L
247452012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24746
24747 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24749 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24750 Moved to ...
24751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24752 Here.
24753 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24754 to ...
24755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24756 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24757 to ...
24758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24759 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24760 to ...
24761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24762 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24763 to ...
24764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24765 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24766 to ...
24767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24768 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24769 to ...
24770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24771 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24772 to ...
24773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24774 Here.
24775 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24776 to ...
24777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24778 Here.
24779 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24780 to ...
24781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24782 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24783 Moved to ...
24784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24785 Here.
24786 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24787 to ...
24788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24789
d128e450
JM
247902012-05-04 Joseph Myers <joseph@codesourcery.com>
24791
fa8ee516
JM
24792 * sysdeps/unix/common/bits/dirent.h: Remove file.
24793 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24794
d128e450
JM
24795 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24796 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24797 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24798 * sysdeps/unix/bsd/isatty.c: Likewise.
24799 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24800 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24801 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24802
ff8faaf0 248032012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24804
62881be4 24805 [BZ #13563]
31dc8730
AZ
24806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24807 long double comparison inaccuracies.
24808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24810
6fef930c
AS
248112012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24812
24813 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24815
8f203e6c
JM
248162012-05-04 Joseph Myers <joseph@codesourcery.com>
24817
24818 [BZ #14049]
24819 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24820 nonzero digits before rounding a hex value.
24821 * stdlib/tst-strtod.c (tests): Add another test.
24822
5197d9c2
AK
248232012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24824
24825 * sysdeps/s390/fpu/libm-test-ulps: Update.
24826
f0c1dedf
AJ
248272012-05-03 Andreas Jaeger <aj@suse.de>
24828
24829 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24830 does not get optimized out.
24831 (malloc_opt_barrier): New.
24832
a65ef2ae 248332012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24834 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24835
2b942cb7 24836 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24837 intermediate file deletion.
2b942cb7 24838 (generated): Add .symlist files.
a65ef2ae 24839
54b71e02
JM
248402012-05-03 Joseph Myers <joseph@codesourcery.com>
24841
24842 [BZ #13775]
24843 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24844 Redirect under this condition.
24845 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24846 [__USE_GNU] (__dprintf_chk): Not under this condition.
24847 [__USE_GNU] (__vdprintf_chk): Likewise.
24848 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24849 under this condition.
24850 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24851 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24852 [__USE_XOPEN2K8] (vdprintf): Likewise.
24853 [__USE_GNU] (__dprintf_chk): Not under this condition.
24854 [__USE_GNU] (__vdprintf_chk): Likewise.
24855 [__USE_GNU] (dprintf): Likewise.
24856 [__USE_GNU] (vdprintf): Likewise.
24857
d3dfcc41
RM
248582012-05-03 Roland McGrath <roland@hack.frob.com>
24859
24860 * elf/Makefile (common-generated): Set this instead of generated for
24861 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24862 $(all-built-dso)-derived lists.
24863
7ac30cc5
AJ
248642012-05-03 Andreas Jaeger <aj@suse.de>
24865
0c51e550
AJ
24866 * sysdeps/i386/fpu/libm-test-ulps: Update.
24867
7ac30cc5
AJ
24868 * FAQ: Removed.
24869 * FAQ.in: Likewise.
24870 * scripts/gen-FAQ.pl: Likewise.
24871 * manual/install.texi (Installation): Point to online location of
24872 FAQ.
24873 * Makefile (files-for-dist): Remove FAQ.
24874 (FAQ): Remove.
24875
d4c2917f
AM
248762012-05-02 Allan McRae <allan@archlinux.org>
24877
24878 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24879 (LDFLAGS-reldepmod5.so): Likewise.
24880 (LDFLAGS-reldep6mod1.so): Likewise.
24881 (LDFLAGS-reldep6mod4.so): Likewise.
24882 (LDFLAGS-reldep8mod3.so): Likewise.
24883 (LDFLAGS-unload4mod1.so): Likewise.
24884 (LDFLAGS-unload4mod2.so): Likewise.
24885 (LDFLAGS-tst-initorder): Likewise.
24886 (LDFLAGS-tst-initordera2.so): Likewise.
24887 (LDFLAGS-tst-initordera3.so): Likewise.
24888 (LDFLAGS-tst-initordera4.so): Likewise.
24889 (LDFLAGS-tst-initorderb2.so): Likewise.
24890 (LDFLAGS-noload): Likewise.
24891 (LDFLAGS-next): Likewise.
24892 (LDFLAGS-order2mod1.so): Likewise.
24893 (LDFLAGS-order2mod2.so): Likewise.
24894 (LDFLAGS-tst-initorder2): Likewise.
24895 (LDFLAGS-tst-initorder2a.so): Likewise.
24896 (LDFLAGS-tst-initorder2b.so): Likewise.
24897 (LDFLAGS-tst-initorder2c.so): Likewise.
24898 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24899
d77f993f
DM
249002012-05-02 David S. Miller <davem@davemloft.net>
24901
24902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24903
171a70b4
PP
249042012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24905
24906 [BZ #14055]
24907 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24908
0be196ad
AJ
249092012-05-02 Andreas Jaeger <aj@suse.de>
24910
24911 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24912 since we manipulate rounding mode.
24913 (CPPFLAGS-test-idouble.c): Likewise.
24914 (CPPFLAGS-test-ifloat.c): Likewise.
24915 (CFLAGS-test-ldouble.c): Likewise.
24916 (CFLAGS-test-double.c): Likewise.
24917 (CFLAGS-test-float.c): Likewise.
24918 (CFLAGS-test-misc.c): Likewise.
24919 (CFLAGS-test-test-fenv.c): Likewise.
24920
4f9d04aa
AZ
249212012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24922
2b942cb7
RM
24923 [BZ #2550]
24924 [BZ #2570]
24925 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24926 comparisons to determine direction to adjust input.
4f9d04aa 24927
82a79e7d
RM
249282012-05-01 Roland McGrath <roland@hack.frob.com>
24929
f5a01ca9
RM
24930 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24931 output to the target.
24932
90fe4186
RM
24933 * scripts/localplt.awk: New file.
24934 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24935 (check-localplt-CFLAGS): Variable removed.
24936 ($(all-built-dso:=.jmprel)): New static pattern rule.
24937 (generated): Add those targets.
24938 (localplt-built-dso): New variable.
24939 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24940
24941 * elf/check-localplt.c: File removed.
24942
82397ed6
RM
24943 * scripts/check-execstack.awk: New file.
24944 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24945 (check-execstack-CFLAGS): Variable removed.
24946 ($(objpfx)check-execstack.h): Target removed.
24947 ($(objpfx)execstack-default): New target.
24948 (generated): Add that instead of check-execstack.h.
24949 ($(all-built-dso:=.phdr)): New static pattern rule.
24950 (generated): Add those targets.
24951 * elf/check-execstack.c: File removed.
24952
82a79e7d
RM
24953 * scripts/check-textrel.awk: New file.
24954 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24955 (check-textrel-CFLAGS): Variable removed.
24956 (all-built-dso): Use := to define.o
24957 ($(all-built-dso:=.dyn)): New static pattern rule.
24958 (generated): Add those targets.
24959 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24960 * config.make.in (READELF): New substituted variable.
24961 * elf/check-textrel.c: File removed.
24962
62fde54f 249632012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24964
615605c9
JM
24965 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24966 allow.
24967 * conform/data/ctype.h-data [C99-based standards] (isblank):
24968 Expect function.
24969 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24970 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24972 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24973 Specify type. Require positive value.
24974 (EILSEQ): Likewise.
24975 (ERANGE): Likewise.
24976 [ISO || POSIX] (EILSEQ): Do not expect.
24977 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24978 Specify type. Require positive value.
24979 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24980 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24981 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24982 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24983 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24984 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24985 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24986 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24987 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24988 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24989 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24990 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24991 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24992 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24993 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24994 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24995 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24996 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24997 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24998 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24999 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25000 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25001 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25002 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25003 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25004 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25005 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25006 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25007 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25008 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25009 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25010 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25011 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25012 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25013 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25014 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25015 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25016 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25017 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25018 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25019 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25020 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25021 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25022 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25023 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25024 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25025 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25026 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25027 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25028 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25029 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25030 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25031 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25032 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25033 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25034 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25035 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25036 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25037 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25038 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25039 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25040 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25041 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25042 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25043 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25044 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25045 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25046 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25047 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25048 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25049 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25050 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25051 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25052 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25053 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25054 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25055 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25056 Require >= 2.
25057 (FLT_ROUNDS): Expect as macro, not constant.
25058 (FLT_MANT_DIG): Use macro-int-constant.
25059 (DBL_MANT_DIG): Likewise.
25060 (LDBL_MANT_DIG): Likewise.
25061 (FLT_DIG): Likewise.
25062 (DBL_DIG): Likewise.
25063 (LDBL_DIG): Likewise.
25064 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25065 (DBL_MIN_EXP): Likewise.
25066 (LDBL_MIN_EXP): Likewise.
25067 (FLT_MAX_EXP): Use macro-int-constant.
25068 (DBL_MAX_EXP): Likewise.
25069 (LDBL_MAX_EXP): Likewise.
25070 (FLT_MAX_10_EXP): Likewise.
25071 (DBL_MAX_10_EXP): Likewise.
25072 (LDBL_MAX_10_EXP): Likewise.
25073 (FLT_MAX): Use macro-constant.
25074 (DBL_MAX): Likewise.
25075 (LDBL_MAX): Likewise.
25076 (FLT_EPSILON): Use macro-constant. Give upper bound.
25077 (DBL_EPSILON): Likewise.
25078 (LDBL_EPSILON): Likewise.
25079 (FLT_MIN): Likewise.
25080 (DBL_MIN): Likewise.
25081 (LDBL_MIN): Likewise.
25082 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25083 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25084 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25085 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25086 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25087 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25088 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25089 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25090 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25091 [ISO11] (FLT_TRUE_MIN): Likewise.
25092 [ISO11] (LDBL_TRUE_MIN): Likewise.
25093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25094 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25095 (SCHAR_MIN): Use macro-int-constant. Specify type.
25096 (SCHAR_MAX): Likewise.
25097 (UCHAR_MAX): Likewise.
25098 (CHAR_MIN): Likewise.
25099 (CHAR_MAX): Likewise.
25100 (MB_LEN_MAX): Use macro-int-constant.
25101 (SHRT_MIN): Use macro-int-constant. Specify type.
25102 (SHRT_MAX): Likewise.
25103 (USHRT_MAX): Likewise.
25104 (INT_MAX): Likewise.
25105 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25106 bound negative.
25107 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25108 bound with "U".
25109 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25110 bound with "L".
25111 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25112 bound negative. Suffix upper bound with "L".
25113 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25114 bound with "UL".
25115 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25116 Specify type.
25117 [C99-based standards] (LLONG_MAX): Likewise.
25118 [C99-based standards] (ULLONG_MAX): Likewise.
25119 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25120 == 0.
25121 [ISO11] (max_align_t): Require type.
25122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25123
c9140a62
JM
25124 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25125 from $CFLAGS, without defining away __attribute__ calls.
25126 (checknamespace): Use $CFLAGS_namespace.
25127
9af0bf29
JM
25128 * conform/conformtest.pl (@keywords): Only include C99 keywords
25129 for standards based on C99 or C11.
25130
343222a2
JM
25131 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25132 Disable tests.
25133 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25134 UNIX98]: Likewise.
25135
661f8cf0
JM
25136 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25137 usability of symbols in #if.
25138
ee74b9cb
JM
25139 * conform/conformtest.pl: If macro or constant types start
25140 "promoted:", expect the symbol to be of the following type
25141 promoted by the integer promotions.
62fde54f 25142
aafc49b3
JM
25143 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25144 in one place. Also handle "macro-constant".
25145
fefdf574
JM
25146 * conform/conformtest.pl: Only accept expected macro values with
25147 "==". Parse all "macro" lines in one place.
25148 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25149
f2d922fe
JM
25150 * conform/conformtest.pl: Handle braced types on "constant" lines
25151 instead of handling "typed-constant".
25152 * conform/data/signal.h-data: Use "constant" instead of
25153 "typed-constant".
25154
d22956c9
JM
25155 * conform/conformtest.pl: Handle "optional-" at start of lines in
25156 one place rather than duplicating several cases. Handle each
25157 format of "macro" line with initial "optional-".
25158
028e2e38
JM
25159 * conform/conformtest.pl: Only accept expected constant or
25160 optional-constant values with "==". Parse all "constant" lines in
25161 one place. Parse all "optional-constant" lines in one place.
25162 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25163 * conform/data/fmtmsg.h-data: Likewise.
25164 * conform/data/netinet/in.h-data: Likewise.
25165 * conform/data/tar.h-data: Likewise.
25166 * conform/data/limits.h-data: Use "==" form on "constant" and
25167 "optional-constant" lines.
25168
1b8f2850
JM
25169 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25170 Use -std=c99 for XOPEN2K.
25171 (@knownproblems): Remove.
25172 (newtoken): Don't check %isknown.
25173
a05a144b
JM
25174 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25175 Do not expect macro.
25176 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25177 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25178 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25179 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25180 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25181 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25182 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25183 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25184 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25185 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25186 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25187 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25188 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25189 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25190 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25191 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25192 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25193 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25194 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25195 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25196 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25200 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25201 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25202 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25203 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25204 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25205 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25206 [XPG3] (acosh): Likewise.
25207 [XPG3] (asinh): Likewise.
25208 [XPG3] (atanh): Likewise.
25209 [XPG3] (cbrt): Likewise.
25210 [XPG3] (expm1): Likewise.
25211 [XPG3] (ilogb): Likewise.
25212 [XPG3] (log1p): Likewise.
25213 [XPG3] (logb): Likewise.
25214 [XPG3] (nextafter): Likewise.
25215 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25216 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25217 [XPG3] (remainder): Likewise.
25218 [XPG3] (rint): Likewise.
25219 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25220 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25221 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25222 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25223 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25224 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25225 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25226 [UNIX98 || XOPEN2K] (scalb): Expect.
25227 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25228 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25229 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25230 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25231 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25232 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25233 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25234 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25235 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25236 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25237 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25238 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25239 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25240 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25241 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25242 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25243 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25244 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25245 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25246 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25247 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25248 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25249 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25250 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25251 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25252 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25253 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25254 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25255 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25256 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25257 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25258 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25259 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25260 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25261 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25262 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25263 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25264 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25265 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25266 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25267 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25268 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25269 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25270 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25271 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25272 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25273 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25274 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25275 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25276 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25277 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25278 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25279 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25280 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25281 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25282 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25283 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25284 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25285 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25286 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25287 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25288 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25289 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25290 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25291 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25292 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25293 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25294 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25295 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25296 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25297 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25298 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25299 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25300 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25301 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25302 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25303 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25304 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25305 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25306 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25307 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25308 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25309 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25310 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25311 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25312 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25313 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25314 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25315 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25316 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25317 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25318 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25319 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25320 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25321 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25322 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25323 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25324 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25325 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25326 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25327 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25328 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25329 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25330 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25331 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25332 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25333 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25334 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25335 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25336 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25337 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25338 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25339 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25340 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25341 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25342 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25343 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25344 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25345 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25346 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25347 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25348 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25349 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25350 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25351 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25352 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25353 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25354 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25355 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25356 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25357 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25358 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25359 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25360 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25361 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25362 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25363 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25364
73c5ebe3
JM
25365 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25366 _XOPEN_SOURCE_EXTENDED for XPG4.
25367
39c33b6c
JM
25368 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25369
62fde54f
JM
25370 * Makeconfig (localtime): Remove variable.
25371 (inst_localtime-file): Likewise.
25372
0741d64c
AS
253732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25374
25375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25376 Update.
25377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25378 Update.
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25380 Update.
25381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25382 Update.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25384 Update.
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25386 Update.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25388 Update.
25389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25390 Update.
25391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25392 Update.
25393
7cb029ee
JM
253942012-05-01 Joseph Myers <joseph@codesourcery.com>
25395
25396 [BZ #2550]
25397 [BZ #2570]
25398 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25399 comparisons to determine direction to adjust input.
25400 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25401 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25402 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25403 Likewise.
25404 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25405 Likewise.
25406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25407 Likewise.
25408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25410 Likewise.
25411 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25412 Likewise.
25413 * math/libm-test.inc (nexttoward_test): Add more tests.
25414
412bd966
AS
254152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25416
25417 [BZ #14040]
25418 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25419 in version GLIBC_2.1, not GLIBC_2.0.
25420 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25421 Likewise.
25422
9568c0c2
JM
254232012-04-30 Joseph Myers <joseph@codesourcery.com>
25424
adfbc8ac
JM
25425 [BZ #13942]
25426 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25427 (1 - x) * (1 + x).
25428 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25429 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25430 * math/libm-test.inc (acos_test): Add more tests.
25431 (asin_test): Likewise.
25432 * sysdeps/i386/fpu/libm-test-ulps: Update.
25433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25434
5ba3cc69
JM
25435 [BZ #14034]
25436 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25437 of square root.
25438 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25439 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25440 * math/libm-test.inc (acos_test_tonearest): New function.
25441 (acos_test_towardzero): Likewise.
25442 (acos_test_downward): Likewise.
25443 (acos_test_upward): Likewise.
25444 (asin_test_tonearest): Likewise.
25445 (asin_test_towardzero): Likewise.
25446 (asin_test_downward): Likewise.
25447 (asin_test_upward): Likewise.
25448 (main): Call the new functions.
25449 * sysdeps/i386/fpu/libm-test-ulps: Update.
25450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25451
9568c0c2
JM
25452 [BZ #13884]
25453 [BZ #13924]
25454 * math/e_exp10.c: Include <float.h>.
25455 (__ieee754_exp10): Handle underflow here rather than multiplying
25456 large negative argument by M_LN10.
25457 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25458 of __ieee754_expf.
25459 * math/e_exp10l.c: Include <float.h>.
25460 (__ieee754_exp10l): Handle underflow here rather than multiplying
25461 large negative argument by M_LN10l.
25462 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25463 spurious overflow exception on underflow.
25464
5ac3ea17
MP
254652012-04-29 Marek Polacek <polacek@redhat.com>
25466
25467 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25468 (__fortify_function): New macro.
25469 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25470 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25471 __extern_always_inline.
25472 * libio/bits/stdio2.h: Likewise.
25473 * libio/bits/stdio.h: Likewise.
25474 * string/string.h: Likewise.
25475 * string/bits/string3.h: Likewise.
25476 * include/stdio.h: Likewise.
25477 * stdlib/bits/stdlib.h: Likewise.
25478 * stdlib/stdlib.h: Likewise.
25479 * rt/bits/mqueue2.h: Likewise.
25480 * rt/mqueue.h: Likewise.
25481 * posix/bits/unistd.h: Likewise.
25482 * posix/unistd.h: Likewise.
25483 * io/bits/poll2.h: Likewise.
25484 * io/bits/fcntl2.h: Likewise.
25485 * io/fcntl.h: Likewise.
25486 * io/sys/poll.h: Likewise.
25487 * misc/bits/syslog.h: Likewise.
25488 * misc/bits/syslog-ldbl.h: Likewise.
25489 * misc/sys/syslog.h: Likewise.
25490 * socket/bits/socket2.h: Likewise.
25491 * socket/sys/socket.h: Likewise.
25492 * debug/tst-chk1.c: Likewise.
25493 * wcsmbs/bits/wchar2.h: Likewise.
25494 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25495 * wcsmbs/wchar.h: Likewise.
25496
ecf0ebfb
AJ
254972012-04-29 Andreas Jaeger <aj@suse.de>
25498
25499 * Makerules (tests): Remove enable-check-abi protection.
25500 (check-abi-warn): Remove.
25501 (check-abi-%): Remove check-abi-warn usage.
25502
25503 * configure.in: Remove check-abi configure option.
25504 * configure: Regenerated.
25505 * config.make.in (enable-check-abi): Remove.
25506
6d5c57fa
AS
255072012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25508
24c5d07e 25509 [BZ #14033]
ded5180a
AS
25510 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25511 double functions to double *_finite functions.
25512
7e0d315d
AS
25513 [BZ #13941]
25514 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25515 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25516 LDBL_MIN_EXP.
25517 * stdio-common/Makefile (tests): Add tst-sprintf3.
25518 * stdio-common/tst-sprintf3.c: New file.
25519
6d5c57fa
AS
25520 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25521 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25522
0749ff8b
JM
255232012-04-28 Joseph Myers <joseph@codesourcery.com>
25524
25525 * conform/conformtest.pl: Remove duplicate typed-constant
25526 handling.
25527
8dbd5d7b
DM
255282012-04-28 David S. Miller <davem@davemloft.net>
25529
25530 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25531 (check-abi-%): Remove AWK script prerequisite and explicit
25532 abilist directory.
25533 (check-abi): Rewrite to just diff the symlist with the abilist.
25534 (config-tls, config-abi-config): Delete, no longer used.
25535 (update-abi-%): Remove AWK script and explicit abilist directory.
25536 (update-abi): Rewrite to simply compare and conditionally copy the
25537 symlist and the sysdep abilist file. Remove update-abi-config
25538 checks.
25539 * abilist/ld.abilist: Remove.
25540 * abilist/libBrokenLocale.abilist: Remove.
25541 * abilist/libanl.abilist: Remove.
25542 * abilist/libcrypt.abilist: Remove.
25543 * abilist/libdl.abilist: Remove.
25544 * abilist/librt.abilist: Remove.
25545 * abilist/libthread_db.abilist: Remove.
25546 * abilist/libutil.abilist: Remove.
25547 * scripts/extract-abilist.awk: Remove.
25548 * scripts/merge-abilist.awk: Remove.
25549 * sysdeps/generic/libcidn.abilist: New file.
25550 * sysdeps/generic/libnss_compat.abilist: New file.
25551 * sysdeps/generic/libnss_db.abilist: New file.
25552 * sysdeps/generic/libnss_dns.abilist: New file.
25553 * sysdeps/generic/libnss_files.abilist: New file.
25554 * sysdeps/generic/libnss_hesiod.abilist: New file.
25555 * sysdeps/generic/libnss_nis.abilist: New file.
25556 * sysdeps/generic/libnss_nisplus.abilist: New file.
25557 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25558 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25559 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25560 file.
25561 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25562 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25563 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25564 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25565 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25566 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25567 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25568 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25569 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25570 file.
25571 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25572 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25573 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25574 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25575 file.
25576 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25577 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25578 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25579 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25580 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25581 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25582 file.
25583 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25584 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25585 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25586 file.
25587 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25589 New file.
25590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25591 New file.
25592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25593 New file.
25594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25595 New file.
25596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25597 New file.
25598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25599 New file.
25600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25601 New file.
25602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25603 New file.
25604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25605 New file.
25606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25607 New file.
25608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25609 New file.
25610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25611 New file.
25612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25613 New file.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25615 file.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25617 New file.
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25619 New file.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25621 file.
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25623 New file.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25625 New file.
25626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25627 file.
25628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25629 New file.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25631 New file.
25632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25633 New file.
25634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25635 New file.
25636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25637 New file.
25638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25639 New file.
25640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25642 file.
25643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25644 New file.
25645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25646 file.
25647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25648 file.
25649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25650 file.
25651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25652 file.
25653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25654 file.
25655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25656 New file.
25657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25658 file.
25659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25660 file.
25661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25662 New file.
25663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25664 file.
25665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25667 file.
25668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25669 New file.
25670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25671 file.
25672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25673 file.
25674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25675 file.
25676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25677 file.
25678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25679 file.
25680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25681 New file.
25682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25683 file.
25684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25685 file.
25686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25687 New file.
25688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25689 file.
25690 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25691 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25692 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25693 file.
25694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25695 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25696 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25697 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25698 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25699 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25700 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25701 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25702 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25703 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25706 file.
25707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25708 New file.
25709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25710 file.
25711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25712 file.
25713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25714 file.
25715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25716 file.
25717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25718 file.
25719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25720 New file.
25721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25722 New file.
25723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25724 file.
25725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25726 New file.
25727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25728 file.
25729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25731 file.
25732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25733 New file.
25734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25735 file.
25736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25737 file.
25738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25739 file.
25740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25741 file.
25742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25743 file.
25744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25745 New file.
25746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25747 New file.
25748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25749 file.
25750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25751 New file.
25752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25753 file.
25754
41d73a1b
JM
257552012-04-28 Joseph Myers <joseph@codesourcery.com>
25756
25757 * conform/conformtest.pl: Fix typo in handling typed-constant from
25758 allow-header.
25759
28aeeda4
JM
257602012-04-27 Joseph Myers <joseph@codesourcery.com>
25761
adae8f5e
JM
25762 * README: Cut down references to pre-2.6 Linux kernels and
25763 Linuxthreads. Update lists of configurations in libc and ports
25764 and sort alphabetically. Say "or newer" with Linux kernel version
25765 requirements.
25766
28aeeda4
JM
25767 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25768
a462cb63
RA
257692012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25770
25771 [BZ #887]
25772 * math/libm-test.inc (logb_test_downward): New test to expose
25773 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25774 rounding mode.
25775
6ad3493e
JM
257762012-04-27 Joseph Myers <joseph@codesourcery.com>
25777
25778 [BZ #14027]
25779 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25780 to be done.
25781 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25782 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25783
2ce4f015
JM
257842012-04-26 Joseph Myers <joseph@codesourcery.com>
25785
5aeb141a
JM
25786 * sysdeps/unix/i386/brk.S: Remove file.
25787 * sysdeps/unix/i386/dl-brk.S: Likewise.
25788 * sysdeps/unix/i386/pipe.S: Likewise.
25789 * sysdeps/unix/i386/sigreturn.S: Likewise.
25790 * sysdeps/unix/i386/syscall.S: Likewise.
25791 * sysdeps/unix/i386/vfork.S: Likewise.
25792 * sysdeps/unix/i386/wait.S: Likewise.
25793
7143acae
JM
25794 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25795 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25796
2ce4f015
JM
25797 * configure.in (arm*-none*): Do not allow without
25798 --enable-hacker-mode.
25799 (netbsd*): Remove case setting base_os.
25800 (386bsd*): Likewise.
25801 (freebsd*): Likewise.
25802 (bsdi*): Likewise.
25803 (osf*): Likewise.
25804 (sunos*): Likewise.
25805 (ultrix*): Likewise.
25806 (newsos*): Likewise.
25807 (dynix*): Likewise.
25808 (*bsd*): Likewise.
25809 (sysv*): Likewise.
25810 (isc*): Likewise.
25811 (esix*): Likewise.
25812 (sco*): Likewise.
25813 (minix*): Likewise.
25814 (irix4*): Likewise.
25815 (irix6*): Likewise.
25816 (solaris[2-9]*): Likewise.
25817 (none): Likewise.
25818 * configure: Regenerated.
25819
0ac229c8
AZ
258202012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25821
25822 [BZ #11521]
25823 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25824 overflow or cancellation in calculating denominator.
25825 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25826 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25827 down expression to avoid unexpected rounding in newer GCCs.
25828 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25829
33f244f4
DM
258302012-04-26 David S. Miller <davem@davemloft.net>
25831
25832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25833 long-double compat symbols.
25834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25847
cfa1f3e8
DM
258482012-04-25 David S. Miller <davem@davemloft.net>
25849
25850 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25851 HWCAP_* values only after the memory barriers have been defined.
25852 (atomic_full_barrier): Define.
25853 (atomic_read_barrier): Define.
25854 (atomic_write_barrier): Define.
25855
6e236b92
SP
258562012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25857
25858 * shlib-versions: Add libgcc_s version information.
25859 * sysdeps/generic/libgcc_s.h: Remove.
25860 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25861 libgcc_s.h.
25862 * sysdeps/gnu/unwind-resume.c: Likewise.
25863 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25864
aab39a09
DM
258652012-04-25 David S. Miller <davem@davemloft.net>
25866
25867 * sysdeps/unix/sparc/brk.S: Delete.
25868 * sysdeps/unix/sparc/dl-brk.S: Delete.
25869 * sysdeps/unix/sparc/pipe.S: Delete.
25870 * sysdeps/unix/sparc/sysdep.S: Delete.
25871 * sysdeps/unix/sparc/sysdep.h: Delete.
25872 * sysdeps/unix/sparc/vfork.S: Delete.
25873 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25874 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25876 ret_ERRVAL, r0, r1, MOVE): Define.
25877 (JUMPTARGET): Remove.
25878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25879 sysdeps/unix/sparc/sysdep.h
25880 (ENTRY, END): Remove.
25881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25882
a3cc4f48
JM
258832012-04-25 Joseph Myers <joseph@codesourcery.com>
25884
2ed8cda2
JM
25885 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25886 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25887 -DIS_IN_build.
25888
35d76d59
JM
25889 * timezone/README: Update upstream location and email address for
25890 tzcode and tzdata.
25891 * timezone/zdump.c: Update from tzcode 2012b.
25892 * timezone/zic.c: Likewise.
25893
a3cc4f48
JM
25894 * configure.in (libc_cv_as_needed): Remove test.
25895 * configure: Regenerated.
25896 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25897 conditional definition.
25898 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25899 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25900 * config.make.in (have-as-needed): Remove variable.
25901
ceab42c3
SP
259022012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25903 Paul Pluzhnikov <ppluzhnikov@google.com>
25904
25905 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25906 strings correctly.
25907
3ce2865f
CLT
259082012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25909
25910 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25911 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25912 * sysdeps/sh/strlen.S: Likewise.
25913
f37e0d68
JM
259142012-04-24 Joseph Myers <joseph@codesourcery.com>
25915
ae186e9a
JM
25916 * sysdeps/unix/fork.S: Remove file.
25917 * sysdeps/unix/i386/fork.S: Likewise.
25918 * sysdeps/unix/sparc/fork.S: Likewise.
25919
b96914af
JM
25920 * sysdeps/unix/system.c: Remove file.
25921 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25922
f37e0d68
JM
25923 * sysdeps/unix/getegid.S: Remove file.
25924 * sysdeps/unix/geteuid.S: Likewise.
25925
87ef29ca
RM
259262012-04-24 Roland McGrath <roland@hack.frob.com>
25927
83bcd236
RM
25928 * scripts/check-localplt.awk: New file.
25929 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25930 of diff.
25931 * scripts/data/localplt-generic.data: Add a comment.
25932
87ef29ca
RM
25933 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25934 NODE when __dir_mkfile failed.
25935 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25936 Reported by Ludovic Courtès <ludo@gnu.org>.
25937
e5a6e567
AJ
259382012-04-24 Andreas Jaeger <aj@suse.de>
25939
25940 * Makerules (common-clean): Also remove gen-as-const-headers
25941 files.
25942
c1820385
JM
259432012-04-24 Joseph Myers <joseph@codesourcery.com>
25944
25945 * Makerules (native-compile): Do not change working directory for
25946 build. Use $(OUTPUT_OPTION) in command.
25947 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25948
94e02fc4
AZ
259492012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25950
25951 [BZ #13886]
25952 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25953 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25954 * math/libm-test.inc (floor_test): Add more tests.
25955 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25956
3a533ca3
JM
259572012-04-24 Joseph Myers <joseph@codesourcery.com>
25958
940ab4b3
JM
25959 * sysdeps/unix/getdents.c: Remove file.
25960 * sysdeps/unix/sysv/getdents.c: Likewise.
25961 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25962
90e037bd
JM
25963 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25964 sysdeps/unix/mman/syscalls.list.
25965 (mmap): Likewise.
25966 (mprotect): Likewise.
25967 (msync): Likewise.
25968 (munmap): Likewise.
25969 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25970 * sysdeps/unix/mman/syscalls.list: Remove.
25971 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25972
3a533ca3
JM
25973 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25974 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25975 * configure: Regenerated.
25976 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25977 $(libgcc_s_suffix).
25978 * config.make.in (libgcc_s_suffix): Remove variable.
25979
1ad743de
JM
259802012-04-23 Joseph Myers <joseph@codesourcery.com>
25981
4ad451e2
JM
25982 * sysdeps/unix/sysv/gethostname.c: Move to ...
25983 * sysdeps/posix/gethostname.c: ... here.
25984
5e37ce39
JM
25985 * sysdeps/unix/execve.S: Remove file.
25986
1ad743de
JM
25987 * sysdeps/unix/_exit.S: Remove file.
25988
4e681b5b
AJ
259892012-04-23 Andreas Jaeger <aj@suse.de>
25990
25991 [BZ #13739]
25992 * manual/Makefile: Remove make dist support, there's no
25993 need for a stand-alone documentation tar ball.
25994 (TEXI2DVI): Define always, it's not in Makeconfig.
25995 (dist): Removed.
25996 (tar-it): Removed.
25997 (edition): Removed.
25998 (glibc-doc-$(edition).tar): Removed
25999 (%.Z): Removed.
26000 (%.gz): Removed.
26001 (%.uu): Removed.
26002 (ETAGS): Remove, it's in Makeconfig.
26003 (move-if-change): Remove, it's in Makeconfig.
26004
38686a03 260052012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26006
26007 [BZ #13970]
26008 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26009 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26010 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26011 (strtod_l, strtof_l, strtold_l): Remove __wur.
26012 It is not necessarily an error to ignore strtol's return value.
26013 One can reliably look at the stored endptr to decide whether
26014 the number had valid syntax.
26015
7c0616fa
AJ
260162012-04-21 Andreas Jaeger <aj@suse.de>
26017
803cb6b7 26018 [BZ #13739]
7c0616fa
AJ
26019 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26020
b0fe253f
JM
260212012-04-21 Joseph Myers <joseph@codesourcery.com>
26022
26023 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26024 * sysdeps/unix/sysv/Versions: Remove file.
26025
8280f22d
MT
260262012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26027
26028 [BZ #13927]
26029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26030
75ce411f 260312012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26032
26033 [BZ #7064]
26034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26035 version from __vm86.
26036
097d59fa
JM
260372012-04-20 Joseph Myers <joseph@codesourcery.com>
26038
a90f3bcb
JM
26039 * sysdeps/unix/common/lxstat.c: Remove file.
26040 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26041
edc7ea78
JM
26042 * sysdeps/unix/sysv/Makefile: Remove file.
26043
cb78c221
JM
26044 * sysdeps/unix/sysv/direct.h: Remove file.
26045
efa6a45f
JM
26046 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26047 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26048 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26049 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26050 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26051 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26052 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26053
9c9f2d0c
JM
26054 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26055
4541c83b
JM
26056 * sysdeps/unix/xmknod.c: Remove file.
26057 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26058
f5d153a0
JM
26059 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26060
aa746595
JM
26061 * sysdeps/unix/sysv/i386/time.S: Remove file.
26062
cce5905e
JM
26063 * sysdeps/unix/fxstat.c: Remove file.
26064 * sysdeps/unix/xstat.c: Likewise.
26065 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26066
37fa3841
JM
26067 * sysdeps/unix/sysv/sigaction.c: Remove file.
26068
ff1962a3
JM
26069 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26070 (sysdep_headers): Remove variable.
26071 [termio.h not in sysdep_headers] (generated): Likewise.
26072 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26073 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26074 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26075 * sysdeps/unix/sysv/tcflow.c: Likewise.
26076 * sysdeps/unix/sysv/tcflush.c: Likewise.
26077 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26078 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26079 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26080 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26081 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26082
e7740d31
JM
26083 * sysdeps/unix/siglist.c: Remove file.
26084
ee06f18b
JM
26085 * sysdeps/unix/getppid.S: Remove file.
26086
097d59fa
JM
26087 * sysdeps/unix/mkdir.c: Remove file.
26088 * sysdeps/unix/rmdir.c: Likewise.
26089
ff3d51ec
AS
260902012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26091
26092 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26093 ERR_MAX value.
26094 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26095 errlist-compat value.
26096
50f81fd7
DM
260972012-04-18 David S. Miller <davem@davemloft.net>
26098
26099 * sysdeps/generic/memcopy.h (reg_char): Delete.
26100 * debug/strcat_chk.c: Use char, not reg_char.
26101 * debug/strcpy_chk.c: Likewise.
26102 * debug/strncat_chk.c: Likewise.
26103 * debug/strncpy_chk.c: Likewise.
26104 * string/memchr.c: Likewise.
26105 * string/memrchr.c: Likewise.
26106 * string/rawmemchr.c: Likewise.
26107 * string/strcat.c: Likewise.
26108 * string/strchr.c: Likewise.
26109 * string/strchrnul.c: Likewise.
26110 * string/strcmp.c: Likewise.
26111 * string/strcpy.c: Likewise.
26112 * string/strncat.c: Likewise.
26113 * string/strncmp.c: Likewise.
26114 * string/strncpy.c: Likewise.
26115
8ff41c46
WS
261162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26117
26118 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26119 __builtin_memcopy is called when src and dest ranges are known to not
26120 overlap.
26121
6b652f46
WS
261222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26123
26124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26125 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26126 fwd_align_merge macro call.
26127 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26128 bwd_align_merge macro call.
26129 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26130
b282631e
WS
261312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26132
26133 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26134 bwd_align_merge macros.
26135 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26136 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26138
95aa737c
DM
261392012-04-18 David S. Miller <davem@davemloft.net>
26140
26141 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26142
7a99a614
AJ
261432012-04-18 Andreas Jaeger <aj@suse.de>
26144
26145 [BZ# 6794]
26146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26147 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26148 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26149
26150 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26151 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26152 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26153
26154 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26155 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26156 Adjust for changed ldbl-128 files.
26157
26158 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26159 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26161
e5270c23
DM
261622012-04-17 David S. Miller <davem@davemloft.net>
26163
26164 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26165
fb5e92c9
AS
261662012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26167
26168 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26169 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26170 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26171 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26172 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26173 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26174
76da7265
AZ
261752012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26176
26177 [BZ #6794]
26178 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26179 * math/libm-test.inc: Add ilogb errno and exception tests.
26180 * math/w_ilogb.c: New file: ilogb wrapper.
26181 * math/w_ilogbf.c: New file: ilogbf wrapper.
26182 * math/w_ilogbl.c: New file: ilogbl wrapper.
26183 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26184 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26185 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26186 exception being thrown with 0.0 as argument.
26187 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26188 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26189 exception being thrown with 0.0 as argument.
26190 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26191 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26192 exception being thrown with 0.0 as argument.
26193 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26194 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26195 exception being thrown with 0.0 as argument.
26196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26197 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26199 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26200 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26201 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26202 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26203 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26204 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26205
0396e69d
PB
262062012-04-17 Petr Baudis <pasky@ucw.cz>
26207
26208 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26209 with altivec.
26210
750b5926
MP
262112012-04-16 Marek Polacek <polacek@redhat.com>
26212
26213 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26214
751728a1
MP
262152012-04-16 Marek Polacek <polacek@redhat.com>
26216
26217 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26218 operands of fdivp instruction.
26219
34a27407
L
262202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26221
26222 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26223 * elf/tst-auditmod3b.c: Likewise.
26224 * elf/tst-auditmod4b.c: Likewise.
26225 * elf/tst-auditmod5b.c: Likewise.
26226 * elf/tst-auditmod6b.c: Likewise.
26227 * elf/tst-auditmod6c.c: Likewise.
26228 * elf/tst-auditmod7b.c: Likewise.
26229 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26230 * sysdeps/x86_64/preconfigure.in: Likewise.
26231 * sysdeps/x86_64/preconfigure: Regenerated.
26232
7e73e17d
L
262332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26234
26235 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26236 __ILP32__.
26237
c7a6ab72
AB
262382012-04-13 Antoine Balestrat <merkil33@gmail.com>
26239
26240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26241 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26242
a9e8e0e0
CL
262432012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26244
26245 [BZ #13973]
26246 * locale/iso-639.def: Fix gl language name. Spotted by
26247 Yaron Shahrabani.
26248
ec98af7d
RM
262492012-04-12 Roland McGrath <roland@hack.frob.com>
26250
26251 [BZ #2074]
26252 * libio/libio.h (__io_write_fn): Update comment.
26253
247c3ede
PB
262542012-04-12 Petr Baudis <pasky@ucw.cz>
26255
26256 [BZ #2074]
26257 * stdio.texi (Hook Functions): The user provided writer function
26258 is not allowed to return -1.
26259
55939d6d
DM
262602012-04-11 David S. Miller <davem@davemloft.net>
26261
26262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26263
90020f5a
MF
262642012-04-11 Mike Frysinger <vapier@gentoo.org>
26265
26266 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26267 Add a leading slash to rtkaio.
26268
288f9098
JM
262692012-04-11 Jim Meyering <meyering@redhat.com>
26270
90020f5a
MF
26271 [BZ #11959]
26272 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26273 It is not necessarily an error to ignore fwrite's return
26274 value. One can reliably use ferror to test for errors after
26275 the fact.
288f9098 26276
4be2b570
L
262772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26278
26279 * bits/types.h (__snseconds_t): New type.
26280 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26281
26282 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26284 (__SNSECONDS_T_TYPE): Likewise.
26285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26286 (__SNSECONDS_T_TYPE): Likewise.
26287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26288 (__SNSECONDS_T_TYPE): Likewise.
26289
288f9098 262902012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26291
26292 [BZ #2636]
26293 * manual/time.texi (Processor Time): Return type of times is
26294 elapsed real time since an arbitrary point in the past.
26295 (CPU Time): Move CLK_TCK from here...
26296 (Processor Time): ...to here. Correct description.
26297 * manual/conf.texi (Constants for Sysconf): Correct description of
26298 _SC_CLK_TCK.
26299
d7dd4413
DM
263002012-04-10 David S. Miller <davem@davemloft.net>
26301
26302 [BZ #13967]
26303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26304 where the is a gap between DT_REL(A) and DT_JMPREL.
26305
b46068fc
L
263062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26307
26308 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26309 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26310 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26311
73d65cc3
SP
263122012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26313
26314 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26315 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26316 (dl_main): Handle --inhibit-cache.
26317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26318 _dl_inhibit_cache.
26319 * elf/dl-load.c (_dl_map_object): Use it.
26320 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26321
bcc8d661
JM
263222012-04-09 Joseph Myers <joseph@codesourcery.com>
26323
8f9a2fae
JM
26324 [BZ #13872]
26325 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26326 (__ieee754_powl): Saturate large exponents rather than testing for
26327 overflow of y*log2(x).
26328 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26329 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26330 exceptions.
26331
bcc8d661
JM
26332 [BZ #11521]
26333 * math/s_ctan.c: Include <float.h>.
26334 (__ctan): Avoid internal overflow or cancellation in calculating
26335 denominator.
26336 * math/s_ctanf.c: Likewise.
26337 * math/s_ctanl.c: Likewise.
26338 * math/s_ctanh.c: Likewise.
26339 * math/s_ctanhf.c: Likewise.
26340 * math/s_ctanhl.c: Likewise.
26341 * math/libm-test.inc (ctan_test): Add more tests.
26342 (ctanh_test): Likewise.
26343 * sysdeps/i386/fpu/libm-test-ulps: Update.
26344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26345
823fbbb4
AJ
263462012-04-09 Andreas Jaeger <aj@suse.de>
26347
03879793
AJ
26348 [BZ #6894]
26349 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26350 is an optional BSD extension.
26351
823fbbb4
AJ
26352 [BZ #10254]
26353 * manual/stdio.texi (Opening Streams): Document additional fopen
26354 parameters.
26355
8de131cb
RM
263562012-04-09 Roland McGrath <roland@hack.frob.com>
26357
26358 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26359 %eax without telling the compiler.
26360
c0ed9d7d
CD
263612012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26362
26363 [BZ # 13963]
26364 * manual/install.texi: Use sourceware.org.
26365
c483f6b4
JM
263662012-04-09 Joseph Myers <joseph@codesourcery.com>
26367
d7dd9453
JM
26368 [BZ #13873]
26369 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26370 (__ieee754_pow): Generate overflow and underflow using huge*huge
26371 and tiny*tiny rather than just returning constant infinity or zero
26372 for large exponents.
26373 * math/libm-test.inc (pow_test): Require overflow exceptions for
26374 applicable cases of large exponents.
26375
c483f6b4
JM
26376 [BZ #706]
26377 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26378 (__ieee754_pow): Use iterative multiplication algorithm only for
26379 integer exponents with absolute value below 1024. Check for odd
26380 integer exponents when using algorithm for real exponents.
26381 * math/libm-test.inc (pow_test): Add more tests.
26382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26383
d2de7579
JM
263842012-04-08 Joseph Myers <joseph@codesourcery.com>
26385
26386 [BZ #13705]
26387 * math/libm-test.inc (exp_test): Do not allow overflow exception
26388 on underflow test.
26389
f77f1232
AJ
263902012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26391
26392 [BZ #13705]
26393 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26394 instead of __kernel_standard_f.
26395
3884932b
MF
263962012-04-08 Mike Frysinger <vapier@gentoo.org>
26397
26398 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26399 * sysdeps/x86_64/memset_chk.S: Likewise.
26400
54472e9c
AJ
264012012-04-08 Andreas Jaeger <aj@suse.de>
26402
6ab0fbfc
AJ
26403 [BZ #10153]
26404 * manual/startup.texi (Environment Access): Describe return value
26405 for putenv and setenv.
26406
61efba8c
AJ
26407 [BZ #6895]
26408 * manual/filesys.texi (Directory Entries): Add description for
26409 DT_LNK.
26410
95c3f29a
AJ
26411 [BZ #6890]
26412 * manual/filesys.texi (Directory Entries): Clarify that it's file
26413 system not operating system in the description of DT_UNKNOWN.
26414
54472e9c
AJ
26415 [BZ #6578]
26416 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26417
624254b1
SC
264182012-04-08 Stephen Compall <s11@member.fsf.org>
26419
26420 [BZ #6649]
26421 * manual/llio.texi (Opening and Closing Files): Add cross
26422 reference to explain mode argument.
26423
1e4920e0
MF
264242012-04-07 Mike Frysinger <vapier@gentoo.org>
26425
26426 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26427 * sysdeps/x86_64/memset_chk.S: Likewise.
26428
5ed848f3
DM
264292012-04-07 David S. Miller <davem@davemloft.net>
26430
26431 * elf/elf.h (R_SPARC_WDISP10): Define.
26432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26433 R_SPARC_SIZE32.
26434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26435 R_SPARC_SIZE64 and R_SPARC_H34.
26436
96154cd8
CD
264372012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26438
26439 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26440 conditions and remove no longer applicable assertion.
26441
9904dc47
L
264422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26443
26444 * bits/byteswap.h: Include <features.h>.
26445 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26446 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26447
f8887d0a
L
264482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26449
26450 * bits/byteswap.h (__bswap_16): Removed.
26451 Include <bits/byteswap-16.h> to get __bswap_16.
26452 * sysdeps/i386/bits/byteswap.h: Likewise.
26453 * sysdeps/s390/bits/byteswap.h: Likewise.
26454 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26455 * bits/byteswap-16.h: New file.
26456 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26457 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26458 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26459 * string/Makefile (headers): Add bits/byteswap-16.h.
26460
62470f60
PP
264612012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26462
26463 [BZ #13895]
26464 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26465 extra indirection.
26466 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26467 * nss/tst-nss-static.c: New.
26468
4dad7bab
RM
264692012-04-06 Robert Millan <rmh@gnu.org>
26470
26471 [BZ #6486]
26472 * manual/llio.texi (File Position Primitive): lseek
26473 refers to WHENCE when it really means OFFSET.
26474
e9142a17
AJ
264752012-04-06 Andreas Jaeger <aj@suse.de>
26476
2c040eff
AJ
26477 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26478 strncmp declarations.
26479
e9142a17
AJ
26480 * abilist/libc.abilist: Add __poll and __ppoll.
26481
ff9f1c5f
DM
264822012-04-05 David S. Miller <davem@davemloft.net>
26483
dcd2ae90
DM
26484 * scripts/check-local-headers.sh: Accept a host triplet in the
26485 path matched by the exclude regexp.
26486
993eb054
DM
26487 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26488 definition.
26489 * sysdeps/powerpc/powerpc32/dl-machine.h
26490 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26491 * sysdeps/s390/s390-32/dl-machine.h
26492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26493 * sysdeps/sparc/sparc32/dl-machine.h
26494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26495 * sysdeps/sparc/sparc64/dl-machine.h
26496 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26497
ff9f1c5f
DM
26498 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26499 lazy binding.
48e2e132 26500 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26501 undefined symbol errors.
26502
48e2e132 26503 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26504 DT_NEEDED entries.
26505
e80d6f94
MM
265062012-04-05 Michael Matz <matz@suse.de>
26507
26508 [BZ #13592]
26509 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26510
349fa79f
AJ
265112012-04-05 Andreas Jaeger <aj@suse.de>
26512
26513 [BZ #13908]
26514 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26515 comment.
26516
f402708f
KK
265172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26518
26519 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26520 which ROUND is no valid rounding mode.
26521
2ecccfc9
KK
265222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26523
26524 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26525 read again.
26526 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26527
8a53f50f
KK
265282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26529
26530 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26531 an exception using FPU order intentionally.
26532
265332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26534
26535 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26536 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26537 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26538 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26539
d653abb7
SJ
265402012-04-05 Simon Josefsson <simon@josefsson.org>
26541
26542 [BZ #12340]
26543 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26544 EINVAL when BUFLEN is too smal.
26545
c3b1bf7d
TS
265462012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26547
26548 [BZ #13553]
26549 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26550 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26551
b1aa60f3
AJ
265522012-04-03 Andreas Jaeger <aj@suse.de>
26553
c3b1bf7d 26554 [BZ #13938]
67f60a26
AJ
26555 * manual/setjmp.texi (System V contexts): Fix sentence.
26556
b1aa60f3
AJ
26557 [BZ #13926]
26558 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26559 New macro for this case.
26560 [!__GNUC__] (__bswap_64): New inline function for this case.
26561 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26562 * bits/byteswap.h: Likewise.
26563 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26564 ull, guard with __GLIBC_HAVE_LONG_LONG.
26565
26566 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26567 __GLIBC_HAVE_LONG_LONG.
26568
26569 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26570 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26571
39c59c35
TMQMF
265722012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26573
26574 [BZ #13691]
26575 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26576 inptr and inend, rather than using last_ch.
26577
135ffda8
DM
265782012-04-02 David S. Miller <davem@davemloft.net>
26579
26580 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26581 * stdio-common/printf-parse.h (read_int): Change return type to
26582 'int', return -1 on INT_MAX overflow.
26583 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26584 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26585 overflows INT_MAX. Check for overflow of in-format-string precision
26586 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26587 SIZE_MAX not INT_MAX for integer overflow test.
26588 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26589 skip the construct in the format string but do not record anything.
26590 * stdio-common/bug22.c: Adjust to test both width/prevision
26591 INT_MAX overflow as well as total length INT_MAX overflow. Check
26592 explicitly for proper errno values.
26593
228c019e
TS
265942012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26595
302cadd3
TS
26596 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26597 CHAR_MAX.
26598 * string/test-strcmp.c [! WIDE]: Likewise.
26599 * time/tst-mktime2.c: Likewise for INT_MAX.
26600 * string/test-string.h: #include <sys/param.h> for MIN.
26601
228c019e
TS
26602 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26603 * sysdeps/i386/init-first.c (init): Likewise.
26604 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26605 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26606 * sysdeps/sh/init-first.c (init): Likewise.
26607
cfa633f5
UD
266082012-04-01 Ulrich Drepper <drepper@gmail.com>
26609
26610 * po/ru.po: Update from translation team.
d1635ef8 26611 * po/vi.po: Likewise.
cfa633f5 26612
6cd0a5ea
SP
266132012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26614
26615 * resolv/nss_dns/dns-host.c: Merge copyright years.
26616
4b43400f
LD
266172012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26618
26619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26620 Optimize memcpy with prefetch if
26621 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26622 src, dst pointers have unequal 16 byte alignments.
26623
48c41d04
SP
266242012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26625
26626 [BZ #13928]
26627 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26628 from a CNAME entry and return the minimum ttl for the query.
26629 (gaih_getanswer_slice): Likewise.
26630
b8dc394d
JL
266312012-03-30 Jeff Law <law@redhat.com>
26632
26633 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26634 due to long keys.
26635 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26636 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26637
2f5a5ed0
JL
26638 * resolv/nss_dns/dns-host.c: Update copyright year.
26639
1d39e359
UD
266402012-03-30 Ulrich Drepper <drepper@gmail.com>
26641
c030f70c 26642 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26643 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26644
1d39e359
UD
26645 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26646 comments for sendmmsg.
26647
266482012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26649
26650 [BZ #13691]
26651 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26652 with only 1 character between 0x0041 and 0x01b0.
26653 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26654 * wcsmbs/tst-mbsnrtowcs.c: New file.
26655
20fde227
DM
266562012-03-29 David S. Miller <davem@davemloft.net>
26657
26658 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26659 small copies by hand.
26660
984a4237
JL
266612012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26662
26663 [BZ #13761]
26664 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26665 _nss_compat_initgroups_dyn): Fall back to malloc/free
26666 for large group memberships.
26667
18c9d62b
DM
266682012-03-28 David S. Miller <davem@davemloft.net>
26669
88d85d4f
DM
26670 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26671 that branches into memcpy.
26672 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26673 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26675 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26677 bits.
26678 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26679 implementation too.
26680 * sysdeps/sparc/mempcpy.S: New file.
26681
e5aa83e1
DM
26682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26683 the IFUNC routine in the libc case.
26684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26685
88570753
DM
26686 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26688 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26689 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26690 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26691 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26692 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26693 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26694
249d7567
DM
26695 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26696 loop to 256 bytes instead of 64 bytes and fix test signedness.
26697
18c9d62b
DM
26698 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26699 * sysdeps/sparc/sparc32/Makefile: rather than here...
26700 * sysdeps/sparc/sparc64/Makefile: and here.
26701
05f3d1f6
UD
267022012-03-28 Ulrich Drepper <drepper@gmail.com>
26703
26704 * malloc/mallocbug.c: Avoid warnings about unused variables.
26705
86ae07a8
JL
267062012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26707
26708 [BZ #13760]
26709 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26710 in the right place. Discard and retry query if response is
26711 larger than input buffer size.
26712
41bf21a1
JM
267132012-03-28 Joseph Myers <joseph@codesourcery.com>
26714
d6270972
JM
26715 [BZ #369]
26716 [BZ #2678]
26717 [BZ #3866]
26718 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26719 x for large integer exponent.
26720 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26721 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26722 sign of result as needed afterwards.
26723 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26724 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26725 result for underflowing pow the same as for overflow.
26726 (__kernel_standard_l): Handle powl overflow and underflow here
26727 rather than calling __kernel_standard.
26728 * math/libm-test.inc (pow_test): Add more tests.
26729
414fca03 26730 [BZ #3868]
41bf21a1
JM
26731 [BZ #13879]
26732 [BZ #13910]
26733 [BZ #13911]
26734 [BZ #13912]
26735 [BZ #13913]
26736 [BZ #13915]
26737 [BZ #13916]
26738 [BZ #13917]
26739 [BZ #13918]
26740 [BZ #13919]
26741 [BZ #13920]
26742 [BZ #13921]
26743 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26744 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26745 (__kernel_standard_l): New function.
26746 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26747 __kernel_standard.
26748 * math/w_acosl.c (__acosl): Likewise.
26749 * math/w_asinl.c (__asinl): Likewise.
26750 * math/w_atan2l.c (__atan2l): Likewise.
26751 * math/w_atanhl.c (__atanhl): Likewise.
26752 * math/w_coshl.c (__coshl): Likewise.
26753 * math/w_exp10l.c (__exp10l): Likewise.
26754 * math/w_exp2l.c (__exp2l): Likewise.
26755 * math/w_fmodl.c (__fmodl): Likewise.
26756 * math/w_hypotl.c (__hypotl): Likewise.
26757 * math/w_j0l.c (__j0l, __y0l): Likewise.
26758 * math/w_j1l.c (__j1l, __y1l): Likewise.
26759 * math/w_jnl.c (__jnl, __ynl): Likewise.
26760 * math/w_lgammal.c (__lgammal): Likewise.
26761 * math/w_log10l.c (__log10l): Likewise.
26762 * math/w_log2l.c (__log2l): Likewise.
26763 * math/w_logl.c (__logl): Likewise.
26764 * math/w_powl.c (__powl): Likewise.
26765 * math/w_remainderl.c (__remainderl): Likewise.
26766 * math/w_scalbl.c (sysv_scalbl): Likewise.
26767 * math/w_sinhl.c (__sinhl): Likewise.
26768 * math/w_sqrtl.c (__sqrtl): Likewise.
26769 * math/w_tgammal.c (__tgammal): Likewise.
26770 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26771 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26772 * math/libm-test.inc (acos_test): Add more tests.
26773 (acosh_test): Likewise.
26774 (asin_test): Likewise.
26775 (atanh_test): Likewise.
26776 (exp_test): Likewise.
26777 (exp10_test): Likewise.
26778 (exp2_test): Likewise.
26779 (expm1_test): Likewise.
26780 (lgamma_test): Likewise.
26781 (log_test): Likewise.
26782 (log10_test): Likewise.
26783 (log1p_test): Likewise.
26784 (log2_test): Likewise.
26785 (pow_test): Do not allow some spurious overflow exceptions.
26786 (sqrt_test): Add more tests.
26787 (tgamma_test): Likewise.
26788 (y0_test): Likewise.
26789 (y1_test): Likewise.
26790 (yn_test): Likewise.
26791
dd62fda6
AB
267922012-03-27 Anton Blanchard <anton@samba.org>
26793
26794 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26795 MAP_HUGETLB.
26796 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26798 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26799
1e3cdfda
AJ
268002012-03-27 David S. Miller <davem@davemloft.net>
26801
b855ab85
DM
26802 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26803
1e3cdfda
AJ
26804 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26805 have-as-vis3 check.
26806
268072012-03-27 Andreas Jaeger <aj@suse.de>
26808
26809 * sysdeps/x86_64/elf/configure.in: Moved to ...
26810 * sysdeps/x86_64/configure.in: ... here.
26811 * sysdeps/x86_64/elf/start.S: Moved to ...
26812 * sysdeps/x86_64/start.S: ... here.
26813 * sysdeps/x86_64/elf/configure: Delete.
26814
26815 * sysdeps/x86_64/configure.in: Merge contents from
26816 sysdeps/i386/configure.in (without i686 check).
26817
26818 * sysdeps/i386/elf/Versions: Merge into ...
26819 * sysdeps/i386/Versions: ... this.
26820 * sysdeps/i386/elf/Versions: Delete file.
26821 * sysdeps/i386/elf/start.S: Moved to ...
26822 * sysdeps/i386/start.S: ...here.
26823 * sysdeps/i386/elf/configure.in: Merge into...
26824 * sysdeps/i386/configure.in: ...here.
26825 * sysdeps/i386/elf/configure.in: Delete file.
26826 * sysdeps/i386/elf/configure: Delete file.
26827
26828 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26829 * debug/backtracesyms.c: ... here.
26830 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26831 * debug/backtracesymsfd.c: ... here.
26832 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26833 * sysdeps/generic/ifunc-sel.h: ... here.
26834
26835 * sysdeps/unix/i386/start.c: Delete file.
26836 * sysdeps/unix/sparc/start.c: Delete file.
26837 * sysdeps/unix/start.c: Delete file.
26838
26839 * sysdeps/sh/elf/configure.in: Moved to ...
26840 * sysdeps/sh/configure.in: ... here.
26841 * sysdeps/sh/elf/start.S: Moved to ...
26842 * sysdeps/sh/start.S: ... here.
26843 * sysdeps/sh/elf/configure: Delete file.
26844
26845 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26846 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26847 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26848 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26849 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26850 * sysdeps/powerpc/powerpc64/start.S: here.
26851 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26852 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26853 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26854 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26855 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26856
26857 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26858 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26859 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26860 * sysdeps/powerpc/powerpc32/start.S: ... here.
26861 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26862 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26863 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26864
26865 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26866 * sysdeps/powerpc/ifunc-sel.h: ... here.
26867 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26868 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26869
26870 * sysdeps/sparc/elf/configure.in: Moved to ...
26871 * sysdeps/sparc/configure.in: ... here.
26872 * sysdeps/sparc/elf/configure: Delete file.
26873 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26874 * sysdeps/sparc/sparc32/start.S: ... here.
26875 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26876 * sysdeps/sparc/sparc64/start.S: ... here.
26877 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26878 * sysdeps/sparc/sparc32/Makefile: ... this.
26879 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26880 * sysdeps/sparc/sparc64/Makefile: ... this.
26881
26882 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26883 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26884 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26885 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26886 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26887 * sysdeps/s390/s390-32/setjmp.S: ... here.
26888 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26889 * sysdeps/s390/s390-32/configure.in: ... here.
26890 * sysdeps/s390/s390-32/elf/configure: Delete file.
26891 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26892 * sysdeps/s390/s390-32/start.S: ... here.
26893
26894 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26895 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26896 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26897 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26898 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26899 * sysdeps/s390/s390-64/setjmp.S: ... here.
26900 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26901 * sysdeps/s390/s390-64/configure.in: ... here
26902 * sysdeps/s390/s390-64/elf/configure: Delete file.
26903 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26904 * sysdeps/s390/s390-64/start.S: ... here.
26905 * sysdeps/s390/s390-64/elf/configure: Delete.
26906
26907 * configure.in: Remove support for elf directories in sysdeps.
26908
26909 * configure: Regenerated.
26910 * sysdeps/i386/configure: Regenerated.
26911 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26912 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26913 * sysdeps/s390/s390-32/configure: Regenerated.
26914 * sysdeps/s390/s390-64/configure: Regenerated.
26915 * sysdeps/sh/configure: Regenerated.
26916 * sysdeps/sparc/configure: Regenerated.
26917 * sysdeps/x86_64/configure: Regenerated.
26918
a3f61311
AS
269192012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26920
c876e002
AS
26921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26922
a3f61311
AS
26923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26924 denormal result into account.
26925
ac4c54f0
RM
269262012-03-25 Roland McGrath <roland@hack.frob.com>
26927
26928 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26929 Reported by Allan McRae <allan@archlinux.org>.
26930
6a9b9c02
JL
269312012-03-23 Jeff Law <law@redhat.com>
26932
26933 * nss/getnssent.c (__nss_getent): Fix typo.
26934
4c42a0c1
DM
269352012-03-23 David S. Miller <davem@davemloft.net>
26936
26937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26938
1532c7ac
L
269392012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26940
26941 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26942 to pad to uint64_t for each field.
26943 (dl_tls_index): Replace unsigned long with uint64_t.
26944
3ff42526
PP
269452012-03-23 Daniel Jacobowitz <dmj@google.com>
26946 Paul Pluzhnikov <ppluzhnikov@google.com>
26947
26948 [BZ #6528]
26949 * grp/Makefile (otherlibs): Don't set it.
26950 * inet/Makefile (otherlibs): Likewise.
26951 * login/Makefile (otherlibs): Likewise.
26952 * nscd/Makefile (otherlibs): Likewise.
26953 * posix/Makefile (otherlibs): Likewise.
26954 * pwd/Makefile (otherlibs): Likewise.
26955 * rt/Makefile (otherlibs): Likewise.
26956 * sunrpc/Makefile (otherlibs): Likewise.
26957 * nss/Makefile (otherlibs): Likewise.
26958 Add libnss_files to routines and static-only-routines.
26959 ($(objpfx)getent): Remove rule.
26960 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26961 static-only-routines.
26962
7c69cd14
JM
269632012-03-22 Joseph Myers <joseph@codesourcery.com>
26964
26965 [BZ #13892]
26966 * math/s_cexp.c: Include <float.h>.
26967 (__cexp): Handle exp result overflowing not necessarily
26968 overflowing both real and imaginary parts of result.
26969 * math/s_cexpf.c: Likewise.
26970 * math/s_cexpl.c: Likewise.
26971 * math/libm-test.inc (cexp_test): Add more tests.
26972 * sysdeps/i386/fpu/libm-test-ulps: Update.
26973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26974
81b035fe
L
269752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26976
26977 * include/link.h (ELFW): New macro.
26978 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26979 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26980
1da7940c
L
269812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26982
26983 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26984 with uint64_t.
26985
b749dbb9
L
269862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26987
26988 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26989 declaration.
26990 (struct La_x32_retval): Likewise.
26991
2ff87f3f
L
269922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26993
26994 * sysdeps/x86_64/preconfigure.in: New file.
26995 * sysdeps/x86_64/preconfigure: New generated file.
26996
c0df8e69
JM
269972012-03-22 Joseph Myers <joseph@codesourcery.com>
26998
48e44791
JM
26999 [BZ #13824]
27000 * math/e_exp2l.c: Include <float.h>.
27001 (__ieee754_exp2l): Handle overflow and underflow cases
27002 separately. Only pass fractional part of argument to
27003 __ieee754_expl.
27004 * math/libm-test.inc (exp2_test): Add more tests.
27005
c0df8e69
JM
27006 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27007 negating x to take absolute value.
27008 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27009 Likewise.
27010 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27011 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27012 Likewise.
27013 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27014 computing low part if x was negated.
27015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27016
c8e43ba7
L
270172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27018
27019 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27020 la_x32_gnu_pltexit.
27021 (pltexit): Cast int_retval to ptrdiff_t.
27022 * elf/tst-auditmod3b.c: Likewise.
27023 * elf/tst-auditmod4b.c: Likewise.
27024 * elf/tst-auditmod5b.c: Likewise.
27025 * elf/tst-auditmod6b.c: Likewise.
27026 * elf/tst-auditmod6c.c: Likewise.
27027 * elf/tst-auditmod7b.c: Likewise.
27028
27029 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27030 and x32_gnu_pltexit.
27031
27032 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27033 __ELF_NATIVE_CLASS.
27034 (La_x32_regs): New macro.
27035 (La_x32_retval): Likewise.
27036 (la_x32_gnu_pltenter): New function prototype.
27037 (la_x32_gnu_pltexit): Likewise.
27038
7998fa78
AS
270392012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27040
dcb33988
AS
27041 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27042 exponent.
27043
233fc563
AS
27044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27045
7998fa78
AS
27046 * configure.in (libc_cv_cc_nofma): Check for option to disable
27047 generation of FMA instructions.
27048 * configure: Regenerate.
27049 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27050 * sysdeps/ieee754/dbl-64/Makefile: New file.
27051 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27052 Remove brandred-fma4.
27053 (CFLAGS-brandred-fma4.c): Remove.
27054 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27055 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27056 define.
27057 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27058 define.
27059
8e95c99a
L
270602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27061
27062 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27063 LLONG_MAX != LONG_MAX.
27064 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27065 (_fitoa_word): Likewise.
27066 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27067 LLONG_MAX != LONG_MAX.
27068 * stdio-common/_itowa.h: Include <_itoa.h>.
27069 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27070 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27071 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27072 only if not defined.
27073 (_ITOA_WORD_TYPE): Likewise.
27074 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27075 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27076
6f4db457
DM
270772012-03-21 David S. Miller <davem@davemloft.net>
27078
27079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27080
7785fe5a
L
270812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27082
27083 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27084 of x86_64 when setting libc_cv_slibdir, libdir and
27085 libc_cv_localedir.
27086 * sysdeps/unix/sysv/linux/configure: Regenerated.
27087
4535cd55
JM
270882012-03-21 Joseph Myers <joseph@codesourcery.com>
27089
27090 * manual/lang.texi (Old Varargs): Remove section.
27091 (How Variadic): Update menu.
27092 (va_start): Do not mention varargs.h.
27093
17228132
TS
270942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27095 Joseph Myers <joseph@codesourcery.com>
27096
27097 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27098 link test.
27099 * configure: Regenerated.
27100
8149f976
TS
271012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27102
05f3d1f6
UD
27103 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27104 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27105 conformtest.pl
8149f976 27106
1a4ac776
JM
271072012-03-21 Joseph Myers <joseph@codesourcery.com>
27108
be22ce65
JM
27109 * NOTES: Remove.
27110 * Makefile (files-for-dist): Remove NOTES.
27111 (NOTES): Remove rule.
27112 * README: Don't refer to NOTES.
27113 * manual/creature.texi: Don't include macros.texi.
27114 * manual/intro.texi (creature.texi): Remove comment referring to
27115 NOTES.
27116
40b601fb
JM
27117 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27118 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27119 * configure: Regenerated.
27120 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27121 LIBC_TRY_CC_OPTION.
27122 (libc_cv_as_i686): Likewise.
27123 (libc_cv_cc_avx): Likewise.
27124 (libc_cv_cc_sse2avx): Likewise.
27125 (libc_cv_cc_fma4): Likewise.
27126 (libc_cv_cc_novzeroupper): Likewise.
27127 * sysdeps/i386/configure: Regenerated.
27128
1a4ac776
JM
27129 [BZ #13883]
27130 * sysdeps/i386/fpu/s_cexp.S: Remove.
27131 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27132 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27133 * math/libm-test.inc (cexp_test): Add more tests.
27134 * sysdeps/i386/fpu/libm-test-ulps: Update.
27135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27136
a458e7fe
AM
271372012-03-21 Allan McRae <allan@archlinux.org>
27138
27139 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27140
0cb7efc5
JM
271412012-03-21 Joseph Myers <joseph@codesourcery.com>
27142
27143 [BZ #13871]
27144 * math/w_exp2.c: Do not include <float.h>.
27145 (o_threshold, u_threshold): Remove.
27146 (__exp2): Calculate result before checking finiteness and calling
27147 __kernel_standard.
27148 * math/w_exp2f.c: Likewise.
27149 * math/w_exp2l.c: Likewise.
27150 * math/libm-test.inc (exp2_test): Require overflow exception for
27151 1e6 input.
2460d3aa
JM
27152
27153 [BZ #3866]
27154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27155 range of signed 64-bit integers before using fistpll. Remove
27156 checks for whether integers fit in mantissa bits.
27157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27158 the range of signed 32-bit integers before using fistpl. Remove
27159 checks for whether integers fit in mantissa bits.
27160 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27161 (__ieee754_powl): Test for y outside the range of signed 64-bit
27162 integers before using fistpll. Reduce 64-bit values to 63-bit
27163 ones as needed.
27164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27165 divide-by-zero is raised for zero to large negative powers.
27166 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27167 (__ieee754_powl): Test for y outside the range of signed 64-bit
27168 integers before using fistpll. Reduce 64-bit values to 63-bit
27169 ones as needed.
27170 * math/libm-test.inc (pow_test): Add more tests.
27171
eb96ffb0
L
271722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27173
27174 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27175 <stdio-common/_itoa.h>.
27176 * debug/segfault.c: Likewise.
27177 * elf/dl-cache.c: Likewise.
27178 * elf/dl-minimal.c: Likewise.
27179 * elf/dl-misc.c: Likewise.
27180 * elf/dl-sysdep.c: Likewise.
27181 * elf/dl-version.c: Likewise.
27182 * elf/rtld.c: Likewise.
27183 * hurd/hurdsock.c: Likewise.
27184 * hurd/lookup-retry.c: Likewise.
27185 * malloc/malloc.c: Likewise.
27186 * malloc/mtrace.c: Likewise.
27187 * nscd/nscd_getgr_r.c: Likewise.
27188 * nscd/nscd_getpw_r.c: Likewise.
27189 * nscd/nscd_getserv_r.c: Likewise.
27190 * posix/getopt_init.c: Likewise.
27191 * posix/wordexp.c: Likewise.
27192 * stdio-common/_itoa.c: Likewise.
27193 * stdio-common/printf_fphex.c: Likewise.
27194 * stdio-common/vfprintf.c: Likewise.
27195 * string/_strerror.c: Likewise.
27196 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27197 * sysdeps/i386/i686/hp-timing.h: Likewise.
27198 * sysdeps/mach/_strerror.c: Likewise.
27199 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27200 * sysdeps/mach/hurd/sethostid.c: Likewise.
27201 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27202 * sysdeps/mach/xpg-strerror.c: Likewise.
27203 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27204 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27205 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27206 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27207 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27208 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27209 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27210 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27211 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27212 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27213 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27214 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27215 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27216 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27217 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27218 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27219 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27220 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27221 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27222 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27223 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27224
27225 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27226
27227 * stdio-common/_itoa.h: Moved to ...
27228 * sysdeps/generic/_itoa.h: Here.
27229
27230 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27231
27232 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27233 instead of "_itoa.h" and "_itowa.h".
27234 * stdio-common/vfprintf.: Likewise.
27235
d1af992d
L
272362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27237
27238 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27239 <bits/wordsize.h>.
27240 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27241 (__signbit): Likwise.
27242 (llrintf): Likwise.
27243 (llrint): Likwise.
27244
114883e0
L
272452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27246
27247 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27248 __WORDSIZE != 64.
27249
c135cc1b
JM
272502012-03-20 Joseph Myers <joseph@codesourcery.com>
27251
27252 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27253 OVERFLOW_EXCEPTION_OK.
27254 * math/libm-test.inc ("Philosophy"): Update comment about
27255 exception testing.
27256 (OVERFLOW_EXCEPTION): Define.
27257 (OVERFLOW_EXCEPTION_OK): Likewise.
27258 (INVALID_EXCEPTION_OK): Renumber.
27259 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27260 (IGNORE_ZERO_INF_SIGN): Likewise.
27261 (test_exceptions): Handle FE_OVERFLOW.
27262 (exp10_test): Expect overflow exceptions.
27263 (exp2_test): Likewise.
27264 (expm1_test): Likewise.
27265 (nextafter_test): Likewise.
27266 (pow_test): Likewise.
27267 (scalbn_test): Likewise.
27268 (scalbln_test): Likewise.
27269
95443d88
L
272702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27271
27272 * sysdeps/x86_64/bits/atomic.h
27273 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27274 64bit integer.
27275 (atomic_exchange_acq): Likewise.
27276 (__arch_exchange_and_add_body): Likewise.
27277 (__arch_add_body): Likewise.
27278 (atomic_add_negative): Likewise.
27279 (atomic_add_zero): Likewise.
27280
490df6c4
L
272812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27282
c2722551 27283 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27284 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27285
5e52b189
L
272862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27287
27288 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27289 Check __x86_64__ instead of __WORDSIZE.
27290
a9879d4c
L
272912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27292
27293 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27294
5df98260
DM
272952012-03-19 David S. Miller <davem@davemloft.net>
27296
e1497744
DM
27297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27298
5df98260
DM
27299 * sysdeps/sparc/fpu/fenv_private.h: New file.
27300 * sysdeps/sparc/fpu/math_private.h: Use it.
27301 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27302 Remove.
27303 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27304 (libc_feholdexcept_setroundl): Remove.
27305 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27306 Remove.
27307 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27308 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27309
b4c35121
L
273102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27311
27312 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27313 int64_t instead of long int.
27314 (INSERT_WORDS64): Likwise.
27315
56965fd7
L
273162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27317
27318 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27319 _Unwind_GetCFA return to _Unwind_Ptr first.
27320
83d1aec8
JM
273212012-03-19 Joseph Myers <joseph@codesourcery.com>
27322
1897ad44
JM
27323 [BZ #13629]
27324 * math/s_clog.c: Include <float.h>.
27325 (__clog): Scale large or subnormal inputs.
27326 * math/s_clogf.c: Likewise.
27327 * math/s_clogl.c: Likewise.
27328 * math/s_clog10.c: Include <float.h>.
27329 (M_LOG10_2): Define.
27330 (__clog10): Scale large or subnormal inputs.
27331 * math/s_clog10f.c: Likewise.
27332 * math/s_clog10l.c: Likewise.
27333 * math/libm-test.inc (clog_test): Add more tests.
27334 (clog10_test): Likewise.
27335 * sysdeps/i386/fpu/libm-test-ulps: Update.
27336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27337
7726d6a9
JM
27338 [BZ #11451]
27339 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27340 x and y.
27341 * math/libm-test.inc (atan2_test): Add another test.
27342
83d1aec8
JM
27343 * Makerules (common-objdir-compile): Remove.
27344 * sysdeps/unix/Makefile (config-generated): Do not add
27345 $(unix-generated) to variable.
27346 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27347 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27348 Remove rule.
27349 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27350 Likewise.
27351 [generic bits/local_lim.h] (before-compile): Do not append to
27352 variable.
27353 [generic bits/local_lim.h] (common-generated): Likewise.
27354 [generic sys/param.h] (before-compile): Do not append to variable.
27355 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27356 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27357 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27359 include.
27360 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27361 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27362 [generic sys/param.h] ($(addprefix
27363 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27364 [generic sys/param.h] (common-generated): Do not append to
27365 variable.
27366 [generic sys/param.h] (sysdep_headers): Likewise.
27367 [generic bits/errno.h] (before-compile): Do not append to
27368 variable.
27369 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27370 rule.
27371 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27372 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27373 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27374 [generic bits/errno.h] (common-generated): Do not append to
27375 variable.
27376 [generic bits/ioctls.h] (before-compile): Do not append to
27377 variable.
27378 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27379 rule.
27380 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27381 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27383 rule.
27384 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27385 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27386 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27387 [generic bits/ioctls.h] (common-generated): Do not append to
27388 variable.
27389 [generic sys/syscall.h] (syscall.h): Remove variable.
27390 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27391 rule.
27392 [generic sys/syscall.h] (before-compile): Do not append to
27393 variable.
27394 [generic sys/syscall.h] (common-generated): Likewise.
27395 * sysdeps/unix/errnos-tmpl.c: Remove file.
27396 * sysdeps/unix/errnos.awk: Likewise.
27397 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27398 * sysdeps/unix/ioctls.awk: Likewise.
27399 * sysdeps/unix/mk-local_lim.c: Likewise.
27400 * sysdeps/unix/snarf-ioctls: Likewise.
27401
4851a949
RH
274022012-03-19 Richard Henderson <rth@twiddle.net>
27403
bd37f2ee
RH
27404 * sysdeps/i386/fpu/fenv_private.h: New file.
27405 * sysdeps/i386/fpu/math_private.h: Use it.
27406 (math_opt_barrier, math_force_eval): Remove.
27407 (libc_feholdexcept_setround_53bit): Remove.
27408 (libc_feupdateenv_53bit): Remove.
27409 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27410 (math_opt_barrier, math_force_eval): Remove.
27411 (libc_feholdexcept): Remove.
27412 (libc_feholdexcept_setround): Remove.
27413 (libc_fetestexcept, libc_fesetenv): Remove.
27414 (libc_feupdateenv_test): Remove.
27415 (libc_feupdateenv, libc_feholdsetround): Remove.
27416 (libc_feresetround): Remove.
27417
d0adc922
RH
27418 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27419 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27420
0fe0f1f8
RH
27421 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27422 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27423 (libc_feupdateenv_testl): New.
27424 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27425 (libc_feupdateenv_testf): New.
27426 (libc_feupdateenv): Use libc_feupdateenv_test.
27427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27428 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27429
eb92c487
RH
27430 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27431 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27432 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27433 (libc_feresetround_noex): New.
27434 (libc_feresetround_noexf): New.
27435 (libc_feresetround_noexl): New.
27436 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27437 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27438 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27440 SET_RESTORE_ROUND.
27441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27442 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27443 (__cos): Likewise.
27444 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27445 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27446 SET_RESTORE_ROUND_NOEX.
27447 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27448 SET_RESTORE_ROUND_NOEXF.
27449 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27450 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27451 (libc_feholdsetroundf): New.
27452 (libc_feresetround, libc_feresetroundf): New.
27453
7d2e8012
RH
27454 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27455 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27456 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27457
b4dabbb4
RH
27458 * sysdeps/generic/math_private.h: Include <fenv.h>.
27459 (default_libc_feholdexcept): New.
27460 (default_libc_feholdexcept_setround): New.
27461 (default_libc_fesetenv, default_libc_feupdateenv): New.
27462 (libc_feholdexcept): Only define if undefined.
27463 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27464 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27465 (libc_feholdexcept_setroundl): Likewise.
27466 (libc_feholdexcept_setround_53bit): Likewise.
27467 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27468 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27469 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27470 (libc_feupdateenv_53bit): Likewise.
27471 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27472 (libc_feholdexcept): Convert from macro to inline function.
27473 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27474 (libc_fesetenv, libc_feupdateenv): Likewise.
27475
4851a949
RH
27476 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27477 not previously defined.
27478 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27479 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27480 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27481 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27482 * sysdeps/ieee754/flt-32/math_private.h: New file.
27483 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27484 math_private.h below SET_FLOAT_WORD.
27485 (__isnan, __isinf_ns, __finite): Remove.
27486 (__isnanf, __isinf_nsf, __finitef): Remove.
27487
e79d442e
AS
274882012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27489
27490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27491
90b80344
DM
274922012-03-17 David S. Miller <davem@davemloft.net>
27493
27494 [BZ #6471]
27495 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27496 for 2.16.
27497
edc21804
DM
274982012-03-16 David S. Miller <davem@davemloft.net>
27499
77e927af
DM
27500 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27501 warnings.
27502
374976dd
DM
27503 [BZ #6471]
27504 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27505 properly.
27506 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27507 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27508 sysdep_routines when subdir is sysvipc.
27509 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27510 __getshmlba helper.
27511
edc21804
DM
27512 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27513
473c3ef3
L
275142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27515
27516 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27517 [__LP64__].
27518
eb0f39b6
L
275192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27520
27521 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27522 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27523 (__lround): Renamed to ...
27524 (__llround): This. Replace long int with long long int.
27525 Define lround functions as aliases of llround functions.
27526 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27527
6b6cd74b
L
275282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27529
27530 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27531 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27532 adresses to uintptr_t. Replace "long int" and "unsigned long
27533 int" with "greg_t" on va_arg.
27534
f1a77b01
L
275352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27536
27537 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27538 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27539
27540 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27541 Move e_machine check before EI_CLASS check. Handle x32
27542 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27543 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27544 SKIP_EM_IA_64 and include
27545 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27546
27547 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27548 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27549 (add_system_dir): New macro.
27550
27551 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27552 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27553
11b90b9f
JM
275542012-03-16 Joseph Myers <joseph@codesourcery.com>
27555
c36e1d23
JM
27556 [BZ #2551]
27557 [BZ #2552]
27558 [BZ #2553]
27559 [BZ #2554]
27560 [BZ #2562]
27561 [BZ #2563]
27562 [BZ #2565]
27563 [BZ #2566]
27564 [BZ #2576]
27565 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27566 (y0): Likewise.
27567 * math/w_j0f.c (j0f): Likewise.
27568 (y0f): Likewise.
27569 * math/w_j0l.c (__j0l): Likewise.
27570 (__y0l): Likewise.
27571 * math/w_j1.c (j1): Likewise.
27572 (y1): Likewise.
27573 * math/w_j1f.c (j1f): Likewise.
27574 (y1f): Likewise.
27575 * math/w_j1l.c (__j1l): Likewise.
27576 (__y1l): Likewise.
27577 * math/w_jn.c (jn): Likewise.
27578 (yn): Likewise.
27579 * math/w_jnf.c (jnf): Likewise.
27580 (ynf): Likewise.
27581 * math/w_jnl.c (__jnl): Likewise.
27582 (__ynl): Likewise.
27583 * math/libm-test.inc (j0_test): Add more tests.
27584 (j1_test): Likewise.
27585 (jn_test): Likewise. Add trailing semicolon to existing test.
27586 (y0_test): Likewise.
27587 (y1_test): Likewise.
27588 * sysdeps/i386/fpu/libm-test-ulps: Update.
27589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27590
11b90b9f
JM
27591 [BZ #13851]
27592 [BZ #13854]
27593 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27594 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27595 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27596 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27597 (__tanl): Set errno for infinite argument.
27598 * sysdeps/i386/fpu/mptan.c: Remove.
27599 * sysdeps/i386/fpu/s_tan.S: Likewise.
27600 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27601 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27602 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27603 * math/libm-test.inc (tan_test): Add more tests and enable more
27604 tests for double and long double.
27605 * sysdeps/i386/fpu/libm-test-ulps: Update.
27606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27607
6a1bd2a1
JK
276082012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27609
27610 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27611 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27612
10a803e0
RM
276132012-03-16 Roland McGrath <roland@hack.frob.com>
27614
27615 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27616 * configure.in: Use it for both main tree and add-ons.
27617 * configure: Regenerated.
27618
f196c7f7
L
276192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27620
27621 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27622
8848d99d
JM
276232012-03-16 Joseph Myers <joseph@codesourcery.com>
27624
96cbe7f4
JM
27625 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27626 in comment.
27627
8848d99d
JM
27628 [BZ #13851]
27629 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27630 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27634 infinite argument.
27635 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27637 != 0 for prec == 2.
27638 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27639 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27640 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27641 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27642 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27643 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27644 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27645 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27646 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27647 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27648 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27649 * math/libm-test.inc (cos_test): Add more tests and enable more
27650 tests for long double.
27651 (sin_test): Likewise.
27652 (sincos_test): Likewise.
27653 * sysdeps/i386/fpu/libm-test-ulps: Update.
27654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27655
dd7f4703
DM
276562012-03-16 David S. Miller <davem@davemloft.net>
27657
27658 * sysdeps/sparc/fpu/math_private.h: New file.
27659
006f1daa
DM
276602012-03-15 David S. Miller <davem@davemloft.net>
27661
c0c83bc8
DM
27662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27663 file.
e6a62e18 27664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27666 file.
e6a62e18
DM
27667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27673 sysdep routines.
27674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27675
88cb87d9
DM
27676 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27677 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27678
006f1daa 27679 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27681 sparc-ifunc.h
006f1daa 27682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27684 Likewise.
27685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27686 Likewise.
006f1daa
DM
27687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27691 Likewise.
006f1daa
DM
27692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27697 Likewise.
27698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27699 Likewise.
006f1daa
DM
27700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27724
11e0098e
AS
277252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27726
27727 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27728 scaling.
27729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27730
e85b09d0
AJ
277312012-03-15 Andreas Jaeger <aj@suse.de>
27732
27733 [BZ #13852]
27734 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27735 ieee754/flt-32 implementation for sin, cos and sincos.
27736 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27737 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27738 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27739 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27740 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27741 ieee754/flt-32 implementation for tan.
27742
27743 * math/libm-test.inc (cos_test): Enable some large input tests for
27744 float as well
27745 (sin_test): Likewise.
27746 (sincos_test): Likewise.
27747 (tan_test): Add tests for large input.
27748
27749 * sysdeps/i386/fpu/libm-test-ulps: Update.
27750
81c64153
AJ
277512012-03-15 Andreas Jaeger <aj@suse.de>
27752
27753 [BZ #13658]
27754 * math/libm-test.inc (cos_test): Add more test cases.
27755 (sin_test): Likewise.
27756 (sincos_test): Likewise.
27757
7bbfa5c6
AJ
277582012-03-15 Andreas Jaeger <aj@suse.de>
27759
27760 [BZ #13837]
27761 * math/libm-test.inc (cos_test): Add a test case for large input
27762 value.
27763 (sin_test): Likewise.
27764 (sincos_test): Likewise.
27765
277662012-03-15 Andreas Jaeger <aj@suse.de>,
27767 Joseph Myers <joseph@codesourcery.com>
27768
27769 [BZ #13658]
0671f479 27770 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27771 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27772 * sysdeps/i386/fpu/branred.c: Likewise.
27773 * sysdeps/i386/fpu/dosincos.c: Likewise.
27774 * sysdeps/i386/fpu/mpa.c: Likewise.
27775 * sysdeps/i386/fpu/s_cos.S: Likewise.
27776 * sysdeps/i386/fpu/s_sin.S: Likewise.
27777 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27778 * sysdeps/i386/fpu/sincos32.c: Likewise.
27779
27780 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27781 Define.
27782 (libc_feupdateenv_53bit): Define.
27783 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27784 Define.
27785 (libc_feupdateenv_53bit): Define.
27786
27787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27788 53 bit (without extend i386 double precision).
27789
27790 * math/libm-test.inc (sincos_test): Add tests for large input.
27791 (sin): Likewise.
27792 (cos): Likewise.
27793
27794 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27795
9cad04ea
AS
277962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27797
27798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27799
f7062b9a
DM
278002012-03-15 David S. Miller <davem@davemloft.net>
27801
27802 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27803 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27804 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27805 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27818 file.
f7062b9a 27819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27821 file.
f7062b9a 27822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27824 file.
f7062b9a 27825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27827 file.
f7062b9a
DM
27828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27830 fmin/fmax sysdep routines.
27831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27832
7bd951ff
DM
278332012-03-14 David S. Miller <davem@davemloft.net>
27834
559398ab
DM
27835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27864 routines.
27865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27866 file.
559398ab 27867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27869 file.
559398ab 27870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27872 file.
559398ab 27873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27875 file.
559398ab 27876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27878 file.
559398ab 27879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27881 file.
27882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27883 file.
27884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27885 file.
27886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27887 file.
27888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27889 New file.
27890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27891 file.
27892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27893 file.
559398ab 27894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27896 file.
559398ab 27897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27899 file.
559398ab 27900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27902 file.
559398ab 27903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27905 VIS3 routines.
559398ab
DM
27906
27907 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27908 New file.
27909
5a1c1e32
DM
27910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27911
eae47a36
DM
27912 * sysdeps/sparc/configure.in: New file.
27913 * sysdeps/sparc/configure: Generate.
27914 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27915 * configure: Regenerate.
27916 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27917 * config.make.in (have-as-vis3): New.
27918 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27919 available use -Av9d instead of -Av9a.
27920 * sysdeps/sparc/sparc64/Makefile: Likewise.
27921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27923 New file.
27924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27925 file.
27926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27927 New file.
27928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27929 file.
eae47a36
DM
27930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27935
c0c83bc8
DM
27936 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27937 fzeros/fnegs to load 0x80000000 into a float register instead of
27938 using the stack.
7bd951ff
DM
27939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27940
bd951ccb
JM
279412012-03-14 Joseph Myers <joseph@codesourcery.com>
27942
27943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27944 bits/syscall.h.
27945 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27946 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27947 ($(inst_includedir)/bits/syscall.h): Remove rule.
27948 ($(objpfx)bits/syscall.d): Include instead of
27949 $(objpfx)syscall-list.d.
27950 (generated): Change syscall-list.h and syscall-list.d to
27951 bits/syscall.h and bits/syscall.d.
27952
bb4e6db2
RM
279532012-03-14 Roland McGrath <roland@hack.frob.com>
27954
27955 [BZ #13846]
27956 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27957
aa4a2ae1
JM
279582012-03-14 Joseph Myers <joseph@codesourcery.com>
27959
e456826d
JM
27960 [BZ #13841]
27961 * math/s_csqrt.c: Include <float.h>.
27962 (__csqrt): Scale large or subnormal inputs.
27963 * math/s_csqrtf.c: Likewise.
27964 * math/s_csqrtl.c: Likewise.
27965 * math/libm-test.inc (csqrt_test): Add more tests.
27966 * sysdeps/i386/fpu/libm-test-ulps: Update.
27967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27968
aa4a2ae1
JM
27969 [BZ #13840]
27970 * math/libm-test.inc (hypot_test): Add more tests.
27971
7c10fd35
DM
279722012-03-13 David S. Miller <davem@davemloft.net>
27973
27974 [BZ #13840]
27975 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27976 double-precision for the calculation instead of scaling.
27977
f453b98b
JM
279782012-03-13 Joseph Myers <joseph@codesourcery.com>
27979
27980 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27981 manipulate bits before adding and subtracting TWO52[sx].
27982 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27983 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27984 Likewise.
27985 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27986
09a3453f
DM
279872012-03-13 David S. Miller <davem@davemloft.net>
27988
8e59da90
DM
27989 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27990 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27992 rtld-global-offsets.h
27993 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27994
2a8ab7f2
DM
27995 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27996 large parameters.
27997
10f62770
DM
27998 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27999
5f0bdb18
DM
28000 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28001 'err' in the ifdef scope in which it is actually used.
28002
09a3453f
DM
28003 * nss/nss_db/db-init.c: Include string.h
28004
b4b2eb5e
DM
280052012-03-12 David S. Miller <davem@davemloft.net>
28006
98bb2f1c
DM
28007 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28008 masking out of the most significant byte of random value used.
28009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28010 Fix coding style in previous change.
28011
b4b2eb5e
DM
28012 * sysdeps/unix/sysv/linux/kernel-features.h
28013 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28014 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28015 expression.
28016 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28017 later.
28018
6e226b09
DM
280192012-03-11 David S. Miller <davem@davemloft.net>
28020
a1bcbd40
DM
28021 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28022 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28024 for 'resultvar' otherwise things get truncated on 64-bit.
28025
cb9d6174
DM
28026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28027 Fix masking out of the most significant byte of random value used.
28028
6e226b09
DM
28029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28030
058c132d
AS
280312012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28032
28033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28034
2d2cd515
DM
280352012-03-09 David S. Miller <davem@davemloft.net>
28036
28037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28038 variables with appropriate CPP guards.
28039 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28040 frame pointer, not the stack pointer. Correct layout comments. Fix test
28041 on resulting framesize and the management of the outregs buffer for pltexit.
28042 Preserve floating point return values across _dl_call_pltexit call.
28043 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28044 framesize and the management of the outregs buffer for pltexit.
28045 Preserve floating point return values across _dl_call_pltexit
28046 call.
28047 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28048 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28049 (print_exit): Fix format string for return register value.
28050
9a07f9d0
JM
280512012-03-10 Joseph Myers <joseph@codesourcery.com>
28052
28053 * sunrpc/Makefile (others): Add rpcgen.
28054 ($(objpfx)rpcgen): Remove special build rule and dependency on
28055 libc.
28056 * sunrpc/rpcgen.c: New file.
28057
547b5e30
PE
280582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28059
c524201a
PE
28060 [BZ #13673]
28061 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28062 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28063 * sysdeps/i386/crti.S: Likewise.
28064 * sysdeps/i386/crtn.S: Likewise.
28065 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28066 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28067 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28068 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28069 * sysdeps/sh/crti.S: Likewise.
28070 * sysdeps/sh/crtn.S: Likewise.
28071 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28072
7b6235f2
PE
28073 [BZ #13673]
28074 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28075 with URL.
28076 * locale/programs/locfile-kw.gperf: Likewise.
28077 * locale/programs/charmap-kw.h: Regenerated.
28078 * locale/programs/locfile-kw.h: Likewise.
28079
547b5e30
PE
28080 [BZ #13673]
28081 * intl/plural.y: Replace FSF snail mail address with URL.
28082 * intl/plural.c: Regenerated.
28083
5f0a5dae
RH
280842012-03-09 Richard Henderson <rth@twiddle.net>
28085
28086 * include/math_private.h: Remove file.
28087 * math/math_private.h: Move file ...
28088 * sysdeps/generic/math_private.h: ... here.
28089
b8c03620
RH
28090 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28091 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28092 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28093
4e234f5d 28094 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28095 and <math_private.h>.
28096 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28097 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28098 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28099 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28100 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28101 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28102 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28126 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28128 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28129 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28132 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28136 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28137 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28139 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28141 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28142 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28143 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28145 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28146 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28147 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28162 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28176 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28178 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28183 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28184 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28187 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28189 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28190 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28191 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28193 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28196 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28197 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28198 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28199 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28200 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28201 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28202 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28203 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28204 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28206 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28207 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28210 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28215 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28217 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28219 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28220 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28221 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28222 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28223 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28224 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28225 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28226 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28227 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28229 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28230 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28231 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28234 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28236 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28237 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28238 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28239 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28240 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28242 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28243 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28244 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28245 * sysdeps/ieee754/k_standard.c: Likewise.
28246 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28247 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28248 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28249 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28250 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28251 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28252 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28253 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28258 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28259 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28260 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28261 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28263 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28264 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28265 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28362 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28373 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28374 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28376 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28378 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28382 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28386 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28389 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28390 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28391 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28392 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28395 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28400 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28401 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28403 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28406 * sysdeps/ieee754/s_lib_version.c: Likewise.
28407 * sysdeps/ieee754/s_matherr.c: Likewise.
28408 * sysdeps/ieee754/s_signgam.c: Likewise.
28409 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28410 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28411 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28412 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28413 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28414 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28415 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28416 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28417 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28418 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28419 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28420 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28423 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28426 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28430
1991fa03
JM
284312012-03-09 Joseph Myers <joseph@codesourcery.com>
28432
28433 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28434 * sunrpc/rpc_main.c: Likewise.
28435 * sunrpc/rpc_svcout.c: Likewise.
28436
60d6f5a6
DM
284372012-03-09 David S. Miller <davem@davemloft.net>
28438
28439 * include/math_private.h: New file.
28440
4962050e
JM
284412012-03-09 Joseph Myers <joseph@codesourcery.com>
28442
02a6f887
JM
28443 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28444 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28445 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28446 from <bits/socket_type.h>.
28447 (enum __socket_type): Don't define here.
28448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28450 bits/socket_type.h.
28451
c6e013c1
JM
28452 [BZ #13566]
28453 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28454 checking __USE_GNU.
28455
4962050e
JM
28456 * Makerules ($(inst_includedir)/%.h): New rule.
28457 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28458 (install-others): Remove variable setting.
28459 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28460
38842f45
RH
284612012-03-08 Richard Henderson <rth@twiddle.net>
28462
67bb6da6
RH
28463 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28464 from macro to inline function; merge with the
28465 !__LIBC_INTERNAL_MATH_INLINES version.
28466 (__ieee754_sqrtf): Likewise.
28467
15194b4b
RH
28468 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28469 to inline function.
28470 (__rintf, __floor, __floorf): Likewise.
28471
64e21ede
RH
28472 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28473 macro to inline function.
28474 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28475
38842f45
RH
28476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28477 not <math/math_private.h>.
28478
c64bf5fe
DM
284792012-03-08 David S. Miller <davem@davemloft.net>
28480
28481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28482 copyright year.
28483 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28484
82d86f28
TS
284852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28486
28487 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28488 normalization.
28489 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28490 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28491
aea5d727
UD
284922012-03-08 Ulrich Drepper <drepper@gmail.com>
28493
28494 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28495 be defined individually, they must be defined as a block. Define
28496 S for printing a string instead of hidint the different by using a
28497 macro for adding the 'l'.
28498 * stdio-common/tst-fphex-wide.c: Adjust.
28499
70bca0a3
MP
285002012-03-07 Marek Polacek <polacek@redhat.com>
28501
28502 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28503
65b81130
MP
285042012-03-08 Marek Polacek <polacek@redhat.com>
28505
28506 [BZ #13806]
28507 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28508 * stdio-common/tst-fphex.c: Define a few macros to make the
28509 test reusable. Use them.
28510 * stdio-common/tst-fphex-wide.c: New file.
28511
07037eeb
JM
285122012-03-08 Joseph Myers <joseph@codesourcery.com>
28513
a7a93d50
JM
28514 [BZ #6911]
28515 * manual/macros.texi (gnusystems): New macro.
28516 (nongnusystems): Likewise.
28517 (gnulinuxhurdsystems): Likewise.
28518 (gnuhurdsystems): Likewise..
28519 (gnulinuxsystems): Likewise.
28520 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28521 variants of the GNU system, not "GNU system".
28522 * manual/conf.texi: Likewise.
28523 * manual/errno.texi: Likewise. Update example of errno macro
28524 expansion.
28525 * manual/filesys.texi: Likewise.
28526 (getumask): Document as specific to GNU/Hurd.
28527 * manual/install.texi: Likewise. Reword some references to
28528 GNU/Linux.
28529 * manual/intro.texi: Likewise.
28530 * manual/io.texi: Likewise.
28531 (File Name Portability): Detail which constraints are inapplicable
28532 to all GNU systems and which are only inapplicable to GNU/Hurd.
28533 * manual/job.texi: Likewise.
28534 * manual/llio.texi: Likewise.
28535 (O_NOCTTY): Document as present on GNU/Linux.
28536 * manual/maint.texi: Likewise.
28537 * manual/memory.texi: Likewise.
28538 * manual/pattern.texi: Likewise.
28539 * manual/pipe.texi: Likewise.
28540 * manual/process.texi: Likewise.
28541 * manual/resource.texi: Likewise.
28542 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28543 child on GNU/Hurd.
28544 * manual/setjmp.texi: Likewise.
28545 * manual/signal.texi: Likewise.
28546 * manual/startup.texi: Likewise.
28547 * manual/stdio.texi: Likewise.
28548 * manual/terminal.texi: Likewise.
28549 (ONLCR): Document as POSIX.
28550 (OXTABS): Document availability on GNU/Linux as XTABS.
28551 (ONOEOT): Document availability separately from other bits.
28552 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28553 * manual/time.texi: Likewise.
28554 * manual/users.texi: Likewise.
28555 * INSTALL: Regenerated.
28556 * sysdeps/gnu/errlist.c: Regenerated.
28557
07037eeb
JM
28558 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28559 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28560 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28561 puts.
28562 * configure: Regenerated.
28563
d1d3431a
JM
285642012-03-07 Joseph Myers <joseph@codesourcery.com>
28565
af6a1e37
JM
28566 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28567 default includes instead of AC_HEADER_CHECK.
28568 * sysdeps/i386/configure: Regenerated.
28569
d1d3431a
JM
28570 [BZ #10716]
28571 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28572 * math/s_cacoshf.c (__cacoshf): Likewise.
28573 * math/s_cacoshl.c (__cacoshl): Likewise.
28574 * math/s_casinh.c (__casinh): Set signs of result from argument.
28575 * math/s_casinhf.c (__casinhf): Likewise.
28576 * math/s_casinhl.c (__casinhl): Likewise.
28577 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28578 (casinh_test): Add more tests.
28579 * sysdeps/i386/fpu/libm-test-ulps: Update.
28580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28581
482ff4da
UD
285822012-03-07 Ulrich Drepper <drepper@gmail.com>
28583
872fda05
UD
28584 * po/zh_TW.po: Update from translation team.
28585
a4300c7a
UD
28586 * login/Makefile (distribute): Remove variable.
28587 * catgets/Makefile: Likewise.
28588 * mach/Makefile: Likewise.
28589 * malloc/Makefile: Likewise.
28590 * misc/Makefile: Likewise.
28591 * iconv/Makefile: Likewise.
28592 * nscd/Makefile: Likewise.
28593 * hurd/Makefile: Likewise.
28594 * manual/Makefile: Likewise.
28595 * locale/Makefile: Likewise.
28596 * intl/Makefile: Likewise.
28597 * conform/Makefile: Likewise.
28598 * nss/Makefile: Likewise.
28599 * time/Makefile: Likewise.
28600 * soft-fp/Makefile: Likewise.
28601 * dirent/Makefile: Likewise.
28602 * gmon/Makefile: Likewise.
28603 * po/Makefile: Likewise.
28604 * rt/Makefile: Likewise.
28605 * socket/Makefile: Likewise.
28606 * math/Makefile: Likewise.
28607 * signal/Makefile: Likewise.
28608 * debug/Makefile: Likewise.
28609 * elf/Makefile: Likewise.
28610 * timezone/Makefile: Likewise.
28611 * stdlib/Makefile: Likewise.
28612 * iconvdata/Makefile: Likewise.
28613 * sunrpc/Makefile: Likewise.
28614 * io/Makefile: Likewise.
28615 * argp/Makefile: Likewise.
28616 * inet/Makefile: Likewise.
28617 * hesiod/Makefile: Likewise.
28618 * grp/Makefile: Likewise.
28619 * csu/Makefile: Likewise.
28620 * wctype/Makefile: Likewise.
28621 * crypt/Makefile: Likewise.
28622 * libio/Makefile: Likewise.
28623 * string/Makefile: Likewise.
28624 * nis/Makefile: Likewise.
28625 * resolv/Makefile: Likewise.
28626 * stdio-common/Makefile: Likewise.
28627 * wcsmbs/Makefile: Likewise.
28628 * dlfcn/Makefile: Likewise.
28629 * posix/Makefile: Likewise.
28630
3b7c4e74 28631 [BZ #6959]
482ff4da
UD
28632 * timezone/Makefile: Don't install timezone files, just the programs
28633 and scripts.
28634
f72ed77d
UD
286352012-03-06 Ulrich Drepper <drepper@gmail.com>
28636
a000466f
UD
28637 * nss/databases.def: Add missing gshadow entry.
28638
f72ed77d
UD
28639 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28640
a53b7a4e
MP
286412012-03-06 Marek Polacek <polacek@redhat.com>
28642
28643 [BZ #13726]
28644 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28645 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28646 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28647 * stdio-common/tst-long-dbl-fphex.c: New file.
28648
e9258400
DM
286492012-03-06 David S. Miller <davem@davemloft.net>
28650
28651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28652 (set_obp_int): New function.
28653 (get_obp_int): New function.
28654 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28656 Avoid unused variable warnings on 'val' and use builtin_expect.
28657 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28658 __builtin_expect.
e9258400
DM
28659 (INLINE_CLONE_SYSCALL): Likewise.
28660
3bd2c723
DM
286612012-03-05 David S. Miller <davem@davemloft.net>
28662
28663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28664
bbb78d03
AS
286652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28666
884c5db4
AS
28667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28668
bbb78d03
AS
28669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28670 only for |x| >= 40.
28671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28672
1c9f702a 286732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28674
28675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28676 Replace gettimeofday with __vdso_gettimeofday.
28677
7be16f82
RM
28678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28679 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28680 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28681
28682 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28683 time with __vdso_time.
28684
ed58a00f
JM
286852012-03-05 Joseph Myers <joseph@codesourcery.com>
28686
28687 * manual/lang.texi (size_t): Note types to which size_t may be
28688 equivalent with the GNU C Library, but do not describe when
28689 differences between them are significant.
28690
30ee4ced
AJ
286912012-03-05 Andreas Jaeger <aj@suse.de>
28692
28693 * sysdeps/i386/fpu/libm-test-ulps: Update.
28694
b7cd39e8
JM
286952012-03-05 Joseph Myers <joseph@codesourcery.com>
28696
28697 [BZ #3976]
28698 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28699 (__ieee754_pow): Save and restore rounding mode and use
28700 round-to-nearest for main computations.
28701 * math/libm-test.inc (pow_test_tonearest): New function.
28702 (pow_test_towardzero): Likewise.
28703 (pow_test_downward): Likewise.
28704 (pow_test_upward): Likewise.
28705 (main): Call the new functions.
28706 * sysdeps/i386/fpu/libm-test-ulps: Update.
28707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28708
28709 [BZ #3976]
28710 * math/libm-test.inc (cosh_test_tonearest): New function.
28711 (cosh_test_towardzero): Likewise.
28712 (cosh_test_downward): Likewise.
28713 (cosh_test_upward): Likewise.
28714 (sinh_test_tonearest): Likewise.
28715 (sinh_test_towardzero): Likewise.
28716 (sinh_test_downward): Likewise.
28717 (sinh_test_upward): Likewise.
28718 (main): Call the new functions.
28719 * sysdeps/i386/fpu/libm-test-ulps: Update.
28720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28721
6c6a98c9
TV
287222012-03-05 Tom de Vries <tom@codesourcery.com>
28723
28724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28725 default stack guard is set in last bytes.
28726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28727
21bb2d2e 287282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28729
21bb2d2e 28730 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28731
21bb2d2e
AJ
28732 [BZ #13656]
28733 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28734 possibly allocate from heap instead of stack.
28735 * stdio-common/bug-vfprintf-nargs.c: New file.
28736 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28737
c6922934
AS
287382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28739
28740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28741
bc957d53
MP
287422012-03-03 Marek Polacek <polacek@redhat.com>
28743
28744 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28745 * math/math_private.h: Likewise.
28746 * stdlib/tst-strtod.c: Likewise.
28747 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28748 * sysdeps/x86_64/bits/atomic.h: Likewise.
28749
6358490d
DM
287502012-03-02 David S. Miller <davem@davemloft.net>
28751
28752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28756 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28757 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28758 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28759 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28760
01ae168d
RM
287612012-03-02 Roland McGrath <roland@hack.frob.com>
28762
d9a17c07
RM
28763 [BZ #13792]
28764 * manual/examples/README: New file, says the example source files
28765 can be used under GPL>=2.
28766 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28767 line containing just "*/".
28768 * manual/examples/add.c: Add copyright header (GPL>=2).
28769 * manual/examples/argp-ex1.c: Likewise.
28770 * manual/examples/argp-ex2.c: Likewise.
28771 * manual/examples/argp-ex3.c: Likewise.
28772 * manual/examples/argp-ex4.c: Likewise.
28773 * manual/examples/atexit.c: Likewise.
28774 * manual/examples/db.c: Likewise.
28775 * manual/examples/dir.c: Likewise.
28776 * manual/examples/dir2.c: Likewise.
28777 * manual/examples/execinfo.c: Likewise.
28778 * manual/examples/filecli.c: Likewise.
28779 * manual/examples/filesrv.c: Likewise.
28780 * manual/examples/fmtmsgexpl.c: Likewise.
28781 * manual/examples/genpass.c: Likewise.
28782 * manual/examples/inetcli.c: Likewise.
28783 * manual/examples/inetsrv.c: Likewise.
28784 * manual/examples/isockad.c: Likewise.
28785 * manual/examples/longopt.c: Likewise.
28786 * manual/examples/memopen.c: Likewise.
28787 * manual/examples/memstrm.c: Likewise.
28788 * manual/examples/mkfsock.c: Likewise.
28789 * manual/examples/mkisock.c: Likewise.
28790 * manual/examples/mygetpass.c: Likewise.
28791 * manual/examples/pipe.c: Likewise.
28792 * manual/examples/popen.c: Likewise.
28793 * manual/examples/rprintf.c: Likewise.
28794 * manual/examples/search.c: Likewise.
28795 * manual/examples/select.c: Likewise.
28796 * manual/examples/setjmp.c: Likewise.
28797 * manual/examples/sigh1.c: Likewise.
28798 * manual/examples/sigusr.c: Likewise.
28799 * manual/examples/stpcpy.c: Likewise.
28800 * manual/examples/strdupa.c: Likewise.
28801 * manual/examples/strftim.c: Likewise.
28802 * manual/examples/strncat.c: Likewise.
28803 * manual/examples/subopt.c: Likewise.
28804 * manual/examples/swapcontext.c: Likewise.
28805 * manual/examples/termios.c: Likewise.
28806 * manual/examples/testopt.c: Likewise.
28807 * manual/examples/testpass.c: Likewise.
28808 * manual/examples/timeval_subtract.c: Likewise.
28809
01ae168d
RM
28810 [BZ #13792]
28811 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28812 function to ...
28813 * manual/timeval_subtract.c.texi: ... here, new file.
28814
49efa33d
DM
288152012-03-02 David S. Miller <davem@davemloft.net>
28816
28817 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28818
28afd92d
JM
288192012-03-02 Joseph Myers <joseph@codesourcery.com>
28820
804360ed
JM
28821 [BZ #3976]
28822 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28823 (__sin): Save and restore rounding mode and use round-to-nearest
28824 for all computations.
28825 (__cos): Save and restore rounding mode and use round-to-nearest
28826 for all computations.
28827 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28828 <fenv.h>.
28829 (tan): Save and restore rounding mode and use round-to-nearest for
28830 all computations.
28831 * math/libm-test.inc (cos_test_tonearest): New function.
28832 (cos_test_towardzero): Likewise.
28833 (cos_test_downward): Likewise.
28834 (cos_test_upward): Likewise.
28835 (sin_test_tonearest): Likewise.
28836 (sin_test_towardzero): Likewise.
28837 (sin_test_downward): Likewise.
28838 (sin_test_upward): Likewise.
28839 (tan_test_tonearest): Likewise.
28840 (tan_test_towardzero): Likewise.
28841 (tan_test_downward): Likewise.
28842 (tan_test_upward): Likewise.
28843 (main): Call the new functions.
28844 * sysdeps/i386/fpu/libm-test-ulps: Update.
28845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28846
a6d06d7b
JM
28847 [BZ #10135]
28848 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28849 small n, then large n, before computing and testing k+n.
28850 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28852 Likewise.
28853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28854 Likewise.
28855 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28856 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28863 * math/libm-test.inc (scalbn_test): Add more tests.
28864 (scalbln_test): Likewise.
28865
07e12bb3
JM
28866 * manual/filesys.texi (mode_t): Describe constraints on size and
28867 signedness, not exact equivalence to a particular type.
28868 (ino_t): Likewise.
28869 (ino64_t): Likewise.
28870 (dev_t): Likewise.
28871 (nlink_t): Likewise.
28872 (blkcnt_t): Likewise.
28873 (blkcnt64_t): Likewise.
28874 * manual/llio.texi (off_t): Likewise.
28875
28afd92d
JM
28876 [BZ #3976]
28877 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28878 (__ieee754_exp): Save and restore rounding mode and use
28879 round-to-nearest for all computations.
28880 * math/libm-test.inc (exp_test_tonearest): New function.
28881 (exp_test_towardzero): Likewise.
28882 (exp_test_downward): Likewise.
28883 (exp_test_upward): Likewise.
28884 (main): Call the new functions.
28885 * sysdeps/i386/fpu/libm-test-ulps: Update.
28886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28887
b1eeb65d
CD
288882012-03-01 Chris Demetriou <cgd@google.com>
28889
28890 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28891 have predictable order.
28892
53362a4b
DM
288932012-03-01 David S. Miller <davem@davemloft.net>
28894
3c969083
DM
28895 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28896
759707de
DM
28897 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28898 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28899 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28900 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28901
dfdb8ff2
DM
28902 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28903 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28904 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28906 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28907 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28908 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28909 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28910 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28911
ead89f96
DM
28912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28913
7f66bd07
DM
28914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28915 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28917
53362a4b
DM
28918 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28920 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28925 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28926 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28934 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28935 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28936 * sysdeps/sparc/elf/configure: Regenerated.
28937
7b1902cb
JM
289382012-03-01 Joseph Myers <joseph@codesourcery.com>
28939
bec039bc
JM
28940 * configure.in (AS, LD): Require binutils 2.20 or later.
28941 * configure: Regenerated.
28942 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28943 as required minimum version.
28944 * INSTALL: Regenerated.
28945
7b1902cb
JM
28946 [BZ #2541]
28947 [BZ #4108]
28948 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28949 before squaring exponent.
28950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28951 bottom long double and 27 bits of top long double before squaring
28952 exponent.
28953 * math/libm-test.inc (erfc_test): Add more tests.
28954 * sysdeps/i386/fpu/libm-test-ulps: Update.
28955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28957
f775c276
KT
289582012-03-01 Kai Tietz <ktietz@redhat.com>
28959
28960 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28961 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28962 containing bit-fields.
28963 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28964 * soft-fp/single.h (_FP_UNION_S): Likewise.
28965 * soft-fp/double.h (_FP_UNION_D): Likewise.
28966
5b8a4d4a
JM
289672012-02-29 Joseph Myers <joseph@codesourcery.com>
28968
0bab47b6
JM
28969 [BZ #13786]
28970 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28971 not include ../strcmp.S.
28972 [USE_AS_STRNCASECMP_L]: Likewise.
28973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28974 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28975 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28976 (__strncasecmp_l_ia32): Define as alias to
28977 __strncasecmp_l_nonascii.
28978
0fcad3e2
JM
28979 [BZ #5794]
28980 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28981 * sysdeps/i386/fpu/libm-test-ulps: Update.
28982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28983
5b8a4d4a
JM
28984 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28986
8fdceb2e
JL
289872012-02-29 Jeff Law <law@redhat.com>
28988
28989 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28990 out of bounds read.
28991
1f393a11
MP
289922012-02-29 Marek Polacek <polacek@redhat.com>
28993
28994 [BZ #13706]
28995 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28996 * elf/Makefile: Add rules to run tst-unused-dep.out.
28997
8847f037
DM
289982012-02-28 David S. Miller <davem@davemloft.net>
28999
29000 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29001 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29006
169d7f11
JM
290072012-02-29 Joseph Myers <joseph@codesourcery.com>
29008
29009 * math/libm-test.inc (llround_test): Move one test from
29010 lround_test. Use TEST_f_L in moved test.
29011 (lround_test): Move misplaced test to llround_test. Add testcase
29012 from bug 2561.
29013
39adf059
UD
290142012-02-28 Ulrich Drepper <drepper@gmail.com>
29015
29016 * sysdeps/x86_64/fpu/e_expf.S: New file.
29017 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29018
71b5d1c5
SB
290192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29020
29021 [BZ #13637]
29022 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29023 of remain_len that may cause incomplete multi-byte character and
29024 false match.
29025 * posix/bug-regex33.c: New file.
29026 * posix/Makefile (tests): Add bug-regex33.
29027
1f77f049
JM
290282012-02-28 Joseph Myers <joseph@codesourcery.com>
29029
29030 * manual/macros.texi: New file.
29031 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29032 * manual/libc.texinfo: Include macros.texi.
29033 * manual/creatute.texi: Likewise.
29034 * manual/install.texi: Likewise.
29035 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29036 @glibcadj{} in references to the GNU C Library.
29037 * manual/charset.texi: Likewise.
29038 * manual/conf.texi: Likewise.
29039 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29040 when not using those macros.
29041 * manual/creature.texi: Likewise.
29042 * manual/crypt.texi: Likewise.
29043 * manual/errno.texi: Likewise.
29044 * manual/filesys.texi: Likewise.
29045 * manual/header.texi: Likewise.
29046 * manual/install.texi: Likewise.
29047 * manual/intro.texi: Likewise.
29048 * manual/io.texi: Likewise.
29049 * manual/job.texi: Likewise.
29050 * manual/lang.texi: Likewise.
29051 * manual/libc.texiinfo: Likewise.
29052 * manual/llio.texi: Likewise.
29053 * manual/locale.texi: Likewise.
29054 * manual/maint.texi: Likewise.
29055 * manual/math.texi: Likewise.
29056 * manual/memory.texi: Likewise.
29057 * manual/message.texi: Likewise.
29058 * manual/nss.texi: Likewise.
29059 * manual/pattern.texi: Likewise.
29060 * manual/process.texi: Likewise.
29061 * manual/resource.texi: Likewise.
29062 * manual/search.texi: Likewise.
29063 * manual/setjmp.texi: Likewise.
29064 * manual/signal.texi: Likewise.
29065 * manual/socket.texi: Likewise.
29066 * manual/startup.texi: Likewise.
29067 * manual/stdio.texi: Likewise.
29068 * manual/string.texi: Likewise.
29069 * manual/sysinfo.texi: Likewise.
29070 * manual/syslog.texi: Likewise.
29071 * manual/terminal.texi: Likewise.
29072 * manual/time.texi: Likewise.
29073 * manual/users.texi: Likewise.
29074 * INSTALL: Regenerated.
29075 * NOTES: Regenerated.
d40c5d54 29076 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29077
450bf206
AS
290782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29079
29080 * include/dirent.h: Include <dirstream.h> before
29081 <dirent/dirent.h>.
29082
741a235b
DM
290832012-02-28 David S. Miller <davem@davemloft.net>
29084
29085 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29086 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29087 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29088 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29089
d6b5aa58
DM
290902012-02-27 David S. Miller <davem@davemloft.net>
29091
1aff59a3
DM
29092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29094 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29095 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29096
d6b5aa58
DM
29097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29098 frame pointer instead of stack pointer relative arg slot.
29099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29102
433f48bf
CD
291032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29104
29105 [BZ #3992]
29106 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29107
d674b76d
DM
291082012-02-27 David S. Miller <davem@davemloft.net>
29109
29110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29116 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29117 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29118
0e7727f7
JM
291192012-02-27 Joseph Myers <joseph@codesourcery.com>
29120
29121 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29122 later. Allow versions 5-9.
43be4ca2 29123 * configure: Regenerated.
0e7727f7
JM
29124 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29125 required minimum version and 4.6 as recommended version. Do not
29126 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29127 * INSTALL: Regenerated.
0e7727f7 29128
a78bc654
DM
291292012-02-27 David S. Miller <davem@davemloft.net>
29130
428d5830
DM
29131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29137 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29138 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29139
a78bc654
DM
29140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29141 manipulate bits before adding and subtracting TWO112[sx].
29142 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29143
4579f81c
RM
291442012-02-27 Roland McGrath <roland@hack.frob.com>
29145
36c8acb4
RM
29146 [BZ #13775]
29147 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29148 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29149 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29150 being in POSIX, because they are in 1003.1-2008.
29151
84ad622b
RM
29152 * rt/tst-aio.c: Include <fcntl.h>.
29153 * rt/tst-aio7.c: Likewise.
29154 * rt/tst-aio64.c: Likewise.
29155
4579f81c
RM
29156 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29157
abd923db
JM
291582012-02-27 Joseph Myers <joseph@codesourcery.com>
29159
29160 * manual/install.texi (--with-headers): Describe headers as
29161 interface headers, not private headers.
29162 (Specific advice for GNU/Linux systems): Describe use of headers
29163 from "make headers_install", not private headers from older
29164 kernels.
43be4ca2 29165 * INSTALL: Regenerated.
abd923db
JM
29166 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29167 Change to 2.6.19.
29168 * sysdeps/unix/sysv/linux/configure: Regenerated.
29169
6664049b
JM
29170 * manual/llio.texi (fclean): Remove documentation.
29171
bb8b6697
JM
29172 * manual/Makefile (libc-texi-generated): New variable. Include
29173 version.texi.
29174 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29175 $(libc-texi-generated), not duplicated list of files.
29176 (version.texi, stamp-version): New rules.
29177 (realclean): Remove $(libc-texi-generated), not individual files
29178 from that list. Do not remove dir-add.texinfo.
29179 * manual/libc.texinfo: Comment out uses of edition numbers and
29180 references to printed manual. Remove last-updated dates.
29181 (EDITION): Comment out.
29182 (ISBN): Likewise.
29183 (VERSION, UPDATED): Remove.
29184 (version.texi): Include.
29185
12e5c3b9
AS
291862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29187
29188 * sysdeps/posix/spawni.c: Include <signal.h>.
29189 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29190 * sysdeps/pthread/aio_fsync.c: Likewise.
29191
4efeffc1 291922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29193
ba63ba08
UD
29194 * conform/Makefile (tests): Run only when not cross-compiling and
29195 when fast-check is not defined.
29196
d94a4670
UD
29197 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29198 * conform/data/limits.h-data: Fixes for POSIX2008.
29199 * conform/run-conformtest.sh: Run all tests.
29200 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29201 headers.
29202 * include/bits/dlfcn.h: Likewise.
29203 * include/langinfo.h: Likewise.
29204 * include/monetary.h: Likewise.
29205 * include/sys/poll.h: Likewise.
29206
29207 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29208 for __USE_GNU.
29209 * posix/spawn.h: Define __need_sigset_t.
29210 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29211 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29212 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29213 to get sigevent_t only.
29214 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29215 only for __USE_GNU.
29216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29218 process_vm_writev only for __USE_GNU.
29219 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29220
29221 * conform/Makefile: For now ignore errors from run-conformtest.
29222 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29223 POSIX to avoid namespace pollution. Don't prepend headers.
29224 * conform/data/aio.h-data: Fixes for POSIX testing.
29225 * conform/data/fcntl.h-data: Likewise.
29226 * conform/data/glob.h-data: Likewise.
29227 * conform/data/grp.h-data: Likewise.
29228 * conform/data/pthread.h-data: Likewise.
29229 * conform/data/pwd.h-data: Likewise.
29230 * conform/data/signal.h-data: Likewise.
29231 * conform/data/spawn.h-data: Likewise.
29232 * conform/data/stdio.h-data: Likewise.
29233 * conform/data/stdlib.h-data: Likewise.
29234 * conform/data/stropts.h-data: Likewise.
29235 * conform/data/sys/mman.h-data: Likewise.
29236 * conform/data/sys/stat.h-data: Likewise.
29237 * conform/data/sys/types.h-data: Likewise.
29238 * conform/data/sys/wait.h-data: Likewise.
29239 * conform/data/time.h-data: Likewise.
29240 * conform/data/unistd.h-data: Likewise.
29241 * conform/data/utime.h-data: Likewise.
29242
29243 * io/sys/stat.h: fchmod was always in POSIX.
29244 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29245 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29246 * rt/aio.h: Define __need_timespec before including <time.h>.
29247 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29248 struct. Add forward declaration of pthread_attr_t and use it in
29249 sigevent.
29250 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29252 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29253 always remove CLK_TCK definition.
29254
c20105c3
AS
292552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29256
29257 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29258
7a270350
UD
292592012-02-25 Ulrich Drepper <drepper@gmail.com>
29260
31341567
UD
29261 * conform/run-conformtest.sh: New file.
29262 * conform/Makefile: Run run-conformtest for tests.
29263 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29264 support.
29265
29266 * conform/data/uchar.h-data: New file.
29267 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29268 * conform/data/arpa/inet.h-data: Likewise.
29269 * conform/data/assert.h-data: Likewise.
29270 * conform/data/complex.h-data: Likewise.
29271 * conform/data/cpio.h-data: Likewise.
29272 * conform/data/ctype.h-data: Likewise.
29273 * conform/data/dirent.h-data: Likewise.
29274 * conform/data/dlfcn.h-data: Likewise.
29275 * conform/data/errno.h-data: Likewise.
29276 * conform/data/fcntl.h-data: Likewise.
29277 * conform/data/float.h-data: Likewise.
29278 * conform/data/fmtmsg.h-data: Likewise.
29279 * conform/data/fnmatch.h-data: Likewise.
29280 * conform/data/ftw.h-data: Likewise.
29281 * conform/data/glob.h-data: Likewise.
29282 * conform/data/grp.h-data: Likewise.
29283 * conform/data/iconv.h-data: Likewise.
29284 * conform/data/inttypes.h-data: Likewise.
29285 * conform/data/langinfo.h-data: Likewise.
29286 * conform/data/libgen.h-data: Likewise.
29287 * conform/data/limits.h-data: Likewise.
29288 * conform/data/locale.h-data: Likewise.
29289 * conform/data/math.h-data: Likewise.
29290 * conform/data/monetary.h-data: Likewise.
29291 * conform/data/mqueue.h-data: Likewise.
29292 * conform/data/ndbm.h-data: Likewise.
29293 * conform/data/net/if.h-data: Likewise.
29294 * conform/data/netdb.h-data: Likewise.
29295 * conform/data/netinet/in.h-data: Likewise.
29296 * conform/data/nl_types.h-data: Likewise.
29297 * conform/data/poll.h-data: Likewise.
29298 * conform/data/pthread.h-data: Likewise.
29299 * conform/data/pwd.h-data: Likewise.
29300 * conform/data/regex.h-data: Likewise.
29301 * conform/data/sched.h-data: Likewise.
29302 * conform/data/search.h-data: Likewise.
29303 * conform/data/semaphore.h-data: Likewise.
29304 * conform/data/setjmp.h-data: Likewise.
29305 * conform/data/signal.h-data: Likewise.
29306 * conform/data/spawn.h-data: Likewise.
29307 * conform/data/stdarg.h-data: Likewise.
29308 * conform/data/stdio.h-data: Likewise.
29309 * conform/data/stdlib.h-data: Likewise.
29310 * conform/data/string.h-data: Likewise.
29311 * conform/data/strings.h-data: Likewise.
29312 * conform/data/stropts.h-data: Likewise.
29313 * conform/data/sys/ipc.h-data: Likewise.
29314 * conform/data/sys/mman.h-data: Likewise.
29315 * conform/data/sys/msg.h-data: Likewise.
29316 * conform/data/sys/resource.h-data: Likewise.
29317 * conform/data/sys/select.h-data: Likewise.
29318 * conform/data/sys/sem.h-data: Likewise.
29319 * conform/data/sys/shm.h-data: Likewise.
29320 * conform/data/sys/socket.h-data: Likewise.
29321 * conform/data/sys/stat.h-data: Likewise.
29322 * conform/data/sys/statvfs.h-data: Likewise.
29323 * conform/data/sys/time.h-data: Likewise.
29324 * conform/data/sys/timeb.h-data: Likewise.
29325 * conform/data/sys/times.h-data: Likewise.
29326 * conform/data/sys/types.h-data: Likewise.
29327 * conform/data/sys/uio.h-data: Likewise.
29328 * conform/data/sys/un.h-data: Likewise.
29329 * conform/data/sys/utsname.h-data: Likewise.
29330 * conform/data/sys/wait.h-data: Likewise.
29331 * conform/data/syslog.h-data: Likewise.
29332 * conform/data/tar.h-data: Likewise.
29333 * conform/data/termios.h-data: Likewise.
29334 * conform/data/utime.h-data: Likewise.
29335 * conform/data/utmpx.h-data: Likewise.
29336 * conform/data/varargs.h-data: Likewise.
29337 * conform/data/wchar.h-data: Likewise.
29338 * conform/data/wctype.h-data: Likewise.
29339 * conform/data/wordexp.h-data: Likewise.
29340
29341 * include/stropts.h: New file.
29342 * include/uchar.h: New file.
29343 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29344 * include/assert.h: Likewise.
29345 * include/ctype.h: Likewise.
29346 * include/dirent.h: Likewise.
29347 * include/dlfcn.h: Likewise.
29348 * include/fcntl.h: Likewise.
29349 * include/fnmatch.h: Likewise.
29350 * include/glob.h: Likewise.
29351 * include/grp.h: Likewise.
29352 * include/libio.h: Likewise.
29353 * include/locale.h: Likewise.
29354 * include/math.h: Likewise.
29355 * include/net/if.h: Likewise.
29356 * include/netdb.h: Likewise.
29357 * include/netinet/in.h: Likewise.
29358 * include/pthread.h: Likewise.
29359 * include/pwd.h: Likewise.
29360 * include/regex.h: Likewise.
29361 * include/sched.h: Likewise.
29362 * include/search.h: Likewise.
29363 * include/setjmp.h: Likewise.
29364 * include/signal.h: Likewise.
29365 * include/stdio.h: Likewise.
29366 * include/stdlib.h: Likewise.
29367 * include/string.h: Likewise.
29368 * include/sys/cdefs.h: Likewise.
29369 * include/sys/mman.h: Likewise.
29370 * include/sys/msg.h: Likewise.
29371 * include/sys/resource.h: Likewise.
29372 * include/sys/select.h: Likewise.
29373 * include/sys/socket.h: Likewise.
29374 * include/sys/stat.h: Likewise.
29375 * include/sys/statvfs.h: Likewise.
29376 * include/sys/time.h: Likewise.
29377 * include/sys/times.h: Likewise.
29378 * include/sys/uio.h: Likewise.
29379 * include/sys/utsname.h: Likewise.
29380 * include/sys/wait.h: Likewise.
29381 * include/termios.h: Likewise.
29382 * include/time.h: Likewise.
29383 * include/ulimit.h: Likewise.
29384 * include/unistd.h: Likewise.
29385 * include/utime.h: Likewise.
29386 * include/wchar.h: Likewise.
29387 * include/wctype.h: Likewise.
29388 * include/wordexp.h: Likewise.
29389
29390 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29391
7a270350
UD
29392 * time/time.h: TIME_UTC must be a macro.
29393 Make timespec_get available for ISO C11 only as well.
29394
7724defc
UD
293952012-02-24 Ulrich Drepper <drepper@gmail.com>
29396
29397 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29398 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29399
6b1d1d46
JM
294002012-02-24 Joseph Myers <joseph@codesourcery.com>
29401
29402 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29403
0f8bbd69
JM
294042012-02-24 Joseph Myers <joseph@codesourcery.com>
29405
29406 * manual/texinfo.tex: Update to version 2012-01-19.16.
29407
66ab80bc
JM
294082012-02-24 Joseph Myers <joseph@codesourcery.com>
29409
29410 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29411
74981cc5
RM
294122012-02-24 Roland McGrath <roland@hack.frob.com>
29413
ee968201
RM
29414 [BZ #13738]
29415 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29416 * manual/fdl-1.3.texi: New file.
29417 * manual/fdl-1.1.texi: File removed.
29418
74981cc5
RM
29419 [BZ #13738]
29420 * manual/libc.texinfo (FDL_VERSION): New @set.
29421 Use it for mention of FDL in cover text.
29422 (Documentation License): Use it in @include file name.
29423
7bb764bc
JM
294242012-02-22 Joseph Myers <joseph@codesourcery.com>
29425 Roland McGrath <roland@hack.frob.com>
29426
29427 [BZ #5461]
29428 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29429 not LONG_LONG_MAX and LONG_LONG_MIN.
29430 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29431 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29432 name.
29433 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29434
6cbeae47
JM
294352012-02-22 Joseph Myers <joseph@codesourcery.com>
29436
29437 [BZ #2547]
29438 [BZ #11365]
29439 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29440 manipulate bits before adding and subtracting TWO23[sx].
29441 * math/libm-test.inc (nearbyint_test): Add more tests.
29442
fe45ce09
JM
294432012-02-22 Joseph Myers <joseph@codesourcery.com>
29444
29445 [BZ #2548]
29446 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29447 bits before adding and subtracting TWO23[sx].
29448 * math/libm-test.inc (rint_test): Add more tests.
29449 (rint_test_tonearest): Likewise.
29450 (rint_test_towardzero): Likewise.
29451 (rint_test_downward): Likewise.
29452 (rint_test_upward: Likewise.
29453
ff3b3d82
JM
294542012-02-22 Joseph Myers <joseph@codesourcery.com>
29455
29456 [BZ #10110]
29457 * include/stdc-predef.h: New file. Extracted from features.h.
29458 * include/features.h: Include stdc-predef.h.
29459 * Makefile (headers): Add stdc-predef.h.
29460 * CONFORMANCE (Compiler limitations): Update.
29461
ef0aab35
JM
294622012-02-22 Joseph Myers <joseph@codesourcery.com>
29463
29464 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29465
58639409
DM
294662012-02-21 David S. Miller <davem@davemloft.net>
29467
29468 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29469 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29470
c0e70b25
DM
294712012-02-20 David S. Miller <davem@davemloft.net>
29472
29473 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29474 using a normal save/restore sequence, rather than allocating a
29475 dummy stack frame just to store a frame pointer and restore.
29476 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29477
fb06851d
JM
294782012-02-21 Joseph Myers <joseph@codesourcery.com>
29479
29480 * manual/install.texi: Fix stray word in line-wrapped comment.
29481
7a8b71c3
DM
294822012-02-20 David S. Miller <davem@davemloft.net>
29483
d510c123
DM
29484 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29485 both binutils and gcc support GOTDATA.
29486
0722d7c2
DM
29487 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29488 "rd %pc" in the PIC register setup sequences.
29489
3d2b3019
DM
29490 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29491 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29492 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29493 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29494 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29497 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29499 (SYSCALL_ERROR_HANDLER): Likewise.
29500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29503 (SYSCALL_ERROR_HANDLER): Likewise.
29504
c80098a9
DM
29505 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29506 (HAVE_GCC_GOTDATA): New.
29507 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29508 relocation support in both binutils and gcc.
29509 * sysdeps/sparc/elf/configure: Regenerate.
29510
3a2545a0
DM
29511 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29512 * sysdeps/sparc/sparc32/elf/configure: Delete.
29513 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29514 * sysdeps/sparc/sparc64/elf/configure: Delete.
29515 * sysdeps/sparc/elf/configure.in: New file.
29516 * sysdeps/sparc/elf/configure: Generate.
29517
7a8b71c3
DM
29518 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29519 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29520 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29521 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29522 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29523
f1e86fca
JM
295242012-02-21 Joseph Myers <joseph@codesourcery.com>
29525
29526 * manual/install.texi: Do not mention specific glibc version
29527 numbers.
29528 * manual/libc.texinfo (VERSION, UPDATED): Update.
29529 (@copying): Use @copyright{} and range of years.
29530
0e7dfaef
JM
295312012-02-21 Joseph Myers <joseph@codesourcery.com>
29532
29533 [BZ #13695]
29534 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29535 [crti.S not in sysdirs] (generated): Do not append.
29536 [crti.S not in sysdirs] (omit-deps): Likewise.
29537 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29538 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29539 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29540 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29541 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29542 Likewise.
29543 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29544 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29545 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29546 * csu/defs.awk: Remove file.
29547 * sysdeps/generic/initfini.c: Likewise.
29548 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29549 variable.
29550 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29551 Likewise.
29552
599af3ca
JM
295532012-02-20 Joseph Myers <joseph@codesourcery.com>
29554
29555 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29556 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29557 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29560 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29561 <bits/epoll.h>.
29562 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29563 (__EPOLL_PACKED): Define to empty if not defined by
29564 <bits/epoll.h>.
29565 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29567 bits/epoll.h.
29568
0e499750
JM
295692012-02-20 Joseph Myers <joseph@codesourcery.com>
29570
29571 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29572 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29573 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29574 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29575 <bits/timerfd.h>.
29576 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29578 bits/timerfd.h.
29579
5ad91f6e
JM
295802012-02-20 Joseph Myers <joseph@codesourcery.com>
29581
29582 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29583 in C locale.
29584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29588
06b99b02
AJ
295892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29590
29591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29593
7638c0fd
AS
295942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29595
29596 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29597 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29598 defined.
29599 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29600 Likewise.
29601 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29602 entry for 2.16.
29603
92221550
AJ
296042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29605
29606 * math/w_acos.c: Use non-signaling floating-point comparisons.
29607 * math/w_acosf.c: Likewise.
29608 * math/w_acosh.c: Likewise.
29609 * math/w_acoshf.c: Likewise.
29610 * math/w_acoshl.c: Likewise.
29611 * math/w_acosl.c: Likewise.
29612 * math/w_asin.c: Likewise.
29613 * math/w_asinf.c: Likewise.
29614 * math/w_asinl.c: Likewise.
29615 * math/w_atanh.c: Likewise.
29616 * math/w_atanhf.c: Likewise.
29617 * math/w_atanhl.c: Likewise.
29618 * math/w_exp2.c: Likewise.
29619 * math/w_exp2f.c: Likewise.
29620 * math/w_exp2l.c: Likewise.
29621 * math/w_j0.c: Likewise.
29622 * math/w_j0f.c: Likewise.
29623 * math/w_j0l.c: Likewise.
29624 * math/w_j1.c: Likewise.
29625 * math/w_j1f.c: Likewise.
29626 * math/w_j1l.c: Likewise.
29627 * math/w_jn.c: Likewise.
29628 * math/w_jnf.c: Likewise.
29629 * math/w_log.c: Likewise.
29630 * math/w_log10.c: Likewise.
29631 * math/w_log10f.c: Likewise.
29632 * math/w_log10l.c: Likewise.
29633 * math/w_log2.c: Likewise.
29634 * math/w_log2f.c: Likewise.
29635 * math/w_log2l.c: Likewise.
29636 * math/w_logf.c: Likewise.
29637 * math/w_logl.c: Likewise.
29638 * math/w_sqrt.c: Likewise.
29639 * math/w_sqrtf.c: Likewise.
29640 * math/w_sqrtl.c: Likewise.
29641 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29642 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29644 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29645 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29646
ebaf36eb
JM
296472012-02-19 Joseph Myers <joseph@codesourcery.com>
29648
29649 [BZ #9739]
29650 * manual/string.texi (strnlen): Use correct parameter name in
29651 equivalent expression.
29652
71c254a6
JM
296532012-02-19 Joseph Myers <joseph@codesourcery.com>
29654
29655 [BZ #11174]
29656 * manual/users.texi (seteuid): Consistently use neweuid for
29657 argument name.
29658
16d2c631
JM
296592012-02-19 Joseph Myers <joseph@codesourcery.com>
29660
29661 [BZ #13704]
29662 * manual/nss.texi (Services in the NSS configuration): Correct
29663 list of services in example configuration file.
29664
cd837b09
NB
296652012-02-19 Nick Bowler <nbowler@draconx.ca>
29666
29667 [BZ #11322]
29668 * manual/arith.texi: Remove statements about negative zero
29669 behaving identically to zero.
29670
02c4bbad
JM
296712012-02-18 Joseph Myers <joseph@codesourcery.com>
29672
29673 [BZ #5993]
29674 * manual/install.texi: Do not document upgrading from libc5.
29675
366842e7
JM
296762012-02-18 Joseph Myers <joseph@codesourcery.com>
29677
29678 [BZ #4596]
29679 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29680
dd54084d
DM
296812012-02-18 David S. Miller <davem@davemloft.net>
29682
29683 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29684 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29685 %o7 across the call.
29686 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29687 instead.
29688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29689 SETUP_PIC_REG_LEAF.
29690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29691 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29692 * sysdeps/sparc/crtn.S: Likewise.
29693
2bcc53a3
UD
296942012-02-17 Ulrich Drepper <drepper@gmail.com>
29695
29696 * aout/Makefile: Remove.
29697
09c093b5
RK
296982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29699
29700 [BZ #13058]
29701 * manual/examples/argp-ex1.c (main): Format definition in GNU
29702 style.
29703 * manual/examples/argp-ex2.c (main): Likewise.
29704 * manual/examples/argp-ex3.c (main): Likewise.
29705 * manual/examples/argp-ex4.c (main): Likewise.
29706 * manual/examples/longopt.c (main): Use new-style prototype
29707 definition.
29708 * manual/examples/strncat.c (main): Specify return type and use
29709 (void) for arguments.
29710 * manual/examples/subopt.c (main): Use char **argv argument.
29711
2ee633a2
JM
297122012-02-17 Joseph Myers <joseph@codesourcery.com>
29713
29714 [BZ #5077]
29715 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29716 rounding modes.
29717
0520adde
FB
297182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29719
29720 [BZ #6907]
29721 * manual/string.texi (strchr): Change when strchrnul is
29722 recommended.
29723
3f4081cd
DGM
297242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29725
29726 [BZ #174]
29727 * manual/locale.texi (setlocale): Document LOCPATH.
29728
d1b10e78
JM
297292012-02-17 Joseph Myers <joseph@codesourcery.com>
29730
29731 [BZ #10210]
29732 * manual/process.texi (execle): Move @dots{} before last argument.
29733
79c6869c
PB
297342012-02-17 Paul Bolle <pebolle@tiscali.nl>
29735
29736 [BZ #12047]
29737 * manual/charset.texi (Generic Charset Conversion): Fix typo
29738 (LC_TYPE -> LC_CTYPE).
29739
cc6e48bc
NB
297402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29741
29742 [BZ #5805]
29743 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29744 (scalbnf): Likewise.
29745 (scalbnl): Likewise.
29746 (scalbln): Likewise.
29747 (scalblnf): Likewise.
29748 (scalblnl): Likewise.
29749 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29750 (vwarnx): Likewise.
29751 (verr): Likewise.
29752 (verrx): Likewise.
29753 * manual/filesys.texi (telldir): Use braces around return type.
29754 * manual/llio.texi (mmap): Add space after comma.
29755 (mmap64): Likewise.
29756 * manual/math.texi (jn): Use @var{} on parameter names.
29757 (jnf): Likewise.
29758 (jnl): Likewise.
29759 (yn): Likewise.
29760 (ynf): Likewise.
29761 (ynl): Likewise.
29762 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29763 line.
29764 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29765 "...".
29766 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29767 (sched_get_priority_max): Likewise.
29768 * manual/signal.texi (sigvec): Add space after comma.
29769 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29770 names.
29771 (if_indextoname): Likewise.
29772 (if_freenameindex): Likewise.
29773 (sendto): Use ',' instead of '.' in prototype.
29774 * manual/startup.texi (syscall): Use @dots{} instead of literal
29775 "...".
29776 * manual/stdio.texi (__fpending): Separate initial words of
29777 paragraph from @deftypefun line.
29778 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29779 "...".
29780 (vsyslog): Use @var{} on parameter names.
29781 * manual/terminal.texi (stty): Use @var{} on parameter names.
29782 * manual/users.texi (getutmp): Use @var{} on parameter names.
29783 (getutmpx): Likewise.
29784
5b23062f
JM
297852012-02-17 Joseph Myers <joseph@codesourcery.com>
29786
29787 [BZ #6884]
29788 * manual/stdio.texi (fopen): Fix typos in description of
29789 ",ccs=STRING".
29790
8dee4833
AJ
297912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29792
29793 [BZ #4026]
29794 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29795 get clock_id definition.
29796
9078ce93
TS
297972012-02-17 Thomas Schwinge <thomas@schwinge.name>
29798
29799 [BZ #4822]
29800 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29801 (madvise): Cast every argument to void on its own.
29802
3835c55f
JM
298032012-02-17 Joseph Myers <joseph@codesourcery.com>
29804
29805 [BZ #9902]
29806 * manual/startup.texi (Exit Status): Fix typo.
29807
35c47e37
JM
298082012-02-17 Joseph Myers <joseph@codesourcery.com>
29809
29810 [BZ #10140]
29811 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29812 * manual/examples/argp-ex2.c: Likewise.
29813 * manual/examples/argp-ex3.c: Likewise.
29814
e3b69ca7
RH
298152012-02-16 Richard Henderson <rth@redhat.com>
29816
29817 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29818 * sysdeps/s390/s390-32/initfini.c: Remove.
29819 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29820 * sysdeps/s390/s390-64/initfini.c: Remove.
29821
df83af67
KK
298222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29823
29824 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29825 compiler output for sysdeps/generic/initfini.c.
29826 * sysdeps/sh/elf/initfini.c: Remove file.
29827
f63f3380
DM
298282012-02-16 David S. Miller <davem@davemloft.net>
29829
fb59b3a4
DM
29830 [BZ #11494]
29831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29832
f63f3380
DM
29833 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29834 * sysdeps/sparc/crti.S: New file.
29835 * sysdeps/sparc/crtn.S: New file.
29836 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29837 * sysdeps/sparc/sparc64/Makefile: Likewise.
29838
df6a4a4a
MF
298392012-02-15 Mike Frysinger <vapier@gentoo.org>
29840
6dd8f3dc 29841 [BZ #3335]
df6a4a4a
MF
29842 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29843
1cac7236
RM
298442012-02-15 Roland McGrath <roland@hack.frob.com>
29845
d2c736f8
RM
29846 [BZ #4822]
29847 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29848
1cac7236
RM
29849 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29850 (write, read, close): Likewise.
29851 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29852
8e475601
JM
298532012-02-15 Joseph Myers <joseph@codesourcery.com>
29854
29855 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29856 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29857 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29858 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29859 <bits/signalfd.h>.
29860 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29862 bits/signalfd.h.
29863
ed656b40
MP
298642012-02-14 Marek Polacek <polacek@redhat.com>
29865
29866 * sysdeps/x86_64/crti.S: New file.
29867 * sysdeps/x86_64/crtn.S: New file.
29868 * sysdeps/x86_64/elf/initfini.c: Remove file.
29869
2a979d3a
JM
298702012-02-13 Joseph Myers <joseph@codesourcery.com>
29871
29872 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29873 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29874 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29875 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29876 <bits/inotify.h>.
29877 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29879 bits/inotify.h.
29880
2a418ac3
JM
298812012-02-13 Joseph Myers <joseph@codesourcery.com>
29882
29883 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29884 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29885 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29886 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29887 <bits/eventfd.h>.
29888 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29890 bits/eventfd.h.
29891
fb779be7
TS
298922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29893
e19e83c5
RM
29894 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29895 __feraiseexcept instead of feraiseexcept.
7c35ffed 29896
fb779be7
TS
29897 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29898 nanosleep invocations.
29899 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29900 strings, and add error checking for a nanosleep invocations.
29901
59ba27a6
PE
299022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29903
29904 Replace FSF snail mail address with URLs, as per GNU coding standards.
29905 Most of the snail mail addresses were wrong anyway, and omitting
29906 them makes the source code easier to maintain. Almost all of the
29907 changes are to license notices and to locale LC_IDENTIFICATION
29908 addresses, except for this one:
29909 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29910 not its snail mail address.
29911
57b957eb
RH
299122012-02-09 Richard Henderson <rth@twiddle.net>
29913
af850b1c
RH
29914 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29915 of kernel-features.h.
29916
57b957eb
RH
29917 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29918
6b73181a
MP
299192012-02-08 Marek Polacek <polacek@redhat.com>
29920
29921 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29922 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29923 * sysdeps/gnu/_G_config.h: Likewise.
29924 * sysdeps/generic/_G_config.h: Likewise.
29925
26ecc33a
AS
299262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29927
6c6dbc63
AS
29928 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29929 tests.
29930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29931
e216c012
AS
29932 * sysdeps/powerpc/powerpc32/crti.S: New file.
29933 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29934 * sysdeps/powerpc/powerpc64/crti.S: New file.
29935 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29936
26ecc33a
AS
29937 * Makeconfig (have-initfini): Don't set.
29938 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29939 * configure.in (nopic_initfini): Don't substitute.
29940 * config.h.in (HAVE_INITFINI): Don't #undef.
29941 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29942 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29943
3add8e13
JM
299442012-02-08 Joseph Myers <joseph@codesourcery.com>
29945
29946 Support crti.S and crtn.S provided directly by architectures.
29947 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29948 [crti.S in sysdirs] (omit-deps): Likewise.
29949 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29950 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29951 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29952 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29953 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29954 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29955 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29956 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29957 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29958 compiler output for sysdeps/generic/initfini.c.
29959 * sysdeps/i386/elf/Makefile: Remove file.
29960 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29961
a22f12b4
MP
299622012-02-07 Marek Polacek <polacek@redhat.com>
29963
29964 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29965 * sysdeps/gnu/_G_config.h: Likewise.
29966 * sysdeps/mach/hurd/_G_config.h: Likewise.
29967
148cf100
MP
299682012-02-07 Marek Polacek <polacek@redhat.com>
29969
29970 * math/Makefile (tests): Add tst-CMPLX2.
29971 * math/tst-CMPLX2.c: New file.
29972
cfdc0dd7
AS
299732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29974
84ba42c4
AS
29975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29976
cfdc0dd7
AS
29977 * math/libm-test.inc (jn_test): Add missing L suffix.
29978
622c86f4
MP
299792012-02-06 Marek Polacek <polacek@redhat.com>
29980
29981 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29982 * sysdeps/i386/fpu/e_powf.S: Likewise.
29983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29984 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29985 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29986 * sysdeps/i386/fpu/e_pow.S: Likewise.
29987 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29989 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29990 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29991 * sysdeps/i386/fpu/e_log2.S: Likewise.
29992 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29994 * sysdeps/i386/fpu/e_powl.S: Likewise.
29995 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29996 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29997 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29998 * sysdeps/i386/fpu/e_logl.S: Likewise.
29999 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30000 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30001 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30002 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30004 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30005 * sysdeps/i386/fpu/e_log.S: Likewise.
30006 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30007 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30008 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30009 * sysdeps/i386/fpu/e_logf.S: Likewise.
30010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30012 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30013 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30014 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30015 * sysdeps/i386/fpu/e_log10.S: Likewise.
30016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30021 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30022 * sysdeps/i386/asm-syntax.h: Likewise.
30023 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30026 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30027 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30029 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30030 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30031 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30032 * sysdeps/powerpc/sysdep.h: Likewise.
30033 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30035
d4a54ac6
JM
300362012-02-06 Joseph Myers <joseph@codesourcery.com>
30037
30038 [BZ #411]
30039 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30040
314054ea
JM
300412012-02-06 Joseph Myers <joseph@codesourcery.com>
30042
30043 * sysdeps/i386/sysdep.h: Include <features.h>.
30044 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30045 version.
30046
d8e0ca50
JM
300472012-02-05 Joseph Myers <joseph@codesourcery.com>
30048
30049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30050 Define.
30051 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30052 LOAD_PIC_REG_STR.
30053
b1da7dd9
JM
300542012-02-03 Joseph Myers <joseph@codesourcery.com>
30055
30056 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30057 (SETUP_PIC_REG): Use GET_PC_THUNK.
30058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30059 macro.
30060
9a1d9254
JM
300612012-02-03 Joseph Myers <joseph@codesourcery.com>
30062
30063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30064 for non-PIC compilation.
30065 (SETUP_PIC_REG): Add .p2align directive.
30066 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30067 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30068 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30069 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30071 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30074 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30075 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30076 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30077 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30078 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30079 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30080 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30081 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30082 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30088 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30098 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30101 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30102 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30103 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30104 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30105 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30106 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30107
65dc3b75
JM
301082012-02-03 Joseph Myers <joseph@codesourcery.com>
30109
30110 * math/tst-CMPLX.c: Include <stdio.h>.
30111
d55bf177
JM
301122012-01-31 Joseph Myers <joseph@codesourcery.com>
30113
30114 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30115 float.
30116 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30117 * sysdeps/sparc/bits/mathdef.h: Likewise.
30118
69db4f8f
MP
301192012-01-31 Marek Polacek <polacek@redhat.com>
30120
30121 * libio/libio.h: Don't define _PARAMS.
30122 * locale/programs/config.h: Don't define PARAMS.
30123 * stdlib/strtol_l.c: Likewise.
30124 (__strtol_l): Remove PARAMS from the prototype.
30125
41b81892
UD
301262012-01-31 Ulrich Drepper <drepper@gmail.com>
30127
3b49edc0
UD
30128 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30129 names. Just use the correct names. Remove unnecessary wrapper
30130 functions.
30131 * malloc/arena.c: Likewise.
30132 * malloc/hooks.c: Likewise.
30133
41b81892
UD
30134 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30135 ARENA_TEST says not to. Simplify test for creation of a new arena.
30136 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30137
27a25b6e
UD
301382012-01-30 Ulrich Drepper <drepper@gmail.com>
30139
30140 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30141 into tail calls.
30142 (update_get_addr): New function.
30143 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30144 GET_ADDR_MODULE parameter.
30145
c8a89e7d
JM
301462012-01-30 Joseph Myers <joseph@codesourcery.com>
30147
30148 * crypt/cert.c: Remove __STDC__ conditionals.
30149 * crypt/crypt-entry.c: Likewise.
30150 * crypt/crypt_util.c: Likewise.
30151 * libio/filedoalloc.c: Likewise.
30152 * libio/fileops.c: Likewise.
30153 * libio/genops.c: Likewise.
30154 * libio/iofclose.c: Likewise.
30155 * libio/iofdopen.c: Likewise.
30156 * libio/iofopen.c: Likewise.
30157 * libio/iofopen64.c: Likewise.
30158 * libio/iogetdelim.c: Likewise.
30159 * libio/iopopen.c: Likewise.
30160 * libio/obprintf.c: Likewise.
30161 * libio/oldfileops.c: Likewise.
30162 * libio/oldiofclose.c: Likewise.
30163 * libio/oldiofdopen.c: Likewise.
30164 * libio/oldiofopen.c: Likewise.
30165 * libio/oldiopopen.c: Likewise.
30166 * libio/wfiledoalloc.c: Likewise.
30167 * libio/wgenops.c: Likewise.
30168 * locale/programs/xmalloc.c: Likewise.
30169 * misc/syslog.c: Likewise.
30170 * stdio-common/xbug.c: Likewise.
30171 * string/memchr.c: Likewise.
30172 * string/memcmp.c: Likewise.
30173 * string/memrchr.c: Likewise.
30174 * string/rawmemchr.c: Likewise.
30175 * sysdeps/posix/getcwd.c: Likewise.
30176 * time/strftime_l.c: Likewise.
30177
3b100462
JM
301782012-01-30 Joseph Myers <joseph@codesourcery.com>
30179
30180 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30181 * config.make.in (config-cflags-sse2avx): Define.
30182 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30183 Fix typo.
30184
607998af
CM
301852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30186
30187 * scripts/config.guess: Update from upstream config git repository.
30188 * scripts/config.sub: Likewise.
30189
3601428f
CM
301902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30191
3ac8b282
CM
30192 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30193 (EM_NUM): Update.
30194 (R_TILEPRO_*, R_TILEGX_*): New macros.
30195
e034841e
CM
30196 * scripts/firstversions.awk: Fix bug in version range handling.
30197
540d7568
CM
30198 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30199
3601428f
CM
30200 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30201
463de862
CM
30202 * include/sys/epoll.h: New file.
30203 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30204 libc_hidden_def.
30205
73139a76
UD
302062012-01-28 Ulrich Drepper <drepper@gmail.com>
30207
96bc5b45
UD
30208 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30209 Avoid unnecessary __WORDSIZE == 64 test.
30210 (fmaxf): Use VEX format if possible.
30211 (fmax): Likewise.
30212 (fminf): Likewise.
30213 (fmin): Likewise.
30214
56f6f6a2
UD
30215 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30216 * math/math_private.h: Remove libc_fegetround* and
30217 libc_fesetround*.
30218 * sysdeps/i386/configure.in: Check for -msse2avx.
30219 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30220 also if SSE2AVX is defined.
30221 Remove libc_fegetround* and libc_fesetround*.
30222 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30223 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30225 of HAS_YMM_USABLE.
30226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30231
73139a76
UD
30232 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30233
d73f93a4
AZ
302342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30235
30236 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30237 size is not set.
30238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30239
6ee65ed6
UD
302402012-01-27 Ulrich Drepper <drepper@gmail.com>
30241
30242 [BZ #13618]
30243 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30244 relocation.
30245 * Makeconfig (libm): Define.
30246 * elf/Makefile: Add rules to build and run tst-relsort1.
30247 * elf/tst-relsort1.c: New file.
30248 * elf/tst-relsort1mod1.c: New file.
30249 * elf/tst-relsort1mod2.c: New file.
30250
8db21882
JM
302512012-01-27 Joseph Myers <joseph@codesourcery.com>
30252
30253 * math/s_ldexp.c: Remove __STDC__ conditionals.
30254 * math/s_ldexpf.c: Likewise.
30255 * math/s_ldexpl.c: Likewise.
30256 * math/s_nextafter.c: Likewise.
30257 * math/s_nexttowardf.c: Likewise.
30258 * math/s_significand.c: Likewise.
30259 * math/s_significandf.c: Likewise.
30260 * math/s_significandl.c: Likewise.
30261 * math/w_jnl.c: Likewise.
30262 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30263 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30264 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30265 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30266 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30267 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30268 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30269 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30270 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30271 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30272 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30277 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30278 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30281 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30282 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30283 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30284 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30286 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30287 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30293 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30294 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30296 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30298 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30302 * sysdeps/ieee754/k_standard.c: Likewise.
30303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30306 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30307 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30308 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30310 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30311 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30312 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30316 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30317 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30319 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30339 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30349 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30360 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30364 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30367 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30368 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30369 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30370 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30375 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30376 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30377 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30378 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30379 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30382 * sysdeps/ieee754/s_matherr.c: Likewise.
30383 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30384 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30387
965a54a4
JM
303882012-01-26 Joseph Myers <joseph@codesourcery.com>
30389
30390 * crypt/md5.h: Remove __STDC__ conditionals.
30391 * libio/libioP.h: Likewise.
30392 * locale/programs/config.h: Likewise.
30393 * sysdeps/generic/sysdep.h: Likewise.
30394 * sysdeps/i386/asm-syntax.h: Likewise.
30395 * sysdeps/s390/asm-syntax.h: Likewise.
30396 * sysdeps/unix/sysdep.h: Likewise.
30397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30399
7071ad79
JM
304002012-01-26 Joseph Myers <joseph@codesourcery.com>
30401
30402 * libio/libio.h: Remove __STDC__ conditionals.
30403 * malloc/obstack.h: Likewise.
30404 * math/complex.h: Likewise.
30405 * math/math.h: Likewise.
30406 * sysdeps/generic/_G_config.h: Likewise.
30407 * sysdeps/gnu/_G_config.h: Likewise.
30408 * sysdeps/mach/hurd/_G_config.h: Likewise.
30409 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30410 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30411 * sysdeps/sparc/bits/mathdef.h: Likewise.
30412
afc5ed09
UD
304132012-01-26 Ulrich Drepper <drepper@gmail.com>
30414
30415 [BZ #13583]
30416 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30417 Clean up HAS_* macros.
afc5ed09 30418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30419 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30420 possible.
30421 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30422 HAS_AVX.
30423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30428
bdb6de1d
JM
304292012-01-25 Joseph Myers <joseph@codesourcery.com>
30430
30431 * elf/tst-unique3.cc (gets): Remove declaration.
30432 * elf/tst-unique3lib.cc (gets): Likewise.
30433 * elf/tst-unique3lib2.cc (gets): Likewise.
30434 * elf/tst-unique4.cc (gets): Likewise.
30435
b15549e6
UD
304362012-01-24 Ulrich Drepper <drepper@gmail.com>
30437
30438 * include/stdio.h: Add C++ protection. Add gets declarations and
30439 definitions.
30440 * debug/tst-chk1.c: Don't declare gets here.
30441 * stdio-common/tst-gets.c: Likewise.
30442
a037381f
JM
304432012-01-24 Joseph Myers <joseph@codesourcery.com>
30444
30445 * posix/glob: Remove directory.
30446
f1d4aa75
JM
304472012-01-24 Joseph Myers <joseph@codesourcery.com>
30448
30449 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30450
81c0c964
PT
304512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30452
30453 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30454 of the non-standard EPFNOSUPPORT.
30455
0ea698ae
ST
304562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30457
30458 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30459 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30460 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30461
d220b117
UD
304622012-01-21 Ulrich Drepper <drepper@gmail.com>
30463
30464 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30465
3e1aa84e
UD
304662012-01-20 Ulrich Drepper <drepper@gmail.com>
30467
30468 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30469 transient errors.
30470 * nscd/grpcache.c (cache_addgr): Likewise.
30471 * nscd/hstcache.c (cache_addhst): Likewise.
30472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30473 * nscd/pwdcache.c (cache_addpw): Likewise.
30474 * nscd/servicescache.c (cache_addserv): Likewise.
30475
400aa020
UD
304762012-01-16 Ulrich Drepper <drepper@gmail.com>
30477
d77e7869
UD
30478 * malloc/malloc.c: Various cleanups.
30479 * malloc/hooks.c: Likewise.
30480
400aa020
UD
30481 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30482 * stdlib/bug-fmtmsg1.c: New file.
30483
30484 * stdlib/fmtmsg.c (init): Add missing unlock.
30485 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30486
e0a309cf
MP
304872012-01-12 Marek Polacek <polacek@redhat.com>
30488
30489 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30490 and _GNU_SOURCE.
30491
929d11c7
WS
304922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30493
30494 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30495 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30496 macro to ensure uniqueness of label name.
30497 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30498 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30499
41d0e869
UD
305002012-01-11 Ulrich Drepper <drepper@gmail.com>
30501
0cc5ed3b
UD
30502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30503
41d0e869
UD
30504 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30505 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30508
a47a831a
UD
305092012-01-10 Ulrich Drepper <drepper@gmail.com>
30510
daa891c0
UD
30511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30512
30513 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30514 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30515 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30516
e58ef0f2
UD
30517 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30518
a47a831a 30519 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30520 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30523
30524 * math/bits/math-finite.h: Add ldexp support.
30525
a0bfc9c7
MP
305262012-01-10 Marek Polacek <polacek@redhat.com>
30527
30528 * locale/programs/localedef.h (show_archive_content): Add noreturn
30529 attribute.
30530
d6e97a1d
UD
305312012-01-09 Ulrich Drepper <drepper@gmail.com>
30532
30533 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30534
d5835c26
UD
305352012-01-08 Ulrich Drepper <drepper@gmail.com>
30536
e5f484c6
UD
30537 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30538
d5835c26
UD
30539 * io/Makefile (headers): Add bits/poll2.h.
30540
d1f741e9
WS
305412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30542
30543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30544 typo #include statement.
30545
ec09c1c4
UD
305462012-01-08 Ulrich Drepper <drepper@gmail.com>
30547
30548 * include/sys/cdefs.h: Define __attribute_alloc_size.
30549 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30550 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30551 * elf/pldd.c: Likewise.
30552 * iconv/iconv_charmap.c: Likewise.
30553 * iconv/iconvconfig.c: Likewise.
30554 * iconv/strtab.c: Likewise.
30555 * locale/programs/locale.c: Likewise.
30556 * locale/programs/localedef.h: Likewise.
30557 * locale/programs/simple-hash.c: Likewise.
30558 * nscd/nscd.h: Likewise.
30559 * nss/makedb.c: Likewise.
30560 * sysdeps/generic/ldconfig.h: Likewise.
30561 * locale/programs/localedef.c: Remove xmalloc prototype.
30562 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30563
20b38e03
PP
305642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30565
30566 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30567 appropriate.
30568
a0da5fe1
UD
305692012-01-08 Ulrich Drepper <drepper@gmail.com>
30570
1d5a644a 30571 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30572 * math/tst-CMPLX.c: New file.
1d5a644a 30573
8784a6db
UD
30574 * math/complex.h (CMPLXL): Fix typo.
30575
d9a216c0
UD
30576 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30577 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30578 GLIBC_2.16.
30579 * debug/tst-chk1.c: Add poll and ppoll tests.
30580 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30581 * include/sys/poll.h: Add hidden proto for ppoll.
30582 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30583 * sysdeps/mach/hurd/ppoll.c: Likewise.
30584 * io/ppoll.c: Likewise.
30585 * debug/poll_chk.c: New file.
30586 * debug/ppoll_chk.c: New file.
30587 * include/bits/poll2.h: New file.
30588 * io/bits/poll2.h: New file.
30589
ac097f5c
UD
30590 [BZ #1350]
30591 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30592
2119dcfa
UD
30593 * configure.in: static is always set to yes. Remove.
30594 * config.make.in: Don't set build-static.
30595 * Makeconfig: Remove use of build-static.
30596 * dlfcn/Makefile: Likewise.
30597 * elf/Makefile: Likewise.
30598 * math/Makefile: Likewise.
30599 * misc/Makefile: Likewise.
30600 * nptl/Makefile: Likewise.
30601 * sysdeps/mach/hurd/Makefile: Likewise.
30602
121766a9
UD
30603 * configure.in: PWD_P is not used anymore.
30604 * config.make.in: Remove PWD_P entry.
30605
51a1d39c 30606 * configure.in: Remove last remnants of RANLIB.
8720d066 30607 No need to check for signed size_t anymore.
215f4bdc
UD
30608 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30609 and IA-64.
3857022a 30610 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30611 * aclocal.m4: Likewise.
30612
d3ed7225
UD
30613 * wcsmbs/mbrtoc16.c: Implement using towc function.
30614 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30615 * wcsmbs/wcsmbsload.c: Likewise.
30616 * iconv/gconv_simple.c: Likewise.
30617 * iconv/gconv_int.h: Likewise.
30618 * iconv/gconv_builtin.h: Likewise.
30619 * iconv/iconv_prog.c: Remove CHAR16 handling.
30620
30621 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30622
30623 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30624
a0da5fe1
UD
30625 * configure.in: Remove --with-elf and --enable-bounded options.
30626 Dont set base_machine for ia64. More non-ELF conditions removed.
30627 Remove testing and setting of leading underscore information.
30628 * config.make.in (build-bounded): Set to no.
30629 * config.h.in: Remove NO_UNDERSCORES entry.
30630 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30631 them.
30632 * csu/start.c: Remove !NO_UNDERSCORE code.
30633 * locale/localeinfo.h: Likewise.
30634 * sysdeps/generic/machine-gmon.h: Likewise.
30635 * sysdeps/generic/sysdep.h: Likewise.
30636 * sysdeps/i386/sysdep.h: Likewise.
30637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30638 * sysdeps/mach/sysdep.h: Likewise.
30639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30641 * sysdeps/sh/sysdep.h: Likewise.
30642 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30643 * sysdeps/unix/i386/sysdep.S: Likewise.
30644 * sysdeps/unix/sparc/start.c: Likewise.
30645 * sysdeps/unix/sparc/sysdep.S: Likewise.
30646 * sysdeps/unix/sparc/sysdep.h: Likewise.
30647 * sysdeps/unix/start.c: Likewise.
30648 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30649 * sysdeps/x86_64/sysdep.h: Likewise.
30650
df78418a
UD
306512012-01-07 Ulrich Drepper <drepper@gmail.com>
30652
a784e502
UD
30653 [BZ #13553]
30654 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30655 for non-gcc.
30656 * argp/argp-fmtstream.h: Use const instead __const.
30657 * argp/argp.h: Likewise.
30658 * assert/assert.h: Likewise.
30659 * bits/fenv.h: Likewise.
30660 * bits/sched.h: Likewise.
30661 * bits/sigset.h: Likewise.
30662 * bits/sigthread.h: Likewise.
30663 * catgets/nl_types.h: Likewise.
30664 * conform/data/pthread.h-data: Likewise.
30665 * crypt/crypt-private.h: Likewise.
30666 * crypt/crypt.h: Likewise.
30667 * crypt/crypt_util.c: Likewise.
30668 * ctype/ctype.h: Likewise.
30669 * debug/execinfo.h: Likewise.
30670 * debug/mbsnrtowcs_chk.c: Likewise.
30671 * debug/mbsrtowcs_chk.c: Likewise.
30672 * debug/wcsnrtombs_chk.c: Likewise.
30673 * debug/wcsrtombs_chk.c: Likewise.
30674 * debug/wcstombs_chk.c: Likewise.
30675 * dirent/dirent.h: Likewise.
30676 * dlfcn/dlfcn.h: Likewise.
30677 * elf/neededtest4.c: Likewise.
30678 * grp/grp.h: Likewise.
30679 * gshadow/gshadow.h: Likewise.
30680 * iconv/gconv.h: Likewise.
30681 * iconv/gconv_int.h: Likewise.
30682 * iconv/gconv_simple.c: Likewise.
30683 * iconv/iconv.h: Likewise.
30684 * iconv/loop.c: Likewise.
30685 * iconv/skeleton.c: Likewise.
30686 * include/aio.h: Likewise.
30687 * include/aliases.h: Likewise.
30688 * include/argz.h: Likewise.
30689 * include/arpa/inet.h: Likewise.
30690 * include/assert.h: Likewise.
30691 * include/dirent.h: Likewise.
30692 * include/dlfcn.h: Likewise.
30693 * include/execinfo.h: Likewise.
30694 * include/fcntl.h: Likewise.
30695 * include/fenv.h: Likewise.
30696 * include/glob.h: Likewise.
30697 * include/grp.h: Likewise.
30698 * include/libintl.h: Likewise.
30699 * include/mntent.h: Likewise.
30700 * include/netdb.h: Likewise.
30701 * include/pwd.h: Likewise.
30702 * include/rpc/netdb.h: Likewise.
30703 * include/sched.h: Likewise.
30704 * include/search.h: Likewise.
30705 * include/shadow.h: Likewise.
30706 * include/signal.h: Likewise.
30707 * include/stdio.h: Likewise.
30708 * include/stdlib.h: Likewise.
30709 * include/string.h: Likewise.
30710 * include/sys/socket.h: Likewise.
30711 * include/sys/stat.h: Likewise.
30712 * include/sys/statfs.h: Likewise.
30713 * include/sys/statvfs.h: Likewise.
30714 * include/sys/syslog.h: Likewise.
30715 * include/sys/time.h: Likewise.
30716 * include/sys/uio.h: Likewise.
30717 * include/time.h: Likewise.
30718 * include/unistd.h: Likewise.
30719 * include/utmp.h: Likewise.
30720 * include/wchar.h: Likewise.
30721 * include/wctype.h: Likewise.
30722 * inet/aliases.h: Likewise.
30723 * inet/arpa/inet.h: Likewise.
30724 * inet/netinet/ether.h: Likewise.
30725 * inet/netinet/in.h: Likewise.
30726 * intl/libintl.h: Likewise.
30727 * io/bits/fcntl2.h: Likewise.
30728 * io/fcntl.h: Likewise.
30729 * io/ftw.h: Likewise.
30730 * io/sys/poll.h: Likewise.
30731 * io/sys/stat.h: Likewise.
30732 * io/sys/statfs.h: Likewise.
30733 * io/sys/statvfs.h: Likewise.
30734 * io/utime.h: Likewise.
30735 * libio/bits/stdio.h: Likewise.
30736 * libio/bits/stdio2.h: Likewise.
30737 * libio/libio.h: Likewise.
30738 * libio/libioP.h: Likewise.
30739 * libio/stdio.h: Likewise.
30740 * locale/lc-ctype.c: Likewise.
30741 * locale/locale.h: Likewise.
30742 * login/utmp.h: Likewise.
30743 * malloc/arena.c: Likewise.
30744 * malloc/malloc.c: Likewise.
30745 * malloc/malloc.h: Likewise.
30746 * malloc/mcheck.c: Likewise.
30747 * malloc/mtrace.c: Likewise.
30748 * math/bits/mathcalls.h: Likewise.
30749 * math/fenv.h: Likewise.
30750 * math/math_private.h: Likewise.
30751 * misc/bits/error.h: Likewise.
30752 * misc/bits/syslog.h: Likewise.
30753 * misc/err.h: Likewise.
30754 * misc/error.h: Likewise.
30755 * misc/fstab.h: Likewise.
30756 * misc/mntent.h: Likewise.
30757 * misc/regexp.h: Likewise.
30758 * misc/search.h: Likewise.
30759 * misc/sgtty.h: Likewise.
30760 * misc/sys/mman.h: Likewise.
30761 * misc/sys/syslog.h: Likewise.
30762 * misc/sys/uio.h: Likewise.
30763 * misc/sys/xattr.h: Likewise.
30764 * misc/ttyent.h: Likewise.
30765 * nis/rpcsvc/ypclnt.h: Likewise.
30766 * nss/nss.h: Likewise.
30767 * posix/bits/unistd.h: Likewise.
30768 * posix/fnmatch.h: Likewise.
30769 * posix/glob.h: Likewise.
30770 * posix/sched.h: Likewise.
30771 * posix/spawn.h: Likewise.
30772 * posix/sys/wait.h: Likewise.
30773 * posix/unistd.h: Likewise.
30774 * posix/wordexp.h: Likewise.
30775 * pwd/pwd.h: Likewise.
30776 * resolv/netdb.h: Likewise.
30777 * resource/sys/resource.h: Likewise.
30778 * rt/aio.h: Likewise.
30779 * rt/bits/mqueue2.h: Likewise.
30780 * rt/mqueue.h: Likewise.
30781 * shadow/shadow.h: Likewise.
30782 * signal/signal.h: Likewise.
30783 * socket/send.c: Likewise.
30784 * socket/sendto.c: Likewise.
30785 * socket/sys/socket.h: Likewise.
30786 * stdio-common/printf.h: Likewise.
30787 * stdlib/bits/stdlib.h: Likewise.
30788 * stdlib/fmtmsg.h: Likewise.
30789 * stdlib/monetary.h: Likewise.
30790 * stdlib/stdlib.h: Likewise.
30791 * stdlib/ucontext.h: Likewise.
30792 * streams/stropts.h: Likewise.
30793 * string/argz.h: Likewise.
30794 * string/bits/string2.h: Likewise.
30795 * string/string.h: Likewise.
30796 * string/strings.h: Likewise.
30797 * sunrpc/rpc/auth.h: Likewise.
30798 * sunrpc/rpc/auth_des.h: Likewise.
30799 * sunrpc/rpc/clnt.h: Likewise.
30800 * sunrpc/rpc/netdb.h: Likewise.
30801 * sunrpc/rpc/pmap_clnt.h: Likewise.
30802 * sunrpc/rpc/xdr.h: Likewise.
30803 * sysdeps/generic/inttypes.h: Likewise.
30804 * sysdeps/generic/net/if.h: Likewise.
30805 * sysdeps/generic/sys/swap.h: Likewise.
30806 * sysdeps/gnu/net/if.h: Likewise.
30807 * sysdeps/gnu/utmpx.h: Likewise.
30808 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30809 * sysdeps/i386/i486/bits/string.h: Likewise.
30810 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30811 * sysdeps/s390/bits/string.h: Likewise.
30812 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30813 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30814 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30815 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30816 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30817 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30818 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30820 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30821 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30822 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30823 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30824 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30825 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30826 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30827 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30828 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30834 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30835 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30836 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30837 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30838 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30840 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30841 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30842 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30843 * sysvipc/sys/ipc.h: Likewise.
30844 * sysvipc/sys/msg.h: Likewise.
30845 * sysvipc/sys/sem.h: Likewise.
30846 * sysvipc/sys/shm.h: Likewise.
30847 * termios/termios.h: Likewise.
30848 * time/sys/time.h: Likewise.
30849 * time/time.h: Likewise.
30850 * wcsmbs/bits/wchar2.h: Likewise.
30851 * wcsmbs/uchar.h: Likewise.
30852 * wcsmbs/wchar.h: Likewise.
30853 * wctype/wctype.h: Likewise.
30854
0269750c
UD
30855 [BZ #13551]
30856 * Makeconfig: Remove all but ELF support including AIX support.
30857 * Makerules: Likewise.
30858 * config.h.in: Likewise.
30859 * config.make.in: Likewise.
30860 * configure: Likewise.
30861 * configure.in: Likewise.
30862 * csu/Makefile: Likewise.
30863 * csu/version.c: Likewise.
30864 * debug/Makefile: Likewise.
30865 * dlfcn/Makefile: Likewise.
30866 * elf/Makefile: Likewise.
30867 * extra-lib.mk: Likewise.
30868 * iconv/Makefile: Likewise.
30869 * include/libc-symbols.h: Likewise.
30870 * include/shlib-compat.h: Likewise.
30871 * resolv/Makefile: Likewise.
30872 * resolv/res_libc.c: Likewise.
30873 * rt/Makefile: Likewise.
30874 * sysdeps/i386/asm-syntax.h: Likewise.
30875 * sysdeps/i386/sysdep.h: Likewise.
30876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30877 * sysdeps/mach/sysdep.h: Likewise.
30878 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30879 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30880 * sysdeps/s390/asm-syntax.h: Likewise.
30881 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30883 * sysdeps/sh/sysdep.h: Likewise.
30884 * sysdeps/unix/sparc/sysdep.h: Likewise.
30885 * sysdeps/wordsize-32/divdi3.c: Likewise.
30886 * sysdeps/x86_64/sysdep.h: Likewise.
30887
00bbd29b
UD
30888 * argp/Versions: Remove _argp_unlock_xxx.
30889
30890 [BZ #13559]
30891 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30892 * abilist/libBrokenLocale.abilist: Likewise.
30893 * abilist/libanl.abilist: Likewise.
30894 * abilist/libc.abilist: Likewise.
30895 * abilist/libcrypt.abilist: Likewise.
30896 * abilist/libdl.abilist: Likewise.
30897 * abilist/libm.abilist: Likewise.
30898 * abilist/libnsl.abilist: Likewise.
30899 * abilist/libpthread.abilist: Likewise.
30900 * abilist/libresolv.abilist: Likewise.
30901 * abilist/librt.abilist: Likewise.
30902 * abilist/libthread_db.abilist: Likewise.
30903 * abilist/libutil.abilist: Likewise.
30904 * abilist/libnss_db.abilist: New file.
30905
30906 * scripts/abilist.awk: Add support for indirect functions.
30907
a2693a0e
UD
30908 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30909
3f05895f
UD
30910 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30911
ecb6fb48
UD
30912 * shlib-versions: Remove entries for ports architectures.
30913
664f8cb9
UD
30914 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30915 files in ports.
30916 * elf/stackguard-macros.h: Remove support for IA-64.
30917 * elf/tst-auditmod1.c: Likewise.
30918 * sysdeps/generic/ldsodefs.h: Likewise.
30919
7ae81d88
UD
30920 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30921 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30922 configure files.
30923
bdeba135
UD
30924 [BZ #13552]
30925 * configure.in: Remove --enable-omitfp support.
30926 * FAQ.in: Adjust.
30927 * config.make.in: Likewise.
30928 * Makeconfig: Likewise.
30929 * manual/install.texi: Likewise.
30930
d75a0a62
UD
30931 In case anyone cares, the IA-64 architecture could move to ports.
30932 * sysdeps/ia64/*: Removed.
30933 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30934 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30935
dcc9756b
UD
30936 [BZ #13555]
30937 * configure.in: Remove entries for unsupported architectures.
30938
d3761ebc 30939 [BZ #13533]
9954432e
UD
30940 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30941 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30942 routines.
30943 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30944 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30945 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30946 fall back to using wcrtomb.
30947 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30948 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30949 renaming.
30950 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30951 * wcsmbs/tst-c16c32-1.c: New file.
30952
30953 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30954 local variable.
30955
c3a87236
UD
30956 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30957
28926a1b
UD
30958 * elf/tst-unique3.cc: Add explicit declaration of gets.
30959 * elf/tst-unique3lib.cc: Likewise.
30960 * elf/tst-unique3lib2.cc: Likewise.
30961 * elf/tst-unique4.cc: Likewise.
30962
df78418a
UD
30963 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30964
8ecd6b2a
JM
309652012-01-06 Joseph Myers <joseph@codesourcery.com>
30966
30967 [BZ #13566]
30968 * assert/assert.h (static_assert): Don't define for C++.
30969 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30970 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30971
9f115170
UD
309722012-01-03 Ulrich Drepper <drepper@gmail.com>
30973
5e0d0300
UD
30974 * iconv/loop.c (single loop): Fix assertion in storing of
30975 remaining bytes.
30976
9f115170
UD
30977 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30978
81fb02b0
UD
309792012-01-01 Ulrich Drepper <drepper@gmail.com>
30980
30981 * posix/getconf.c: Update copyright year.
30982 * nss/getent.c: Likewise.
a316c1f6 30983 * nss/makedb.c: Likewise.
81fb02b0
UD
30984 * iconv/iconvconfig.c: Likewise.
30985 * iconv/iconv_prog.c: Likewise.
30986 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30987 * elf/pldd.c: Likewise.
30988 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30989 * catgets/gencat.c: Likewise.
30990 * csu/version.c: Likewise.
30991 * elf/ldd.bash.in: Likewise.
30992 * elf/sprof.c (print_version): Likewise.
30993 * locale/programs/locale.c: Likewise.
30994 * locale/programs/localedef.c: Likewise.
a316c1f6 30995 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30996 * nscd/nscd.c (print_version): Likewise.
30997 * debug/xtrace.sh: Likewise.
30998 * malloc/memusage.sh: Likewise.
30999 * malloc/mtrace.pl: Likewise.
31000 * debug/catchsegv.sh: Likewise.
31001
2ba92745
JJ
310022011-12-30 Jakub Jelinek <jakub@redhat.com>
31003
31004 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31005 pure attribute.
31006
dadebdae
UD
310072011-12-24 Ulrich Drepper <drepper@gmail.com>
31008
d3761ebc 31009 [BZ #13533]
db6af3eb
UD
31010 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31011 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31012 transformations.
31013 * iconv/gconv_int.h: Likewise.
31014 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31015 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31016 from libc for GLIBC_2.16.
31017 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31018 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31019 * wcsmbs/uchar.h: Really define mbstate_t.
31020 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31021 * wcsmbs/c16rtomb.c: New file.
31022 * wcsmbs/mbrtoc16.c: New file.
31023 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31024 for C/POSIX locale.
31025 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31026 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31027
dadebdae
UD
31028 * wcsmbs/wchar.h: Add missing __restrict.
31029
67371b56
UD
310302011-12-23 Ulrich Drepper <drepper@gmail.com>
31031
74033a25
UD
31032 [BZ #13532]
31033 * time/Makefile (routines): Add timespec_get.
31034 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31035 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31036 timespec for ISO C11.
31037 * time/timespec_get.c: New file.
31038 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31039 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31040
380d7e87
UD
31041 [BZ #13531]
31042 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31043 * stdlib/stdlib.h: Declare aligned_alloc.
31044 * Versions.def: Add GLIBC_2.16 for libc.
31045 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31046
4e9e7a35
UD
31047 [BZ 13527]
31048 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31049 ISO C11.
31050
380d7e87 31051 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31052 code.
31053
03a71829
UD
31054 [BZ #13528]
31055 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31056
839e283e
UD
31057 [BZ #13529]
31058 * assert/assert.h (static_assert): Define.
31059
ce5294e2 31060 * version.h: Update for 2.16 development version.
90fa7312 31061
8d44e150 31062 [BZ #13526]
d7809905
UD
31063 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31064 _ISOC11_SOURCE.
31065
c0da14cd
UD
31066 * version.h (RELEASE): Bump for 2.15 release.
31067 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31068
530a3249
MP
31069 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31070 Patch by Marek Polacek <mpolacek@redhat.com>.
31071
67371b56
UD
31072 * bits/byteswap.h: Protect long long constants with __extension__.
31073 * sysdeps/i386/bits/byteswap.h: Likewise.
31074 * sysdeps/ia64/bits/byteswap.h: Likewise.
31075 * sysdeps/s390/bits/byteswap.h: Likewise.
31076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31077
15db4de1
LD
310782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31079
31080 [BZ #13540]
bbe315ea
LD
31081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31082 destination buffer.
15db4de1
LD
31083 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31084
2b2596b1
MP
310852011-12-23 Marek Polacek <polacek@redhat.com>
31086
31087 * elf/dl-addr.c (determine_info): Add inline keyword.
31088 * elf/tst-auditmod4b.c (check_avx): Likewise.
31089 * elf/tst-auditmod6b.c (check_avx): Likewise.
31090 * elf/tst-auditmod6c.c (check_avx): Likewise.
31091 * elf/tst-auditmod7b.c (check_avx): Likewise.
31092
70c6c246
UD
310932011-12-23 Ulrich Drepper <drepper@gmail.com>
31094
31095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31096 !__SSE_MATH__.
31097
c044cf14
LD
310982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31099
15db4de1 31100 [BZ #13540]
c044cf14
LD
31101 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31102 processing for last bytes.
31103
6b13d9d9
BH
311042011-08-06 Bruno Haible <bruno@clisp.org>
31105
d455f537
BH
31106 [BZ #13061]
31107 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31108 U+0385, not to U+1FEE.
31109
6b13d9d9
BH
31110 [BZ #13062]
31111 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31112 entry for U+00A5 U+0301.
31113
db910efd
UD
311142011-12-22 Ulrich Drepper <drepper@gmail.com>
31115
27deeafc
UD
31116 [BZ #13166]
31117 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31118 buffer for the output is too small.
31119
aed9d171
UD
31120 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31121 optimization.
31122
db910efd
UD
31123 [BZ #13185]
31124 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31125 SSE flags if possible.
31126
2bd779ae
LD
311272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31128
e7f9dac3 31129 [BZ #13540]
2bd779ae
LD
31130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31131 processing for last bytes.
31132
154bfc16
JM
311332011-12-22 Joseph Myers <joseph@codesourcery.com>
31134
31135 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31136 (syscall-list-default-options, syscall-list-default-condition)
31137 (syscall-list-includes): Define.
31138 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31139 list of ABIs and options and #if conditions for each ABI. Do not
31140 handle common syscalls between ABIs specially.
31141 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31142 Remove.
31143 (syscall-list-variants, syscall-list-32bit-options)
31144 (syscall-list-32bit-condition, syscall-list-64bit-options)
31145 (syscall-list-64bit-condition): Define.
31146 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31147 (syscall-list-variants, syscall-list-32bit-options)
31148 (syscall-list-32bit-condition, syscall-list-64bit-options)
31149 (syscall-list-64bit-condition): Define.
31150 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31151 Remove.
31152 (syscall-list-variants, syscall-list-32bit-options)
31153 (syscall-list-32bit-condition, syscall-list-64bit-options)
31154 (syscall-list-64bit-condition): Define.
31155 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31156 Remove.
31157 (syscall-list-variants, syscall-list-32bit-options)
31158 (syscall-list-32bit-condition, syscall-list-64bit-options)
31159 (syscall-list-64bit-condition): Define.
31160
21eaf3a5
UD
311612011-12-22 Ulrich Drepper <drepper@gmail.com>
31162
16c6f992
UD
31163 * locale/iso-639.def: Add brx entry.
31164
41043168
UD
31165 [BZ #13328]
31166 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31167 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31168
21eaf3a5
UD
31169 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31170 __feraiseexcept_renamed.
31171
e3a851a2
UD
311722011-12-21 Ulrich Drepper <drepper@gmail.com>
31173
4920765e
UD
31174 [BZ #13538]
31175 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31176 EPOLLET with unsigned values.
31177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31179
e3a851a2
UD
31180 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31181 to large cancellation.
31182 * math/s_cacoshf.c: Likewise.
31183 * math/s_cacoshl.c: Likewise.
31184
b27e24b8
RK
311852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31186
31187 [BZ #13305]
aebefeee 31188 [BZ #12786]
b27e24b8
RK
31189 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31190 * math/s_cacoshf.c: Likewise.
31191 * math/s_cacoshl.c: Likewise.
31192
ee190f67
UD
311932011-12-21 Ulrich Drepper <drepper@gmail.com>
31194
31195 [BZ #13439]
31196 * iconv/gconv.h: Define __GCONV_SWAP.
31197 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31198 * iconvdata/utf-16.c: Likewise.
31199 * iconvdata/utf-32.c: Likewise.
31200
707f25df
AS
312012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31202
31203 [BZ #13524]
31204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31205 numerator after shifting it by one limb.
31206
d2daaa1e
RÁE
312072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31208
31209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31210 under [__USE_EXTERN_INLINES].
31211
a4647e72
UD
312122011-12-17 Ulrich Drepper <drepper@gmail.com>
31213
31214 [BZ #13446]
31215 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31216
f0b264f1
AZ
312172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31218
31219 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31220 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31221 optimized code.
31222 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31223 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31224 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31225 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31226 for strncasecmp/strncasecmp_l compilation.
31227 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31228 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31229
8ef4f244
MP
312302011-12-08 Marek Polacek <mpolacek@redhat.com>
31231
31232 [BZ #13484]
31233 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31234 of __asm__.
31235
97ac2654
UD
312362011-12-17 Ulrich Drepper <drepper@gmail.com>
31237
31238 [BZ #13506]
31239 * time/tzfile.c (__tzfile_read): Check values from file header.
31240
91d2a845
WS
312412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31242
31243 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31244 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31245 * powerpc/powerpc32/dl-start.S: Likewise.
31246 * powerpc/powerpc32/elf/start.S: Likewise.
31247 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31248 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31249 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31250 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31251 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31252 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31253 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31254 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31255 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31256 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31257 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31258 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31259 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31260 * powerpc/powerpc32/memset.S: Likewise.
31261 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31262 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31263 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31264 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31265 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31266 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31267 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31268 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31269 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31270 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31272 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31273 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31274
a1267ba1
AZ
312752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31276
31277 * math/libm-test.inc: Added more nearbyint tests.
31278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31282
ad8ac1bd
RL
312832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31284
31285 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31286 FD_CLOEXEC.
31287
1d3e4b61
UD
312882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31289
31290 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31291 Add wcscpy-ssse3 wcscpy-c.
31292 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31293 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31294 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31295 * sysdeps/x86_64/wcschr.S: New file.
31296 * sysdeps/x86_64/wcsrchr.S: New file.
31297 * string/test-strcmp.c: Remove checking of wcscmp function for
31298 wrong alignments.
31299 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31300 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31301 wcsrchr-sse2 wcsrchr-c.
31302 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31303 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31304 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31305 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31306 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31307 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31308 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31309 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31310 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31311 * wcsmbc/wcschr.c (WCSCHR): New macro.
31312
5b330a2d
UD
313132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31314
31315 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31316 * wcsmbs/test-wcsrchr.c: New file.
31317 * string/test-strrchr.c: Add wcsrchr support.
31318 (WIDE): New macro.
31319 * wcsmbs/test-wcscpy.c: New file.
31320 * string/test-strcpy.c: Add wcscpy support.
31321 (WIDE): New macro.
26428b7c 31322
f039c043
UD
313232011-12-10 Ulrich Drepper <drepper@gmail.com>
31324
31325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31326 the inner loop.
31327
850fb039
AS
313282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31329
31330 [BZ #13472]
31331 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31332
4efbd5cb
UD
313332011-12-04 Ulrich Drepper <drepper@gmail.com>
31334
52ff5dd0 31335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31336 Minor optimizations.
52ff5dd0 31337
4efbd5cb
UD
31338 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31339 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31340 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31341
8a426e12
UD
313422011-12-03 Ulrich Drepper <drepper@gmail.com>
31343
aff2453d
UD
31344 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31345 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31346 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31347 for gcc to avoid warnings.
31348 * inet/Makefile (tests): Add tst-checks.
31349 * inet/tst-checks.c: New file.
31350
31351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31352 warning.
31353
31354 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31355 __wmemcmp_sse2.
31356
31357 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31358 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31359
8a426e12
UD
31360 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31361
9bea3473
UD
313622011-12-02 Ulrich Drepper <drepper@gmail.com>
31363
3a965496
UD
31364 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31365 problem.
31366
9bea3473
UD
31367 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31368
f101631b
UD
313692011-11-29 Joseph Myers <joseph@codesourcery.com>
31370
31371 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31372 conditional on GCC version.
31373 (__arch_compare_and_exchange_val_8_acq)
31374 (__arch_compare_and_exchange_val_16_acq)
31375 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31376 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31377 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31378
a98275aa
UD
313792011-12-02 Joseph Myers <joseph@codesourcery.com>
31380
31381 * sysdeps/sh/backtrace.c: New file.
31382
d4cc29a2
AS
313832011-12-02 Andreas Schwab <schwab@redhat.com>
31384
31385 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31386 parenthesis.
31387
6257af2d
AS
313882011-12-01 Andreas Schwab <schwab@redhat.com>
31389
31390 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31391 falling back to utime.
31392
b5f44c1a
AS
313932011-11-30 Andreas Schwab <schwab@redhat.com>
31394
31395 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31396 expectations for float.
31397
f3a6cc0a
AS
313982011-11-29 Andreas Schwab <schwab@redhat.com>
31399
31400 * locale/weight.h (findidx): Add parameter len.
31401 * locale/weightwc.h (findidx): Likewise.
31402 * posix/fnmatch_loop.c (FCT): Adjust caller.
31403 * posix/regcomp.c (build_equiv_class): Likewise.
31404 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31405 * posix/regexec.c (check_node_accept_bytes): Likewise.
31406 * string/strcoll_l.c (STRCOLL): Likewise.
31407 * string/strxfrm_l.c (STRXFRM): Likewise.
31408
9d65ea3a
UD
314092011-11-17 Ulrich Drepper <drepper@gmail.com>
31410
31411 * Makefile.in: Remove CVSOPT handling.
31412 * configure.in: Remove use of AC_REVISION.
31413 * iconvdata/Makefile (distribute): No need to filter out CVS.
31414 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31415 handling.
31416
5583a086
AS
314172011-11-16 Andreas Schwab <schwab@redhat.com>
31418
31419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31420 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31421 [USE_AS_STRNCASECMP_L]: Likewise.
31422 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31423 NO_TLS_DIRECT_SEG_REFS.
31424 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31425 Fix argument offsets for non-PIC.
31426 [USE_AS_STRNCASECMP_L]: Likewise.
31427 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31428 NO_TLS_DIRECT_SEG_REFS.
31429
d62a8200
UD
314302011-11-15 Ulrich Drepper <drepper@gmail.com>
31431
9d65ea3a 31432 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31433 O_CLOEXEC.
31434 * locale/loadlocale.c (_nl_load_locale): Likewise.
31435
09f93bd3
AS
314362011-11-15 Andreas Schwab <schwab@redhat.com>
31437
446514f9
AS
31438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31439 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31441 (SYSCALL_GETTIME): Set errno on error.
31442
09f93bd3
AS
31443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31444 count references to noai6ai_cached.
31445
312be3f9
UD
314462011-11-15 Ulrich Drepper <drepper@gmail.com>
31447
31448 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31449
31450 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31451 FD_CLOEXEC for /proc/self/maps.
31452
31453 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31454 FD_CLOEXEC for /proc/meminfo.
31455
31456 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31457 gai.conf.
31458
31459 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31460 FD_CLOEXEC for given file.
31461
31462 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31463
31464 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31465 FD_CLOEXEC for /etc/hosts.
31466 (_gethtent): Likewise.
31467
31468 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31469
31470 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31471 cancellation and set FD_CLOEXEC for /etc/netgroup.
31472
31473 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31474 reading /etc/publickey.
31475
31476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31477 allow cancellation when reading /etc/group.
31478
31479 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31480 cancellation.
31481 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31482
31483 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31484 when using data file.
31485
31486 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31487
31488 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31489 (write_nis_obj): Use "c" and "e" in fopen.
31490
31491 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31492
31493 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31494
31495 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31496
31497 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31498
31499 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31500 locale.alias.
31501
31502 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31503
31504 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31505
31506 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31507
31508 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31509 file parsing and set FD_CLOEXEC.
31510
82af0fa8
UD
315112011-11-14 Ulrich Drepper <drepper@gmail.com>
31512
31513 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31514
a5fb313c
AS
315152011-11-14 Andreas Schwab <schwab@redhat.com>
31516
31517 * malloc/arena.c (arena_get2): Don't call reused_arena when
31518 _int_new_arena failed.
31519
6abf3465
UD
315202011-11-14 Ulrich Drepper <drepper@gmail.com>
31521
31522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31523 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31528 to compile strcasecmp and strncasecmp.
31529 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31530 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31531
31532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31533
76e3966e
UD
315342011-11-13 Ulrich Drepper <drepper@gmail.com>
31535
31536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31537 locale-defines.sym to gen-as-const-headers.
31538 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31539 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31541 to compile strcasecmp and strncasecmp.
31542 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31543 strcasecmp_l and strncasecmp_l.
31544 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31545 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31546 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31547 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31548 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31549 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31550 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31551 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31552 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31553 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31554 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31555
ab26144e
UD
315562011-11-12 Ulrich Drepper <drepper@gmail.com>
31557
7edb22ef
UD
31558 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31559 result of SYSDEP_GETTIME_CPU to retval.
31560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31561 parameter list to macro. Remove trailing semicolon. Adjust users.
31562
9694fc44
UD
31563 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31564 variable.
31565
8ad89ef8
UD
31566 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31567 mantissa words.
31568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31569
0c822ef9
UD
31570 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31571 from unused variable.
31572
874e0564
UD
31573 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31574 DWARF definitions.
31575 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31576 for assembling.
31577
3a2edc79
UD
31578 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31579 over namespaces.
31580
f3c2577f
UD
31581 * sunrpc/rpc_prot.c (rejected): Fix case value.
31582
294ce126
UD
31583 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31584 unsigned long long int to avoid warnings in shift.
31585
5e2b63c6
UD
31586 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31587 of use of trans.
31588 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31589 variable tmp.
31590
e7f4b08e
UD
31591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31592 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31593 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31594
ab26144e
UD
31595 * nis/nis_table.c (nis_list): Use variable of correct type for
31596 result of __follow_path call.
31597
8a6d5255
AZ
315982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31599
31600 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31601 of math functions ceil, trunc, floor, round, and sqrt, when
31602 avaliable on the platform.
31603 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31604 name clash.
31605 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31606 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31607 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31608
aaddc98c
MP
316092011-10-30 Marek Polacek <mpolacek@redhat.com>
31610
31611 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31613
95b7042b
RM
316142011-11-11 Roland McGrath <roland@hack.frob.com>
31615
31616 * include/unistd.h: Fix __readlink return type.
31617 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31618
57769839
UD
316192011-11-11 Ulrich Drepper <drepper@gmail.com>
31620
31621 * stdlib/ucontext.h: Undo last change for makecontext.
31622
edc5984d
AS
316232011-11-11 Andreas Schwab <schwab@redhat.com>
31624
98591e58
AS
31625 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31626
edc5984d
AS
31627 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31628 * setjmp/setjmp.h: Mark functions as non-leaf.
31629 * setjmp/bits/setjmp2.h: Likewise.
31630 * stdlib/ucontext.h: Likewise.
31631
77cdc054
AS
316322011-11-10 Andreas Schwab <schwab@redhat.com>
31633
31634 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31635 (reused_arena): Don't check arena limit.
31636 (arena_get2): Atomically check arena limit.
31637
fe72eebd
UD
316382011-11-08 Ulrich Drepper <drepper@gmail.com>
31639
5f078c32
UD
31640 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31641 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31642
fe72eebd
UD
31643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31644 instructions.
31645
ae1bc2fa
AS
316462011-11-07 Andreas Schwab <schwab@redhat.com>
31647
7583a88d
AS
31648 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31649 handler when locking.
31650
ae1bc2fa
AS
31651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31652 Fix size of allocated buffer.
31653
10fb0bfa
AS
316542011-11-04 Andreas Schwab <schwab@redhat.com>
31655
998832a4
AS
31656 [BZ #10103]
31657 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31658 declarations for long double functions.
31659 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31660
10fb0bfa
AS
31661 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31662
3d7ba52b
AS
316632011-11-03 Andreas Schwab <schwab@redhat.com>
31664
a9ae54a1
AS
31665 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31666 installed.
31667
3d7ba52b
AS
31668 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31669 is disabled.
31670
bc8db248
ST
316712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31672
31673 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31674
45b96dd6
AS
316752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31676
647776f6
AS
31677 * include/alloca.h (stackinfo_alloca_round): Define.
31678 (extend_alloca): Use it.
31679 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31680 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31681 here.
31682
d91a8b93
AS
31683 * scripts/check-local-headers.sh: Ignore libaudit.h.
31684
45b96dd6
AS
31685 * nscd/Makefile (extra-objs): Make recursively expanded.
31686
432d41ce
UD
316872011-11-01 Ulrich Drepper <drepper@gmail.com>
31688
34372fc6
UD
31689 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31691
fadb59f8
UD
31692 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31693 * posix/tst-rfc3484-2.c: Likewise.
31694 * posix/tst-rfc3484-3.c: Likewise.
31695
78239589
UD
31696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31697 process_vm_writev.
31698 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31699 process_vm_writev.
31700 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31701 process_vm_writev from libc using GLIBC_2.15 version.
31702
432d41ce
UD
31703 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31704
02f9c6cf
PP
317052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31706
31707 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31708 stack usage.
31709
3a2c0242
UD
317102011-10-31 Ulrich Drepper <drepper@gmail.com>
31711
f4ec4833
UD
31712 [BZ #13367]
31713 * nss/getent.c (initgroups_keys): Show error message in case no group
31714 names are given.
31715
3a2c0242
UD
31716 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31717 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31718 __bump_nl_timestamp.
31719 * nscd/connections (nscd_init): When host database is served open
31720 netlink socket and request notification about configuration changes.
31721 (main_loop_poll): Track netlink file descriptor and bump timestamp
31722 in case data becomes available.
31723 (main_loop_epoll): Likewise.
31724 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31725 (database_pers_head): Add extra_data fileds.
31726 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31727 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31728 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31729 Adjust caller.
31730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31731 in6ai data, call __free_in6ai.
31732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31733 Add -DHAVE_NETLINK.
31734 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31735 interface information. Reuse previous data if netlink timestamp
31736 is not changed.
31737 (__bump_nl_timestamp): New function.
31738 (__free_in6ai): New function.
31739
636064eb
UD
317402011-10-30 Ulrich Drepper <drepper@gmail.com>
31741
31742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31743 close_not_cancel_no_status here.
31744 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31745
9beb2334
UD
317462011-10-29 Ulrich Drepper <drepper@gmail.com>
31747
6ef76f3b
UD
31748 [BZ #13276]
31749 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31750 return value.
31751
0ffc4f3e 31752 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31753 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31754 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31755
cb95113e
UD
317562011-07-03 Andreas Jaeger <aj@suse.de>
31757
31758 [BZ #10709]
31759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31760 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31761 * math/libm-test.inc (sin_test): Add test case.
31762
a1b560ff
UD
317632011-10-29 Ulrich Drepper <drepper@gmail.com>
31764
c9aaface
UD
31765 [BZ #13337]
31766 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31767 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31768
d272e7f1
UD
31769 * elf/chroot_canon.c (chroot_canon): Cleanups.
31770
1bc33071
UD
31771 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31772
1760874d
TJ
31773 [BZ #13335]
31774 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31776
51d91b18
UD
31777 * string/test-strchr.c: Make usable for strchrnul testing.
31778 * string/test-strchrnul.c: New file.
31779 * string/Makefile (strop-tests): Add strchrnul.
31780
a1b560ff 31781 * po/it.po: Update from translation team.
b611fb81 31782 * po/es.po: Likewise.
a1b560ff 31783
a5b81e1f
UD
317842011-10-28 Ulrich Drepper <drepper@gmail.com>
31785
fd52bc6d
UD
31786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31787 the three constants needed as parameters. Drop the others.
31788 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31789 __m128i_strloadu_tolower.
52e4b9eb
UD
31790 Create and initialize variable zero and use it in all the places
31791 where _mm_setzero_si128 was used.
fd52bc6d 31792
a5b81e1f
UD
31793 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31794 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31795 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31797 anymore.
31798 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31799 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31800 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31801 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31803 __mpranred, __mptan.
31804 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31805 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31806 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31807 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31811 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31812 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31813
b4343346
AS
318142011-10-28 Andreas Schwab <schwab@redhat.com>
31815
0c92d8a8
AS
31816 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31817 redefine if SHARED.
31818 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31819
b4343346
AS
31820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31821 wide char related routines to wcsmbs subdir.
31822
3871f58f
AS
318232011-10-27 Andreas Schwab <schwab@redhat.com>
31824
31825 [BZ #13344]
31826 * misc/sys/cdefs.h (__THROWNL): Define.
31827 * posix/unistd.h: Use __THREADNL instead of __THREAD
31828 for memory synchronization functions.
31829
94d44d9f
RM
318302011-10-26 Roland McGrath <roland@hack.frob.com>
31831
21b64b15 31832 [BZ #13349]
94d44d9f
RM
31833 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31834 doesn't exist.
31835 * manual/stdio.texi (Obstack Streams): Node removed.
31836
f6ce9294
AS
318372011-10-26 Andreas Schwab <schwab@redhat.com>
31838
80479147
AS
31839 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31842
f6ce9294
AS
31843 * math/math_private.h (math_force_eval): Allow non-addressable
31844 arguments.
31845 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31846
618280a1
UD
318472011-10-25 Ulrich Drepper <drepper@gmail.com>
31848
e0016b11
UD
31849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31850 file is not needed.
31851
31852 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31859 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31860 Add AVX variants.
31861 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31862 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31863 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31864 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31865 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31866 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31867 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31868 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31871 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31872 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31874 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31875 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31876 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31877 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31879 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31880
31881 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31882 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31883
618280a1
UD
31884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31885 place. Use VEX encoding when compiling for AVX.
31886
37822576
AS
318872011-10-25 Andreas Schwab <schwab@redhat.com>
31888
1f1e1947
AS
31889 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31890 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31891
37822576
AS
31892 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31893
31ea014d
UD
318942011-10-25 Ulrich Drepper <drepper@gmail.com>
31895
d7826aa1 31896 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31897 useless if() expression.
d7826aa1
UD
31898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31903 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31904 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31908 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31910 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31911 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31912 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31916 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31917
31ea014d
UD
31918 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31919
16437fec
AS
319202011-10-25 Andreas Schwab <schwab@redhat.com>
31921
31922 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31923 condition.
31924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31925
31d3cc00
UD
319262011-10-25 Ulrich Drepper <drepper@gmail.com>
31927
31928 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31929 .text section. Avoid duplicate constants.
31930 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31938 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31939 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31941 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31942 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31943 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31946 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31953 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31954 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31955 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31956 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31957 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31972 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31973 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31974 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31975
58985aa9
UD
319762011-10-24 Ulrich Drepper <drepper@gmail.com>
31977
202c9deb
UD
31978 * sysdeps/x86_64/dla.h: Move to ...
31979 * sysdeps/x86_64/fpu/dla.h: ...here.
31980 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31981 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31982
af968f62
UD
31983 * config.make.in: Add have-mfma4 entry.
31984 * configure.in: Substitute libc_cv_cc_fma4.
31985 * math/Makefile (dbl-only-routines): Add sincostab.
31986 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31987 Use __sincostab not sincos.
31988 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31989 name is a macro.
31990 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31994 using __copysign.
31995 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31996 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31997 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31998 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31999 and __inv.
32000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32001 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32002 __copysign.
32003 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32004 define aliases when function name is a macro.
32005 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32006 sysdeps/ieee754/dbl-64/sincos.tbl.
32007 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32008 fma4-enabled routines.
32009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32010 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32011 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32012 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32014 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32015 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32018 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32019 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32021 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32032 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32034 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32039
58985aa9
UD
32040 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32041 rename.
32042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32050
a201fbcf
AS
320512011-10-24 Andreas Schwab <schwab@redhat.com>
32052
32053 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32054
fc2ee42a
LD
320552011-10-23 Ulrich Drepper <drepper@gmail.com>
32056
bb3129bd
UD
32057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32058
0275fff8
UD
32059 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32060 prediction.
32061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32062
2fa2ae85
UD
32063 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32064 Remove unused variable magic_bits.
32065 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32066
fc2ee42a
LD
32067 * string/strnlen.c: Define and use STRNLEN macro.
32068 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32069 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32071 * wcsmbs/wcslen.c: Define and use WCSLEN.
32072 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32073 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32074 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32075 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32076 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32077 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32079
ce7dd29f
LD
320802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32081
32082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32083 strnlen-sse2-no-bsf.
32084 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32086 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32087 Add strnlen support.
32088 (USE_AS_STRNLEN): New macro.
32089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32091 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32092 * sysdeps/x86_64/wcslen.S: New file.
32093
979c70a3
MZ
320942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32095
32096 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32097 XMM-moves are used for copying on small sizes.
32098
2d09f82f
LD
320992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32100
32101 * wcsmbs/Makefile (strop-tests): Add wcschr.
32102 * wcsmbs/test-wcschr.c: New file.
32103 * string/test-strchr.c: Update.
32104 Add wcschr support.
32105 (WIDE): New macro.
32106
619fccca
LD
321072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32108
2d09f82f 32109 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32110 * wcsmbs/test-wcslen.c: New file.
32111 * string/test-strlen.c: Update.
32112 Add wcslen support.
32113 (WIDE): New macro.
32114
09f699ea
UD
321152011-10-23 Ulrich Drepper <drepper@gmail.com>
32116
32117 * po/it.po: Update from translation team.
32118
95584d3b
LD
321192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32120
32121 * sysdeps/x86_64/wcscmp.S: Update.
32122 Fix wrong comparison semantics.
32123 wcscmp shall use signed comparison not unsigned.
32124 Don't use substraction to avoid overflow bug.
32125 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32126 * wcsmbc/wcscmp.c: Likewise.
32127 * string/test-strcmp.c: Likewise.
32128 Add new tests to check cases with negative values.
32129
c8b3296b
UD
321302011-10-23 Ulrich Drepper <drepper@gmail.com>
32131
32132 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32133 * sysdeps/x86_64/dla.h: ...here. New file.
32134 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32143
246ad57a
AS
321442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32145
32146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32147 __ynl_finite aliases.
32148
a1a87169
UD
321492011-10-22 Ulrich Drepper <drepper@gmail.com>
32150
0d355eb7
UD
32151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32152
a1a87169
UD
32153 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32154 define DLA_FMA.
32155 [DLA_FMA] (EMULV): Use DLA_FMA.
32156 [DLA_FMA] (MUL12): Use EMULV.
32157 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32158 that are not needed.
32159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32166
ee2aafe0
AS
321672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32168
32169 * math/s_nan.c: Undef __nan.
32170 * math/s_nanf.c: Undef __nanf.
32171 * math/s_nanl.c: Undef __nanl.
32172 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32173 "math_private.h".
32174
bc62c2fb
UD
321752011-10-22 Ulrich Drepper <drepper@gmail.com>
32176
77425c63
UD
32177 * math/s_catan.c: Add branch predictions.
32178 * math/s_catanf.c: Likewise.
32179 * math/s_catanh.c: Likewise.
32180 * math/s_catanhf.c: Likewise.
32181 * math/s_catanhl.c: Likewise.
32182 * math/s_catanl.c: Likewise.
32183 * math/s_cexp.c: Likewise.
32184 * math/s_cexpf.c: Likewise.
32185 * math/s_cexpl.c: Likewise.
32186 * math/s_clog.c: Likewise.
32187 * math/s_clog10.c: Likewise.
32188 * math/s_clog10f.c: Likewise.
32189 * math/s_clog10l.c: Likewise.
32190 * math/s_clogf.c: Likewise.
32191 * math/s_clogl.c: Likewise.
32192 * math/s_csqrt.c: Likewise.
32193 * math/s_csqrtf.c: Likewise.
32194 * math/s_csqrtl.c: Likewise.
32195 * math/s_ctanf.c: Likewise.
32196 * math/s_ctanh.c: Likewise.
32197 * math/s_ctanhf.c: Likewise.
32198 * math/s_ctanhl.c: Likewise.
32199 * math/s_ctanl.c: Likewise.
32200
bc62c2fb
UD
32201 * math/math_private.h: Define __nan, __nanf, __nanl.
32202 * math/s_cacosh.c: Include <math_private.h>.
32203 * math/s_cacoshl.c: Likewise.
32204 * math/s_casinh.c: Likewise.
32205 * math/s_casinhf.c: Likewise.
32206 * math/s_casinhl.c: Likewise.
32207 * math/s_ccos.c: Rely entire on ccosh.
32208 * math/s_ccosf.c: Rely entire on ccoshf.
32209 * math/s_ccosl.c: Rely entirely on ccoshl.
32210 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32211 Remove tests for FE_INVALID.
32212 * math/s_ccoshf.c: Likewise.
32213 * math/s_ccoshl.c: Likewise.
32214 * math/s_csin.c: Likewise.
32215 * math/s_csinf.c: Likewise.
32216 * math/s_csinh.c Likewise.
32217 * math/s_csinhf.c: Likewise.
32218 * math/s_csinhl.c: Likewise.
32219 * math/s_csinl.c: Likewise.
32220 * math/s_ctan.c: Likewise.
32221 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32222 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32224
8ec250a4
UD
322252011-10-21 Ulrich Drepper <drepper@gmail.com>
32226
c196fed8
UD
32227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32228 compilation problems.
32229
8ec250a4
UD
32230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32231 __builtin_expect.
32232
8d4f46c6
UD
322332011-10-20 Ulrich Drepper <drepper@gmail.com>
32234
ed72b654
UD
32235 * sysdeps/i386/configure.in: Test for -mfma4 option.
32236 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32237 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32238 COMMON_CPUID_INDEX_80000001.
32239 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32240 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32241 use it if FMA3 is not supported.
32242 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32243
8d4f46c6
UD
32244 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32246
d45c60c2
AS
322472011-10-20 Andreas Schwab <schwab@redhat.com>
32248
32249 [BZ #12892]
32250 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32251 it would create a cycle with a link time dependency.
32252
d9a4d2ab
UD
322532011-10-19 Ulrich Drepper <drepper@gmail.com>
32254
855d1560
UD
32255 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32256 instruction.
32257 * string/Makefile (strop-tests): Add rawmemchr.
32258 * string/test-rawmemchr.c: New file.
32259
d9a4d2ab
UD
32260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32261 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32262 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32263 when compiling str{,n}casecmp and when AVX is available. Hook up
32264 new optimized code in initializers.
32265
8f3b1ffe
AS
322662011-10-19 Andreas Schwab <schwab@redhat.com>
32267
32268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32269 __feraiseexcept instead of feraiseexcept.
32270
d38f1dba
UD
322712011-10-18 Ulrich Drepper <drepper@gmail.com>
32272
d9a8d0ab
UD
32273 * math/math_private.h: Define defaults for libc_fetestexcept and
32274 libc_feupdateenv.
32275 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32276 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32277 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32278 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32279 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32281 libc_fetestexcept and libc_feupdateenv.
32282
4855e3dd
UD
32283 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32284 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32285 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32286 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32287 libc_feholdexcept_setround.
32288
581d30e3
UD
32289 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32290 Add s_nearbyint-c and s_nearbyintf-c.
32291 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32292 nearbyintf inlines.
32293 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32296 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32297
d38f1dba
UD
32298 * math/math_private.h: Define defaults for libc_fegetround,
32299 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32300 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32301 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32303 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32304 standard functions.
32305 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32306 Remove comments and hacks for old compiler versions.
32307 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32308 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32309 libc_feholdexceptl.
32310
caa6c9d8
AS
323112011-10-18 Andreas Schwab <schwab@redhat.com>
32312
32313 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32314 (__feraiseexcept_renamed): Add __NTH.
32315 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32316 namespace violations.
32317
97c066e6
UD
323182011-10-17 Ulrich Drepper <drepper@gmail.com>
32319
99ce7b04
UD
32320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32321
1004d182
UD
32322 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32323
228a984d
UD
32324 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32325 recently added interfaces.
32326 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32327
c8553a6a
UD
32328 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32329 about macro parameter expansion.
32330
ed22dcf6
UD
32331 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32332 __NO_MATH_INLINES is defined. Cleanups.
32333
32334 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32335 and __floorf is target has SSE4.1.
32336 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32337 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32338 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32339 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32340
b171c137
UD
32341 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32342 name.
32343 (floorf): Likewise.
32344
97c066e6
UD
32345 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32346
629f62ef
AS
323472011-10-17 Andreas Schwab <schwab@redhat.com>
32348
49a43d80
AS
32349 * misc/sys/cdefs.h: Fix last change.
32350
629f62ef
AS
32351 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32352 database lookup.
32353
e453f6cd
UD
323542011-10-16 Ulrich Drepper <drepper@gmail.com>
32355
aa78043a
UD
32356 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32357
ad0f5cad
UD
32358 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32363 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32366 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32367 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32368 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32369 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32370 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32371 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32373 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32374 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32375 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32377 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32378 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32379 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32380
32381 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32382 ceil, ceilf, floor, floorf.
32383
32384 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32385 Perform IRELATIVE relocations last.
32386
e453f6cd
UD
32387 * elf/do-rel.h: Add another parameter nrelative, replacing the
32388 local variable with the same name. Change name of the function
32389 to end in Rel or Rela (uppercase).
32390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32391 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32392 elf_dynamic_do_##reloc function.
32393
fd5bdc09
UD
323942011-10-15 Ulrich Drepper <drepper@gmail.com>
32395
79b195b5
UD
32396 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32397 is sufficient, at least on modern CPUs.
32398
d4a28569
UD
32399 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32400
b61099b5
UD
32401 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32402 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32403
bcf01e6d
UD
32404 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32405 __expl_finite.
32406 * math/bits/math-finite.h: Add entries for exp.
32407 * math/e_expl.c: Add __*_finite alias.
32408 * sysdeps/i386/fpu/e_exp.S: Likewise.
32409 * sysdeps/i386/fpu/e_expf.S: Likewise.
32410 * sysdeps/i386/fpu/e_expl.c: Likewise.
32411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32412 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32416 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32417 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32418
ba1a0d59
UD
32419 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32420 is sufficient, at least on modern CPUs.
32421
fd5bdc09
UD
32422 * ctype/ctype-info.c (__ctype_init): Define.
32423 * include/ctype.h (__ctype_init): Declare.
32424 (__ctype_b_loc): The variable is always initialized.
32425 (__ctype_toupper_loc): Likewise.
32426 (__ctype_tolower_loc): Likewise.
32427 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32428 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32429
7872cfb0
AS
324302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32431
b468825a
AS
32432 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32433
7872cfb0
AS
32434 * configure.in: Also look in $cxxmachine/include for C++ system
32435 headers.
32436
be13f7bf
LD
324372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32438
32439 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32440 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32441 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32442 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32444 (USE_AS_WMEMCMP): New macro.
32445 Fixing indents.
32446 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32447 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32448 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32449 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32451 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32452 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32454 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32455 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32456 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32457 (USE_AS_WMEMCMP): New macro.
32458 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32459 * sysdeps/string/test-memcmp.c: Update.
32460 Fix simple_wmemcmp.
32461 Add new tests.
32462 * wcsmbs/wmemcmp.c: Update.
32463 (WMEMCMP): New macro.
32464 Fix overflow bug.
32465
556a2007
AJ
324662011-10-12 Andreas Jaeger <aj@suse.de>
32467
32468 [BZ #13268]
32469 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32470
538faaa7
UD
324712011-10-15 Ulrich Drepper <drepper@gmail.com>
32472
ab6737ff
UD
32473 * libio/iofwide.c (do_length): Avoid warning.
32474
538faaa7
UD
32475 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32476
396a21b1
UD
324772011-10-14 Ulrich Drepper <drepper@gmail.com>
32478
cdf2901f
UD
32479 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32480
38ad40ce
UD
32481 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32482 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32483 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32484 * sysdeps/i386/i686/fpu/e_log.S: New file.
32485 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32486 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32487
396a21b1
UD
32488 * ctype/ctype.h: Add support for inlined isXXX functions when
32489 compiling C++ code.
32490
6b1f68c9
AS
324912011-10-14 Andreas Schwab <schwab@redhat.com>
32492
349290c0
AS
32493 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32494
6b1f68c9
AS
32495 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32496
f2282d42
RM
324972011-10-13 Roland McGrath <roland@hack.frob.com>
32498
32499 [BZ #13291]
32500 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32501
5298ffa8
AS
325022011-10-13 Andreas Schwab <schwab@redhat.com>
32503
714fad23
AS
32504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32505 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32506 feraiseexcept.
32507
81dcc7fb
AS
32508 * sysdeps/x86_64/memrchr.S: Check for zero size.
32509
5298ffa8
AS
32510 * string/stratcliff.c: Add memrchr tests.
32511
951fbcec
LD
325122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32513
32514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32515 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32516 rawmemchr-sse2 rawmemchr-sse2-bsf.
32517 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32519 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32520 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32521 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32522 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32523 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32524 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32525 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32526 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32527 * string/memrchr.c (MEMRCHR): New macro.
32528
0ac5ae23
UD
325292011-10-12 Ulrich Drepper <drepper@gmail.com>
32530
32531 Add integration with gcc's -ffinite-math-only and optimize wrapper
32532 functions in libm.
32533 * Versions.def: Define GLIBC_2.15 version for libm.
32534 * math/Makefile (headers): Add bits/math-finite.h.
32535 * math/bits/math-finite.h: New file.
32536 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32537 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32538 * math/e_acoshl.c: Add __*_finite alias.
32539 * math/e_acosl.c: Likewise.
32540 * math/e_asinl.c: Likewise.
32541 * math/e_atan2l.c: Likewise.
32542 * math/e_atanhl.c: Likewise.
32543 * math/e_coshl.c: Likewise.
32544 * math/e_exp10.c: Likewise.
32545 * math/e_exp10f.c: Likewise.
32546 * math/e_exp10l.c: Likewise.
32547 * math/e_exp2l.c: Likewise.
32548 * math/e_fmodl.c: Likewise.
32549 * math/e_gammal_r.c: Likewise.
32550 * math/e_hypotl.c: Likewise.
32551 * math/e_j0l.c: Likewise.
32552 * math/e_j1l.c: Likewise.
32553 * math/e_jnl.c: Likewise.
32554 * math/e_lgammal_r.c: Likewise.
32555 * math/e_log10l.c: Likewise.
32556 * math/e_log2l.c: Likewise.
32557 * math/e_logl.c: Likewise.
32558 * math/e_powl.c: Likewise.
32559 * math/e_sinhl.c: Likewise.
32560 * math/e_sqrtl.c: Likewise.
32561 * math/e_scalb.c: Completely rewritten and optimized.
32562 * math/e_scalbf.c: Likewise.
32563 * math/e_scalbl.c: Likewise.
32564 * math/w_acos.c: Likewise.
32565 * math/w_acosf.c: Likewise.
32566 * math/w_acosl.c: Likewise.
32567 * math/w_acosh.c: Likewise.
32568 * math/w_acoshf.c: Likewise.
32569 * math/w_acoshl.c: Likewise.
32570 * math/w_asin.c: Likewise.
32571 * math/w_asinf.c: Likewise.
32572 * math/w_asinl.c: Likewise.
32573 * math/w_atan2.c: Likewise.
32574 * math/w_atan2f.c: Likewise.
32575 * math/w_atan2l.c: Likewise.
32576 * math/w_atanh.c: Likewise.
32577 * math/w_atanhf.c: Likewise.
32578 * math/w_atanhl.c: Likewise.
32579 * math/w_exp10.c: Likewise.
32580 * math/w_exp10f.c: Likewise.
32581 * math/w_exp10l.c: Likewise.
32582 * math/w_fmod.c: Likewise.
32583 * math/w_fmodf.c: Likewise.
32584 * math/w_fmodl.c: Likewise.
32585 * math/w_j0.c: Likewise.
32586 * math/w_j0f.c: Likewise.
32587 * math/w_j0l.c: Likewise.
32588 * math/w_j1.c: Likewise.
32589 * math/w_j1f.c: Likewise.
32590 * math/w_j1l.c: Likewise.
32591 * math/w_jn.c: Likewise.
32592 * math/w_jnf.c: Likewise.
32593 * math/w_log.c: Likewise.
32594 * math/w_logf.c: Likewise.
32595 * math/w_logl.c: Likewise.
32596 * math/w_log10.c: Likewise.
32597 * math/w_log10f.c: Likewise.
32598 * math/w_log10l.c: Likewise.
32599 * math/w_log2.c: Likewise.
32600 * math/w_log2f.c: Likewise.
32601 * math/w_log2l.c: Likewise.
32602 * math/w_pow.c: Likewise.
32603 * math/w_powf.c: Likewise.
32604 * math/w_powl.c: Likewise.
32605 * math/w_remainder.c: Likewise.
32606 * math/w_remainderf.c: Likewise.
32607 * math/w_remainderl.c: Likewise.
32608 * math/w_scalb.c: Likewise.
32609 * math/w_scalbf.c: Likewise.
32610 * math/w_scalbl.c: Likewise.
32611 * math/w_sqrt.c: Likewise.
32612 * math/w_sqrtf.c: Likewise.
32613 * math/w_sqrtl.c: Likewise.
32614 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32615 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32616 used.
32617 * math/math_private.h: Declare __kernel_standard_f.
32618 * math/w_cosh.c: Remove cruft and optimize a bit.
32619 * math/w_coshf.c: Likewise.
32620 * math/w_coshl.c: Likewise.
32621 * math/w_exp2.c: Likewise.
32622 * math/w_exp2f.c: Likewise.
32623 * math/w_exp2l.c: Likewise.
32624 * math/w_hypot.c: Likewise.
32625 * math/w_hypotf.c: Likewise.
32626 * math/w_hypotl.c: Likewise.
32627 * math/w_lgamma.c: Likewise.
32628 * math/w_lgamma_r.c: Likewise.
32629 * math/w_lgammaf.c: Likewise.
32630 * math/w_lgammaf_r.c: Likewise.
32631 * math/w_lgammal.c: Likewise.
32632 * math/w_lgammal_r.c: Likewise.
32633 * math/w_sinh.c: Likewise.
32634 * math/w_sinhf.c: Likewise.
32635 * math/w_sinhl.c: Likewise.
32636 * math/w_tgamma.c: Likewise.
32637 * math/w_tgammaf.c: Likewise.
32638 * math/w_tgammal.c: Likewise.
32639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32641 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32642 Minor optimizations. Pretty printing. Remove cruft.
32643 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32647 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32648 * sysdeps/i386/fpu/e_asin.S: Likewise.
32649 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32650 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32651 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32652 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32653 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32654 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32656 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32657 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32658 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32659 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32660 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32661 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32662 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32663 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32664 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32665 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32666 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32667 * sysdeps/i386/fpu/e_log.S: Likewise.
32668 * sysdeps/i386/fpu/e_log10.S: Likewise.
32669 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32671 * sysdeps/i386/fpu/e_log2.S: Likewise.
32672 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32674 * sysdeps/i386/fpu/e_logf.S: Likewise.
32675 * sysdeps/i386/fpu/e_logl.S: Likewise.
32676 * sysdeps/i386/fpu/e_pow.S: Likewise.
32677 * sysdeps/i386/fpu/e_powf.S: Likewise.
32678 * sysdeps/i386/fpu/e_powl.S: Likewise.
32679 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32680 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32681 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32684 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32685 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32686 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32687 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32691 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32693 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32694 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32705 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32709 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32710 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32711 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32712 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32713 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32715 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32716 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32717 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32721 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32722 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32723 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32724 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32725 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32726 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32727 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32728 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32781 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32783 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32784 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32785 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32786 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32787 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32788 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32789 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32790 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32791 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32794 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32796 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32797 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32798 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32799 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32800 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32801 (__isnanf): Likewise.
32802 (__isinf_ns): Likewise.
32803 (__isinf_nsf): Likewise.
32804 (__finite): Likewise.
32805 (__finitef): Likewise.
32806 (__ieee754_sqrt): Define as macro.
32807 (__ieee754_sqrtf): Define as macro.
32808 (__ieee754_sqrtl): Define as macro.
32809 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32810 inlined copy.
32811 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32812 __FINITE_MATH_ONLY__ consistent.
32813 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32814
12cc2fcd
AS
328152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32816
a843a204
AS
32817 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32818 of rawmemchr.
32819
12cc2fcd
AS
32820 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32821
c853acd5
UD
328222011-10-09 Ulrich Drepper <drepper@gmail.com>
32823
32824 * po/ja.po: Update from translation team.
32825
c658d255
RM
328262011-10-08 Roland McGrath <roland@hack.frob.com>
32827
110946e4
RM
32828 * locale/programs/locarchive.c (prepare_address_space): New function.
32829 (create_archive, enlarge_archive, open_archive): Use it.
32830
50604220
RM
32831 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32832 inside [SHARED], where it is used.
32833
c658d255
RM
32834 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32835
32836 * nss/getent.c (netgroup_keys): Remove unused variable.
32837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32838
6a621eb7
UD
328392011-10-08 Ulrich Drepper <drepper@gmail.com>
32840
7edb55ce
UD
32841 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32845 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32846 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32847 * math/Makefile (libm-calls): Add s_isinf_ns.
32848 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32849 * math/multc3.c: Likewise.
32850 * math/s_casin.c: Likewise.
32851 * math/s_casinf.c: Likewise.
32852 * math/s_casinl.c: Likewise.
32853 * math/s_ccos.c: Likewise.
32854 * math/s_ccosf.c: Likewise.
32855 * math/s_ccosl.c: Likewise.
32856 * math/s_ctan.c: Likewise.
32857 * math/s_ctanf.c: Likewise.
32858 * math/s_ctanh.c: Likewise.
32859 * math/s_ctanhf.c: Likewise.
32860 * math/s_ctanhl.c: Likewise.
32861 * math/s_ctanl.c: Likewise.
32862 * math/w_fmod.c: Likewise.
32863 * math/w_fmodf.c: Likewise.
32864 * math/w_fmodl.c: Likewise.
32865 * math/w_remainder.c: Likewise.
32866 * math/w_remainderf.c: Likewise.
32867 * math/w_remainderl.c: Likewise.
32868 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32869 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32872 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32873 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32874 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32875 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32876
187da0ae
UD
32877 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32878 of the number.
32879 * stdio-common/printf_fphex.c: Likewise.
32880 * stdio-common/printf_size.c: Likewise.
32881
9277c064
UD
32882 * math/e_exp10.c: Include math_private.h using <...> not "...".
32883 * math/e_exp10f.c: Likewise.
32884 * math/e_exp10l.c: Likewise.
32885 * math/e_exp2l.c: Likewise.
32886 * math/e_j0l.c: Likewise.
32887 * math/e_j1l.c: Likewise.
32888 * math/e_jnl.c: Likewise.
32889 * math/e_lgammal_r.c: Likewise.
32890 * math/e_rem_pio2l.c: Likewise.
32891 * math/e_scalb.c: Likewise.
32892 * math/e_scalbf.c: Likewise.
32893 * math/e_scalbl.c: Likewise.
32894 * math/k_cosl.c: Likewise.
32895 * math/k_sinl.c: Likewise.
32896 * math/k_tanl.c: Likewise.
32897 * math/s_cacoshf.c: Likewise.
32898 * math/s_catan.c: Likewise.
32899 * math/s_catanf.c: Likewise.
32900 * math/s_catanh.c: Likewise.
32901 * math/s_catanhf.c: Likewise.
32902 * math/s_catanhl.c: Likewise.
32903 * math/s_catanl.c: Likewise.
32904 * math/s_ccosh.c: Likewise.
32905 * math/s_ccoshf.c: Likewise.
32906 * math/s_ccoshl.c: Likewise.
32907 * math/s_cexp.c: Likewise.
32908 * math/s_cexpf.c: Likewise.
32909 * math/s_cexpl.c: Likewise.
32910 * math/s_clog.c: Likewise.
32911 * math/s_clog10.c: Likewise.
32912 * math/s_clog10f.c: Likewise.
32913 * math/s_clog10l.c: Likewise.
32914 * math/s_clogf.c: Likewise.
32915 * math/s_clogl.c: Likewise.
32916 * math/s_csin.c: Likewise.
32917 * math/s_csinf.c: Likewise.
32918 * math/s_csinh.c: Likewise.
32919 * math/s_csinhf.c: Likewise.
32920 * math/s_csinhl.c: Likewise.
32921 * math/s_csinl.c: Likewise.
32922 * math/s_csqrt.c: Likewise.
32923 * math/s_csqrtf.c: Likewise.
32924 * math/s_csqrtl.c: Likewise.
32925 * math/s_ctan.c: Likewise.
32926 * math/s_ctanf.c: Likewise.
32927 * math/s_ctanh.c: Likewise.
32928 * math/s_ctanhf.c: Likewise.
32929 * math/s_ctanhl.c: Likewise.
32930 * math/s_ctanl.c: Likewise.
32931 * math/s_ldexp.c: Likewise.
32932 * math/s_ldexpf.c: Likewise.
32933 * math/s_ldexpl.c: Likewise.
32934 * math/s_significand.c: Likewise.
32935 * math/s_significandf.c: Likewise.
32936 * math/s_significandl.c: Likewise.
32937 * math/w_acos.c: Likewise.
32938 * math/w_acosf.c: Likewise.
32939 * math/w_acosh.c: Likewise.
32940 * math/w_acoshf.c: Likewise.
32941 * math/w_acoshl.c: Likewise.
32942 * math/w_acosl.c: Likewise.
32943 * math/w_asin.c: Likewise.
32944 * math/w_asinf.c: Likewise.
32945 * math/w_asinl.c: Likewise.
32946 * math/w_atan2.c: Likewise.
32947 * math/w_atan2f.c: Likewise.
32948 * math/w_atan2l.c: Likewise.
32949 * math/w_atanh.c: Likewise.
32950 * math/w_atanhf.c: Likewise.
32951 * math/w_atanhl.c: Likewise.
32952 * math/w_cosh.c: Likewise.
32953 * math/w_coshf.c: Likewise.
32954 * math/w_coshl.c: Likewise.
32955 * math/w_dremf.c: Likewise.
32956 * math/w_exp10.c: Likewise.
32957 * math/w_exp10f.c: Likewise.
32958 * math/w_exp10l.c: Likewise.
32959 * math/w_exp2.c: Likewise.
32960 * math/w_exp2f.c: Likewise.
32961 * math/w_fmod.c: Likewise.
32962 * math/w_fmodf.c: Likewise.
32963 * math/w_fmodl.c: Likewise.
32964 * math/w_hypot.c: Likewise.
32965 * math/w_hypotf.c: Likewise.
32966 * math/w_hypotl.c: Likewise.
32967 * math/w_j0.c: Likewise.
32968 * math/w_j0f.c: Likewise.
32969 * math/w_j0l.c: Likewise.
32970 * math/w_j1.c: Likewise.
32971 * math/w_j1f.c: Likewise.
32972 * math/w_j1l.c: Likewise.
32973 * math/w_jn.c: Likewise.
32974 * math/w_jnf.c: Likewise.
32975 * math/w_jnl.c: Likewise.
32976 * math/w_lgamma.c: Likewise.
32977 * math/w_lgamma_r.c: Likewise.
32978 * math/w_lgammaf.c: Likewise.
32979 * math/w_lgammaf_r.c: Likewise.
32980 * math/w_lgammal.c: Likewise.
32981 * math/w_lgammal_r.c: Likewise.
32982 * math/w_log.c: Likewise.
32983 * math/w_log10.c: Likewise.
32984 * math/w_log10f.c: Likewise.
32985 * math/w_log10l.c: Likewise.
32986 * math/w_log2.c: Likewise.
32987 * math/w_log2f.c: Likewise.
32988 * math/w_log2l.c: Likewise.
32989 * math/w_logf.c: Likewise.
32990 * math/w_logl.c: Likewise.
32991 * math/w_pow.c: Likewise.
32992 * math/w_powf.c: Likewise.
32993 * math/w_powl.c: Likewise.
32994 * math/w_remainder.c: Likewise.
32995 * math/w_remainderf.c: Likewise.
32996 * math/w_remainderl.c: Likewise.
32997 * math/w_scalb.c: Likewise.
32998 * math/w_scalbf.c: Likewise.
32999 * math/w_scalbl.c: Likewise.
33000 * math/w_sinh.c: Likewise.
33001 * math/w_sinhf.c: Likewise.
33002 * math/w_sinhl.c: Likewise.
33003 * math/w_sqrt.c: Likewise.
33004 * math/w_sqrtf.c: Likewise.
33005 * math/w_sqrtl.c: Likewise.
33006 * math/w_tgamma.c: Likewise.
33007 * math/w_tgammaf.c: Likewise.
33008 * math/w_tgammal.c: Likewise.
33009
6a621eb7
UD
33010 * po/ja.po: Update from translation team.
33011
bf582445
AJ
330122011-09-29 Andreas Jaeger <aj@suse.de>
33013
f9efbf3a
AJ
33014 [BZ #13179]
33015 * sunrpc/netname.c (netname2host): Fix logic.
33016
bf582445
AJ
33017 [BZ #6779]
33018 [BZ #6783]
33019 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33020 correctly.
33021 * math/w_remainder.c (__remainder): Likewise.
33022 * math/w_remainderf.c (__remainderf): Likewise.
33023 * math/libm-test.inc (remainder_test): Add test cases.
33024
48693bea
AK
330252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33026
33027 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33028 sdiv_qrnnd.
33029
42622229
LD
330302011-10-07 Ulrich Drepper <drepper@gmail.com>
33031
33032 * string/test-memcmp.c: Avoid unncessary #defines.
33033 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33034
093ecf92
LD
330352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33036
33037 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33038 Use new sse2 version for core i3 - i7 as it's faster
33039 than sse42 version.
33040 (bit_Prefer_PMINUB_for_stringop): New.
33041 * sysdeps/x86_64/rawmemchr.S: Update.
33042 Replace with faster SSE2 version.
33043 * sysdeps/x86_64/memrchr.S: New file.
33044 * sysdeps/x86_64/memchr.S: Update.
33045 Replace with faster SSE2 version.
33046
fde56e5c
MP
330472011-09-12 Marek Polacek <mpolacek@redhat.com>
33048
33049 * elf/dl-load.c (lose): Add cast to avoid warning.
33050
21fd49a9
UD
330512011-10-07 Ulrich Drepper <drepper@gmail.com>
33052
5a06e643
UD
33053 * po/ca.po: Update from translation team.
33054
684ae515
UD
33055 * inet/getnetgrent_r.c: Hook up nscd.
33056 * nscd/Makefile (routines): Add nscd_netgroup.
33057 (nscd-modules): Add netgroupcache.
33058 (CFLAGS-netgroupcache.c): Define.
33059 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33060 (cache_search): Add const to second parameter.
33061 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33062 INNETGR.
33063 (dbs): Add netgrdb entry.
33064 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33065 (verify_persistent_db): Handle netgrdb.
33066 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33067 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33068 GETFDNETGR.
33069 (netgroup_response_header): Define.
33070 (innetgroup_response_header): Define.
33071 (datahead): Add netgroup_response_header and innetgroup_response_header
33072 elements.
33073 * nscd/nscd.conf: Add entries for netgroup cache.
33074 * nscd/nscd.h (dbtype): Add netgrdb.
33075 (_PATH_NSCD_NETGROUP_DB): Define.
33076 (netgroup_iov_disabled): Declare.
33077 (xmalloc, xcalloc, xrealloc): Move declarations here.
33078 (cache_search): Adjust prototype.
33079 Add netgroup-related prototypes.
33080 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33081 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33082 (__nscd_innetgr): Declare.
33083 * nscd/selinux.c (perms): Use access_vector_t as element type and
33084 add netgroup-related initializers.
33085 * nscd/netgroupcache.c: New file.
33086 * nscd/nscd_netgroup.c: New file.
33087 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33088 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33089 For four parameters use innetgr.
33090 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33091 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33092 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33093 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33094
21fd49a9
UD
33095 * nscd/connections.c (register_traced_file): Don't register file
33096 for disabled databases.
33097
054c0457
UD
330982011-10-06 Ulrich Drepper <drepper@gmail.com>
33099
32b63198
UD
33100 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33101
054c0457
UD
33102 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33103 from tree and freeing node.
33104
64031225
JO
331052011-09-25 Jiri Olsa <jolsa@redhat.com>
33106
33107 * nss/nsswitch.c (__nss_database_lookup): Handle
33108 nss_parse_service_list out of memory case.
33109
0490345c
JO
331102011-09-15 Jiri Olsa <jolsa@redhat.com>
33111
33112 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33113 out of memory case.
33114
3a62d00d
AS
331152011-10-04 Andreas Schwab <schwab@redhat.com>
33116
33117 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33118 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33119 pass it down.
33120 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33121 elf_machine_rela, elf_machine_lazy_rel.
33122 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33123 (ELF_DYNAMIC_DO_REL): Likewise.
33124 (ELF_DYNAMIC_DO_RELA): Likewise.
33125 (ELF_DYNAMIC_RELOCATE): Likewise.
33126 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33127 to ELF_DYNAMIC_DO_REL.
33128 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33129 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33130 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33131 elf_machine_rela.
33132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33133 skip_ifunc, don't call ifunc function if non-zero.
33134 (elf_machine_rela): Likewise.
33135 (elf_machine_lazy_rel): Likewise.
33136 (elf_machine_lazy_rela): Likewise.
33137 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33138 (elf_machine_lazy_rel): Likewise.
33139 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33140 Likewise.
33141 (elf_machine_lazy_rel): Likewise.
33142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33143 Likewise.
33144 (elf_machine_lazy_rel): Likewise.
33145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33146 (elf_machine_lazy_rel): Likewise.
33147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33148 (elf_machine_lazy_rel): Likewise.
33149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33150 (elf_machine_lazy_rel): Likewise.
33151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33152 (elf_machine_lazy_rel): Likewise.
33153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33154 (elf_machine_lazy_rel): Likewise.
33155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33156 (elf_machine_lazy_rel): Likewise.
33157
68577918
UD
331582011-09-28 Ulrich Drepper <drepper@gmail.com>
33159
33160 * nss/nss_files/files-init.c (_nss_files_init): Use static
33161 initialization for all the *_traced_file variables.
33162
68822d74
AS
331632011-09-28 Andreas Schwab <schwab@redhat.com>
33164
33165 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33166
2056100b
RM
331672011-09-27 Roland McGrath <roland@hack.frob.com>
33168
33169 [BZ #13226]
33170 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33171
32c76b63
AS
331722011-09-27 Andreas Schwab <schwab@redhat.com>
33173
33174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33175 Reread the line before reparsing it.
33176
bf972c9d
AS
331772011-09-26 Andreas Schwab <schwab@redhat.com>
33178
33179 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33180
e057a1b5
JM
331812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33182 Maxim Kuvyrkov <maxim@codesourcery.com>
33183 Joseph Myers <joseph@codesourcery.com>
33184
33185 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33186 if needed for __stack_chk_guard.
33187
bc7e1c36
RM
331882011-09-19 Roland McGrath <roland@hack.frob.com>
33189
ecb1482f
RM
33190 * sysdeps/posix/spawni.c (script_execute): Always define it.
33191 It will be optimized away if unused.
33192 (maybe_script_execute): New function.
33193 (__spawni): Call it.
33194
bc7e1c36
RM
33195 * Makerules: Don't include tls.make.
33196 (config-tls): Always set to thread.
33197 * tls.make.c: File removed.
33198
1c3b002b
MF
331992011-09-19 Mike Frysinger <vapier@gentoo.org>
33200
33201 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33202 * config.make.in (CPPFLAGS-config): New substituted variable.
33203
2840865d
UD
332042011-09-15 Ulrich Drepper <drepper@gmail.com>
33205
88738eb6
UD
33206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33207
cbf645a6 33208 [BZ #13192]
2840865d
UD
33209 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33210 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33211
b402e91a
RM
332122011-09-15 Roland McGrath <roland@hack.frob.com>
33213
33214 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33215 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33217 (CALL_FAIL): Likewise.
33218 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33219 (CALL_FAIL): Macro removed.
33220 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33221
4c1a1f71
UD
332222011-09-15 Ulrich Drepper <drepper@gmail.com>
33223
33224 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33225 for __FINITE_MATH_ONLY__ == 1.
33226
edc121be
AS
332272011-09-15 Andreas Schwab <schwab@redhat.com>
33228
33229 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33230 __ieee754_sqrt instead of sqrt.
33231 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33232 __ieee754_sqrtf instead of sqrtf.
33233 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33234 __floorf instead of floorf.
33235 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33236 __floorf, __truncf instead of floorf, truncf.
33237
cd205654
UD
332382011-09-14 Ulrich Drepper <drepper@gmail.com>
33239
ee4d0315
UD
33240 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33241
cd205654
UD
33242 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33243 __extern_always_inline.
33244 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33245 32-bit.
33246
48b67d71
AS
332472011-09-14 Andreas Schwab <schwab@redhat.com>
33248
33249 * elf/rtld.c (dl_main): Also relocate in dependency order when
33250 doing symbol dependency testing.
33251
1ae12c75
AS
332522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33253
33254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33255 Always define `refsym'.
33256
995a80df
AS
332572011-09-13 Andreas Schwab <schwab@redhat.com>
33258
e529793b
AS
33259 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33260 (__FD_ELT): Renamed from __FDELT.
33261 * misc/bits/select2.h (__FD_ELT): Likewise.
33262 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33263 __FD_MASK instead of __FDELT, __FDMASK.
33264 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33265 Likewise.
33266 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33267 Likewise.
33268
52d4fef8
AS
33269 * elf/Makefile (gen-ldd): Fix pattern.
33270
995a80df
AS
33271 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33272 (init_tls): Likewise.
33273
8682f8b0
UD
332742011-09-12 Ulrich Drepper <drepper@gmail.com>
33275
33276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33277
de82006d
AS
332782011-09-12 Andreas Schwab <schwab@redhat.com>
33279
a7c8e6a1
AS
33280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33281 `struct cmsghdr *' instead of `void *'.
33282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33283 Likewise.
33284
0f31fe77
AS
332852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33286
33287 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33288 if non-absolute.
33289 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33290 ldd_rewrite_script.
0f31fe77 33291
32b4c839
UD
332922011-09-11 Ulrich Drepper <drepper@gmail.com>
33293
83cd1420
UD
33294 * configure.in: Remove --with-tls option.
33295 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33296 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33297 out in case it is missing.
33298 * sysdeps/ia64/elf/configure.in: Likewise.
33299 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33300 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33301 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33302 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33303 * sysdeps/sh/elf/configure.in: Likewise.
33304 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33306 * sysdeps/x86_64/elf/configure.in: Likewise.
33307 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33308 * sysdeps/mach/hurd/tls.h: Likewise.
33309
633f745d
UD
33310 [BZ #13067]
33311 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33312
f318beb8
UD
33313 [BZ #13090]
33314 * configure.in: Fix use of AC_INIT.
33315
32b4c839
UD
33316 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33317
3ce1f295
UD
333182011-09-10 Ulrich Drepper <drepper@gmail.com>
33319
bb016596
UD
33320 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33321 __set_errno.
8e58439c
UD
33322 * malloc/hooks.c: Likewise.
33323
aebae053 33324 [BZ #11929]
02d46fc4
UD
33325 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33326 variables statically.
33327 (narenas): Initialize.
33328 (list_lock): Initialize.
bb016596
UD
33329 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33330 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33331 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33332 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33333 Add initializers to main_arena and mp_.
33334 (malloc_state): Remove pagesize member. Change all users to use
33335 GLRO(dl_pagesize).
33336
33337 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33338 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33339 is always initialized.
33340
22a89187
UD
33341 * malloc/malloc.c: Removed unused configurations and dead code.
33342 * malloc/arena.c: Likewise.
33343 * malloc/hooks.c: Likewise.
02d46fc4 33344 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33345
d063d164
UD
33346 * include/tls.h: Removed. USE___THREAD must always be defined.
33347 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33348 * elf/dl-libc.c: Likewise.
33349 * elf/dl-tsd.c: Likewise.
33350 * include/errno.h: Likewise.
33351 * include/netdb.h: Likewise.
33352 * include/resolv.h: Likewise.
33353 * inet/herrno-loc.c: Likewise.
33354 * inet/herrno.c: Likewise.
33355 * malloc/arena.c: Likewise.
33356 * malloc/hooks.c: Likewise.
33357 * malloc/malloc.c: Likewise.
33358 * resolv/res-state.c: Likewise.
33359 * resolv/res_libc.c: Likewise.
33360 * sysdeps/i386/dl-machine.h: Likewise.
33361 * sysdeps/ia64/dl-machine.h: Likewise.
33362 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33363 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33364 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33365 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33366 * sysdeps/sh/dl-machine.h: Likewise.
33367 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33369 * sysdeps/unix/i386/sysdep.S: Likewise.
33370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33371 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33376 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33381 * sysdeps/x86_64/dl-machine.h: Likewise.
33382 * tls.make.c: Likewise.
33383
3ce1f295
UD
33384 * configure.in: Remove --with-__thread option. Make tests for
33385 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33386 tls_model attribute fail if no support is available. Remove
33387 USE_IN_LIBIO.
33388 * Makeconfig: Adjust for dropped configure option. All features are
33389 now mandatory.
33390 * Makerules: Likewise.
33391 * Versions.def: Likewise.
33392 * argp/argp-fmtstream.c: Likewise.
33393 * argp/argp-fmtstream.h: Likewise.
33394 * argp/argp-help.c: Likewise.
33395 * assert/assert.c: Likewise.
33396 * config.h.in: Likewise.
33397 * config.make.in: Likewise.
33398 * configure: Likewise.
33399 * configure.in: Likewise.
33400 * csu/Versions: Likewise.
33401 * csu/init.c: Likewise.
33402 * elf/tst-audit2.c: Likewise.
33403 * elf/tst-tls10.c: Likewise.
33404 * elf/tst-tls10.h: Likewise.
33405 * elf/tst-tls11.c: Likewise.
33406 * elf/tst-tls12.c: Likewise.
33407 * elf/tst-tls14.c: Likewise.
33408 * elf/tst-tlsmod11.c: Likewise.
33409 * elf/tst-tlsmod12.c: Likewise.
33410 * elf/tst-tlsmod13.c: Likewise.
33411 * elf/tst-tlsmod13a.c: Likewise.
33412 * elf/tst-tlsmod14a.c: Likewise.
33413 * elf/tst-tlsmod15b.c: Likewise.
33414 * elf/tst-tlsmod16a.c: Likewise.
33415 * elf/tst-tlsmod16b.c: Likewise.
33416 * elf/tst-tlsmod7.c: Likewise.
33417 * elf/tst-tlsmod8.c: Likewise.
33418 * elf/tst-tlsmod9.c: Likewise.
33419 * gmon/gmon.c: Likewise.
33420 * grp/fgetgrent_r.c: Likewise.
33421 * grp/putgrent.c: Likewise.
33422 * hurd/fopenport.c: Likewise.
33423 * include/libc-symbols.h: Likewise.
33424 * include/tls.h: Likewise.
33425 * intl/gettextP.h: Likewise.
33426 * intl/loadinfo.h: Likewise.
33427 * locale/global-locale.c: Likewise.
33428 * locale/localeinfo.h: Likewise.
33429 * mach/devstream.c: Likewise.
33430 * malloc/arena.c: Likewise.
33431 * malloc/set-freeres.c: Likewise.
33432 * misc/err.c: Likewise.
33433 * misc/getttyent.c: Likewise.
33434 * misc/mntent_r.c: Likewise.
33435 * posix/getopt.c: Likewise.
33436 * posix/wordexp.c: Likewise.
33437 * pwd/fgetpwent_r.c: Likewise.
33438 * resolv/Versions: Likewise.
33439 * resolv/res_hconf.c: Likewise.
33440 * shadow/fgetspent_r.c: Likewise.
33441 * shadow/putspent.c: Likewise.
33442 * stdio-common/printf_fphex.c: Likewise.
33443 * stdio-common/tmpfile.c: Likewise.
33444 * stdlib/abort.c: Likewise.
33445 * stdlib/fmtmsg.c: Likewise.
33446 * sunrpc/auth_unix.c: Likewise.
33447 * sunrpc/clnt_perr.c: Likewise.
33448 * sunrpc/clnt_tcp.c: Likewise.
33449 * sunrpc/clnt_udp.c: Likewise.
33450 * sunrpc/clnt_unix.c: Likewise.
33451 * sunrpc/openchild.c: Likewise.
33452 * sunrpc/svc_simple.c: Likewise.
33453 * sunrpc/svc_tcp.c: Likewise.
33454 * sunrpc/svc_udp.c: Likewise.
33455 * sunrpc/svc_unix.c: Likewise.
33456 * sunrpc/xdr.c: Likewise.
33457 * sunrpc/xdr_array.c: Likewise.
33458 * sunrpc/xdr_rec.c: Likewise.
33459 * sunrpc/xdr_ref.c: Likewise.
33460 * sunrpc/xdr_stdio.c: Likewise.
33461
1248c1c4
PB
334622011-09-09 Ulrich Drepper <drepper@gmail.com>
33463
33464 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33465
334662011-07-03 Andreas Jaeger <aj@suse.de>
33467
33468 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33469 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33470 regenerate with gen-libm-tests.pl.
33471
334722010-05-12 Petr Baudis <pasky@suse.cz>
33473
33474 [BZ #11589]
33475 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33476 around j0() zero points by switching to j1().
33477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33481
f22e1074
UD
334822011-09-09 Ulrich Drepper <drepper@gmail.com>
33483
f19009c1
UD
33484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33485 instead of 0.
33486 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33487 instead of 0.
f19009c1
UD
33488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33489 Patch in part by Pavel Roskin <proski@gnu.org>.
33490
3f8cc204
UD
33491 [BZ #13138]
33492 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33493 realloc.
33494 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33495 Free memory block if necessary.
33496
f22e1074
UD
33497 [BZ #12847]
33498 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33499 be NULL. Don't lock in this case.
33500
0a2349f9
RM
335012011-09-09 Roland McGrath <roland@hack.frob.com>
33502
33503 * elf/elf.h (ELFOSABI_GNU): New macro.
33504 (ELFOSABI_LINUX): Define to that.
33505
f3cdd467
DZ
335062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33507
33508 * string/strncat.c (strncat): Undef the symbol in case it has been
33509 defined in bits/string.h.
33510
74718d13
UD
335112011-09-09 Ulrich Drepper <drepper@gmail.com>
33512
633e9e0f
UD
33513 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33514
0a2349f9 33515 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33516 link map.
33517
f9924780
AJ
335182011-08-17 Andreas Jaeger <aj@suse.de>
33519
33520 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33521
7f5517aa
PP
335222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33523 Ian Lance Taylor <iant@google.com>
33524
33525 * math/libm-test.inc (lround_test): New testcase.
33526 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33527
762011fe
UD
335282011-09-08 Ulrich Drepper <drepper@gmail.com>
33529
92963737
UD
33530 * Makefile: Remove support for automatic cvs check-ins.
33531 * Makerules: Likewise.
33532 * config.make.in: Likewise.
33533 * configure.in: Likewise.
33534 * intl/Makefile: Likewise.
33535 * locale/Makefile: Likewise.
33536 * po/Makefile: Likewise.
33537 * posix/Makefile: Likewise.
33538 * sysdeps/gnu/Makefile: Likewise.
33539 * sysdeps/mach/hurd/Makefile: Likewise.
33540 * sysdeps/sparc/sparc32/Makefile: Likewise.
33541
b0727fd8
JS
33542 [BZ #13118]
33543 * posix/Makefile (bug-regex32-ENV): Define.
33544 Patch by John Stanley <jpsinthemix@verizon.net>.
33545
a0f33f99
UD
33546 * misc/Makefile (headers): Add bits/select2.h.
33547 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33548 * misc/bits/select2.h: New file.
33549 * include/bits/select2.h: New file.
33550 * debug/Makefile (routines): Add fdelt_chk.
33551 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33552 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33553 FD_ISSET.
33554 * debug/fdelt_chk.c: New file.
33555
762011fe
UD
33556 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33557 * wcsmbs/test-wmemcmp.c: Likewise.
33558 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33559 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33560
335612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33562
33563 * string/Makefile (strop-tests): Add memcmp.
33564 * string/test-wmemcmp.c: New file.
33565 * string/test-memcmp.c: Add wmemcmp support.
33566
7f513ec8
RM
335672011-09-08 Roland McGrath <roland@hack.frob.com>
33568
0442afb4
RM
33569 [BZ #13153]
33570 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33571 2011-07-19 change.
33572
7f513ec8
RM
33573 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33574 garbage value in a __mach_port_mod_refs call in the cases of the
33575 task-self and thread-self ports.
33576
a12b2239
ST
335772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33578
33579 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33580
610f9ab4
AS
335812011-09-08 Andreas Schwab <schwab@redhat.com>
33582
7f513ec8 33583 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33584
48882a1a
LD
335852011-09-07 Ulrich Drepper <drepper@gmail.com>
33586
b49865be
UD
33587 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33588
fdc86bc9
UD
33589 * elf/dl-libc.c (dlerror_run): Pass back error code from
33590 dl_catch_error.
33591
c966526a
UD
33592 [BZ #13123]
33593 * elf/dl-load.c (lose): Free l_origin if it is valid.
33594
48882a1a
LD
33595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33596 names.
33597 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33602 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33603
77a2a8b4
AZ
336042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33605
33606 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33607 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33608 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33610 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33611 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33612 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33613 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33614 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33615 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33616
24f579d8
AM
336172011-08-15 Alan Modra <amodra@gmail.com>
33618
33619 [BZ #13092]
33620 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33621 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33622 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33623 ppc_mcount to static-only-routines.
33624 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33625 __mcount_internal.
33626 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33627 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33628
3d4837df
UD
336292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33630
33631 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33632 for finite and infinity parameters.
33633
22700377
WS
336342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33635
33636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33637 and add nop instructions for throughput optimization.
33638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33639
5025581e
WS
336402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33641
33642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33643 aligned copy for power7 with vector-scalar instructions.
33644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33645
08a300c9
L
336462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33647
33648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33649 AVX check.
33650
59178ef9
AS
336512011-09-07 Andreas Schwab <schwab@redhat.com>
33652
33653 [BZ #13144]
33654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33655 last change.
33656
e38ba7ab
UD
336572011-09-07 Ulrich Drepper <drepper@gmail.com>
33658
33659 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33660 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33661 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33662 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33663 clock_gettime.
33664
d53a73ac
UD
336652011-09-06 Ulrich Drepper <drepper@gmail.com>
33666
fc8bffcc
UD
33667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33668 Forgot to demangle the pointer.
33669
ceaa0c5d
UD
33670 * sysdeps/i386/sysdep.h: Define atom_text_section.
33671 * sysdeps/x86_64/sysdep.h: Likewise.
33672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33673 section with atom_text_section.
33674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33675 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33676 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33679
a77d3c17
UD
33680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33681 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33682 already be defined. Change to take two parameters and don't assign
33683 result to variable. Adjust all users.
33684 Define INTERNAL_GETTIME if not already defined.
33685 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33686 call.
33687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33688 HAVE_CLOCK_GETTIME_VSYSCALL.
33689 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33690
d53a73ac
UD
33691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33692 gettimeofday vsyscall, just use time.
33693
a8f84144
AS
336942011-09-06 Andreas Schwab <schwab@redhat.com>
33695
33696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33697 <errno.h>.
33698
ef606249
UD
336992011-09-06 Ulrich Drepper <drepper@gmail.com>
33700
33701 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33702 syscall on x86-64.
33703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33704 syscall.
33705 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33706 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33707 syscall if possible.
33708
6585cb60
UD
337092011-09-05 Ulrich Drepper <drepper@gmail.com>
33710
33711 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33712 e_ident. Don't pass to find_mapsXX.
33713 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33714
a5f524e4
LD
337152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33716
33717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33718 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33719 * sysdeps/x86_64/multiarch/strchr.S: Update.
33720 Check bit_slow_BSF bit.
33721 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33722 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33724
554881ef
UD
337252011-09-05 Ulrich Drepper <drepper@gmail.com>
33726
d96de963
UD
33727 [BZ #13134]
33728 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33729 before glibc 2.15.
33730 (tryshell): Define.
33731 (__spawni): Change last parameter to be flag. Test
33732 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33733 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33734 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33735 * posix/spawni.c: Likewise.
33736 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33737 * posix/spawnp.c: Likewise. Change normal version to use
33738 SPAWN_XFLAGS_USE_PATH.
33739 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33740 SPAWN_XFLAGS_TRY_SHELL.
33741
d48e5868
UD
33742 [BZ #13150]
33743 * posix/glob.h: Remove gcc 1.x support.
33744
554881ef
UD
33745 [BZ #13068]
33746 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33747
693fb948
LD
337482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33749
33750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33751 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33752 strrchr-sse2-bsf
33753 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33754 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33755 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33757 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33759
1b48c537
UD
337602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33761
49d42c37
UD
33762 * sysdeps/x86_64/wcscmp.S: New file.
33763
1b48c537
UD
33764 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33765 wcscmp-c wcscmp-sse2
33766 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33767 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33768 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33769 * wcsmbs/wcscmp.c: Allow renaming.
33770
15c95c5d
DM
337712011-09-05 David S. Miller <davem@davemloft.net>
33772
33773 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33774 stack slot, rather than the struct return pointer slot.
33775 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33776 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33778 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33779
2f0ad8f3
UD
337802011-09-05 Ulrich Drepper <drepper@gmail.com>
33781
d88ae418
UD
33782 * po/ja.po: Update from translation team.
33783
2f0ad8f3
UD
33784 [BZ #13144]
33785 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33786 kernel in 64-bit binaries.
33787
5f4318d1
DM
337882011-09-01 David S. Miller <davem@davemloft.net>
33789
33790 * elf/elf.h (HWCAP_SPARC_*): Move to..
33791 * sysdeps/sparc/sysdep.h: this new file and add new values.
33792 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33793 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33794 _DL_HWCAP_COUNT to 24.
33795 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33796 entries.
33797 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33798 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33799 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33801 instead of magic constants.
33802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33803
3ba57516
DM
338042011-08-31 David S. Miller <davem@davemloft.net>
33805
33806 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33808 Reimplement to do errno handling inline.
33809 (SYSCALL_ERROR_HANDLER): New macro.
33810 (__SYSCALL_STRING): Do not do errno handling in asm.
33811 (__CLONE_SYSCALL_STRING): Delete.
33812 (__INTERNAL_SYSCALL_STRING): Delete.
33813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33814 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33815 (PSEUDO): Reimplement to do errno handling inline.
33816 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33817 (SYSCALL_ERROR_HANDLER): New macro.
33818 (__SYSCALL_STRING): Do not do errno handling in asm.
33819 (__CLONE_SYSCALL_STRING): Delete.
33820 (__INTERNAL_SYSCALL_STRING): Delete.
33821 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33822 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33823 i386.
33824 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33825 (inline_syscall*): Add 'err' argument.
33826 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33827 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33828 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33829 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33830
33831 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33832 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33833
2bc17433
AS
338342011-08-30 Andreas Schwab <schwab@redhat.com>
33835
33836 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33837
fbeb5f4d
JO
338382011-08-29 Jiri Olsa <jolsa@redhat.com>
33839
33840 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33841 directive.
33842
ad69cc26
DM
338432011-08-24 David S. Miller <davem@davemloft.net>
33844
33845 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33846
39dd69df
AS
338472011-08-24 Andreas Schwab <schwab@redhat.com>
33848
33849 * elf/Makefile: Add rules to build and run unload8 test.
33850 * elf/unload8.c: New file.
33851 * elf/unload8mod1.c: New file.
33852 * elf/unload8mod1x.c: New file.
33853 * elf/unload8mod2.c: New file.
33854 * elf/unload8mod3.c: New file.
33855
33856 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33857 it wasn't used.
33858
2c0b250a
DM
338592011-08-23 David S. Miller <davem@davemloft.net>
33860
33861 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33862 subtract stack bias.
33863 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33864 %sp not %fp in calculations.
33865 (_JMPBUF_UNWINDS_ADJ): Likewise.
33866
22044b48
DM
33867 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33868 (aio_suspend): Call it to force an exception region around the
33869 AIO_MISC_WAIT() invocation.
33870
2cae4995
AS
338712011-08-23 Andreas Schwab <schwab@redhat.com>
33872
33873 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33874 backslash.
33875
873a772e
AJ
338762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33877
33878 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33879 protection macro.
33880 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33881 and <dl-machine.h>.
33882 (Elf64_FuncDesc): Remove.
33883
25ad0df1
DM
338842011-08-22 David S. Miller <davem@davemloft.net>
33885
33886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33887 sigaltstack check, add missing cfi directives.
33888 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33889 missing cfi directives, and sigaltstack handling.
33890
e888bcbe
AS
338912011-08-16 Andreas Schwab <schwab@redhat.com>
33892
33893 [BZ #11724]
33894 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33895 object is seen twice.
33896 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33897
33898 * elf/Makefile (distribute): Add tst-initorder2.c.
33899 (tests): Add tst-initorder2.
33900 (modules-names): Add tst-initorder2a tst-initorder2b
33901 tst-initorder2c tst-initorder2d. Add rules to build them.
33902 ($(objpfx)tst-initorder2.out): New rule.
33903 * elf/tst-initorder2.c: New file.
33904 * elf/tst-initorder2.exp: New file.
33905
87162f46
AS
339062011-08-22 Andreas Schwab <schwab@redhat.com>
33907
70538b7f
AS
33908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33909
f55ffe58
AS
33910 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33911 dependencies back to end of function.
33912
87162f46
AS
33913 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33914 $(elfobjdir)/ld.so.
33915
91b392a4
UD
339162011-08-21 Ulrich Drepper <drepper@gmail.com>
33917
33918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33919 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33921 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33922 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33923 of __vdso_gettimeofday.
33924 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33925 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33926 attribute_hidden.
33927 (_libc_vdso_platform_setup): Remove initialization of
33928 __vdso_gettimeofday and __vdso_time.
33929
5c43483f
UD
339302011-08-20 Ulrich Drepper <drepper@gmail.com>
33931
775a77e7
UD
33932 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33933 and fgetc_unlocked.
33934 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33935 getc_unlocked.
89f447ed 33936
49c74ba9
UD
33937 * elf/dl-open.c (add_to_global): Report additions to the global scope
33938 for LD_DEBUG=scopes.
33939 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33940 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33941
5c43483f
UD
33942 [BZ #13114]
33943 * stdio-common/Makefile (tests): Add bug24.
33944 * stdio-common/bug24.c: New file.
33945
a101b025
AJ
339462011-08-19 Andreas Jaeger <aj@suse.de>
33947
33948 [BZ #13114]
33949 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33950 non-existant file when using close-on-exec mode.
33951
c88f1766
UD
339522011-08-20 Ulrich Drepper <drepper@gmail.com>
33953
0276a718
UD
33954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33955 the very first instruction.
33956
c88f1766
UD
33957 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33958 the CFI state in the end.
33959 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33960 inclusion of dl-trampoline.h.
33961 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33962
51ccffa0
AS
339632011-08-19 Andreas Schwab <schwab@redhat.com>
33964
94d7165f
AS
33965 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33966 expectations for long double.
33967
51ccffa0
AS
33968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33969 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33970
fd708658 339712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33972
33973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33974 artificual limit depends upon the system page size.
33975
44f0a71e
UD
339762011-08-17 Ulrich Drepper <drepper@gmail.com>
33977
33978 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33979 * resolv/Makefile: Define CFLAGS-libresolv.
33980
8de79a24
AS
339812011-08-17 Andreas Schwab <schwab@redhat.com>
33982
33983 * nss/makedb.c (compute_tables): Make variables used in nested
33984 function static.
33985
27724598
UD
339862011-08-17 Ulrich Drepper <drepper@gmail.com>
33987
c5305d88
UD
33988 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33989 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33990 if buffer was too small.
33991
27724598
UD
33992 * elf/pldd.c (main): Attach to all threads in the process.
33993 Rewrite /proc handling to use *at functions.
33994
076fe015
UD
339952011-08-16 Ulrich Drepper <drepper@gmail.com>
33996
174baab3
UD
33997 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33998 specifies first scope to show.
33999 (dl_open_worker): Update callers. Move printing scope of new
34000 object to before the relocation.
44f0a71e 34001 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34002 * sysdeps/generic/ldsodefs.h: Update declaration.
34003
076fe015
UD
34004 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34005 string for the scope number.
34006
a60df2c3
UD
340072011-08-14 Ulrich Drepper <drepper@gmail.com>
34008
34009 * nscd/servicescache.c (cache_addserv): Make sure written is always
34010 initialized.
34011
5e4287d1
RM
340122011-08-14 Roland McGrath <roland@hack.frob.com>
34013
85ae0589
RM
34014 * sysdeps/i386/i486/bits/atomic.h
34015 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34016 statement expression, so as to suppress "set but not used" warning.
34017 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34018
69f63097
RM
34019 * string/strncat.c (STRNCAT): Use prototype definition.
34020
675456ef
RM
34021 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34022 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34023 -Iprograms here.
34024 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34025 (localedef-modules): Add localedef.
34026 (locale-modules): Add locale.
34027
5e4287d1
RM
34028 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34029 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34030 to avoid a warning.
34031
9c96ff23
DM
340322011-08-14 David S. Miller <davem@davemloft.net>
34033
34034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34035 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34036
f9ddf089
UD
340372011-08-13 Ulrich Drepper <drepper@gmail.com>
34038
44f0a71e 34039 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34040 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34041 * elf/rtld.c (dl_main): Set l_name of vDSO.
34042 Call _dl_show_scope when DL_DEBUG_SCOPES.
34043 (process_dl_debug): Recognize scopes flag and also set it for all.
34044 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34045 Declare _dl_show_scope.
34046
1dc27704
UD
34047 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34048 (do_dlopen): Pass caller_dlopen to dl_open.
34049 (__libc_dlopen_mode): Initialize caller_dlopen.
34050
f9ddf089
UD
34051 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34052 of libc. Make tolower call locale-independent. Optimize a bit by
34053 using isdigit instead of isalnum.
34054 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34055
9ac533d3
UD
340562011-08-12 Ulrich Drepper <drepper@gmail.com>
34057
34058 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34059 was a dependency or dynamically loaded.
34060
89edf2e9
UD
340612011-08-11 Ulrich Drepper <drepper@gmail.com>
34062
8e999d29
UD
34063 * intl/l10nflist.c: Allow architecture-specific pop function.
34064 * sysdeps/x86_64/l10nflist.c: New file.
34065
89edf2e9
UD
34066 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34067 classification.
34068
14d96785
AS
340692011-08-10 Andreas Schwab <schwab@redhat.com>
34070
34071 * include/dirent.h: Add libc_hidden_proto for scandirat and
34072 scandirat64. Don't declare __scandirat64.
34073 * dirent/scandirat.c: Add libc_hidden_def.
34074 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34075 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34076
6761ac04
DM
340772011-08-10 David S. Miller <davem@davemloft.net>
34078
34079 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34080 enum.
34081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34084
c55fbd1e
UD
340852011-08-09 Ulrich Drepper <drepper@gmail.com>
34086
34087 * Versions.def [libc]: Add GLIBC_2.15.
34088 * dirent/Makefile (routines): Add scandirat and scandirat64.
34089 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34090 GLIBC_2.15.
34091 * dirent/dirent.h: Declare scandirat and scandirat64.
34092 * dirent/scandirat.c: New file.
34093 * dirent/scandirat64.c: New file.
34094 * sysdeps/wordsize-64/scandirat.c: New file.
34095 * sysdeps/wordsize-64/scandirat64.c: New file.
34096 * dirent/opendir.c: Define opendirat.
34097 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34098 using scandirat.
34099 * dirent/scandir64.c: Adjust for scandir.c change.
34100 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34101 __scandirat64, and __scandir_cancel_handler.
34102 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34103 additional parameter and use openat instead of open (outside of ld.so).
34104 Add new __opendir as wrapper around __opendirat.
34105 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34106 here without requiring old scandirat implementation.
34107
879165f2
UD
341082011-08-08 Ulrich Drepper <drepper@gmail.com>
34109
34110 * dirent/scandir.c (cancel_handler): Renamed to
34111 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34112 defined. Adjust users.
34113 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34115
cb7e923b
UD
341162011-08-04 Ulrich Drepper <drepper@gmail.com>
34117
16292edd
UD
34118 * string/test-string.h (IMPL): Use __STRING to expand name and then
34119 stringify it.
34120
cb7e923b
UD
34121 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34122 of cleanups.
34123
cff82933
LD
341242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34125
34126 * string/Makefile: Update.
34127 (strop-tests): Append strncat.
34128 * string/test-wcscmp.c: New file.
34129 New comprehensive test for wcscmp.
34130 * string/test-strcmp.c: Update.
34131 (WIDE): New define.
34132
9be9bfcc
AS
341332011-07-22 Andreas Schwab <schwab@redhat.com>
34134
34135 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34136 line.
34137
2e96f1c7
AS
341382011-07-26 Andreas Schwab <schwab@redhat.com>
34139
34140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34141 encoding to ACE if AI_IDN.
34142
85188888
JJ
341432011-08-01 Jakub Jelinek <jakub@redhat.com>
34144
34145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34146 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34147
5fa16e9b
LD
341482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34149
34150 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34151 Fix overflow bug in strncat.
34152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34153
34154 * string/test-strncat.c: Update.
34155 Add new tests for checking overflow bugs.
34156
341572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34158
34159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34160 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34161 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34162 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34164 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34165 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34166 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34167 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34168
34169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34170 (USE_AS_STRCAT): Define.
34171 Add strcat and strncat support.
34172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34173
8c1a459f
AS
341742011-07-25 Andreas Schwab <schwab@redhat.com>
34175
34176 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34177 __n bigger than INT_MAX+1.
34178 (__strncmp_g): Likewise.
34179
bba33c28
UD
341802011-07-23 Ulrich Drepper <drepper@gmail.com>
34181
798be72d
UD
34182 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34183 * libio/stido.h: Likewise.
34184
8accd4dc
UD
34185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34186 (AF_NFC): Define.
34187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34188 (AF_NFC): Define.
34189
cbff0d96
UD
34190 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34195
9191c04a
UD
34196 [BZ #13021]
34197 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34198 installed.
34199
bba33c28
UD
34200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34201 typo.
34202 (_dl_x86_64_save_sse): Likewise.
34203
90f139dd
UD
342042011-07-22 Ulrich Drepper <drepper@gmail.com>
34205
1aae088a
UD
34206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34207 OSXSAVE.
34208 (_dl_x86_64_save_sse): Likewise.
34209
8e2045f5
UD
34210 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34211
90f139dd
UD
34212 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34213
1d002f25
AS
342142011-07-21 Andreas Schwab <schwab@redhat.com>
34215
34216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34217 change.
34218 (_dl_x86_64_save_sse): Use correct AVX check.
34219
21137f89
UD
342202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34221
34222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34223 bug in strncpy/strncat.
34224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34225
a65c0b7a
UD
342262011-07-21 Ulrich Drepper <drepper@gmail.com>
34227
34228 * string/tester.c (test_strcat): Add tests for different alignments
34229 of source and destination.
34230 (test_strncat): Likewise.
34231
6986b98a
UD
342322011-07-20 Ulrich Drepper <drepper@gmail.com>
34233
90bb2039
UD
34234 [BZ #12852]
34235 * posix/glob.c (glob): Check passed in values before using them in
34236 expressions to avoid some overflows.
34237 (glob_in_dir): Likewise.
34238
5644ef54
UD
34239 [BZ #13007]
34240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34241 check for AVX enablement so that we don't crash with old kernels and
34242 new hardware.
34243 * elf/tst-audit4.c: Add same checks here.
34244 * elf/tst-audit6.c: Likewise.
34245
34246 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34247
bfc9dc9b
AS
342482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34249
34250 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34251
702e64bb
UD
342522011-07-20 Ulrich Drepper <drepper@gmail.com>
34253
34254 * po/cs.po: Update from translation team.
34255 * po/bg.po: Likewise.
34256
295e904f
MP
342572011-07-12 Marek Polacek <mpolacek@redhat.com>
34258
34259 * misc/sys/cdefs.h: Add support for const attribute.
34260 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34261 to gnu_dev_{major,minor,makedev} functions.
34262
3ff94596
MP
342632011-07-20 Marek Polacek <mpolacek@redhat.com>
34264
34265 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34266
28b59fca
AS
342672011-07-20 Andreas Schwab <schwab@redhat.com>
34268
34269 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34270 strlen results.
34271
19df733e
AK
342722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34273
34274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34275 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34276 register in order to avoid conflicts with the soft frame pointer
34277 being held in r11 when necessary.
34278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34279 (INTERNAL_VSYSCALL_NCS): Likewise.
34280
c8835729
MP
342812011-07-14 Marek Polacek <mpolacek@redhat.com>
34282
34283 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34284 * elf/dl-fini.c (_dl_fini): Adjust caller.
34285 * elf/dl-close.c (_dl_close_worker): Likewise.
34286 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34287
b902330c
MP
342882011-07-15 Marek Polacek <mpolacek@redhat.com>
34289
8991e135
MP
34290 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34291 "aux_cache->nlibs < 0".
34292
b902330c
MP
34293 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34294 in the reload-count case.
34295
99710781
LD
342962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34297
34298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34299 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34300 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34302 * sysdeps/x86_64/multiarch/strcat.S: New file.
34303 * sysdeps/x86_64/multiarch/strncat.S: New file.
34304 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34306 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34307 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34309 (USE_AS_STRCAT): Define.
34310 Add strcat and strncat support.
34311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34313 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34314 * string/strncat.c: Update.
34315 (USE_AS_STRNCAT): Define.
34316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34317 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34318 and i7.
34319 * sysdeps/x86_64/multiarch/init-arch.h
34320 (bit_Prefer_PMINUB_for_stringop): New.
34321 (index_Prefer_PMINUB_for_stringop): Likewise.
34322 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34323 bit_Prefer_PMINUB_for_stringop.
34324
7dc6bd90
UD
343252011-07-19 Ulrich Drepper <drepper@gmail.com>
34326
34327 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34328 buffer64.
34329 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34330 of casting of buffer.
34331 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34332 buffer32 and buffer64.
34333 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34334 writes instead of casting of buffer.
34335 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34336 buffer32.
34337 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34338 casting of buffer.
34339
e0e72284
AS
343402011-07-19 Andreas Schwab <schwab@redhat.com>
34341
34342 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34343
feb1eb0b
UD
343442011-07-19 Ulrich Drepper <drepper@gmail.com>
34345
34346 * nscd/nscd.c (termination_handler): Don't do anything for a database
34347 if it has not yet been initialized.
34348
298711ff
UD
343492011-07-18 Ulrich Drepper <drepper@gmail.com>
34350
34351 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34352
343532011-07-15 Marek Polacek <mpolacek@redhat.com>
34354
34355 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34356
f9d68389
UD
343572011-07-18 Ulrich Drepper <drepper@gmail.com>
34358
34359 * po/nl.po: Update from translation team.
34360 * po/sv.po: Likewise.
34361
db290cf5
RM
343622011-07-16 Roland McGrath <roland@hack.frob.com>
34363
34364 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34365 now disallowed by GCC.
5c550700 34366
fd5e21c7
RM
34367 * configure.in (use-default-link): Default to yes if a test -shared
34368 link meets our qualifications.
34369 * configure: Regenerated.
34370
5c550700
RM
34371 * config.make.in (output-format): New variable.
34372 * configure.in: Check for ld --print-output-format support.
34373 * configure: Regenerated.
34374 * Makerules ($(common-objpfx)format.lds)
34375 [$(output-format) != unknown]: Just use $(output-format),
34376 instead of the linker-script munging.
34377
9fa2c032
RM
343782011-07-14 Roland McGrath <roland@hack.frob.com>
34379
a6928d51
RM
34380 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34381 of $(common-objpfx)shlib.lds.
34382 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34383
661607b3
RM
34384 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34385 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34386
9fa2c032
RM
34387 * configure.in (-z relro check): Adjust test code to add a large
34388 writable data section after it.
34389 * configure: Regenerated.
34390
defe9061
RM
343912011-07-11 Roland McGrath <roland@hack.frob.com>
34392
34393 * configure.in (-z relro check): Fix test code to make the variable
34394 truly const.
34395 * configure: Regenerated.
34396
319b9ad4
UD
343972011-07-11 Ulrich Drepper <drepper@gmail.com>
34398
34399 * nscd/nscd.h (struct traced_file): Define.
34400 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34401 elements. Add traced_files.
34402 (inotify_fd): Declare.
34403 (register_traced_file): Declare.
34404 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34405 (inotify_fd): Export.
34406 (resolv_conf_descr): Remove.
34407 (nscd_init): Move inotify descriptor creation to main.
34408 Don't register files for notification here.
34409 (register_traced_file): New function.
34410 (invalidate_cache): Don't use reset_res to determine whether to call
34411 res_init, go through the list of registered files.
34412 (main_loop_poll): The inotify descriptors are now stored in the
34413 structures for the traced files.
34414 (main_loop_epoll): Likewise
34415 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34416 to __nss_disable_nscd.
34417 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34418 for a database anymore. Check the records for all the registered
34419 files instead.
34420 * nss/Makefile (libnss_files-routines): Add files-init.
34421 (libnss_db-routines): Add db-init.
34422 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34423 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34424 * nss/nss_db/db-init.c: New file.
34425 * nss/nss_files/files-init.c: New file.
34426 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34427 __nss_lookup_function.
34428 (__nss_lookup_function): Call nss_load_library.
34429 (nss_load_all_libraries): New function.
34430 (__nss_disable_nscd): Take parameter with callback function for files
34431 to register. Set is_nscd. Load all the DSOs for the NSS modules
34432 used for the cached services.
34433 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34434 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34435 options for features to all the files in nscd.
34436
34437 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34438
23bee3e8
RM
344392011-07-10 Roland McGrath <roland@hack.frob.com>
34440
34441 * csu/elf-init.c (__libc_csu_init): Comment typo.
34442
46a5b7f0
UD
344432011-07-09 Ulrich Drepper <drepper@gmail.com>
34444
34445 * po/pl.po: Update from translation team.
34446 * po/ja.po: Likewise.
34447 * po/ru.po: Likewise.
34448 * po/ko.po: Likewise.
34449 * po/fr.po: Likewise.
34450
d30cf5bb
RM
344512011-07-09 Roland McGrath <roland@hack.frob.com>
34452
113ddea4
RM
34453 * configure.in (.ctors/.dtors header and trailer check):
34454 Use an empirical test on a built program.
34455 * configure: Regenerated.
34456
574920b4
RM
34457 * configure.in (-z relro check): Use an empirical test on a built DSO.
34458 Detect, but do not require, on ia64.
34459 * configure: Regenerated.
34460
d30cf5bb
RM
34461 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34462 Update tests that use readelf to use $READELF instead.
34463 * configure: Regenerated.
34464
8538fdb3
UD
344652011-07-08 Ulrich Drepper <drepper@gmail.com>
34466
34467 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34468 if the result is not used.
34469
04d08991
AJ
344702011-07-05 Andreas Jaeger <aj@suse.de>
34471
34472 [BZ#9696]
34473 * stdlib/tst-strtod.c: Add testcase.
34474
de283087
AD
344752011-07-07 Ulrich Drepper <drepper@gmail.com>
34476
4e5f31c8 34477 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34478 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34479 The latter has a higher limit. Take additional parameter to pass to
34480 the new function.
34481 (__pathconf): Pass file to __statfs_link_max.
34482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34483 __statfs_link_max.
34484 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34485 __statfs_link_max.
34486
de283087
AD
34487 [BZ #12868]
34488 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34490 Handle Lustre.
34491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34492 (__statfs_filesize_max): Likewise.
34493 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34494
c75fa153
AJ
344952011-07-05 Andreas Jaeger <aj@suse.de>
34496
34497 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34498
1a544854
UD
344992011-07-06 Marek Polacek <mpolacek@redhat.com>
34500
34501 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34502 `status' variable.
34503 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34504 Likewise.
34505
6f0eec67
UD
345062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34507
34508 * Makefile (strop-tests): Add strncat.
34509 * string/test-strncat.c: New file.
34510
aae30307
UD
345112011-06-30 Marek Polacek <mpolacek@redhat.com>
34512
34513 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34514
c0cfb5eb
UD
345152011-06-21 Andreas Jaeger <aj@suse.de>
34516
34517 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34518 Copy rule from iconvdata/Makefile.
34519
01636b21
UD
345202011-07-06 Ulrich Drepper <drepper@gmail.com>
34521
34522 [BZ #12922]
34523 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34524 but no long options are defined, just return 'W'.
34525
9895c8bc
UD
345262011-06-22 Marek Polacek <mpolacek@redhat.com>
34527
34528 [BZ #9696]
34529 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34530
5d4cf042
UD
345312011-07-06 Ulrich Drepper <drepper@gmail.com>
34532
34533 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34534 netgroups to read.
960e5535 34535 (innetgr): Likewise.
5d4cf042 34536
751eb97e
RM
345372011-07-05 Roland McGrath <roland@hack.frob.com>
34538
34539 * config.make.in (install_root): Default to $(DESTDIR).
34540
f15f1e45
UD
345412011-07-05 Ulrich Drepper <drepper@gmail.com>
34542
34543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34544
4e34ac6a
RM
345452011-07-02 Roland McGrath <roland@hack.frob.com>
34546
5e9b6af4
RM
34547 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34548
84f9ea0f
RM
34549 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34550 containing directory rather than embedding absolute directory names.
34551
ea5ee9f7
RM
34552 * scripts/check-local-headers.sh: Rewritten using awk.
34553 Match by word, not by line. Print error messages for matches.
34554 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34555
1b74661a
RM
34556 * Makerules [shlib-lds-flags empty]:
34557 ($(common-objpfx)libc_pic.opts): New target.
34558 ($(common-objpfx)libc_pic.os.clean): New target.
34559 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34560
34561 * config.make.in (OBJCOPY): New variable.
34562 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34563 * configure: Regenerated.
34564
f781ef40
RM
34565 * config.make.in (use-default-link): New variable.
34566 * configure.in (use_default_link): Grok --with-default-link to set it.
34567 * configure: Regenerated.
34568 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34569 (shlib-lds, shlib-lds-flags): Define to empty.
34570
2d4fa81e
RM
34571 * Makerules (shlib-lds): New variable.
34572 (shlib-lds-flags): New variable.
34573 (build-shlib, build-moduile, build-module-asneeded): Use it.
34574 ($(common-objpfx)libc.so): Use $(shlib-lds).
34575 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34576 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34577
31fffa6b
RM
34578 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34579 DT_FLAGS/DT_FLAGS_1 with zero flags.
34580
4e34ac6a
RM
34581 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34582 linker script munging.
34583
fcfc776b
UD
345842011-07-02 Ulrich Drepper <drepper@gmail.com>
34585
34586 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34587 as 128-bit value.
34588 * crypt/sha512.c (sha512_process_block): Perform total addition using
34589 128-bit if possible.
34590 (__sha512_finish_ctx): Likewise.
34591 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34592 as 64-bit value.
34593 * crypt/sha256.c (SWAP64): Define.
34594 (sha256_process_block): Perform total addition using 64-bit if
34595 possible.
34596 (__sha256_finish_ctx): Likewise.
34597
99231d9a
UD
345982011-07-01 Ulrich Drepper <drepper@gmail.com>
34599
34600 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34602 * nscd/hstcache.c (cache_addhst): Likewise.
34603 * nscd/grpcache.c (cache_addgr): Likewise.
34604 * nscd/aicache.c (addhstaiX): Likewise
34605 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34606
445b4a53
TK
346072011-07-01 Thorsten Kukuk <kukuk@suse.de>
34608
34609 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34610 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34611 * nscd/hstcache.c (cache_addhst): Likewise.
34612 * nscd/grpcache.c (cache_addgr): Likewise.
34613 * nscd/aicache.c (addhstaiX): Likewise
34614
6d4d8e8e
AS
346152011-07-01 Andreas Schwab <schwab@redhat.com>
34616
34617 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34618 domain only when needed.
34619
89f654c5
AS
346202011-06-30 Andreas Schwab <schwab@redhat.com>
34621
34622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34623 is always restored.
34624
cf3b23ff
UD
346252011-06-29 Ulrich Drepper <drepper@gmail.com>
34626
34627 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34628 are re-adding the entry.
34629 * nscd/servicescache.c (cache_addserv): Likewise.
34630
751626f9
AJ
346312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34632
34633 * sysdeps/generic/dl-irel.h: fix protection against multiple
34634 inclusions.
34635 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34636
9113ea1f
UD
346372011-06-28 Ulrich Drepper <drepper@gmail.com>
34638
5c0b8d90
UD
34639 [BZ #12935]
34640 * malloc/memusage.sh: Fix quoting in message.
34641 * debug/xtrace.sh: Likewise.
34642
9113ea1f
UD
34643 * configure.in: Remove support for --experimental-malloc option, make
34644 it the default.
34645 * config.make.in: Likewise.
34646 * malloc/Makefile: Likewise.
34647
a4172181
AS
346482011-06-27 Andreas Schwab <schwab@redhat.com>
34649
34650 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34651 two-byte characters.
34652
78a7eee7
RM
346532011-06-27 Roland McGrath <roland@hack.frob.com>
34654
62bede13
RM
34655 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34656 AC_CACHE_CHECK invocation.
34657 * configure: Regenerated.
34658
78a7eee7
RM
34659 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34660
5ce33a62
UD
346612011-06-27 Ulrich Drepper <drepper@gmail.com>
34662
034807a9
UD
34663 [BZ #12350]
34664 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34665 bit from old_res_options.
34666
4902da17
UD
34667 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34668
5ce33a62
UD
34669 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34670 value type for setfct.
34671
c2344f56
L
346722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34673
34674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34675 __gettimeofday instead of gettimeofday.
34676
68468076
UD
346772011-06-26 Ulrich Drepper <drepper@gmail.com>
34678
34679 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34680
acb0d739
L
346812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34682
34683 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34684
34685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34686 info.
34687
8912479f
L
346882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34689
34690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34691 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34692 strcpy-sse2-unaligned strncpy-sse2-unaligned
34693 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34694 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34695 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34696 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34697 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34700 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34701 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34702 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34703 (STRCPY): Support SSE2 and SSSE3 versions.
34704
d5495a11
UD
347052011-06-24 Ulrich Drepper <drepper@gmail.com>
34706
34707 [BZ #12874]
34708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34709 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34710 kernels which artificially limit size of requests.
34711
0b1cbaae
L
347122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34713
34714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34715 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34716 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34717 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34718 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34719 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34720 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34721 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34724 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34725 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34726 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34727 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34728 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34730 Enable unaligned load optimization for Intel Core i3, i5 and i7
34731 processors.
34732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34733 Define.
34734 (index_Fast_Unaligned_Load): Define.
34735 (HAS_FAST_UNALIGNED_LOAD): Define.
34736
07f494a0
MP
347372011-06-23 Marek Polacek <mpolacek@redhat.com>
34738
34739 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34740
fa3fc0fe
UD
347412011-06-22 Ulrich Drepper <drepper@gmail.com>
34742
34743 [BZ #12907]
34744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34745 until it is clear that the information is realy needed.
34746 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34747
e12df166
AS
347482011-06-22 Andreas Schwab <schwab@redhat.com>
34749
34750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34751
852eb34d
UD
347522011-06-22 Ulrich Drepper <drepper@gmail.com>
34753
84e2a551
UD
34754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34755 /sys/devices/system/cpu/online if it is usable.
34756
852eb34d
UD
34757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34758 reading the information from the /proc filesystem to once a second.
34759
6e502e19
UD
347602011-06-21 Andreas Jaeger <aj@suse.de>
34761
34762 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34763 NULL after inclusion of kernel headers.
34764
75d39ff2
UD
347652011-06-21 Ulrich Drepper <drepper@gmail.com>
34766
51f9aa6a
UD
34767 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34768 calls to internal_setent.
34769
c0244a9d
UD
34770 [BZ #12885]
34771 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34772 addresses using gethostbyname4_r ignore IPv4 addresses.
34773
c5e3c2ae
UD
34774 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34775 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34776
75d39ff2
UD
34777 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34778
42675c6f
DM
347792011-06-20 David S. Miller <davem@davemloft.net>
34780
34781 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34782 inclusions.
34783 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34784
34785 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34786 (elf_irel): Use it.
34787 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34788 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34789 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34790 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34791 * sysdeps/x86_64/dl-irel.h: Likewise.
34792
34793 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34794 * elf/dl-sym.c: Likewise.
34795
57912a71
UD
347962011-06-15 Ulrich Drepper <drepper@gmail.com>
34797
34798 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34799 need to dereference resplen2.
34800
ee22793d
AS
348012011-06-14 Andreas Schwab <schwab@redhat.com>
34802
34803 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34804
a9e836b0
UD
348052011-06-15 Ulrich Drepper <drepper@gmail.com>
34806
77fb9117
UD
34807 * Makeconfig: Define vardbdir and inst_vardbdir.
34808 * nss/Makefile: Add rules to install db-Makefile.
34809
40c1b22c
UD
34810 * nss/nss_db/db-XXX.c: Cleanup.
34811
9f2da732
UD
34812 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34813 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34814 GLIBC_PRIVATE.
34815 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34816 * nss/makedb.c: Implement -g option to specify that value strings
34817 are generated and should not be added to table iterated over for
34818 get*ent calls.
34819 * nss/nss_db/db-initgroups.c: New file.
34820
82e9a1f7
UD
34821 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34822 interface.
34823
c41af17e
UD
34824 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34825 (internal_getgrouplist): Adjust to name change.
34826 Update use_initgroups_entry if this is not the first call.
34827 * nss/databases.def: Add initgroups entry.
34828
a9e836b0
UD
34829 * nss/makedb.c (compute_tables): Check result of multiple hash table
34830 sizes to minimize maximum chain length.
34831
2666d441
UD
348322011-06-14 Ulrich Drepper <drepper@gmail.com>
34833
34834 * Versions.def: Add entry for libnss_db.
34835 * shlib-versions: Likewise.
34836 * nss/Makefile: Add rules to build libnss_db.
34837 * nss/Versions: Add libnss_db information. Organize libnss_files
34838 entries better.
34839 * nss/db-Makefile: Add gshadow support. Change rules for the new
34840 makedb progra. Some minor improvements to generate smaller files.
34841 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34842 here from...
34843 * nss/makedb.c: ...here.
34844 Improve database format to be smaller and require less memory at
34845 runtime.
34846 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34847 db anymore.
34848 * nss/nss_db/db-netgrp.c: Likewise.
34849 * nss/nss_db/db-open.c: Likewise.
34850 * nss/nss_files/flies-XXX.x: Adjust comments.
34851 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34852 * nss/nss_files/files-grp.c: Likewise.
34853 * nss/nss_files/files-hosts.c: Likewise.
34854 * nss/nss_files/files-network.c: Likewise.
34855 * nss/nss_files/files-proto.c: Likewise.
34856 * nss/nss_files/files-pwd.c: Likewise.
34857 * nss/nss_files/files-rpc.c: Likewise.
34858 * nss/nss_files/files-service.c: Likewise.
34859 * nss/nss_files/files-sgrp.c: Likewise.
34860 * nss/nss_files/files-spwd.c: Likewise.
34861 * nss/nss_db/db-alias.c: Removed.
34862 * nss/nss_db/dummy-db.h: Removed.
34863
9ee76b5a
UD
348642011-06-02 Ulrich Drepper <drepper@gmail.com>
34865
34866 * nss/makedb.c: Rewritten to not use database library.
34867 * nss/Makefile: Update to build new makedb program.
34868
c71ca1f8
AJ
348692011-06-14 Andreas Jaeger <aj@suse.de>
34870
34871 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34872 memset declaration.
34873
3154bfb8
UD
348742011-06-10 Andreas Schwab <schwab@redhat.com>
34875
34876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34877 tmpbuf.
34878
b350afab
RM
348792011-06-10 Roland McGrath <roland@hack.frob.com>
34880
decd4e50
RM
34881 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34882 * elf/Makefile ($(objpfx)ld.so): Likewise.
34883
5615eaf2
RM
34884 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34885 Don't list ld.so twice in dependencies.
34886
34887 * posix/bug-regex31.c: Include <stdlib.h>.
34888
34889 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34890
34891 * nis/nss_compat/compat-spwd.c
34892 (getspent_next_nss_netgr): Remove unused variable.
34893 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34894
34895 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34896 nonmembers" output to use the right array.
34897
34898 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34899
34900 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34901
34902 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34903 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34904 * catgets/gencat.c (read_input_file): Likewise.
34905 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34906
34907 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34908 variable definition inside #if's controlling its use.
34909
34910 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34911
34912 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34913
34914 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34915
34916 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34917 unreachable code.
34918
34919 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34920
b68e08db
RM
34921 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34922 * configure: Regenerated.
34923
b350afab
RM
34924 * Makerules: Revert last change.
34925 * elf/Makefile: Likewise.
34926
28368601
RM
349272011-06-09 Roland McGrath <roland@hack.frob.com>
34928
34929 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34930 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34931 (reloc-link): Likewise.
34932
11988f8f
UD
349332011-06-09 Ulrich Drepper <drepper@gmail.com>
34934
34935 * elf/Makefile: Add rules to build pldd.
34936 * elf/pldd.c: New file.
34937 * elf/pldd-xx.c: New file.
34938
e80fab37
UD
349392011-06-07 Ulrich Drepper <drepper@gmail.com>
34940
34941 * version.h: Update for 2.15 development version.
34942
9b849836
DM
349432011-06-07 David S. Miller <davem@davemloft.net>
34944
34945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34946 ifuncs.
34947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34948 elf_machine_lazy_rel): Likewise.
34949 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34951 elf_machine_lazy_rel): Likewise.
34952 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34953 dl_hwcap via passed in argument.
34954 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34955 Likewise.
34956
5a31b283
AK
349572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34958
34959 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34960
069e52f8
RM
349612011-06-06 Roland McGrath <roland@hack.frob.com>
34962
34963 [BZ #12849]
34964 * manual/fdl-1.1.texi: New file, verbatim from:
34965 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34966 * manual/lgpl-2.1.texi: New file, verbatim from:
34967 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34968 * manual/Makefile (licenses): New variable, list those new file names.
34969 (texis): Use it.
34970 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34971
34972 * manual/fdl.texi: File removed.
34973 * manual/lesser.texi: File removed.
34974 * manual/libc.texinfo (Copying, Documentation License):
34975 Use new @include file names, put @appendix directive before @include.
34976
f16846a5
JJ
349772011-06-04 Jakub Jelinek <jakub@redhat.com>
34978
34979 [BZ #12841]
34980 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34981 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34982 (mq_open): Add __NTH.
34983
3d29045b
L
349842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34985
34986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34987 Assume Intel Core i3/i5/i7 processor if AVX is available.
34988
8c297311
UD
349892011-05-31 Ulrich Drepper <drepper@gmail.com>
34990
34991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34992 typo.
34993
c8fc0c91
UD
349942011-05-31 Andreas Schwab <schwab@redhat.com>
34995
34996 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34997 memory. Use alloca_account. Fix memory leak when retrying.
34998
5b27a807
UD
349992011-05-31 Ulrich Drepper <drepper@gmail.com>
35000
356f8bc6
UD
35001 * version.h (RELEASE): Bump for 2.14 release.
35002 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35003
5b27a807
UD
35004 * config.make.in (RANLIB): Remove entry.
35005
01f16ab0
UD
350062011-05-30 Ulrich Drepper <drepper@gmail.com>
35007
41fce8bd
UD
35008 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35009 (libc.pot): Work around missing support for .ksh extension in xgettext.
35010
4769ae77
UD
35011 [BZ #12684]
35012 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35013 if both request failed.
35014 (send_dg): In case of server errors clear resplen or *resplen2.
35015
6b1e7d19
UD
35016 [BZ #12454]
35017 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35018 when there are multiple maps.
35019 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35020 (_dl_fini): Remove test here.
35021
01f16ab0
UD
35022 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35023
b1ebd700
UD
350242011-05-29 Ulrich Drepper <drepper@gmail.com>
35025
7ae22829
UD
35026 [BZ #12350]
35027 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35028 bit from old_res_options.
35029 (gaih_inet): Likewise.
35030
553149f6 35031 [BZ #11099]
18a84741 35032 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35033 as signed.
35034
652ffab1
UD
35035 * resolv/res_init.c (res_setoptions): Make the code more compact.
35036
16985fd0
UD
35037 [BZ #11558]
35038 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35039 set RES_USEVC.
35040
0464f746
UD
35041 [BZ #11634]
35042 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35043
7d17596c
UD
35044 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35045
cf6bbbd7
UD
35046 [BZ #11781]
35047 * malloc/malloc.h: Declare malloc hook variables as volatile.
35048
13f1ab36
UD
35049 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35050 in last patch.
35051
b1ebd700
UD
35052 [BZ #11799]
35053 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35054 raise in the comment.
80e2212d
UD
35055 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35057 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35058
ce67228d
UD
350592011-05-28 Ulrich Drepper <drepper@gmail.com>
35060
8887a920
UD
35061 [BZ #12811]
35062 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35063 grow the buffers more if it already has to be sufficient.
35064 (build_wcs_upper_buffer): Likewise.
35065 * posix/regexec.c (check_matching): Likewise.
35066 (clean_state_log_if_needed): Likewise.
35067 (extend_buffers): Don't enlarge buffers beyond size of the input
35068 buffer.
35069 Patches mostly by Emil Wojak <emil@wojak.eu>.
35070 * posix/bug-regex32.c: New file.
35071 * posix/Makefile (tests): Add bug-regex32.
35072
4f031072
UD
35073 * locale/findlocale.c (_nl_find_locale): Return right away if
35074 _nl_explode_name failed.
35075 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35076
d0478f0c
UD
35077 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35078
de81b246
UD
35079 * debug/xtrace.sh: Unify messages.
35080 * malloc/memusage.sh: Likewise.
35081
c738465a
UD
35082 [BZ #12813]
35083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35084 time symbol from vDSO. Substitute with vsyscall if not available.
35085 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35086 __vdso_time.
35087
f1f929d7
UD
35088 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35089 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35090 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35091 Add sendmmsg and internal_sendmmsg.
35092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35094 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35095
ce67228d
UD
35096 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35097 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35099
e57420c6
UD
351002011-05-27 Ulrich Drepper <drepper@gmail.com>
35101
a8509ca5
UD
35102 [BZ #12813]
35103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35104 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35105 available.
35106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35107 __vdso_getcpu.
35108
e57420c6
UD
35109 [BZ #12814]
35110 * iconvdata/Makefile (tests): Add bug-iconv9.
35111 * iconvdata/bug-iconv9.c: New file.
35112
4d07db15
AS
351132011-05-27 Andreas Schwab <schwab@redhat.com>
35114
35115 [BZ #12814]
35116 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35117
ea486f69
JJ
351182011-05-25 Jakub Jelinek <jakub@redhat.com>
35119
35120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35121 (struct user_regs_struct): Change intcs field back to cs.
35122
6f038433
UD
351232011-05-25 Ulrich Drepper <drepper@gmail.com>
35124
35125 * po/ja.po: Update from translation team.
35126
67f86a25
UD
351272011-05-23 Ulrich Drepper <drepper@gmail.com>
35128
35129 [BZ #12795]
35130 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35132
def7fbd6
AS
351332011-05-20 Andreas Schwab <schwab@redhat.com>
35134
35135 * stdlib/longlong.h: Update from GCC.
35136
f50ef8f1
AS
351372011-05-23 Andreas Schwab <schwab@redhat.com>
35138
35139 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35140 parameter name.
35141 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35142 Add parameter name.
35143 (__sysconf): Pass it down.
35144
de7ce8f1
UD
351452011-05-22 Ulrich Drepper <drepper@gmail.com>
35146
f2962a71
UD
35147 [BZ #12671]
35148 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35149 some situations.
35150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35151 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35152 add in in __libc_use_alloca calls. Adjust callers.
35153 (glob): Use malloc in some situations.
35154
de7ce8f1
UD
35155 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35156 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35157 pltexit.
35158
aec84f53
UD
351592011-05-21 Ulrich Drepper <drepper@gmail.com>
35160
05bb4a68
UD
35161 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35162 and CLOCK_BOOTTIME_ALARM.
35163
7ea72f99
UD
35164 [BZ #12782]
35165 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35166 is returned.
35167
7e4afad5
UD
35168 * string/_strerror.c (__strerror_r): Print negative errors as signed
35169 numbers.
35170
8e211fec
UD
35171 [BZ #12777]
35172 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35173 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35174 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35175
f7d82dc9
UD
35176 * configure.in: Fix typo in redirection and correct removal of test
35177 files in two cases.
35178
cc9e536d
UD
35179 [BZ #12788]
35180 * locale/setlocale.c (new_composite_name): Fix test to check for
35181 identical name of all categories.
35182
aec84f53
UD
35183 [BZ #12792]
35184 * libio/filedoalloc.c (local_isatty): New function.
35185 (_IO_file_doallocate): Use local_isatty.
35186 * stdio-common/perror.c (perror): In case a new stream is used
35187 forward the stream error.
35188 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35189 error flag.
35190
78e64fdc
RT
351912011-05-20 Ulrich Drepper <drepper@gmail.com>
35192
34a9094f
UD
35193 [BZ #11869]
35194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35195 alloca.
35196 * include/alloca.h (extend_alloca_account): Define.
35197
78e64fdc
RT
35198 [BZ #11857]
35199 * posix/regex.h: Fix comments with documentation of user-accessible
35200 fields after compilation and describe correct free'ing of pattern
35201 after re_compile_pattern.
35202 Patch by Reuben Thomas <rrt@sc3d.org>.
35203
457bddfc
RA
352042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35205
35206 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35207 and -mno-altivec to prevent the compiler from using Altivec and/or
35208 VSX instructions when the corresponding registers are not available.
35209
a4527b51
AS
352102011-05-19 Andreas Schwab <schwab@redhat.com>
35211
35212 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35213
ed690b2f
UD
352142011-05-19 Ulrich Drepper <drepper@gmail.com>
35215
35216 * libio/freopen.c (freopen): Use __dup2, not dup2.
35217 * libio/freopen64.c (freopen64): Likewise.
35218
8db73634
L
352192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35220
35221 [BZ #12775]
35222 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35223 * math/Makefile (tests): Add test-powl.
35224 (CFLAGS-test-powl.c): Define.
35225 * math/test-powl.c: New file.
35226
0a197a9d
L
352272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35228
35229 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35230
ee30c380
UD
352312011-05-17 Ulrich Drepper <drepper@gmail.com>
35232
35233 [BZ #11837]
35234 * iconvdata/gb18030.c: Update to GB18020-2005.
35235
6ce75379
UD
352362011-05-16 Ulrich Drepper <drepper@gmail.com>
35237
a4b89fd8
AR
35238 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35239 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35240 Patch by Aharon Robbins <arnold@skeeve.com>.
35241
ea389b12
UD
35242 [BZ #11892]
35243 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35244 on the stack.
35245
68a3f91f
UD
35246 [BZ #11895]
35247 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35248 through underflows.
35249
15cc7dd1
UD
35250 [BZ #12766]
35251 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35252 point to strings before performing equality test for error_one_per_line
35253 mode.
35254
f3799213
UD
35255 [BZ #11697]
35256 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35257
d79a9c94
UD
35258 [BZ #11820]
35259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35260 (struct user_fpregs_struct): Avoid __uint*_t types.
35261
56e5eb46
UD
35262 [BZ #6420]
35263 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35264 symbol info. Use it instead of calling _dl_addr locally.
35265 (lock_and_info): New function.
35266 (tr_freehook): Call lock_and_info and pass symbol info as additional
35267 parameter to tr_where.
35268 (tr_mallochook): Likewise.
35269 (tr_reallochook): Likewise.
35270 (tr_memalignhook): Likewise.
35271
6ce75379
UD
35272 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35273 used and couldn't be at all thread-safe.
35274
f8a3b5bf
UD
352752011-05-15 Ulrich Drepper <drepper@gmail.com>
35276
94b7cc37
UD
35277 * libio/freopen.c (freopen): Don't close old file descriptor
35278 before the new one is opened. Instead dup the new file descriptor
35279 to the old one after the new stream is created.
35280 * libio/freopen64.c (freopen64): Likewise.
35281 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35282 * libio/fileops.c (_IO_new_file_close_it): Handle new
35283 _IO_FLAGS2_NOCLOSE flag.
35284 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35285 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35286 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35287 _IO_FLAGS2_NOCLOSE flag.
35288 * include/unistd.h: Add hidden_proto for dup3.
35289 Define __have_dup3.
35290 * io/dup3.c: Define hidden symbol.
35291 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35292
bd25564e
UD
35293 [BZ #7101]
35294 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35295 when an incomplete long option is used.
35296 * posix/tst-getopt_long1.c: New file.
35297 * posix/Makefile (tests): Add tst-getopt_long1.
35298
c84cfef4
UD
35299 [BZ #10138]
35300 * scripts/config.guess: Update from autoconf-2.68.
35301 * scripts/config.sub: Likewise.
35302
3b85df27
UD
35303 [BZ #10157]
35304 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35305 tests into ...
35306 (has_cpuclock): ...this. New function.
35307 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35308 macro here based on has_cpuclock code.
35309
15a856b1
UD
35310 [BZ #10149]
35311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35312 First byte (not low byte) is now always NUL.
35313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35314
05f399e6
UD
35315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35316 Use non-cancelable interfaces.
35317
10a52685 35318 [BZ #9809]
94ecc67d
UD
35319 * locale/iso-639.def: Add entry for Sorani.
35320
f8a3b5bf
UD
35321 [BZ #11901]
35322 * include/stdlib.h: Move include protection to the right place.
35323 Define abort_msg_s. Declare __abort_msg with it.
35324 * stdlib/abort.c (__abort_msg): Adjust type.
35325 * assert/assert.c (__assert_fail_base): New function. Majority
35326 of code from __assert_fail. Allocate memory for __abort_msg with
35327 mmap.
35328 (__assert_fail): Now call __assert_fail_base.
35329 * assert/assert-perr.c: Remove bulk of implementation. Use
35330 __assert_fail_base.
35331 * include/assert.hL Declare __assert_fail_base.
35332 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35333 mmap.
35334 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35335
1af4e298
UD
353362011-05-14 Ulrich Drepper <drepper@gmail.com>
35337
f8a3b5bf 35338 [BZ #11952]
d26dfc60
MG
35339 [BZ #12453]
35340 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35341 until all modules are registered in the DTV.
35342 * elf/Makefile: Add rules to build and run tst-tls19.
35343 * elf/tst-tls19.c: New file.
35344 * elf/tst-tls19mod1.c: New file.
35345 * elf/tst-tls19mod2.c: New file.
35346 * elf/tst-tls19mod3.c: New file.
35347 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35348
2fc54d6f
UD
35349 [BZ #12083]
35350 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35351 correctly.
35352
98d76b46
UD
35353 [BZ #12601]
35354 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35355 two-byte sequence errors.
35356 * iconvdata/Makefile (tests): Add bug-iconv8.
35357 * iconvdata/bug-iconv8.c: New file.
35358
da3c19ef
UD
35359 [BZ #12626]
35360 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35361 buf2 definition.
35362
ca408c15
UD
35363 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35364
d6f67f7d
UD
35365 [BZ #12432]
35366 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35367 (dummy_getcfa): New function.
35368 (init): Get _Unwind_GetCFA address, use dummy if not found.
35369 (backtrace_helper): In recursion check, also check whether CFA changes.
35370 (__backtrace): Completely initialize arg.
35371
1af4e298 35372 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35373 storing incomplete byte sequence in state object. Avoid testing for
35374 guaranteed too small input if we know there is enough data available.
1af4e298 35375
da62f81b
AS
353762011-05-11 Andreas Schwab <schwab@redhat.com>
35377
35378 * Makeconfig (+link-pie): Indent.
35379 * Rules (binaries-pie): Define if $(have-fpie) and
35380 $(build-shared).
35381 (binaries-shared): Also filter out $(binaries-pie).
35382 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35383 * nscd/Makefile (others-pie): Add nscd.
35384 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35385 ($(objpfx)nscd): Remove command override.
35386 * login/Makefile (others-pie): Add pt_chown.
35387 ($(objpfx)pt_chown): Remove command override.
35388 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35389 remove command overrides.
35390
fcabc0f8
UD
353912011-05-13 Ulrich Drepper <drepper@gmail.com>
35392
20030ae6
UD
35393 * libio/tst_putwc.c: Fix error messages.
35394
fcabc0f8
UD
35395 [BZ #12724]
35396 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35397 currently writing and seek to current position when not.
35398 * libio/Makefile (tests): Add bug-fclose1.
35399 * libio/bug-fclose1.c: New file.
35400
320a5dc0
PB
354012011-05-12 Ulrich Drepper <drepper@gmail.com>
35402
35403 [BZ #12511]
35404 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35405 don't set DF_1_NODELETE here.
35406 (do_lookup_x): When entering new entry test for copy relocation
35407 and if necessary set DF_1_NODELETE flag.
35408 * elf/tst-unique4.cc: New file.
35409 * elf/tst-unique4.h: New file.
35410 * elf/tst-unique4lib.cc: New file.
35411 * elf/Makefile: Add rules to build and run tst-unique4.
35412 Patch by Piotr Bury <pbury@goahead.com>.
35413
22836f52
UD
354142011-05-11 Ulrich Drepper <drepper@gmail.com>
35415
f574184a
UD
35416 [BZ #12052]
35417 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35418
e1fb097f
UD
35419 [BZ #12625]
35420 * misc/mntent_r.c (addmntent): Flush the stream after the output
35421
22836f52
UD
35422 [BZ #12393]
35423 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35424 (is_trusted_path_normalize): Skip initial colon. Append slash
35425 to empty buffer. Duplicate is_trusted_path code but allow
35426 constructed patch to be prefix.
35427 (is_dst): Allow $ORIGIN followed by /.
35428 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35429 Correct testing of result of is_trusted_path_normalize
35430 (decompose_rpath): Fix warning.
35431
7b3b0b2a
UD
354322011-05-10 Ulrich Drepper <drepper@gmail.com>
35433
35434 [BZ #11257]
35435 * grp/initgroups.c (internal_getgrouplist): When we found the service
35436 list through the initgroups entry in nsswitch.conf do not always
35437 continue on a successful lookup. Don't always use the
eac80ce2 35438 __nss_group_database value if it is set.
7b3b0b2a
UD
35439 * nss/nsswitch.conf (initgroups): Change action for successful db
35440 lookup to continue for compatibility.
35441
2a81eaa5
UD
354422011-05-09 Ulrich Drepper <drepper@gmail.com>
35443
be97a69e
UD
35444 [BZ #11532]
35445 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35446 and CP774 modules.
35447 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35448 and CP774 modules.
35449 * iconvdata/tst-tables.sh: Likewise.
35450 * iconvdata/cp770.c: New file.
35451 * iconvdata/cp771.c: New file.
35452 * iconvdata/cp772.c: New file.
35453 * iconvdata/cp773.c: New file.
35454 * iconvdata/cp774.c: New file.
35455 * iconvdata/testdata/CP770: New file.
35456 * iconvdata/testdata/CP770..UTF8: New file.
35457 * iconvdata/testdata/CP771: New file.
35458 * iconvdata/testdata/CP771..UTF8: New file.
35459 * iconvdata/testdata/CP772: New file.
35460 * iconvdata/testdata/CP772..UTF8: New file.
35461 * iconvdata/testdata/CP773: New file.
35462 * iconvdata/testdata/CP773..UTF8: New file.
35463 * iconvdata/testdata/CP774: New file.
35464 * iconvdata/testdata/CP774..UTF8: New file.
35465
35466 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35467 END CHARMAP line.
35468 * iconvdata/gen-8bit-gap.sh: Likewise.
35469 * iconvdata/gen-8bit.sh: Likewise.
35470
c1e9e399
UD
35471 * locale/iso-639.def: Add ary entry.
35472
24c55fb3 35473 [BZ #11258]
96b4b1b0
UD
35474 * locale/C-translit.h.in: Add U20A1 transliteration.
35475
bdc2f971
KB
35476 [BZ #12178]
35477 * locale/iso-639.def: Add wae entry.
35478 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35479
2952b117
UD
35480 [BZ #12545]
35481 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35482 for n.
35483
2a81eaa5
UD
35484 [BZ #12711]
35485 * locale/C-translit.h.in: Add entry for U20B9.
35486 Patch by pravin.d.s@gmail.com.
35487
28377d1b
UD
354882011-05-08 Ulrich Drepper <drepper@gmail.com>
35489
7fb90fb8
UD
35490 [BZ #12713]
35491 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35492 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35493 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35494 in rtld. Use *stat64.
7fb90fb8 35495 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35496 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35497 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35498 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35499 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35500 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35501 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35502 __fstatat64 macros.
7fb90fb8
UD
35503 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35504 * dirent/rewinddir.c: Add libc_hidden_def.
35505 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35506 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35507
28377d1b
UD
35508 * include/dirent.h (__alloc_dir): Add flags parameter.
35509 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35510 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35511 __alloc_dir.
35512 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35513 from fdopendir if O_CLOEXEC is already set.
35514
66bdbaa4
AM
355152011-03-15 Alan Modra <amodra@gmail.com>
35516
35517 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35518 l_tls_firstbyte_offset non-zero. Save padding offset in
35519 l_tls_firstbyte_offset for later use.
35520 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35521 freeing static tls block.
35522
95721191
JN
355232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35524
35525 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35526 where #ifdef was intended. The intent is to prevent ARG_MAX from
35527 being defined by the kernel headers.
35528
f87dfb1f
UD
355292011-05-07 Ulrich Drepper <drepper@gmail.com>
35530
35531 [BZ #12734]
35532 * resolv/resolv.h: Define RES_NOTLDQUERY.
35533 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35534 no-tld-query and set RES_NOTLDQUERY.
35535 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35536 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35537 modern BIND to search name as TLD unless forbidden.
35538
47c3cd7a
UD
355392011-05-07 Petr Baudis <pasky@suse.cz>
35540 Ulrich Drepper <drepper@gmail.com>
35541
35542 [BZ #12393]
35543 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35544 (is_trusted_path): ...to here.
c1e9ea35 35545 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35546 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35547 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35548
8a35c912
PP
355492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35550
35551 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35552 __BEGIN/__END_DECLS.
35553
acd41f47
UD
355542011-05-06 Ulrich Drepper <drepper@gmail.com>
35555
35556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35557 NSS_STATUS_NOTFOUND if no record was found.
35558
597df647
AS
355592011-05-05 Andreas Schwab <schwab@redhat.com>
35560
35561 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35562 (headers-not-in-tirpc): Remove rpc/netdb.h
35563 * resolv/netdb.h: Revert last change.
35564
b9af1301
PP
355652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35566
35567 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35568 circular dependency between libgcc.a and libc.a.
35569
4e34d5f5
AS
355702011-05-05 Andreas Schwab <schwab@redhat.com>
35571
35572 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35573 * nis/Makefile: Don't install rpcsvc/*.
35574 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35575 instead of <rpc/types.h>.
35576 (MAXHOSTNAMELEN): Define.
35577
00ee369c
AS
355782011-05-03 Andreas Schwab <schwab@redhat.com>
35579
35580 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35581
0b592a30
MB
355822011-04-28 Maciej Babinski <mbabinski@google.com>
35583
35584 [BZ #12714]
35585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35586 gethostbyname4_r when IPv6 results are possible.
35587
6e04cbbe
UD
355882011-05-02 Ulrich Drepper <drepper@gmail.com>
35589
35590 [BZ #12723]
35591 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35592 _PC_PIPE_BUF handling.
35593
e4ecafe0
BH
355942011-04-30 Bruno Haible <bruno@clisp.org>
35595
35596 [BZ #12717]
35597 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35598 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35599 to 'int'.
35600 * inet/getnameinfo.c (getnameinfo): Likewise.
35601
125ee683
UD
356022011-04-29 Ulrich Drepper <drepper@gmail.com>
35603
35604 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35605 to groups setting in database lookup.
35606 * nss/nsswitch.conf: Add initgroups entry.
35607
b722481a
EB
356082011-04-22 Ulrich Drepper <drepper@gmail.com>
35609
35610 [BZ #12685]
35611 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35612 mode string.
35613 Patch by Eric Blake <eblake@redhat.com>.
35614
4df46dbd
L
356152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35616
35617 * sunrpc/Makefile (need-export-routines): Add svc_run.
35618 (routines): Remove svc_run.
35619 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35620 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35621 * sunrpc/svc_run.c (svc_run): Likewise.
35622 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35623
e84142d2
UD
356242011-04-21 Ulrich Drepper <drepper@gmail.com>
35625
35626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35627 problem in reallocation in last patch.
35628
877175d8
UD
356292011-04-20 Ulrich Drepper <drepper@gmail.com>
35630
35631 * sunrpc/Makefile: Move inclusion of Rules.
35632
ab8eed78
UD
356332011-04-19 Ulrich Drepper <drepper@gmail.com>
35634
35635 * nss/nss_files/files-initgroups.c: New file.
35636 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35637 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35638 _nss_files_initgroups_dyn.
35639
e3d8f584
RS
356402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35641
35642 * elf/elf.h (R_ARM_IRELATIVE): Define.
35643
af190f45
UD
356442011-04-19 Ulrich Drepper <drepper@gmail.com>
35645
35646 * po/ru.po: Update from translation team.
35647
53cf59ef
UD
356482011-04-17 Ulrich Drepper <drepper@gmail.com>
35649
35650 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35651 dependencies.
35652
4c559bcd
MF
356532011-02-06 Mike Frysinger <vapier@gentoo.org>
35654
35655 [BZ #12653]
35656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35657 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35661
4420675c
AS
356622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35663
35664 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35665 differing bytes.
35666 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35668 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35669
75ea32ab
UD
356702011-04-17 Ulrich Drepper <drepper@gmail.com>
35671
35672 [BZ #12420]
35673 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35674 storing it.
35675 * stdlib/bug-getcontext.c: New file.
35676 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35677
27390476
AK
356782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35679
35680 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35681 instructions into .machine "z9-109".
35682 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35683 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35684
10442705
AK
356852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35686
35687 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35688 between environment variables and auxiliary vector.
35689
7b57bfe5
UD
356902011-04-16 Ulrich Drepper <drepper@gmail.com>
35691
35692 * Makefile: Add rules to build linkobj/libc.so.
35693 * include/libc-symbols.h: Define libc_hidden_nolink.
35694 * include/rpc/auth.h: Mark functions which are to be hidden.
35695 * include/rpc/auth_des.h: Likewise.
35696 * include/rpc/auth_unix.h: Likewise.
35697 * include/rpc/clnt.h: Likewise.
35698 * include/rpc/des_crypt.h: Likewise.
35699 * include/rpc/key_prot.h: Likewise.
35700 * include/rpc/pmap_clnt.h: Likewise.
35701 * include/rpc/pmap_prot.h: Likewise.
35702 * include/rpc/pmap_rmt.h: Likewise.
35703 * include/rpc/rpc_msg.h: Likewise.
35704 * include/rpc/svc.h: Likewise.
35705 * include/rpc/svc_auth.h: Likewise.
35706 * include/rpc/xdr.h: Likewise.
35707 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35708 * nss/Makefile: Likewise.
35709 * sunrpc/Makefile: Don't install headers. Build library with normal
35710 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35711 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35712 for the compat linking library. Remove use of INTDEF/INTUSE.
35713 * sunrpc/auth_none.c: Likewise.
35714 * sunrpc/auth_unix.c: Likewise.
35715 * sunrpc/authdes_prot.c: Likewise.
35716 * sunrpc/authuxprot.c: Likewise.
35717 * sunrpc/clnt_gen.c: Likewise.
35718 * sunrpc/clnt_perr.c: Likewise.
35719 * sunrpc/clnt_raw.c: Likewise.
35720 * sunrpc/clnt_simp.c: Likewise.
35721 * sunrpc/clnt_tcp.c: Likewise.
35722 * sunrpc/clnt_udp.c: Likewise.
35723 * sunrpc/clnt_unix.c: Likewise.
35724 * sunrpc/des_crypt.c: Likewise.
35725 * sunrpc/des_soft.c: Likewise.
35726 * sunrpc/get_myaddr.c: Likewise.
35727 * sunrpc/key_call.c: Likewise.
35728 * sunrpc/key_prot.c: Likewise.
35729 * sunrpc/netname.c: Likewise.
35730 * sunrpc/pm_getmaps.c: Likewise.
35731 * sunrpc/pm_getport.c: Likewise.
35732 * sunrpc/pmap_clnt.c: Likewise.
35733 * sunrpc/pmap_prot.c: Likewise.
35734 * sunrpc/pmap_prot2.c: Likewise.
35735 * sunrpc/pmap_rmt.c: Likewise.
35736 * sunrpc/publickey.c: Likewise.
35737 * sunrpc/rpc_cmsg.c: Likewise.
35738 * sunrpc/rpc_common.c: Likewise.
35739 * sunrpc/rpc_dtable.c: Likewise.
35740 * sunrpc/rpc_prot.c: Likewise.
35741 * sunrpc/rpc_thread.c: Likewise.
35742 * sunrpc/rtime.c: Likewise.
35743 * sunrpc/svc.c: Likewise.
35744 * sunrpc/svc_auth.c: Likewise.
35745 * sunrpc/svc_authux.c: Likewise.
35746 * sunrpc/svc_raw.c: Likewise.
35747 * sunrpc/svc_run.c: Likewise.
35748 * sunrpc/svc_simple.c: Likewise.
35749 * sunrpc/svc_tcp.c: Likewise.
35750 * sunrpc/svc_udp.c: Likewise.
35751 * sunrpc/svc_unix.c: Likewise.
35752 * sunrpc/svcauth_des.c: Likewise.
35753 * sunrpc/xcrypt.c: Likewise.
35754 * sunrpc/xdr.c: Likewise.
35755 * sunrpc/xdr_array.c: Likewise.
35756 * sunrpc/xdr_float.c: Likewise.
35757 * sunrpc/xdr_intXX_t.c: Likewise.
35758 * sunrpc/xdr_mem.c: Likewise.
35759 * sunrpc/xdr_rec.c: Likewise.
35760 * sunrpc/xdr_ref.c: Likewise.
35761 * sunrpc/xdr_sizeof.c: Likewise.
35762 * sunrpc/xdr_stdio.c: Likewise.
35763
e6c61494
UD
357642011-04-10 Ulrich Drepper <drepper@gmail.com>
35765
35766 [BZ #12650]
35767 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35768 * sysdeps/ia64/dl-tls.h: Likewise.
35769 * sysdeps/powerpc/dl-tls.h: Likewise.
35770 * sysdeps/s390/dl-tls.h: Likewise.
35771 * sysdeps/sh/dl-tls.h: Likewise.
35772 * sysdeps/sparc/dl-tls.h: Likewise.
35773 * sysdeps/x86_64/dl-tls.h: Likewise.
35774 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35775
34fe483e
AS
357762011-03-14 Andreas Schwab <schwab@redhat.com>
35777
35778 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35779 rpath element also skip the following colon.
35780 (expand_dynamic_string_token): Add is_path parameter and pass
35781 down to DL_DST_REQUIRED and _dl_dst_substitute.
35782 (decompose_rpath): Call expand_dynamic_string_token with
35783 non-zero is_path. Ignore empty rpaths.
35784 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35785 with zero is_path.
35786
f12a32e6
AS
357872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35788
35789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35790 Make cancelable.
35791
38a7d692
UD
357922011-04-09 Ulrich Drepper <drepper@gmail.com>
35793
35794 [BZ #12655]
35795 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35796 Patch by Filipe David Manana <fdmanana@apache.org>.
35797
e451d22b
AS
357982011-04-07 Andreas Schwab <schwab@redhat.com>
35799
35800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35801 Maintain aligned stack.
35802 (CHECK_RSP): Remove unused macro.
35803
dedc7c7b
UD
358042011-04-03 Ulrich Drepper <drepper@gmail.com>
35805
35806 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35807 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35808
94521213
UD
358092011-04-02 Ulrich Drepper <drepper@gmail.com>
35810
35811 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35812
8cb700c0 35813 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35814
0354e355
L
358152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35816
35817 [BZ #12518]
35818 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35819 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35820 * sysdeps/x86_64/memmove.c: New file.
35821 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35822 (memcpy): Renamed to ...
35823 (__new_memcpy): This.
35824 (memcpy): Provide GLIBC_2_14 memcpy.
35825 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35826 (memcpy): Provide GLIBC_2_2_5 memcpy.
35827
8593482f
UD
358282011-04-01 Ulrich Drepper <drepper@gmail.com>
35829
35830 [BZ #12631]
35831 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35832
81a5726b
AS
358332011-03-30 Andreas Schwab <schwab@redhat.com>
35834
35835 * misc/syncfs.c: New file.
35836 * misc/Makefile (routines): Add syncfs.
35837 * posix/unistd.h: Declare syncfs.
35838 * sysdeps/unix/syscalls.list: Add syncfs.
35839
00e5419f
AS
358402011-04-01 Andreas Schwab <schwab@redhat.com>
35841
35842 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35843 open_by_handle_at.
35844 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35845 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35849 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35851
748876bf
UD
358522011-04-01 Ulrich Drepper <drepper@gmail.com>
35853
658e451d
UD
35854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35861
748876bf
UD
35862 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35863 sync_file_range.c with -fexceptions.
35864 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35865 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35866 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35867 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35868 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35869 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35871 sync_file_range as cancellation point
35872 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35873 now a wrapper around __call_sync_file_range with cancellation handling.
35874 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35875 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35876 function name to __call_sync_file_range.
35877 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35878 Add call_sync_file_range.
748876bf 35879
6e63d5e1
AS
358802011-04-01 Andreas Schwab <schwab@redhat.com>
35881
35882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35883 bits/timex.h.
6e63d5e1 35884
46998f74
UD
358852011-04-01 Ulrich Drepper <drepper@gmail.com>
35886
4c1423ed
UD
35887 * iconv/iconv.h: Fix typo in comment.
35888 * io/fcntl.h: Likewise.
35889 * libio/stdio.h: Likewise.
35890 * posix/spawn.h: Likewise.
35891 * posix/unistd.h: Likewise.
35892 * stdlib/stdlib.h: Likewise.
35893 * time/time.h: Likewise.
35894 * wcsmbs/wchar.h: Likewise.
35895
158648c0
UD
35896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35897 open_by_handle): Add.
35898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35899 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35900 Augment a few comments.
35901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35906 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35907 open_by_handle.
35908
46998f74
UD
35909 * io/fcntl.h (AT_EMPTY_PATH): Define.
35910
83fe108b
UD
359112011-03-30 Ulrich Drepper <drepper@gmail.com>
35912
35913 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35914 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35915 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35916 to...
35917 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35918 * Versions.def: Add GLIBC_2.14.
35919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35920 Export.
83fe108b 35921
bb242059
UD
359222011-03-22 Ulrich Drepper <drepper@gmail.com>
35923
35924 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35925 round counter.
35926 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35927
c97a1282
L
359282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35929
35930 [BZ #12597]
35931 * string/test-strncmp.c (do_page_test): New function.
35932 (check2): Likewise.
35933 (test_main): Call check2.
35934 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35935
2a115601
UD
359362011-03-20 Ulrich Drepper <drepper@gmail.com>
35937
35938 [BZ #12587]
35939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35940 Handle cache information in CPU leaf 4.
35941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35942
8126d904
UD
359432011-03-18 Ulrich Drepper <drepper@gmail.com>
35944
042c49c6 35945 [BZ #12583]
8126d904
UD
35946 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35947 character representation.
35948 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35949
ccfe366e
RA
359502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35951
35952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35953 END(__isnan) to END(__isnanf) to match function entry point/label
35954 EALIGN(__isnanf,...).
35955
c6e13027
JJ
359562011-03-10 Jakub Jelinek <jakub@redhat.com>
35957
35958 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35959
33f85a3f
UD
359602011-03-10 Ulrich Drepper <drepper@gmail.com>
35961
028478fa
UD
35962 [BZ #12510]
35963 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35964 copy from the symbol referenced in the relocation to initialize the
35965 used variable.
35966 Patch by Piotr Bury <pbury@goahead.com>.
35967 * elf/Makefile: Add rules to build and tst-unique3.
35968 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35969 * elf/tst-unique3.cc: New file.
35970 * elf/tst-unique3.h: New file.
35971 * elf/tst-unique3lib.cc: New file.
35972 * elf/tst-unique3lib2.cc: New file.
35973
33f85a3f
UD
35974 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35975
03592fc7
MF
359762011-03-10 Mike Frysinger <vapier@gentoo.org>
35977
35978 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35979 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35980 to _start.
03592fc7 35981
6a5ee102
UD
359822011-03-06 Ulrich Drepper <drepper@gmail.com>
35983
35984 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35985 to-be-loaded object along a path to loader is ld.so.
35986
7e4ba49c
HJ
359872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35988 Ulrich Drepper <drepper@gmail.com>
35989
35990 * sysdeps/x86_64/memset.S: After aligning destination, code
35991 branches to different locations depending on the value of
35992 misalignment, when multiarch is enabled. Fix this.
35993
359942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35995
35996 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35997 Set _x86_64_preferred_memory_instruction for AMD processsors.
35998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35999 Set bit_Prefer_SSE_for_memop for AMD processors.
36000
13a804de
UD
360012011-03-04 Ulrich Drepper <drepper@gmail.com>
36002
36003 * libio/fmemopen.c (fmemopen): Optimize a bit.
36004
9d25c392
AS
360052011-03-03 Andreas Schwab <schwab@redhat.com>
36006
36007 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36008
a5543c6a
RM
360092011-03-03 Roland McGrath <roland@redhat.com>
36010
36011 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36012
012d35f7
DM
360132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36014
7e4ba49c 36015 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36016 __bzero_ultra1 instead of __memset_ultra1.
36017
4bff6e01
AS
360182011-02-23 Andreas Schwab <schwab@redhat.com>
36019 Ulrich Drepper <drepper@gmail.com>
36020
36021 [BZ #12509]
36022 * include/link.h (struct link_map): Add l_orig_initfini.
36023 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36024 returning unsuccessfully.
36025 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36026 close of a file loaded at startup, restore the original l_initfini
36027 list.
36028 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36029 list, store the pointer.
36030 * elf/Makefile ($(objpfx)noload-mem): New rule.
36031 (noload-ENV): Define.
36032 (tests): Add $(objpfx)noload-mem.
36033 * elf/noload.c: Include <memcheck.h>.
36034 (main): Call mtrace. Close all opened handles.
36035
f2092faf
AS
360362011-02-17 Andreas Schwab <schwab@redhat.com>
36037
36038 [BZ #12454]
36039 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36040 dependencies are missing.
36041
6c8a2e88
ST
360422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36043
f2092faf 36044 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36045 Hurd needs munmap.
36046 * sysdeps/mach/hurd/ifreq.h: New file.
36047
84a42118
PB
360482011-01-27 Petr Baudis <pasky@suse.cz>
36049 Ulrich Drepper <drepper@gmail.com>
36050
071f805e 36051 [BZ 12445]#
84a42118
PB
36052 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36053 to extend_alloca().
36054 * stdio-common/bug23.c: New file.
36055 * stdio-common/Makefile (tests): Add bug23.
36056
e23fe25b
AS
360572010-09-28 Andreas Schwab <schwab@redhat.com>
36058 Ulrich Drepper <drepper@gmail.com>
36059
36060 [BZ #12489]
36061 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36062 before performing relro protection. At old place add assertion
36063 to make sure nothing changed.
36064
d3f02e10
NS
360652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36066 Glauber de Oliveira Costa <glommer@gmail.com>
36067
36068 * elf/elf.h: Add new ARM TLS relocs.
36069
d55fd7a5
RA
360702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36071
36072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36073 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36074 cast from r3.
36075 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36076 'tests' variable.
36077 * sysdeps/wordsize-64/tst-writev.c: New file.
36078
2206397e
RA
360792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36080
36081 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36082 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36083 insns in _dl_start to prevent a TOC reference before relocs are
36084 resolved.
36085
e9433893
UD
360862011-02-15 Ulrich Drepper <drepper@gmail.com>
36087
36088 [BZ #12469]
36089 * Makeconfig: Remove RANLIB definition.
36090 * Makerules: Don't use RANLIB.
36091 * aclocal.m4: Remove ranlib test.
36092 * configure.in: No need to check for ranlib.
36093 * elf/rtld-Rules: Don't use RANLIB.
36094
f75286c6
ST
360952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36096
8e31c82d
ST
36097 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36098 protection macro.
36099 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36100 inclusion protection macro.
36101
f75286c6
ST
36102 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36103 SIGRTMIN and SIGRTMAX and print information in that case only when
36104 SIGRTMIN is defined.
36105
c1d0e639
JJ
361062011-02-11 Jakub Jelinek <jakub@redhat.com>
36107
36108 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36109 arginfo fn returning -1.
36110
36111 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36112 and thousands string is zero terminated.
36113
edf9294e
AS
361142011-02-03 Andreas Schwab <schwab@redhat.com>
36115
36116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36117 sysdeps/unix/sysv/linux/bits/socket.h.
36118
2b7e92df
ST
361192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36120
edf9294e
AS
36121 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36122 (__CPU_COUNT): Remove old macros.
36123 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36124 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36125 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36126 (__sched_cpualloc, __sched_cpufree): Add declarations.
36127
a4c7ea7b
UD
361282011-02-05 Ulrich Drepper <drepper@gmail.com>
36129
36130 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36131 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36132 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36133 (readdhstai): Return value of addhstaiX call.
36134 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36135 (addgrbyX): Return value returned by cache_addgr.
36136 (readdgrbyname): Return value returned by addgrbyX.
36137 (readdgrbygid): Likewise.
36138 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36139 (addpwbyX): Return value returned by cache_addpw.
36140 (readdpwbyname): Return value returned by addhstbyX.
36141 (readdpwbyuid): Likewise.
36142 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36143 (addservbyX): Return value returned by cache_addserv.
36144 (readdservbyname): Return value returned by addservbyX:
36145 (readdservbyport): Likewise.
36146 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36147 (addhstbyX): Return value returned by cache_addhst.
36148 (readdhstbyname): Return value returned by addhstbyX.
36149 (readdhstbyaddr): Likewise.
36150 (readdhstbynamev6): Likewise.
36151 (readdhstbyaddrv6): Likewise.
36152 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36153 (readdinitgroups): Return value returned by addinitgroupsX.
36154 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36155 (prune_cache): Keep track of timeout value of re-added entries.
36156 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36157 * nscd/nscd.h: Adjust prototypes of readd* functions.
36158
a0bf67cc
RM
361592011-02-04 Roland McGrath <roland@redhat.com>
36160
36161 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36162 (nis_stats): Likewise.
36163 * nis/nis_modify.c (nis_modify): Likewise.
36164 * nis/nis_remove.c (nis_remove): Likewise.
36165 * nis/nis_add.c (nis_add): Likewise.
36166
36167 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36168
36169 * posix/fnmatch_loop.c: Add some consts.
36170
36171 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36172
435b95eb
L
361732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36174
36175 [BZ #12460]
36176 * config.make.in (config-cflags-novzeroupper): Define.
36177 * configure.in: Substitute libc_cv_cc_novzeroupper.
36178 * elf/Makefile (AVX-CFLAGS): Define.
36179 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36180 (CFLAGS-tst-auditmod4a.c): Likewise.
36181 (CFLAGS-tst-auditmod4b.c): Likewise.
36182 (CFLAGS-tst-auditmod6b.c): Likewise.
36183 (CFLAGS-tst-auditmod6c.c): Likewise.
36184 (CFLAGS-tst-auditmod7b.c): Likewise.
36185 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36186
8517b15e
UD
361872011-02-02 Ulrich Drepper <drepper@gmail.com>
36188
36189 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36190 function to the callback.
36191 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36192
10a656fe
AS
361932011-02-02 Andreas Schwab <schwab@redhat.com>
36194
36195 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36196 of errno.
36197
968dad0a
UD
361982011-01-19 Ulrich Drepper <drepper@gmail.com>
36199
9f94d2ea 36200 [BZ #11724]
968dad0a
UD
36201 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36202 of constructors.
36203 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36204 of destructors.
36205 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36206
36207 [BZ #11724]
36208 * elf/Makefile: Add rules to build and run new test.
36209 * elf/tst-initorder.c: New file.
36210 * elf/tst-initorder.exp: New file.
36211 * elf/tst-initordera1.c: New file.
36212 * elf/tst-initordera2.c: New file.
36213 * elf/tst-initordera3.c: New file.
36214 * elf/tst-initordera4.c: New file.
36215 * elf/tst-initorderb1.c: New file.
36216 * elf/tst-initorderb2.c: New file.
36217 * elf/tst-order-a1.c: New file.
36218 * elf/tst-order-a2.c: New file.
36219 * elf/tst-order-a3.c: New file.
36220 * elf/tst-order-a4.c: New file.
36221 * elf/tst-order-b1.c: New file.
36222 * elf/tst-order-b2.c: New file.
36223 * elf/tst-order-main.c: New file.
36224 New test case by George Gensure <werkt0@gmail.com>.
36225
86e92359
UD
362262010-10-01 Andreas Schwab <schwab@redhat.com>
36227
36228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36229 decoding ACE if AI_CANONIDN.
36230
5d5732b0
UD
362312011-01-18 Ulrich Drepper <drepper@gmail.com>
36232
36233 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36234
a77e8cbc
UD
362352011-01-17 Ulrich Drepper <drepper@gmail.com>
36236
6392473f
UD
36237 * version.h (RELEASE): Bump for 2.13 release.
36238 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36239
620a0529
UD
36240 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36241
18ba70a5
UD
36242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36243 MADV_NOHUGEPAGE.
32465c3e
UD
36244 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36247 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36249 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36250
c0dafcf1
UD
36251 * posix/getconf.c: Update copyright year.
36252 * catgets/gencat.c: Likewise.
36253 * csu/version.c: Likewise.
36254 * debug/catchsegv.sh: Likewise.
36255 * debug/xtrace.sh: Likewise.
36256 * elf/ldconfig.c: Likewise.
36257 * elf/ldd.bash.in: Likewise.
36258 * elf/sprof.c (print_version): Likewise.
36259 * iconv/iconv_prog.c: Likewise.
36260 * iconv/iconvconfig.c: Likewise.
36261 * locale/programs/locale.c: Likewise.
36262 * locale/programs/localedef.c: Likewise.
36263 * malloc/memusage.sh: Likewise.
36264 * malloc/mtrace.pl: Likewise.
36265 * nscd/nscd.c (print_version): Likewise.
36266 * nss/getent.c: Likewise.
36267
a77e8cbc
UD
36268 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36269 PF_CAIF, and PF_ALG.
36270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36271
77e8bddf
AS
362722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36273
1f20b93a
AS
36274 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36275 (modules-names): Use them.
36276 (ifunc-test-modules, ifunc-pie-tests): Define.
36277 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36278 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36279 (test-extras): Likewise.
36280 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36281 $(compile-command.c).
36282 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36283 (all-built-dso): Define.
36284 (check-textrel.out, check-execstack.out): Depend on it.
36285
77e8bddf
AS
36286 * configure.in: Don't override --enable-multi-arch.
36287
bc425b33
UD
362882011-01-15 Ulrich Drepper <drepper@gmail.com>
36289
36290 [BZ #6812]
36291 * nscd/hstcache.c (tryagain): Define.
36292 (cache_addhst): Return tryagain not notfound for temporary errors.
36293 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36294 failed.
36295
794c3ad3
UD
362962011-01-14 Ulrich Drepper <drepper@gmail.com>
36297
70181fdd
UD
36298 [BZ #10563]
36299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36300 to make the syscall.
36301 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36302
794c3ad3
UD
36303 [BZ #12378]
36304 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36305 and fall back to matching as normal character if the string ends before
36306 the matching ']' is found. This is what POSIX requires.
36307 * posix/testfnm.c: Adjust test result.
36308 * posix/globtest.sh: Adjust test result. Add new test.
36309 * posix/tst-fnmatch.input: Likewise.
36310 * posix/tst-fnmatch2.c: Add new test.
36311
68dc9497
AS
363122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36313
36314 * elf/Makefile (check-execstack): Revert last change. Depend on
36315 check-execstack.h.
36316 (check-execstack.h): New target.
36317 (generated): Add check-execstack.h.
36318 * elf/check-execstack.c: Include "check-execstack.h".
36319 (main): Revert last change.
36320 (handle_file): Return zero if GNU_STACK is absent and
36321 DEFAULT_STACK_PERMS doesn't include PF_X.
36322
451f001b
UD
363232011-01-13 Ulrich Drepper <drepper@gmail.com>
36324
cfa28e56
UD
36325 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36326 in child fails because the descriptor is already closed.
8cf8ce17
UD
36327 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36328 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36330
1086d70d
UD
36331 [BZ #12397]
36332 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36333 syscall.
36334
451f001b
UD
36335 [BZ #10484]
36336 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36337 temporary buffer used to handle multi lookups locally.
a85b5cb4 36338 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36339
08769175
UD
363402011-01-12 Ulrich Drepper <drepper@gmail.com>
36341
36342 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36343 loader is ld.so.
36344
5e49c52e
UD
363452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36346
36347 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36348 alignment for SSE2.
36349
60522a5f
UD
363502011-01-12 Ulrich Drepper <drepper@gmail.com>
36351
36352 [BZ #12394]
36353 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36354 characters. When rounding increased number of integer digits recompute
36355 number of groups.
36356 * stdio-common/tst-grouping.c: New file.
36357 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36358
f257bbd7
UD
363592011-01-09 Ulrich Drepper <drepper@gmail.com>
36360
36361 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36362 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36363
36364 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36365 void.
36366 * bits/select.h: Likewise.
36367
fa9c15cb
UD
363682011-01-08 Ulrich Drepper <drepper@gmail.com>
36369
36370 * po/ja.po: Update from translation team.
36371
16c2895f
DM
363722011-01-04 David S. Miller <davem@sunset.davemloft.net>
36373
36374 [BZ #11155]
36375 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36376 implementation just like for lxstat, fxstatat, et al.
36377
2543fef2
JM
363782010-12-27 Jim Meyering <meyering@redhat.com>
36379
36380 [BZ #12348]
36381 * posix/regexec.c (build_trtable): Return failure indication upon
36382 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36383
98727dbe
UD
363842010-12-25 Ulrich Drepper <drepper@gmail.com>
36385
5bd6dc5c
UD
36386 [BZ #12201]
36387 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36388 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36391
97983464
UD
36392 [BZ #12207]
36393 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36394
98727dbe
UD
36395 [BZ #12204]
36396 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36397 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36398
4a531bb0
L
363992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36400
36401 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36402 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36403 script has SORT_BY_INIT_PRIORITY.
36404 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36405 NO_CTORS_DTORS_SECTIONS is defined.
36406 * elf/soinit.c: Likewise.
36407 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36408 NO_CTORS_DTORS_SECTIONS is defined.
36409 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36410 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36411 * sysdeps/sh/init-first.c: Likewise.
36412 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36413
07eb4b71
UD
364142010-12-24 Ulrich Drepper <drepper@gmail.com>
36415
36416 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36417 always use the slow path.
36418
30950a5f
RA
364192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36420
36421 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36422 similar rule which adds the sysdep directories to the header search in
36423 order to pick up the correct platform stackinfo.h.
36424 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36425 perform test if it is, otherwise return successfully without testing.
36426 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36427 DEFAULT_STACK_PERMS define in stackinfo.h.
36428 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36429 defined in stackinfo.h.
36430 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36431 DEFAULT_STACK_PERMS defined in stackinfo.h.
36432 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36433 * sysdeps/ia64/stackinfo.h: Likewise.
36434 * sysdeps/s390/stackinfo.h: Likewise.
36435 * sysdeps/sh/stackinfo.h: Likewise.
36436 * sysdeps/sparc/stackinfo.h: Likewise.
36437 * sysdeps/x86_64/stackinfo.h: Likewise.
36438 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36439 PF_X for powerpc64. Retain PF_X for powerpc32.
36440
db753e2c
UD
364412010-12-19 Ulrich Drepper <drepper@gmail.com>
36442
14b697f7
UD
36443 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36444 accurately.
db753e2c
UD
36445 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36446 GETDENTS_64BIT_ALIGNED.
36447
28300719
UD
364482010-12-14 Ulrich Drepper <dreper@gmail.com>
36449
14b697f7 36450 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36451
4f197237
AS
364522010-12-10 Andreas Schwab <schwab@redhat.com>
36453
dbb0472f
AS
36454 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36455 _GNU_SOURCE.
36456
4f197237
AS
36457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36458 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36459 Remove __restrict.
36460 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36461 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36462
fb88ac72
UD
364632010-12-09 Ulrich Drepper <drepper@gmail.com>
36464
36465 [BZ #11655]
36466 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36467 are initialized.
36468
42acbb92
JJ
364692010-12-09 Jakub Jelinek <jakub@redhat.com>
36470
36471 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36472
c038d98d
UD
364732010-12-03 Ulrich Drepper <drepper@gmail.com>
36474
36475 * po/it.po: Update from translation team.
36476
3a4a2499
L
364772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36478
36479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36480 unused codes.
36481
1e24cf6e
UD
364822010-11-30 Ulrich Drepper <drepper@gmail.com>
36483
36484 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36485
a7690819
AS
364862010-11-24 Andreas Schwab <schwab@redhat.com>
36487
36488 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36489 specially.
36490 (gaih_getanswer_slice): Likewise.
36491
3bf8d1b1
JJ
364922010-10-20 Jakub Jelinek <jakub@redhat.com>
36493
36494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36495
6db52fbb
PB
364962010-05-31 Petr Baudis <pasky@suse.cz>
36497
36498 [BZ #11149]
36499 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36500 silently even in the chroot mode.
36501
eaca7569
UD
365022010-11-22 Ulrich Drepper <drepper@gmail.com>
36503
36504 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36505 last patch a bit. Pretty printing
36506
3056dcdb
UD
365072010-05-31 Petr Baudis <pasky@suse.cz>
36508
36509 [BZ #10085]
36510 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36511 initialization of skip_initgroups_dyn.
36512
cf7c9078
UD
365132010-11-19 Ulrich Drepper <drepper@gmail.com>
36514
36515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36517
a1fb5e3e
UD
365182010-11-16 Ulrich Drepper <drepper@gmail.com>
36519
36520 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36521
3540d66b
AS
365222010-11-11 Andreas Schwab <schwab@redhat.com>
36523
36524 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36525 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36526 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36527 ($(objpfx)tst-fnmatch-mem): New rule.
36528 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36529 * posix/tst-fnmatch.c (main): Call mtrace.
36530
13b69574
L
365312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36532
36533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36534 Support Intel processor model 6 and model 0x2c.
36535
da93d214
LM
365362010-11-10 Luis Machado <luisgpm@br.ibm.com>
36537
36538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36539 signed comparison.
36540
8ca52c6e
L
365412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36542
36543 [BZ #12205]
36544 * string/test-strncasecmp.c (check_result): New function.
36545 (do_one_test): Use it.
36546 (check1): New function.
36547 (test_main): Use it.
36548 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36549 Support strcasecmp and strncasecmp.
36550
69da074d
UD
365512010-11-08 Ulrich Drepper <drepper@gmail.com>
36552
36553 [BZ #12194]
36554 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36556
ff02d528
L
365572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36558
36559 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36560 IFUNC support.
36561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36562 memset-x86-64.
36563 * sysdeps/x86_64/multiarch/bzero.S: New file.
36564 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36565 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36566 * sysdeps/x86_64/multiarch/memset.S: New file.
36567 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36569 Set bit_Prefer_SSE_for_memop for Intel processors.
36570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36571 Define.
36572 (index_Prefer_SSE_for_memop): Define.
36573 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36574
344d0b54
LM
365752010-11-04 Luis Machado <luisgpm@br.ibm.com>
36576
36577 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36578 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36579
c0dde15b
UD
365802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36581
36582 [BZ #12191]
36583 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36584 (__x86_64_raw_data_cache_size_half): Likewise.
36585 (__x86_64_raw_shared_cache_size): Likewise.
36586 (__x86_64_raw_shared_cache_size_half): Likewise.
36587
36588 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36589 (__x86_64_raw_data_cache_size_half): Likewise.
36590 (__x86_64_raw_shared_cache_size): Likewise.
36591 (__x86_64_raw_shared_cache_size_half): Likewise.
36592 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36593 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36594 and __x86_64_raw_shared_cache_size_half. Round
36595 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36596 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36597 to multiple of 256 bytes.
36598
0e516e0e
MS
365992010-11-03 Ulrich Drepper <drepper@gmail.com>
36600
36601 [BZ #12167]
36602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36603 of inacessible symlinks. Verify result of symlink before returning it.
36604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36605 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36606
0e012e87
ER
366072010-10-28 Erich Ritz <erichritz@gmail.com>
36608
36609 * math/math.h (isinf): Fix typo in comment.
36610
de0ff7bc
UD
366112010-11-01 Ulrich Drepper <drepper@gmail.com>
36612
36613 * po/da.po: Update from translation team.
36614
fa41c84d
UD
366152010-10-26 Ulrich Drepper <drepper@gmail.com>
36616
36617 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36618 is added to the list.
36619
f0967738
AK
366202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36621 Ulrich Drepper <drepper@gmail.com>
36622
36623 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36624 the global list here. Move code to...
36625 (_dl_add_to_namespace_list): ...here. New function.
36626 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36627 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36628 * elf/dl-load.c (lose): Don't remove the element from the list.
36629 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36630 (_dl_map_object): Likewise.
36631
366322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36633
36634 [BZ #12159]
36635 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36636 into all bytes of SSE register.
36637 Patch by Richard Li <richardpku@gmail.com>.
36638
f0967738 366392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36640
36641 [BZ #12140]
36642 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36643 perturbing.
36644
d0b9e94f
MB
366452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36646
36647 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36648 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36649 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36650 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36652 submachine.
36653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36654
8e9f92e9
AS
366552010-10-22 Andreas Schwab <schwab@redhat.com>
36656
36657 * include/dlfcn.h (__RTLD_SECURE): Define.
36658 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36659 mode & __RTLD_SECURE instead.
36660 (open_path): Rename preloaded parameter to secure.
36661 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36662 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36663 * elf/dl-deps.c (openaux): Likewise.
36664 * elf/rtld.c (struct map_args): Remove is_preloaded.
36665 (map_doit): Don't use it.
36666 (dl_main): Likewise.
36667 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36668 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36669
bc96fbda
AS
366702010-09-09 Andreas Schwab <schwab@redhat.com>
36671
36672 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36673 (sysd-rules-targets): Remove duplicates.
36674 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36675 rtld-%.$o dependency.
36676
22cd1c9b
AS
366772010-10-18 Andreas Schwab <schwab@redhat.com>
36678
36679 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36680 _dl_map_object do it.
36681
18edac48
UD
366822010-10-19 Ulrich Drepper <drepper@gmail.com>
36683
36684 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36685 fast fma builtins, define the macros in the C99 standard.
36686 (FP_FAST_FMAF): Likewise.
36687 (FP_FAST_FMAL): Likewise.
36688 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36689
36690 * bits/mathdef.h: Update copyright year.
36691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36692
d2050124
MM
366932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36694
36695 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36696 builtins, define the macros in the C99 standard.
36697 (FP_FAST_FMAF): Likewise.
36698 (FP_FAST_FMAL): Likewise.
36699 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36700 multiply/add.
36701 (FP_FAST_FMAF): Likewise.
36702
475facd1
JJ
367032010-10-15 Jakub Jelinek <jakub@redhat.com>
36704
36705 [BZ #3268]
36706 * math/libm-test.inc (fma_test): Some new testcases.
36707 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36708 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36709 y and infinite z. Do multiplication by C already in long double.
36710 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36712 y and infinite z. Do bitwise or of inexact bit into u.d.
36713 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36714 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36715 * sysdeps/i386/fpu/s_fma.S: Removed.
36716 * sysdeps/i386/fpu/s_fmal.S: Removed.
36717
7c08a05c
JJ
367182010-10-16 Jakub Jelinek <jakub@redhat.com>
36719
36720 [BZ #3268]
36721 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36723 computation is not scheduled after fetestexcept. Fix value
36724 of minimum denormal long double.
36725
f3f7372d
JJ
367262010-10-14 Jakub Jelinek <jakub@redhat.com>
36727
36728 [BZ #3268]
36729 * math/libm-test.inc (fma_test): Add some more tests.
36730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36731 correctly.
36732
14d43591
AS
367332010-10-15 Andreas Schwab <schwab@redhat.com>
36734
36735 * scripts/data/localplt-s390-linux-gnu.data: New file.
36736 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36737
5e908464
JJ
367382010-10-13 Jakub Jelinek <jakub@redhat.com>
36739
36740 [BZ #3268]
36741 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36742 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36743 instead of dbl-64.
36744 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36745 inlines.
36746 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36748 if one of x and y is very large and the other is subnormal.
36749 * sysdeps/s390/fpu/s_fmaf.c: New file.
36750 * sysdeps/s390/fpu/s_fma.c: New file.
36751 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36752 * sysdeps/powerpc/fpu/s_fma.S: New file.
36753 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36754 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36755 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36756
367572010-10-12 Jakub Jelinek <jakub@redhat.com>
36758
36759 [BZ #3268]
36760 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36761 fma tests.
36762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36763 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36764 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36765 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36766 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36767 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36768 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36769
b833d51f
UD
367702010-10-12 Ulrich Drepper <drepper@redhat.com>
36771
36772 [BZ #12078]
36773 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36774 * posix/bug-regex31.input: Add test case.
36775
1751705d
UD
367762010-10-11 Ulrich Drepper <drepper@gmail.com>
36777
e9b9cbf5
UD
36778 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36779 * posix/bug-regex31.input: New file.
36780
36781 [BZ #12078]
36782 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36783 (parse_sub_exp): Fix last change, use postorder.
36784
ef06edbe
UD
36785 * posix/bug-regex31.c: New file.
36786 * posix/Makefile: Add rules to build and run bug-regex31.
36787
a129c80d
UD
36788 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36789
36790 [BZ #12078]
36791 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36792
b76b818e
UD
36793 [BZ #12108]
36794 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36795 to have entries in sys_siglist.
36796
1751705d
UD
36797 [BZ #12093]
36798 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36799 be NULL.
36800
9ff8d36f
JJ
368012010-10-07 Jakub Jelinek <jakub@redhat.com>
36802
36803 [BZ #3268]
36804 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36805 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36806 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36807 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36808 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36809 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36810 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36811 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36812 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36813 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36814 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36815 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36816 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36817 * math/ftestexcept.c (fetestexcept): Likewise.
36818 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36819 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36820 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36821 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36822 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36823 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36825
af325969
UD
368262010-10-11 Ulrich Drepper <drepper@gmail.com>
36827
c579b202 36828 [BZ #12107]
af325969
UD
36829 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36830 newline.
36831
67a67b95
UD
368322010-10-06 Ulrich Drepper <drepper@gmail.com>
36833
36834 * string/bug-strstr1.c: New file.
36835 * string/Makefile: Add rules to build and run bug-strstr1.
36836
5fb308bc
EB
368372010-10-05 Eric Blake <eblake@redhat.com>
36838
36839 [BZ #12092]
36840 * string/str-two-way.h (two_way_long_needle): Always clear memory
36841 when skipping input due to the shift table.
36842
45db99c7
UD
368432010-10-03 Ulrich Drepper <drepper@gmail.com>
36844
3b111893
UD
36845 [BZ #12005]
36846 * malloc/mcheck.c: Handle large requests.
36847
45db99c7
UD
36848 [BZ #12077]
36849 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36850 for strncmp and strncasecmp.
36851 * string/stratcliff.c: Add tests for strcmp and strncmp.
36852 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36853
cf7a1eb8
NI
368542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36855
36856 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36857 __set_fpscr.
36858
6484ba5e
AJ
368592010-09-30 Andreas Jaeger <aj@suse.de>
36860
36861 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36862 (CGROUP_SUPER_MAGIC): Define.
36863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36864 Handle btrfs and cgroup file systems.
36865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36866 Likewise.
36867
91c42559
LM
368682010-09-27 Luis Machado <luisgpm@br.ibm.com>
36869
36870 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36871 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36872
87a97932
AK
368732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36874
36875 [BZ #12067]
36876 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36877 trying to locate the ELF header.
36878
c21cc9bc
AS
368792010-09-27 Andreas Schwab <schwab@redhat.com>
36880
36881 [BZ #11611]
36882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36883 Mask out sign-bit copies when constructing f_fsid.
36884
315970f6
PB
368852010-09-24 Petr Baudis <pasky@suse.cz>
36886
36887 * debug/stack_chk_fail_local.c: Add missing licence exception.
36888 * debug/warning-nop.c: Likewise.
36889
1ac7a2c7
JM
368902010-09-15 Joseph Myers <joseph@codesourcery.com>
36891
36892 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36893 implementing getdents64 using getdents syscall, set d_type if
36894 __ASSUME_GETDENTS32_D_TYPE.
36895
56801c50
AS
368962010-09-16 Andreas Schwab <schwab@redhat.com>
36897
36898 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36899 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36900
dda51327
UD
369012010-09-21 Ulrich Drepper <drepper@redhat.com>
36902
36903 [BZ #12037]
36904 * posix/unistd.h: Undo change of feature selection for ftruncate from
36905 2010-01-11.
36906
8ffcee4a
UD
369072010-09-20 Ulrich Drepper <drepper@redhat.com>
36908
a545ecd9 36909 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36910 detection.
36911
e24f0a8b
AS
369122010-09-20 Andreas Schwab <schwab@redhat.com>
36913
36914 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36915 fanotify_mark.
36916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36917
7291c56f
AS
369182010-09-14 Andreas Schwab <schwab@redhat.com>
36919
36920 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36921 variables after CHECK_SP call.
36922 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36923
bc5fb037
AS
369242010-09-13 Andreas Schwab <schwab@redhat.com>
36925 Ulrich Drepper <drepper@redhat.com>
36926
36927 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36928 re-relocationg ld.so.
36929 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36930 _dl_init_paths call.
36931 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36932 here anymore.
36933
e66e7419
UD
369342010-09-14 Ulrich Drepper <drepper@redhat.com>
36935
36936 * resolv/res_init.c (__res_vinit): Count the default server we added.
36937
c044aa75
CLT
369382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36939 Ulrich Drepper <drepper@redhat.com>
36940
36941 [BZ #11968]
36942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36943 (____longjmp_chk): Use %ebx for saving value across system call.
36944 Add unwind info.
36945
32cf4069
AS
369462010-09-06 Andreas Schwab <schwab@redhat.com>
36947
36948 * manual/Makefile: Don't mix pattern rules with normal rules.
36949
817328ee
AS
369502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36951
36952 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36953 operation.
36954 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36955 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36956 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36957 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36959 Likewise.
36960
29fddf61
UD
369612010-09-04 Ulrich Drepper <drepper@redhat.com>
36962
36963 [BZ #11979]
36964 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36965 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36966
0959ffc9
UD
369672010-09-02 Ulrich Drepper <drepper@redhat.com>
36968
36969 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36970 * sysdeps/x86_64/addmul_1.S: Likewise.
36971 * sysdeps/x86_64/lshift.S: Likewise.
36972 * sysdeps/x86_64/mul_1.S: Likewise.
36973 * sysdeps/x86_64/rshift.S: Likewise.
36974 * sysdeps/x86_64/sub_n.S: Likewise.
36975 * sysdeps/x86_64/submul_1.S: Likewise.
36976
ece29840
ST
369772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36978
0959ffc9
UD
36979 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36980 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36981 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36982 * bits/sched.h [__need_schedparam]
ece29840 36983 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36984 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36985 (__defined_schedparam): Define to 1.
ece29840
ST
36986 (__sched_param): New structure, identical to sched_param.
36987 (__need_schedparam): Undefine.
36988
e53a31fe
MF
369892010-08-31 Mike Frysinger <vapier@gentoo.org>
36990
fdc0c10d
MF
36991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36992 (epoll_create1): Declare.
36993
e53a31fe
MF
36994 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36995
a726d796
AS
369962010-08-31 Andreas Schwab <schwab@redhat.com>
36997
36998 [BZ #7066]
36999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37000 shifting retval into place.
37001
2f3e3dc7
UD
370022010-09-01 Ulrich Drepper <drepper@redhat.com>
37003
f2933da9
UD
37004 * nis/rpcsvc/nis.h: Update copyright notice.
37005 * nis/rpcsvc/nis.x: Likewise.
37006 * nis/rpcsvc/nis_callback.h: Likewise.
37007 * nis/rpcsvc/nis_callback.x: Likewise.
37008 * nis/rpcsvc/nis_object.x: Likewise.
37009 * nis/rpcsvc/nis_tags.h: Likewise.
37010 * nis/rpcsvc/yp.h: Likewise.
37011 * nis/rpcsvc/yp.x: Likewise.
37012 * nis/rpcsvc/ypupd.h: Likewise.
37013 * nis/yp_xdr.c: Likewise.
37014 * nis/ypupdate_xdr.c: Likewise.
37015
2f3e3dc7
UD
37016 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37017 mainly the body of pmap_getport. Add parameters to specify timeouts.
37018 (pmap_getport): Use __libc_rpc_getport.
37019 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37020 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37021 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37022
f3dcc2f9
AS
370232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37024
37025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37026 fanotify_mark.
37027
6d34eb5b
RM
370282010-08-27 Roland McGrath <roland@redhat.com>
37029
37030 * sysdeps/i386/i686/multiarch/Makefile
37031 (CFLAGS-varshift.c): New variable.
37032
9ea3de11
UD
370332010-08-27 Ulrich Drepper <drepper@redhat.com>
37034
c96d23fc
UD
37035 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37036 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37037
9ea3de11
UD
37038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37039
37040 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37041
623aac7f
L
370422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37043
37044 * sysdeps/x86_64/strlen.S: Unroll the loop.
37045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37046 strlen-sse2 strlen-sse2-bsf.
37047 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37048 __strlen_no_bsf if bit_Slow_BSF is set.
37049 (__strlen_sse42): Removed.
37050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37051 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37052
8b2b7715
RM
370532010-08-25 Roland McGrath <roland@redhat.com>
37054
37055 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37056 * sysdeps/x86_64/multiarch/varshift.c: New file.
37057 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37058 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37059 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37060 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37061
e73015f2
L
370622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37063
37064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37065 strlen-sse2 strlen-sse2-bsf.
37066 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37067 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37068 (__strlen_sse2): Removed.
37069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37072 bit_Slow_BSF for Atom.
37073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37074 (index_Slow_BSF): Define.
37075 (HAS_SLOW_BSF): Define.
37076
df24a73e
UD
370772010-08-25 Ulrich Drepper <drepper@redhat.com>
37078
37079 [BZ #10851]
37080 * resolv/res_init.c (__res_vinit): When no server address at all
37081 is given default to loopback.
37082
f2ac4868
RM
370832010-08-24 Roland McGrath <roland@redhat.com>
37084
09055553
RM
37085 * configure.in: Remove config-name.h generation.
37086 * configure: Regenerated.
37087 * config-name.in: File removed.
37088 * scripts/config-uname.sh: New file.
37089 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37090 ($(objdir)config-name.h): New target.
37091
f2ac4868
RM
37092 * sunrpc/rpc_parse.h: Avoid nested comment.
37093
73f27d5e
RH
370942010-08-24 Richard Henderson <rth@redhat.com>
37095 Ulrich Drepper <drepper@redhat.com>
37096 H.J. Lu <hongjiu.lu@intel.com>
37097
37098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37100 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37101 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37102 _mm_alignr_epi8 with _mm_loadu_si128.
37103 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37104 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37105 (__m128i_shift_right): Removed.
37106 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37107 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37108 * sysdeps/x86_64/multiarch/varshift.h: New file.
37109 * sysdeps/x86_64/multiarch/varshift.S: New file.
37110
84b9230c
MF
371112010-08-21 Mike Frysinger <vapier@gentoo.org>
37112
37113 * configure.in: Move assembler checks to before sysdep dir checking.
37114
9bbd0ddc
PB
371152010-08-20 Petr Baudis <pasky@suse.cz>
37116
37117 * LICENSES: Sync the sunrpc license.
37118
9da4bb31
UD
371192010-08-19 Ulrich Drepper <drepper@redhat.com>
37120
a7ab6ec8
UD
37121 * sunrpc/auth_des.c: Update copyright notice once again.
37122 * sunrpc/auth_none.c: Likewise.
37123 * sunrpc/auth_unix.c: Likewise.
37124 * sunrpc/authdes_prot.c: Likewise.
37125 * sunrpc/authuxprot.c: Likewise.
37126 * sunrpc/bindrsvprt.c: Likewise.
37127 * sunrpc/clnt_gen.c: Likewise.
37128 * sunrpc/clnt_perr.c: Likewise.
37129 * sunrpc/clnt_raw.c: Likewise.
37130 * sunrpc/clnt_simp.c: Likewise.
37131 * sunrpc/clnt_tcp.c: Likewise.
37132 * sunrpc/clnt_udp.c: Likewise.
37133 * sunrpc/clnt_unix.c: Likewise.
37134 * sunrpc/des_crypt.c: Likewise.
37135 * sunrpc/des_soft.c: Likewise.
37136 * sunrpc/get_myaddr.c: Likewise.
37137 * sunrpc/getrpcport.c: Likewise.
37138 * sunrpc/key_call.c: Likewise.
37139 * sunrpc/key_prot.c: Likewise.
37140 * sunrpc/openchild.c: Likewise.
37141 * sunrpc/pm_getmaps.c: Likewise.
37142 * sunrpc/pm_getport.c: Likewise.
37143 * sunrpc/pmap_clnt.c: Likewise.
37144 * sunrpc/pmap_prot.c: Likewise.
37145 * sunrpc/pmap_prot2.c: Likewise.
37146 * sunrpc/pmap_rmt.c: Likewise.
37147 * sunrpc/rpc/auth.h: Likewise.
37148 * sunrpc/rpc/auth_unix.h: Likewise.
37149 * sunrpc/rpc/clnt.h: Likewise.
37150 * sunrpc/rpc/des_crypt.h: Likewise.
37151 * sunrpc/rpc/key_prot.h: Likewise.
37152 * sunrpc/rpc/netdb.h: Likewise.
37153 * sunrpc/rpc/pmap_clnt.h: Likewise.
37154 * sunrpc/rpc/pmap_prot.h: Likewise.
37155 * sunrpc/rpc/pmap_rmt.h: Likewise.
37156 * sunrpc/rpc/rpc.h: Likewise.
37157 * sunrpc/rpc/rpc_des.h: Likewise.
37158 * sunrpc/rpc/rpc_msg.h: Likewise.
37159 * sunrpc/rpc/svc.h: Likewise.
37160 * sunrpc/rpc/svc_auth.h: Likewise.
37161 * sunrpc/rpc/types.h: Likewise.
37162 * sunrpc/rpc/xdr.h: Likewise.
37163 * sunrpc/rpc_clntout.c: Likewise.
37164 * sunrpc/rpc_cmsg.c: Likewise.
37165 * sunrpc/rpc_common.c: Likewise.
37166 * sunrpc/rpc_cout.c: Likewise.
37167 * sunrpc/rpc_dtable.c: Likewise.
37168 * sunrpc/rpc_hout.c: Likewise.
37169 * sunrpc/rpc_main.c: Likewise.
37170 * sunrpc/rpc_parse.c: Likewise.
37171 * sunrpc/rpc_parse.h: Likewise.
37172 * sunrpc/rpc_prot.c: Likewise.
37173 * sunrpc/rpc_sample.c: Likewise.
37174 * sunrpc/rpc_scan.c: Likewise.
37175 * sunrpc/rpc_scan.h: Likewise.
37176 * sunrpc/rpc_svcout.c: Likewise.
37177 * sunrpc/rpc_tblout.c: Likewise.
37178 * sunrpc/rpc_util.c: Likewise.
37179 * sunrpc/rpc_util.h: Likewise.
37180 * sunrpc/rpcinfo.c: Likewise.
37181 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37182 * sunrpc/rpcsvc/key_prot.x: Likewise.
37183 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37184 * sunrpc/rpcsvc/mount.x: Likewise.
37185 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37186 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37187 * sunrpc/rpcsvc/rex.x: Likewise.
37188 * sunrpc/rpcsvc/rstat.x: Likewise.
37189 * sunrpc/rpcsvc/rusers.x: Likewise.
37190 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37191 * sunrpc/rpcsvc/spray.x: Likewise.
37192 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37193 * sunrpc/rtime.c: Likewise.
37194 * sunrpc/svc.c: Likewise.
37195 * sunrpc/svc_auth.c: Likewise.
37196 * sunrpc/svc_authux.c: Likewise.
37197 * sunrpc/svc_raw.c: Likewise.
37198 * sunrpc/svc_run.c: Likewise.
37199 * sunrpc/svc_simple.c: Likewise.
37200 * sunrpc/svc_tcp.c: Likewise.
37201 * sunrpc/svc_udp.c: Likewise.
37202 * sunrpc/svc_unix.c: Likewise.
37203 * sunrpc/svcauth_des.c: Likewise.
37204 * sunrpc/xcrypt.c: Likewise.
37205 * sunrpc/xdr.c: Likewise.
37206 * sunrpc/xdr_array.c: Likewise.
37207 * sunrpc/xdr_float.c: Likewise.
37208 * sunrpc/xdr_mem.c: Likewise.
37209 * sunrpc/xdr_rec.c: Likewise.
37210 * sunrpc/xdr_ref.c: Likewise.
37211 * sunrpc/xdr_sizeof.c: Likewise.
37212 * sunrpc/xdr_stdio.c: Likewise.
37213
9da4bb31
UD
37214 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37215 handling.
37216
bdaa77bc
AS
372172010-08-19 Andreas Schwab <schwab@redhat.com>
37218
37219 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37220
fe2f79db
LM
372212010-08-19 Luis Machado <luisgpm@br.ibm.com>
37222
37223 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37226 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37227 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37228 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37229 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37230 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37233 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37234 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37235 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37236 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37237
b9b42ee0
AB
372382010-07-26 Anton Blanchard <anton@samba.org>
37239
37240 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37241 * malloc/arena.c (heap_trim): Likewise.
37242
1c06ba31
UD
372432010-08-16 Ulrich Drepper <drepper@redhat.com>
37244
37245 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37246 here. Not...
37247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37248 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37249
f8392f40
L
372502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37251
37252 * sysdeps/i386/elf/Makefile: New file.
37253
3162f12e
AS
372542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37255
37256 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37257 from fanotify_init.
37258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37260
28c90b2c
UD
372612010-08-15 Ulrich Drepper <drepper@redhat.com>
37262
37263 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37264 of strncasecmp_l.
1feccb6c 37265 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37266
ca6bb004
UD
372672010-08-14 Ulrich Drepper <drepper@redhat.com>
37268
e9f82e0d
UD
37269 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37270 strncase_l-nonascii.
37271 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37272 Add strncase_l-ssse3.
37273 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37274 * sysdeps/x86_64/strcmp.S: Likewise.
37275 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37276 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37277 * sysdeps/x86_64/strncase.S: New file.
37278 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37279 * sysdeps/x86_64/strncase_l.S: New file.
37280 * string/Makefile (strop-tests): Add strncasecmp.
37281 * string/test-strncasecmp.c: New file.
37282
37283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37284 warning.
37285
ca6bb004
UD
37286 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37287 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37288
052fa7b3
AS
372892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37290
37291 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37292
962dba78
UD
372932010-08-12 Ulrich Drepper <drepper@redhat.com>
37294
37295 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37296 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37298
bebff237
AM
372992010-05-01 Alan Modra <amodra@gmail.com>
37300
37301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37302 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37303 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37304 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37305 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37306 tidying. Don't tail-call __sigjmp_save for static lib.
37307 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37308 save location.
37309 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37310 (CALL_MCOUNT): Add eh info, and nop after bl.
37311 (TAIL_CALL_SYSCALL_ERROR): New macro.
37312 (PSEUDO_RET): Use it.
37313 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37314 Correct save location of integer regs and cr.
37315 (_dl_profile_resolve): Correct cr save location. Delete nops
37316 after bl when SHARED. Reduce cfi size a little by better
37317 placement of cfi directives.
37318 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37319 make a stack frame. Instead use parm save area as a temp.
37320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37321 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37323 Don't make a stack frame for parent, use parm save area.
37324 Increase child stack frame to 112 bytes. Don't save unused reg,
37325 and adjust reg usage. Set up cfi on error recovery and
37326 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37328 (__makecontext): Add dummy nop after jump to exit.
37329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37330 Use correct parm save area and cr save, reduce stack frame.
37331 Correct cfi for possible PSEUDO_RET frame setup.
37332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37333 Branch to local label emitted by PSEUDO_RET rather than
37334 __syscall_error.
37335
02637374
AS
373362010-08-12 Andreas Schwab <schwab@redhat.com>
37337
37338 [BZ #11904]
37339 * locale/programs/locale.c (print_assignment): New function.
37340 (show_locale_vars): Use it.
37341
c3e2f19b
UD
373422010-08-11 Ulrich Drepper <drepper@redhat.com>
37343
3cdaa6ad
UD
37344 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37345 field.
37346 (struct statfs64): Likewise.
37347 (_STATFS_F_FLAGS): Define.
37348 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37350 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37351 (ST_VALID): Define locally.
37352 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37353 __statvfs_getflags, use the provided value.
37354 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37355 __ASSUME_STATFS_F_FLAGS.
37356
754f7da3
UD
37357 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37358
10b3bedc
UD
37359 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37360 Add sys/fanotify.h.
37361 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37362 fanotify_mask for GLIBC_2.13.
37363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37364 fanotify_init and fanotify_mark.
37365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37366 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37367
c08fb0d7
UD
37368 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37369 Add prlimit.
37370 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37371 prlimit64 for GLIBC_2.13.
37372 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37373 prlimit64.
37374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37375 syscall.
37376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37381 add prlimit alias.
37382 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37383
15bac72b
UD
37384 [BZ #11903]
37385 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37386 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37387
c3e2f19b
UD
37388 * nss/Makefile: Add rules to build and run tst-nss-test1.
37389 * shlib-versions: Add entry for libnss_test1.
37390 * nss/nss_test1.c: New file.
37391 * nss/tst-nss-test1.c: New file.
37392
37393 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37394 (__nss_configure_lookup): Set appropriate entry in
37395 __nss_configure_lookup to true.
37396 * nss/nsswitch.h: Define enum with indeces of databases in
37397 databases and __nss_database_custom arrays. Declare
37398 __nss_database_custom.
37399 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37400 to avoid using nscd when custom rules are installed.
37401 * nss/getXXbyYY_r.c: Likewise.
37402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37403
37404 * nss/nss_files/files-parse.c: Whitespace fixes.
37405
f15ce4d8
UD
374062010-08-09 Ulrich Drepper <drepper@redhat.com>
37407
37408 [BZ #11883]
37409 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37410 * posix/fnmatch_loop.c: Likewise.
37411
d22e4cc9
AK
374122010-07-17 Andi Kleen <ak@linux.intel.com>
37413
37414 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37415 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37416 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37417 * Versions.def [GLIBC_2.13]: Add.
37418
805bc17d
UD
374192010-08-06 Ulrich Drepper <drepper@redhat.com>
37420
37421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37422 Also fail if tpwd after pwuid call is NULL.
37423
5a42321d
ST
374242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37425
37426 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37427 when converting to ms.
37428
fd3ebeda
ST
374292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37430
37431 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37432 EOPNOTSUPP errors with ENOTTY.
37433 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37434 EOPNOTSUPP errors with ENOTTY.
37435
73507d3a
UD
374362010-07-31 Ulrich Drepper <drepper@redhat.com>
37437
37438 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37439 Add strcasecmp_l-ssse3.
37440 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37441 strcasecmp.
37442 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37443 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37444 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37445
fe36dd02
UD
374462010-07-30 Ulrich Drepper <drepper@redhat.com>
37447
66f6765a
UD
37448 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37449
42e08a54
UD
37450 * string/Makefile (strop-tests): Add strcasecmp.
37451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37452 strcasecmp_l-nonascii.
37453 (gen-as-const-headers): Add locale-defines.sym.
37454 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37455 * sysdeps/x86_64/strcasecmp.S: New file.
37456 * sysdeps/x86_64/strcasecmp_l.S: New file.
37457 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37458 * sysdeps/x86_64/locale-defines.sym: New file.
37459 * string/test-strcasecmp.c: New file.
37460
fe36dd02
UD
37461 * string/test-strcasestr.c: Test both ends of the range of characters.
37462 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37463
48cbc0d6
RM
374642010-07-29 Roland McGrath <roland@redhat.com>
37465
76e6d6bc 37466 [BZ #11856]
48cbc0d6
RM
37467 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37468
880113d9
UD
374692010-07-27 Ulrich Drepper <drepper@redhat.com>
37470
37471 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37472 for ld.so.
37473
deb9cabb
AS
374742010-07-27 Andreas Schwab <schwab@redhat.com>
37475
37476 * manual/memory.texi (Malloc Tunable Parameters): Document
37477 M_PERTURB.
37478
1c7570ff
RM
374792010-07-26 Roland McGrath <roland@redhat.com>
37480
37481 [BZ #11840]
37482 * configure.in (-fgnu89-inline check): Set and substitute
37483 gnu89_inline, not libc_cv_gnu89_inline.
37484 * configure: Regenerated.
37485 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37486
24fb0f88
UD
374872010-07-26 Ulrich Drepper <drepper@redhat.com>
37488
37489 * string/test-strnlen.c: New file.
37490 * string/Makefile (strop-tests): Add strnlen.
37491 * string/tester.c (test_strnlen): Add a few more test cases.
37492 * string/tst-strlen.c: Better error reporting.
37493
37494 * sysdeps/x86_64/strnlen.S: New file.
37495
8e96b93a
UD
374962010-07-24 Ulrich Drepper <drepper@redhat.com>
37497
37498 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37499 lower-latency instructions.
37500
dbc676d4
UD
375012010-07-23 Ulrich Drepper <drepper@redhat.com>
37502
37503 * string/test-strcasestr.c: New file.
37504 * string/test-strstr.c: New file.
37505 * string/Makefile (strop-tests): Add strstr and strcasestr.
37506 * string/str-two-way.h: Don't undefine MAX.
37507 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37508
f6a31e0e
AS
375092010-07-21 Andreas Schwab <schwab@redhat.com>
37510
37511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37512 strcasestr-nonascii.
37513 (CFLAGS-strcasestr-nonascii.c): Define.
37514 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37516 Remove unused attribute.
37517
5dbc3b6c
RM
375182010-07-20 Roland McGrath <roland@redhat.com>
37519
37520 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37521 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37522 ld.so.cache was broken. With it, there is no way to disable dsocaps
37523 like LD_HWCAP_MASK can disable hwcaps.
37524
23d101d8
EPM
375252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37526
37527 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37528
cc9f2e47
UD
375292010-07-16 Ulrich Drepper <drepper@redhat.com>
37530
37531 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37532 call in strcasestr.
37533 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37534 __strcasestr_sse42_nonascii.
37535 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37536 strcasestr-nonascii.c.
37537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37538
77c1b069
LM
375392010-06-15 Luis Machado <luisgpm@br.ibm.com>
37540
37541 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37543 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37545
440566c3
UD
375462010-07-09 Ulrich Drepper <drepper@redhat.com>
37547
37548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37549 fcntl.
37550
5be9d05d
AS
375512010-07-06 Andreas Schwab <schwab@redhat.com>
37552
c30b7ee2 37553 [BZ #11577]
5be9d05d
AS
37554 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37555 dl_signal_cerror.
37556
8a492a67
UD
375572010-07-06 Ulrich Drepper <drepper@redhat.com>
37558
37559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37560 _PC_PIPE_BUF using F_GETPIPE_SZ.
37561
713df3d5
RM
375622010-07-05 Roland McGrath <roland@redhat.com>
37563
37564 * manual/arith.texi (Rounding Functions): Fix rint description
37565 implicit in round description.
37566
702e8f14
UD
375672010-07-02 Ulrich Drepper <drepper@redhat.com>
37568
37569 * elf/Makefile: Fix linking for a few tests to make recent linker
37570 happy.
37571
52ed8be9
AS
375722010-06-30 Andreas Schwab <schwab@redhat.com>
37573
37574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37575 $(common-objpfx)libc_nonshared.a.
37576
f47c9a11
LM
375772010-06-21 Luis Machado <luisgpm@br.ibm.com>
37578
37579 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37580 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37581 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37582 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37583 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37584 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37586 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37601 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37602 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37603 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37604 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37605 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37606 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37607 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37608 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37609 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37610 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37611 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37612 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37627
6fb8cbcb
L
376282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37629
37630 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37631 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37632 * string/memmove.c (memmove): Renamed to ...
37633 (MEMMOVE): ...this. Default to memmove.
37634 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37635 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37636 (END_CHK): Define.
37637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37638 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37639 mempcpy-ssse3-back memmove-ssse3-back.
37640 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37643 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37644 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37645 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37646 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37647 * sysdeps/x86_64/multiarch/memmove.c: New file.
37648 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37649 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37650 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37651 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37652 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37654 Define.
37655 (index_Fast_Copy_Backward): Define.
37656 (HAS_ARCH_FEATURE): Define.
37657 (HAS_FAST_REP_STRING): Define.
37658 (HAS_FAST_COPY_BACKWARD): Define.
37659
4e733bac 376602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37661
37662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37663 Restore proper fallback handling.
37664
63c4ed22
UD
376652010-06-19 Ulrich Drepper <drepper@redhat.com>
37666
ac2b484c
UD
37667 [BZ #11701]
37668 * posix/group_member.c (__group_member): Correct checking loop.
37669
63c4ed22
UD
37670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37671 OOM in getpwuid_r correctly. Return error number when the caller
37672 should return, otherwise -1.
37673 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37674 call returning > 0 value.
37675 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37676
765ade4b
AS
376772010-06-07 Andreas Schwab <schwab@redhat.com>
37678
37679 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37680 libc_nonshared.a from targets in modules-names.
37681
80da2e09
KS
376822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37683
37684 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37685 requires it.
37686
158db122
LM
376872010-06-10 Luis Machado <luisgpm@br.ibm.com>
37688
37689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37693
caa78cf8
AS
376942010-06-02 Andreas Schwab <schwab@redhat.com>
37695
37696 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37697
b2ef2c01
UD
376982010-06-14 Ulrich Drepper <drepper@redhat.com>
37699
37700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37701 and F_GETPIPE_SZ.
37702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37708
fbd643b6
RM
377092010-06-14 Roland McGrath <roland@redhat.com>
37710
37711 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37712
f32f2869
JJ
377132010-06-07 Jakub Jelinek <jakub@redhat.com>
37714
37715 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37716 __REDIRECT followed by __THROW.
37717 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37718 * posix/getopt.h (getopt): Likewise.
37719
2a50c078
EPM
377202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37721
37722 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37723 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37724 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37725 in AT_FLAGS.
37726 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37727 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37728
eb5ad2eb
LM
377292010-05-28 Luis Machado <luisgpm@br.ibm.com>
37730
37731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37732
3c88fe1e
L
377332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37734
37735 [BZ #11640]
37736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37737 Properly check family and model.
37738
d2f73151
TY
377392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37740
37741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37742
ebd2e13d
LM
377432010-05-24 Luis Machado <luisgpm@br.ibm.com>
37744
37745 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37746
b32b8b45
UD
377472010-05-21 Ulrich Drepper <drepper@redhat.com>
37748
37749 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37750 symbol reference.
37751
9acbe24d
AS
377522010-05-19 Andreas Schwab <schwab@redhat.com>
37753
37754 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37755 symbol reference.
37756
f0ccf6ea
AS
377572010-05-21 Andreas Schwab <schwab@redhat.com>
37758
3d04ff3a
AS
37759 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37760 and internal_recvmmsg.
37761 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37762 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37763 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37764 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37765
f0ccf6ea
AS
37766 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37767 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37768 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37769
5b08ac57
AS
377702010-05-20 Andreas Schwab <schwab@redhat.com>
37771
37772 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37773
4828935d
LM
377742010-05-17 Luis Machado <luisgpm@br.ibm.com>
37775
37776 POWER7 optimizations.
37777 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37778 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37779
373d545e
UD
377802010-05-19 Ulrich Drepper <drepper@redhat.com>
37781
37782 * version.h: Update for 2.13 development version.
37783
21a2b1ae
AS
377842010-05-12 Andrew Stubbs <ams@codesourcery.com>
37785
37786 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37787 exceptions. Return 0.
37788
3f7dcb2b
RM
377892010-05-07 Roland McGrath <roland@redhat.com>
37790
37791 * elf/ldconfig.c (main): Add a const.
37792
5f24d53a 377932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37794
a160f8d8
UD
37795 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37796 (args_options): Add no-idn option.
37797 (ahosts_keys_int): Add idn_flags to ai_flags.
37798 (parse_option): Handle 'i' option to clear idn_flags.
37799
5f24d53a
UD
37800 * malloc/malloc.c (_int_free): Possible race in the most recently
37801 added check. Only act on the data if no current modification
37802 happened.
265bb1ce
UD
37803
37804See ChangeLog.17 for earlier changes.